:root {
    --page-bg: #f6f1e8;
    --ink: #1f1d1a;
    --muted: #5d554b;
    --surface: #fffaf2;
    --surface-strong: #fff;
    --line: rgba(31, 29, 26, 0.12);
    --accent: #166534;
    --accent-strong: #14532d;
    --danger: #991b1b;
    --shadow: 0 18px 40px rgba(31, 29, 26, 0.16);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top right, rgba(22, 101, 52, 0.12), transparent 34%),
        linear-gradient(180deg, #fbf7ef 0%, var(--page-bg) 100%);
}

.page-shell {
    min-height: 100vh;
    padding: 72px 20px 160px;
}

.hero,
.content-card {
    width: min(900px, 100%);
    margin: 0 auto;
}

.hero h1 {
    margin: 0 0 18px;
    font-size: clamp(2.5rem, 5vw, 4.6rem);
    line-height: 0.94;
    letter-spacing: -0.04em;
}

.eyebrow {
    margin: 0 0 16px;
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
}

.lead {
    max-width: 720px;
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--muted);
}

.content-card {
    margin-top: 36px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 250, 242, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.content-card h2 {
    margin-top: 0;
}

.content-card ul {
    margin: 0;
    padding-left: 20px;
    line-height: 1.8;
}

.cc-banner,
.cc-fab,
.cc-modal {
    font-family: Arial, sans-serif;
}

.cc-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: rgba(20, 19, 17, 0.96);
    color: #fff;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.24);
}

.cc-banner[hidden],
.cc-fab[hidden],
.cc-modal[hidden] {
    display: none !important;
}

.cc-banner-copy {
    max-width: 860px;
}

.cc-banner-title {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
    font-weight: 700;
}

.cc-banner-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.55;
}

.cc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cc-btn {
    appearance: none;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 12px 18px;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}

.cc-btn:hover,
.cc-btn:focus-visible {
    transform: translateY(-1px);
}

.cc-btn-primary {
    background: #fff;
    color: #141311;
}

.cc-btn-secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.cc-btn-danger {
    background: #fff1f2;
    color: var(--danger);
}

.cc-fab {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 9998;
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 999px;
    background: #141311;
    color: #fff;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.cc-fab svg {
    width: 24px;
    height: 24px;
}

.cc-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
}

.cc-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 19, 17, 0.62);
}

.cc-panel {
    position: relative;
    width: min(560px, calc(100vw - 24px));
    padding: 28px;
    border-radius: 24px;
    background: var(--surface-strong);
    color: var(--ink);
    box-shadow: var(--shadow);
}

.cc-panel h2 {
    margin: 0 0 10px;
    font-size: 1.6rem;
}

.cc-panel p {
    margin: 0 0 18px;
    line-height: 1.6;
    color: var(--muted);
}

.cc-pref {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.cc-pref:last-of-type {
    border-bottom: 1px solid var(--line);
}

.cc-pref input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
}

.cc-pref strong {
    display: block;
    margin-bottom: 4px;
}

.cc-pref span {
    display: block;
    color: var(--muted);
    line-height: 1.55;
}

.cc-panel-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
}

.cc-panel-actions .cc-actions {
    margin-left: auto;
}

.cc-status {
    min-height: 1.25rem;
    margin-top: 14px;
    font-size: 0.92rem;
    color: var(--muted);
}

@media (max-width: 720px) {
    .page-shell {
        padding-top: 48px;
    }

    .cc-banner {
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
    }

    .cc-actions,
    .cc-panel-actions {
        flex-direction: column;
    }

    .cc-btn {
        width: 100%;
    }
}
