:root {
    --ink: #f7f1e4;
    --muted: #bdb5a7;
    --gold: #d9a44c;
    --gold-light: #f3cf83;
    --wine: #740001;
    --green: #5fc98f;
    --surface: #171513;
    --surface-2: #211e1a;
    --line: rgba(217, 164, 76, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 15% -10%, rgba(116, 0, 1, .42), transparent 34rem),
        radial-gradient(circle at 90% 22%, rgba(217, 164, 76, .08), transparent 30rem),
        #0d0c0b;
    font: 17px/1.65 "Lato", system-ui, sans-serif;
}
a { color: var(--gold-light); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 20; background: #fff; color: #000; padding: .6rem 1rem; }

.site-header, .site-footer, main > section {
    width: min(1120px, calc(100% - 2rem));
    margin-inline: auto;
}
.site-header {
    min-height: 76px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    border-bottom: 1px solid var(--line);
}
.brand { color: var(--ink); font: 700 1rem/1.2 "Cinzel", serif; text-decoration: none; letter-spacing: .035em; }
.site-header nav { display: flex; justify-content: center; gap: 1.25rem; }
.site-header nav a, .site-footer nav a { color: var(--muted); text-decoration: none; font-size: .9rem; }
.site-header nav a:hover, .site-footer nav a:hover { color: var(--gold-light); }
.header-cta, .primary-button, .secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: .7rem 1.2rem;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .15s ease, background .15s ease;
}
.header-cta, .primary-button { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #17110a; }
.secondary-button { border: 1px solid var(--line); background: rgba(255,255,255,.035); color: var(--ink); }
.header-cta:hover, .primary-button:hover, .secondary-button:hover { transform: translateY(-1px); }

.page-hero { padding: 6.5rem 0 4.5rem; max-width: 930px; }
.eyebrow, .section-kicker { margin: 0 0 .7rem; color: var(--gold); font-weight: 900; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { font-family: "Cinzel", serif; line-height: 1.18; }
h1 { margin: 0; max-width: 880px; font-size: clamp(2.5rem, 7vw, 5.1rem); letter-spacing: -.035em; }
h2 { margin: .25rem 0 1.4rem; font-size: clamp(1.7rem, 3.4vw, 2.65rem); }
h3 { margin: 0 0 .65rem; font-size: 1.12rem; }
.lede { max-width: 790px; margin: 1.4rem 0 0; color: #d8d0c2; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.content-section, .source-box, .related-pages, .bottom-cta { margin-bottom: 2rem; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(155deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); }
.content-section { padding: clamp(1.35rem, 4vw, 3rem); }
.article-section { max-width: 900px; margin-left: max(1rem, calc((100% - 1120px) / 2)); }
.article-section p, .article-section li { max-width: 780px; color: #d2cabd; }
.article-section li + li { margin-top: .55rem; }

.step-grid { display: grid; gap: 1rem; padding: 0; list-style: none; }
.step-grid li { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; padding: 1.2rem; border-radius: 16px; background: rgba(0,0,0,.23); }
.step-grid li > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(217,164,76,.16); color: var(--gold-light); font-weight: 900; }
.step-grid p { margin: 0; color: var(--muted); }

.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.plan-card { position: relative; padding: 2rem; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(0,0,0,.22); }
.plan-card.featured { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(217,164,76,.16); }
.plan-badge { position: absolute; right: 1rem; top: 1rem; padding: .28rem .65rem; border-radius: 99px; background: rgba(217,164,76,.15); color: var(--gold-light); font-size: .75rem; font-weight: 900; }
.plan-price { margin: .4rem 0 1rem; color: var(--gold-light); font-size: 1.9rem; font-weight: 900; }
.plan-card ul { min-height: 9rem; padding-left: 1.2rem; color: #d3cbbd; }

.faq-list { display: grid; gap: .8rem; }
.faq-list details { border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(0,0,0,.2); padding: 1rem 1.2rem; }
.faq-list summary { cursor: pointer; color: var(--ink); font-weight: 900; }
.faq-list p { color: var(--muted); margin: .8rem 0 0; }

.source-box { padding: 1.4rem 1.7rem; background: rgba(217,164,76,.07); }
.source-box h2 { font-size: 1.2rem; margin: 0 0 .5rem; }
.source-box p { color: var(--muted); margin: 0; }
.source-box ul { display: flex; flex-wrap: wrap; gap: .7rem 1.4rem; padding-left: 1.2rem; }
.related-pages { padding: 2rem; }
.related-pages h2 { font-size: 1.35rem; }
.related-pages > div { display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem; }
.related-pages a { padding: .8rem 1rem; border-radius: 12px; background: rgba(0,0,0,.2); text-decoration: none; }
.bottom-cta { padding: clamp(2rem, 5vw, 4rem); text-align: center; background: radial-gradient(circle at 50% 0, rgba(217,164,76,.16), transparent 22rem), var(--surface); }
.bottom-cta h2 { margin-inline: auto; max-width: 720px; }
.guarantee-card { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; }
.guarantee-card form { margin-top: 2rem; }
.guarantee-card button { border: 0; cursor: pointer; font: inherit; }
.language-switch { width: min(1120px, calc(100% - 2rem)); margin: -2rem auto 2rem; display: flex; flex-wrap: wrap; gap: .55rem; }
.language-switch a { padding: .45rem .8rem; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); text-decoration: none; font-size: .82rem; }
.language-switch a:hover { color: var(--gold-light); }

.metric-grid { width: min(1120px, calc(100% - 2rem)); margin: 0 auto 2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.metric-grid.three { grid-template-columns: repeat(3, 1fr); }
.metric-grid article, .bucket-grid article { padding: 1.4rem; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.metric-grid strong, .bucket-grid strong { display: block; color: var(--gold-light); font: 700 clamp(1.65rem, 4vw, 2.6rem)/1 "Cinzel", serif; }
.metric-grid span, .bucket-grid span { display: block; margin-top: .6rem; color: var(--muted); font-size: .86rem; line-height: 1.4; }

.freshness { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .8rem; width: fit-content; margin-top: 1.4rem; padding: .65rem 1rem; border: 1px solid rgba(95,201,143,.35); border-radius: 99px; background: rgba(95,201,143,.08); font-size: .85rem; }
.freshness span:last-child { color: var(--muted); }
.freshness.stale { border-color: rgba(217,164,76,.35); background: rgba(217,164,76,.08); }
.status-dot { width: .65rem; height: .65rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(95,201,143,.1); }
.freshness.stale .status-dot { background: var(--gold); box-shadow: 0 0 0 5px rgba(217,164,76,.1); }
.section-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.legend { display: flex; flex-wrap: wrap; gap: .8rem; color: var(--muted); font-size: .8rem; }
.legend span { display: flex; align-items: center; gap: .35rem; }
.legend i { width: .7rem; height: .7rem; border-radius: 3px; }
.legend-positive { background: var(--green); }
.legend-neutral { background: #403b35; }
.calendar-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.availability-calendar { padding: 1.2rem; border-radius: 17px; background: rgba(0,0,0,.24); }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .32rem; }
.calendar-weekdays { margin: .9rem 0 .35rem; color: #8e877c; font-size: .68rem; text-align: center; text-transform: uppercase; }
.calendar-day { display: grid; place-items: center; aspect-ratio: 1; min-width: 0; border-radius: 9px; background: #28241f; color: #91897d; font-size: .82rem; }
.calendar-day.observed { background: rgba(95,201,143,.16); border: 1px solid rgba(95,201,143,.45); color: #c9f4da; font-weight: 900; }
.calendar-day.past { opacity: .35; }
.calendar-day.outside { visibility: hidden; }
.bucket-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 1.4rem; }
.muted { color: var(--muted); font-size: .9rem; }
.empty-state { padding: 2rem; border-radius: 16px; background: rgba(0,0,0,.22); color: var(--muted); text-align: center; }

.activity-list { display: grid; gap: .8rem; }
.activity-list article { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 1rem; padding: 1.2rem; border: 1px solid rgba(255,255,255,.09); border-radius: 16px; background: rgba(0,0,0,.2); }
.activity-list article > div:first-child { display: flex; align-items: center; gap: .9rem; }
.activity-icon { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; background: rgba(95,201,143,.14); color: var(--green); font-weight: 900; }
.activity-list p { margin: 0; color: var(--muted); }
.activity-list dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin: 0; }
.activity-list dt { color: #898176; font-size: .7rem; text-transform: uppercase; }
.activity-list dd { margin: .2rem 0 0; font-size: .85rem; font-weight: 700; }

.site-footer { display: flex; justify-content: space-between; gap: 2rem; padding: 3rem 0; border-top: 1px solid var(--line); color: var(--muted); }
.site-footer p { max-width: 560px; margin: .5rem 0 0; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: end; align-content: start; gap: .7rem 1.1rem; }

@media (max-width: 780px) {
    body { font-size: 16px; }
    .site-header { min-height: 64px; grid-template-columns: 1fr auto; gap: 1rem; }
    .site-header nav { display: none; }
    .header-cta { min-height: 40px; padding: .55rem .85rem; font-size: .8rem; }
    .brand { font-size: .82rem; }
    .page-hero { padding: 4.4rem 0 3rem; }
    h1 { font-size: clamp(2.25rem, 12vw, 3.8rem); }
    .hero-actions { display: grid; }
    .metric-grid, .metric-grid.three { grid-template-columns: repeat(2, 1fr); }
    .calendar-list, .plan-grid, .related-pages > div { grid-template-columns: 1fr; }
    .section-heading-row, .site-footer { align-items: start; flex-direction: column; }
    .activity-list article { grid-template-columns: 1fr; }
    .activity-list dl { grid-template-columns: repeat(3, 1fr); }
    .site-footer nav { justify-content: start; }
}

@media (max-width: 440px) {
    .metric-grid, .metric-grid.three, .bucket-grid { grid-template-columns: 1fr; }
    .content-section, .related-pages { border-radius: 18px; }
    .calendar-weekdays, .calendar-grid { gap: .2rem; }
    .calendar-day { border-radius: 6px; }
    .activity-list dl { grid-template-columns: 1fr; }
}
