/*
 * Candid - shared design system
 * Luxury-modern: charcoal, midnight navy, warm ivory, champagne gold.
 */

:root {
    /* Palette */
    --charcoal: #2A2A30;
    --charcoal-deep: #1F1F24;
    --navy: #262B45;
    --navy-deep: #1A1E33;
    --ivory: #F8F3EA;
    --cream: #F1E8D8;
    --cream-deep: #E9DDC7;
    --white: #FFFDF9;
    --gold: #D9BC85;
    --gold-light: #EBD6AB;
    --gold-deep: #C9A66B;
    --gold-ink: #7E6130;
    --ink: #232228;
    --ink-soft: #57535C;
    --rule: #DCD2C1;
    --rose: #9A4E5E;

    /* Semantic (light surface defaults) */
    --fg: var(--ink);
    --muted: var(--ink-soft);
    --link: var(--gold-ink);
    --focus-ring: #8A6A35;

    /* Typography */
    --font-display: "Playfair Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
    --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --fs-h1: clamp(2.5rem, 1.6rem + 4.5vw, 4.5rem);
    --fs-h2: clamp(1.875rem, 1.35rem + 2.2vw, 2.75rem);
    --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
    --fs-body: 1.0625rem;
    --fs-small: 0.9375rem;
    --fs-caption: 0.875rem;

    /* Layout */
    --container: 1160px;
    --gutter: clamp(20px, 5vw, 48px);
    --section-y: clamp(64px, 9vw, 112px);
    --header-h: 64px;

    /* Radii */
    --r-sm: 14px;
    --r-md: 20px;
    --r-lg: 24px;
    --r-xl: 28px;
    --r-pill: 999px;

    /* Surfaces */
    --grad-gold: linear-gradient(135deg, #EBD6AB 0%, #D9BC85 48%, #C9A66B 100%);
    --grad-hairline: linear-gradient(90deg, rgba(217, 188, 133, 0) 0%, #D9BC85 20%, #EBD6AB 50%, #D9BC85 80%, rgba(217, 188, 133, 0) 100%);
    --grad-navy-glow:
        radial-gradient(circle at 12% 16%, rgba(217, 188, 133, 0.30) 0%, rgba(217, 188, 133, 0) 36%),
        radial-gradient(circle at 88% 86%, rgba(217, 188, 133, 0.22) 0%, rgba(217, 188, 133, 0) 40%),
        linear-gradient(160deg, #2E3456 0%, #262B45 45%, #1A1E33 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(26, 24, 30, 0.06), 0 1px 2px rgba(26, 24, 30, 0.05);
    --shadow-md: 0 14px 34px -10px rgba(26, 24, 30, 0.22);
    --shadow-long: 0 34px 64px -24px rgba(20, 20, 30, 0.42), 0 12px 26px -14px rgba(20, 20, 30, 0.22);
    --glow-gold: 0 0 0 1px rgba(217, 188, 133, 0.4), 0 18px 44px -10px rgba(217, 188, 133, 0.6);

    /* Motion */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --dur: 0.3s;
}

@media (min-width: 768px) {
    :root {
        --header-h: 76px;
    }
}

/* ============================================
   OVERFLOW PREVENTION - Safety Net
   ============================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

img, video, iframe, embed, object, svg {
    max-width: 100%;
    height: auto;
}

[class*="grid"] > *,
[class*="flex"] > * {
    min-width: 0;
}

pre, code, .code-block, [class*="code"] {
    max-width: 100%;
    overflow-x: auto;
}

pre code,
.code-block code {
    display: block;
    min-width: 0;
}

.table-wrapper,
[class*="table-"] {
    max-width: 100%;
    overflow-x: auto;
}

p, li, td, th {
    overflow-wrap: break-word;
}

details {
    height: fit-content;
}

:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article)
  a:not([class]) {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

input, textarea, select {
    max-width: 100%;
}

section {
    overflow: clip;
}

/* ============================================
   BASE
   ============================================ */

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.6;
    color: var(--fg);
    background: var(--ivory);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

body.menu-open {
    overflow: hidden;
}

main {
    display: block;
}

main:focus {
    outline: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -0.01em;
    color: inherit;
    margin: 0 0 0.5em;
    text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; }
h4 { font-size: 1.125rem; line-height: 1.3; }

p {
    margin: 0 0 1em;
    text-wrap: pretty;
}

a {
    color: inherit;
}

:where(p, li, dd) a:not([class]) {
    color: var(--link);
    text-decoration-color: currentColor;
    text-decoration-thickness: 1px;
    transition: color var(--dur) ease;
}

:where(p, li, dd) a:not([class]):hover {
    text-decoration-thickness: 2px;
}

img {
    display: block;
}

strong, b {
    font-weight: 650;
}

ul, ol {
    padding-left: 1.25rem;
}

:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 3px;
    border-radius: 6px;
}

::selection {
    background: var(--gold-light);
    color: var(--charcoal);
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 200;
    padding: 0.75rem 1.25rem;
    min-height: 44px;
    border-radius: var(--r-pill);
    background: var(--gold-light);
    color: var(--charcoal);
    font-weight: 600;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform var(--dur) var(--ease-out);
}

.skip-link:focus,
.skip-link:focus-visible {
    transform: translateY(0);
    outline: 3px solid var(--charcoal);
}

/* ============================================
   LAYOUT PRIMITIVES
   ============================================ */

.container {
    width: 100%;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.container--narrow {
    max-width: calc(780px + 2 * var(--gutter));
}

.section {
    position: relative;
    padding-block: var(--section-y);
}

.section--ivory { background: var(--ivory); }
.section--cream { background: var(--cream); }
.section--charcoal { background: var(--charcoal); }
.section--navy { background: var(--navy); }
.section--navy-glow { background: var(--grad-navy-glow); }

/* Dark surfaces flip the semantic tokens */
.surface-dark,
.section--charcoal,
.section--navy,
.section--navy-glow,
.glass--dark,
.site-header,
.site-footer {
    --fg: var(--ivory);
    --muted: #D2CBBE;
    --link: var(--gold-light);
    --focus-ring: var(--gold-light);
    color: var(--fg);
}

.lead {
    font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
    color: var(--muted);
}

.eyebrow {
    margin: 0 0 0.75rem;
    font-size: var(--fs-caption);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--link);
}

.note {
    font-size: var(--fs-caption);
    color: var(--muted);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto clamp(32px, 5vw, 56px);
    text-align: center;
}

.section-heading--start {
    margin-inline: 0;
    text-align: left;
}

.section-heading__title {
    margin: 0;
}

.section-heading__lead {
    margin: 0.875rem auto 0;
    max-width: 60ch;
    color: var(--muted);
    font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.15rem);
}

.section-heading--start .section-heading__lead {
    margin-left: 0;
}

/* ============================================
   SURFACES
   ============================================ */

.glass {
    position: relative;
    background: rgba(248, 243, 234, 0.62);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-long), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.glass--dark {
    background: linear-gradient(160deg, rgba(62, 68, 104, 0.6) 0%, rgba(30, 34, 56, 0.66) 100%);
    border-color: rgba(248, 243, 234, 0.25);
    box-shadow: var(--shadow-long), inset 0 1px 0 rgba(248, 243, 234, 0.12);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .glass { background: rgba(248, 243, 234, 0.94); }
    .glass--dark { background: linear-gradient(160deg, #3A4064 0%, #22263F 100%); }
}

/* ============================================
   BUTTONS & LINKS
   ============================================ */

.btn {
    --btn-h: 52px;
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: var(--btn-h);
    padding: 0 1.875rem;
    border: 0;
    border-radius: var(--r-pill);
    font-family: var(--font-body);
    font-size: var(--fs-body);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.01em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), background-color var(--dur) ease, color var(--dur) ease;
}

.btn--gold {
    color: var(--charcoal);
    background: var(--grad-gold);
    box-shadow: 0 10px 24px -12px rgba(201, 166, 107, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn--gold::before {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: inherit;
    border: 1px solid rgba(201, 166, 107, 0.6);
    pointer-events: none;
    transition: inset var(--dur) var(--ease-out), border-color var(--dur) ease;
}

.btn--gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(235, 214, 171, 0.45), 0 16px 34px -10px rgba(217, 188, 133, 0.8), 0 0 42px -6px rgba(217, 188, 133, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn--gold:hover::before {
    inset: -6px;
    border-color: rgba(235, 214, 171, 0.9);
}

.btn:active {
    transform: translateY(0) scale(0.97);
}

.btn--dark {
    color: var(--gold-light);
    background: var(--charcoal);
    box-shadow: inset 0 0 0 1px rgba(217, 188, 133, 0.4), 0 10px 24px -14px rgba(0, 0, 0, 0.55);
}

.btn--dark:hover {
    transform: translateY(-2px);
    background: var(--charcoal-deep);
    box-shadow: inset 0 0 0 1px var(--gold), 0 14px 32px -10px rgba(217, 188, 133, 0.5);
}

.btn--outline {
    color: var(--fg);
    background: transparent;
    box-shadow: inset 0 0 0 1.5px currentColor;
}

.btn--outline:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 0 0 1.5px var(--gold), 0 12px 28px -14px rgba(217, 188, 133, 0.6);
}

.btn--sm {
    --btn-h: 44px;
    padding: 0 1.25rem;
    font-size: var(--fs-small);
}

.btn--sm.btn--gold::before {
    inset: -4px;
}

.btn--lg {
    --btn-h: 58px;
    padding: 0 2.25rem;
    font-size: 1.125rem;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    min-height: 44px;
    color: var(--link);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 0.25em;
    transition: gap var(--dur) var(--ease-out), text-decoration-color var(--dur) ease;
}

.text-link:hover {
    gap: 0.625rem;
    text-decoration-color: currentColor;
}

/* ============================================
   CHIPS, TAGS, LISTS, ICONS
   ============================================ */

.icon {
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

.chip-row {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    min-height: 34px;
    padding: 0.375rem 0.875rem;
    border-radius: var(--r-pill);
    font-size: var(--fs-caption);
    font-weight: 500;
    line-height: 1.2;
}

.chip-row--dark .chip {
    background: rgba(31, 31, 36, 0.72);
    border: 1px solid rgba(217, 188, 133, 0.45);
    color: var(--ivory);
}

.chip-row--light .chip {
    background: var(--white);
    border: 1px solid var(--rule);
    color: var(--ink);
    box-shadow: var(--shadow-sm);
}

.chip .icon {
    color: var(--gold);
}

.chip-row--light .chip .icon {
    color: var(--gold-ink);
}

.tag {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0.125rem 0.625rem;
    border-radius: var(--r-pill);
    border: 1px solid var(--gold-deep);
    background: #F5E7C8;
    color: #5E4720;
    font-size: var(--fs-caption);
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.check-list {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.check-list li {
    position: relative;
    padding-left: 2rem;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.2em;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: var(--grad-gold);
    box-shadow: 0 2px 6px -2px rgba(201, 166, 107, 0.7);
}

.check-list li::after {
    content: "";
    position: absolute;
    left: 6px;
    top: calc(0.2em + 5px);
    width: 8px;
    height: 4px;
    border-left: 2px solid var(--charcoal);
    border-bottom: 2px solid var(--charcoal);
    transform: rotate(-45deg);
}

.privacy-choices__icon {
    width: 30px;
    height: 14px;
    flex-shrink: 0;
}

/* ============================================
   DATA TABLES
   ============================================ */

.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--r-md);
}

.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--ink);
    background: var(--white);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-md);
}

.data-table caption {
    caption-side: top;
    text-align: left;
    padding: 0 0 0.875rem;
    font-weight: 600;
    color: var(--fg);
}

.data-table th,
.data-table td {
    padding: 0.875rem 1rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--rule);
}

.data-table thead th {
    background: var(--navy);
    color: var(--ivory);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.0625rem;
    border-bottom: 0;
}

.data-table thead th:first-child { border-top-left-radius: var(--r-md); }
.data-table thead th:last-child { border-top-right-radius: var(--r-md); }

.data-table tbody th {
    font-weight: 600;
}

.data-table tbody tr:nth-child(even) > * {
    background: #FBF6EE;
}

.data-table tbody tr:last-child > * {
    border-bottom: 0;
}

.data-table tbody tr:last-child > :first-child { border-bottom-left-radius: var(--r-md); }
.data-table tbody tr:last-child > :last-child { border-bottom-right-radius: var(--r-md); }

@media (max-width: 767.98px) {
    .data-table--stack {
        background: transparent;
        box-shadow: none;
    }

    .data-table--stack thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .data-table--stack,
    .data-table--stack tbody,
    .data-table--stack tr,
    .data-table--stack th,
    .data-table--stack td {
        display: block;
        width: 100%;
    }

    .data-table--stack tr {
        margin-bottom: 0.875rem;
        background: var(--white);
        border: 1px solid var(--rule);
        border-radius: var(--r-sm);
        box-shadow: var(--shadow-sm);
        overflow: hidden;
    }

    .data-table--stack tbody tr:nth-child(even) > * {
        background: transparent;
    }

    .data-table--stack tbody tr > *,
    .data-table--stack tbody tr:last-child > * {
        border-radius: 0;
        border-bottom: 1px solid var(--rule);
    }

    .data-table--stack tbody tr > :last-child {
        border-bottom: 0;
    }

    .data-table--stack tbody th,
    .data-table--stack tbody tr:nth-child(even) > th {
        background: var(--navy);
        color: var(--ivory);
        font-family: var(--font-display);
        font-weight: 500;
        font-size: 1.0625rem;
    }

    .data-table--stack td[data-label]::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 0.25rem;
        font-size: var(--fs-caption);
        font-weight: 600;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: var(--gold-ink);
    }
}

/* ============================================
   ACCORDION (FAQ)
   ============================================ */

.accordion {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 880px;
    margin-inline: auto;
}

.accordion__item {
    background: rgba(255, 253, 249, 0.78);
    border: 1px solid var(--rule);
    border-radius: var(--r-sm);
    transition: background-color var(--dur) ease, box-shadow var(--dur) ease, border-color var(--dur) ease;
}

.accordion__item.is-open {
    background: var(--cream);
    border-color: #D3C5AC;
    box-shadow: var(--shadow-sm);
}

.accordion__heading {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.4;
    letter-spacing: 0;
}

.accordion__trigger {
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: none;
    border: 0;
    border-radius: var(--r-sm);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: var(--fs-body);
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.accordion__trigger:hover .accordion__question {
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-underline-offset: 0.25em;
}

.accordion__chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    color: var(--gold-ink);
    background: rgba(217, 188, 133, 0.18);
    transition: transform 0.35s var(--ease-out), background-color var(--dur) ease;
}

.accordion__trigger[aria-expanded="true"] .accordion__chevron {
    transform: rotate(180deg);
    background: rgba(217, 188, 133, 0.32);
}

.accordion__panel {
    display: grid;
    grid-template-rows: 1fr;
    transition: grid-template-rows 0.35s var(--ease-out), visibility 0.35s;
}

.js .accordion__item:not(.is-open) .accordion__panel {
    grid-template-rows: 0fr;
    visibility: hidden;
}

.accordion__inner {
    min-height: 0;
    overflow: hidden;
}

.accordion__answer {
    padding: 0 1.25rem 1.25rem;
    color: var(--ink-soft);
}

.accordion__answer p:last-child {
    margin-bottom: 0;
}

/* ============================================
   HEADER & NAVIGATION (mobile-first)
   ============================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(31, 31, 36, 0.88);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    backdrop-filter: blur(16px) saturate(150%);
    border-bottom: 1px solid rgba(217, 188, 133, 0.22);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 150%;
    background: linear-gradient(180deg, rgba(22, 22, 28, 0.6) 0%, rgba(22, 22, 28, 0) 100%);
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.site-header.is-scrolled::before,
.site-header.menu-active::before {
    opacity: 1;
}

.site-header.is-scrolled::after,
.site-header.menu-active::after {
    opacity: 0;
}

.site-header__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: var(--header-h);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--ivory);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1;
}

.site-brand:hover .site-brand__text {
    color: var(--gold-light);
}

.site-brand__text {
    transition: color var(--dur) ease;
}

.nav-toggle {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    margin-right: -8px;
    background: none;
    border: 0;
    border-radius: 12px;
    color: var(--ivory);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.nav-toggle__bar {
    display: block;
    width: 22px;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    transition: transform var(--dur) var(--ease-out), opacity var(--dur) ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile drawer */
.site-nav {
    position: fixed;
    top: var(--header-bottom, var(--header-h));
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--grad-navy-glow);
    background-color: var(--navy-deep);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s var(--ease-out), visibility 0.3s;
}

.site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
}

.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.site-nav__link {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 56px;
    color: var(--ivory);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(248, 243, 234, 0.14);
}

.site-nav__link[aria-current="page"] {
    color: var(--gold-light);
}

.site-nav .header-cta {
    width: 100%;
    min-height: 54px;
    font-size: var(--fs-body);
}

.site-nav__note {
    margin: 0;
    text-align: center;
    font-size: var(--fs-caption);
    color: #D2CBBE;
}

@media (min-width: 768px) {
    .site-brand {
        font-size: 1.75rem;
    }

    .nav-toggle {
        display: none;
    }

    .site-nav {
        position: static;
        z-index: auto;
        flex-direction: row;
        align-items: center;
        gap: 1.75rem;
        padding: 0;
        overflow: visible;
        background: none;
        visibility: visible;
        opacity: 1;
        transform: none;
        transition: none;
    }

    .site-nav__list {
        flex-direction: row;
        gap: 1.5rem;
    }

    .site-nav__link {
        display: inline-flex;
        min-height: 44px;
        font-family: var(--font-body);
        font-size: var(--fs-small);
        font-weight: 500;
        border-bottom: 0;
    }

    .site-nav__link::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 8px;
        height: 1px;
        background: var(--gold);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform var(--dur) var(--ease-out);
    }

    .site-nav__link:hover::after,
    .site-nav__link[aria-current="page"]::after {
        transform: scaleX(1);
    }

    .site-nav .header-cta {
        width: auto;
        min-height: 44px;
        font-size: var(--fs-small);
    }

    .site-nav__note {
        display: none;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    position: relative;
    padding: 56px 0 calc(32px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, #262B45 0%, #1C2036 100%);
    text-align: center;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--grad-hairline);
}

.site-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.site-footer__brand {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-family: var(--font-display);
    font-size: 1.875rem;
    font-weight: 500;
    color: var(--ivory);
    text-decoration: none;
}

.site-footer__tagline {
    margin: 0;
    max-width: 42ch;
    color: var(--muted);
}

.site-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 2rem;
}

.site-footer__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--ivory);
    text-decoration: none;
    font-size: var(--fs-small);
    font-weight: 500;
    background: linear-gradient(var(--gold), var(--gold)) left calc(100% - 10px) / 0 1px no-repeat;
    transition: background-size var(--dur) var(--ease-out), color var(--dur) ease;
}

.site-footer__link:hover,
.site-footer__link[aria-current="page"] {
    color: var(--gold-light);
    background-size: 100% 1px;
}

.privacy-choices {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    min-height: 44px;
    padding: 0 1.125rem;
    border-radius: var(--r-pill);
    background: var(--ivory);
    color: var(--navy);
    font-size: var(--fs-small);
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 0 0 1px rgba(217, 188, 133, 0.6), 0 10px 22px -12px rgba(0, 0, 0, 0.6);
    transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) ease;
}

.privacy-choices:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px var(--gold), 0 14px 28px -12px rgba(217, 188, 133, 0.55);
}

.site-footer__meta {
    width: 100%;
    max-width: 640px;
    margin-top: 0.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(248, 243, 234, 0.16);
    display: grid;
    gap: 0.375rem;
    font-size: var(--fs-caption);
    color: var(--muted);
}

.site-footer__meta p {
    margin: 0;
}

.site-footer__meta strong {
    color: var(--ivory);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */

.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    transition-delay: var(--reveal-delay, 0s);
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }

    .btn:hover,
    .btn:active,
    .privacy-choices:hover {
        transform: none;
    }
}

/* ============================================
   PRINT
   ============================================ */

@media print {
    .site-header,
    .skip-link,
    .nav-toggle,
    .btn,
    [data-print],
    .no-print {
        display: none !important;
    }

    html, body {
        background: #fff !important;
        color: #000 !important;
        font-size: 11pt;
    }

    *,
    *::before,
    *::after {
        box-shadow: none !important;
        text-shadow: none !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }

    .section,
    .glass,
    .glass--dark,
    .surface-dark,
    .section--charcoal,
    .section--navy,
    .section--navy-glow,
    .site-footer {
        --fg: #000;
        --muted: #333;
        --link: #000;
        background: none !important;
        color: #000 !important;
        border-color: #999 !important;
        padding-block: 12pt;
    }

    .site-footer::before {
        display: none;
    }

    .privacy-choices {
        background: none;
        color: #000;
        border: 1px solid #000;
    }

    a {
        color: #000 !important;
    }

    main a[href]:not(.btn)::after {
        content: " (" attr(href) ")";
        font-size: 9pt;
        font-weight: 400;
        word-break: break-all;
    }

    main a[href^="#"]::after {
        content: "";
    }

    .js .reveal {
        opacity: 1 !important;
        transform: none !important;
    }

    .accordion__panel,
    .js .accordion__item:not(.is-open) .accordion__panel {
        grid-template-rows: 1fr !important;
        visibility: visible !important;
    }

    .data-table {
        background: #fff;
    }

    .data-table thead {
        position: static !important;
        width: auto !important;
        height: auto !important;
        clip: auto !important;
    }

    .data-table th,
    .data-table td,
    .data-table thead th,
    .data-table tbody tr:nth-child(even) > * {
        background: #fff !important;
        color: #000 !important;
        border: 1px solid #666 !important;
    }

    h1, h2, h3 {
        break-after: avoid;
        color: #000 !important;
    }

    tr, li, .accordion__item {
        break-inside: avoid;
    }
}

/* ============================================
   HOME - SHARED
   ============================================ */

.section-cta {
    display: flex;
    justify-content: center;
    margin-top: clamp(32px, 5vw, 48px);
}

/* ============================================
   HOME - HERO
   ============================================ */

.hero {
    --hero-media-h: min(64svh, 560px);
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    padding: calc(var(--hero-media-h) - 120px) 0 calc(40px + 48px);
    background: var(--charcoal);
    color: var(--ivory);
}

.hero__media {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--hero-media-h);
    z-index: -1;
    background: url("/assets/67d5cc2fcf31500bb14f21f02a22d1cc.webp") 68% 22% / cover no-repeat;
}

.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, #2A2A30 0%, rgba(42, 42, 48, 0.9) 24%, rgba(42, 42, 48, 0.35) 48%, rgba(42, 42, 48, 0) 62%),
        linear-gradient(180deg, rgba(31, 31, 36, 0.5) 0%, rgba(31, 31, 36, 0) 24%);
}

.hero__content {
    position: relative;
    max-width: 580px;
}

.hero__title {
    margin-bottom: 1rem;
    font-size: clamp(2.375rem, 1.5rem + 4vw, 4.25rem);
    color: var(--ivory);
    text-wrap: initial;
}

.hero__title span {
    display: block;
}

.hero__lead {
    max-width: 46ch;
    margin-bottom: 1.75rem;
    font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
    color: #DCD5C8;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero__actions .btn {
    width: 100%;
}

.hero__notice {
    margin: 0;
    max-width: 46ch;
    font-size: var(--fs-caption);
    color: #D2CBBE;
}

.hero__notice a {
    color: var(--gold-light);
}

.hero__scroll {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 56px;
    margin: 1.5rem 0 0 -11px;
    color: #CFC7B8;
    animation: hero-bob 2.6s ease-in-out infinite;
}

.hero__scroll svg {
    width: 22px;
    height: 40px;
}

.hero__scroll:hover {
    color: var(--gold-light);
}

@keyframes hero-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

@media (min-width: 480px) {
    .hero__actions .btn {
        width: auto;
    }
}

@media (min-width: 768px) {
    .hero {
        --hero-media-h: min(66svh, 640px);
        padding-top: calc(var(--hero-media-h) - 150px);
    }
}

@media (min-width: 1024px) {
    .hero {
        min-height: clamp(660px, 94vh, 900px);
        align-items: center;
        padding: calc(var(--header-h) + 56px) 0 calc(40px + 64px);
    }

    .hero__media {
        inset: 0;
        height: auto;
        background-position: 78% 30%;
    }

    .hero__media::after {
        background:
            linear-gradient(90deg, #2A2A30 0%, #2A2A30 34%, rgba(42, 42, 48, 0.72) 46%, rgba(42, 42, 48, 0) 62%),
            linear-gradient(180deg, rgba(31, 31, 36, 0.45) 0%, rgba(31, 31, 36, 0) 20%);
    }
}

/* ============================================
   HOME - PROFILE CAROUSEL
   ============================================ */

.profiles {
    position: relative;
    z-index: 2;
    margin-top: -40px;
    padding-bottom: clamp(48px, 7vw, 88px);
    background: linear-gradient(180deg, transparent 0, transparent 40px, var(--ivory) 40px);
}

.profiles > .container {
    padding-inline: clamp(12px, 3vw, 48px);
}

.profiles__panel {
    position: relative;
    overflow: hidden;
    padding: clamp(40px, 6vw, 64px) 0 clamp(28px, 4vw, 44px);
    border-radius: var(--r-xl);
    border: 1px solid rgba(255, 255, 255, 0.3);
    background:
        linear-gradient(180deg, rgba(31, 31, 36, 0.74) 0%, rgba(31, 31, 36, 0.48) 32%, rgba(31, 31, 36, 0.3) 55%, rgba(31, 31, 36, 0.74) 100%),
        url("/assets/76f540f640ee65d439b29da00c242d3d.webp") 50% 50% / cover no-repeat,
        #55545C;
    box-shadow: var(--shadow-long), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.profiles__panel .section-heading {
    margin-bottom: 8px;
}

.profiles__panel .section-heading__lead {
    color: #E6DFD3;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.carousel {
    --card-w: 216px;
    position: relative;
}

.carousel__viewport {
    --tilt: 0deg;
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    padding-block: 40px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    cursor: grab;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.carousel__viewport::-webkit-scrollbar {
    display: none;
}

.carousel__viewport:focus-visible {
    outline: none;
}

.carousel__viewport:focus-visible .profile-card.is-active {
    outline: 3px solid var(--gold-light);
    outline-offset: 5px;
}

.carousel__viewport.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
}

.carousel__track {
    list-style: none;
    margin: 0;
    display: flex;
    gap: 18px;
    width: max-content;
    padding: 0 calc(50% - var(--card-w) / 2);
}

.profile-card {
    position: relative;
    flex: 0 0 var(--card-w);
    width: var(--card-w);
    padding: 10px;
    scroll-snap-align: center;
    border-radius: var(--r-md);
    border: 1.5px solid rgba(255, 255, 255, 0.32);
    background: rgba(248, 243, 234, 0.18);
    -webkit-backdrop-filter: blur(14px) saturate(130%);
    backdrop-filter: blur(14px) saturate(130%);
    color: var(--ivory);
    box-shadow: 0 18px 36px -20px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) rotate(var(--tilt, 0deg));
    transition: transform 0.55s var(--ease-out), background 0.4s ease, box-shadow 0.4s ease, color 0.3s ease;
    user-select: none;
}

.profile-card.is-active {
    z-index: 1;
    color: var(--ink);
    border-color: transparent;
    background:
        linear-gradient(180deg, var(--white) 0%, var(--ivory) 100%) padding-box,
        var(--grad-gold) border-box;
    box-shadow: 0 0 0 1px rgba(217, 188, 133, 0.35), 0 22px 50px -14px rgba(217, 188, 133, 0.6), 0 30px 60px -30px rgba(0, 0, 0, 0.55);
    transform: scale(1.08) rotate(var(--tilt, 0deg));
}

.profile-card__media {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 14px;
    background: #3A3A42;
}

.profile-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 25%;
    pointer-events: none;
    -webkit-user-drag: none;
    transition: filter 0.4s ease;
}

.profile-card:not(.is-active) .profile-card__media img {
    filter: saturate(0.7) brightness(0.92);
}

.profile-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 26px;
    padding: 2px 10px 2px 6px;
    border-radius: var(--r-pill);
    background: rgba(255, 253, 249, 0.94);
    color: var(--ink);
    font-size: 0.8125rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.profile-card__badge .icon {
    color: var(--gold-ink);
}

.profile-card__body {
    padding: 12px 4px 4px;
}

.profile-card__label {
    margin: 0 0 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #EDE6DA;
}

.profile-card.is-active .profile-card__label {
    color: var(--gold-ink);
}

.profile-card__tags {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.profile-card__tags li {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 3px 10px;
    border-radius: var(--r-pill);
    border: 1px solid rgba(248, 243, 234, 0.3);
    background: rgba(31, 31, 36, 0.55);
    font-size: 0.8125rem;
    line-height: 1.2;
}

.profile-card.is-active .profile-card__tags li {
    background: var(--cream);
    border-color: var(--rule);
    color: var(--ink);
}

.carousel__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.carousel__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(248, 243, 234, 0.45);
    background: rgba(248, 243, 234, 0.14);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--ivory);
    cursor: pointer;
    transition: transform var(--dur) var(--ease-out), background var(--dur) ease, color var(--dur) ease, border-color var(--dur) ease;
}

.carousel__btn:hover:not(:disabled) {
    transform: translateY(-2px);
    border-color: transparent;
    background: var(--grad-gold);
    color: var(--charcoal);
}

.carousel__btn:disabled {
    cursor: default;
    border-color: rgba(248, 243, 234, 0.2);
    color: #A8A29A;
}

.carousel__status {
    min-width: 10ch;
    margin: 0;
    text-align: center;
    font-size: var(--fs-small);
    color: #EDE6DA;
    font-variant-numeric: tabular-nums;
}

.profiles__cta {
    margin-top: 24px;
}

.profiles__note {
    max-width: 62ch;
    margin: 24px auto 0;
    padding-inline: var(--gutter);
    text-align: center;
    font-size: var(--fs-caption);
    color: #E6DFD3;
}

.profiles__note strong {
    color: var(--gold-light);
}

@media (min-width: 768px) {
    .carousel {
        --card-w: 244px;
    }

    .carousel__viewport {
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
        mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
    }
}

/* ============================================
   HOME - STEPS
   ============================================ */

.steps {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 32px;
}

.steps::before {
    content: "";
    position: absolute;
    left: 35px;
    top: 36px;
    bottom: 0;
    border-left: 2px dotted var(--gold-deep);
    transform-origin: top;
    transition: transform 1.2s var(--ease-out) 0.2s;
}

.js .steps:not(.is-visible)::before {
    transform: scaleY(0);
}

.steps__line {
    display: none;
}

.step {
    position: relative;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0 20px;
    align-items: start;
}

.step:last-child {
    background: var(--ivory);
}

.step__icon {
    position: relative;
    z-index: 1;
    grid-row: span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, #44444C 0%, var(--charcoal) 70%);
    color: var(--gold);
    box-shadow: 0 0 0 3px var(--ivory), 0 0 0 4px rgba(201, 166, 107, 0.8), 0 14px 26px -10px rgba(20, 20, 30, 0.5);
}

.step__title {
    grid-column: 2;
    margin: 8px 0 6px;
}

.step__text {
    grid-column: 2;
    margin: 0;
    color: var(--muted);
}

@media (min-width: 768px) {
    .steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 32px;
    }

    .steps::before {
        display: none;
    }

    .steps__line {
        display: block;
        position: absolute;
        top: 35px;
        left: calc((100% - 64px) / 6);
        right: calc((100% - 64px) / 6);
        width: auto;
        height: 2px;
        overflow: visible;
    }

    .steps__line line {
        stroke: var(--gold-deep);
        stroke-width: 1.5;
        vector-effect: non-scaling-stroke;
        stroke-dasharray: 1;
        stroke-dashoffset: 0;
        transition: stroke-dashoffset 1.4s var(--ease-out) 0.25s;
    }

    .js .steps:not(.is-visible) .steps__line line {
        stroke-dashoffset: 1;
    }

    .step {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        text-align: center;
    }

    .step:last-child {
        background: none;
    }

    .step__icon {
        grid-row: auto;
        margin-bottom: 18px;
    }

    .step__title,
    .step__text {
        grid-column: auto;
    }

    .step__text {
        max-width: 30ch;
    }
}

/* ============================================
   HOME - APP PREVIEW
   ============================================ */

.app-preview {
    position: relative;
    isolation: isolate;
    padding-block: var(--section-y);
    background: #CBD0C8;
}

.app-preview::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url("/assets/0c841b71885a7105b4fa24f4ee3a42c2.webp") 30% 50% / cover no-repeat;
}

.app-preview__grid {
    display: grid;
    gap: 40px;
    align-items: center;
}

.app-preview__device {
    display: flex;
    justify-content: center;
}

.phone {
    position: relative;
    width: min(272px, 78vw);
    aspect-ratio: 9 / 19.5;
    padding: 10px;
    border-radius: 46px;
    background: linear-gradient(145deg, #3D3D45 0%, #16161A 100%);
    box-shadow: var(--shadow-long), inset 0 0 0 2px #5A5A62, inset 0 0 0 4px #1A1A1E;
}

.phone__notch {
    position: absolute;
    top: 10px;
    left: 50%;
    z-index: 2;
    width: 36%;
    height: 24px;
    border-radius: 0 0 16px 16px;
    background: #111114;
    transform: translateX(-50%);
}

.phone__screen {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    padding: 40px 12px 14px;
    border-radius: 36px;
    background: linear-gradient(180deg, #2E3456 0%, #262B45 55%, #1E2238 100%);
    color: var(--ivory);
    font-size: 0.78rem;
    line-height: 1.35;
}

.chat__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(248, 243, 234, 0.14);
}

.chat__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--cream);
    color: var(--charcoal);
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    box-shadow: 0 0 0 1.5px var(--gold);
}

.chat__avatar--lg {
    width: 46px;
    height: 46px;
    margin-bottom: 4px;
    font-size: 1.15rem;
    box-shadow: 0 0 0 2px var(--navy), 0 0 0 4px var(--gold);
}

.chat__name {
    font-weight: 600;
    font-size: 0.85rem;
}

.chat__meta {
    color: var(--gold-light);
    font-size: 0.7rem;
}

.chat__body {
    flex: 1;
    list-style: none;
    margin: 0;
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
}

.chat__msg {
    display: flex;
    align-items: flex-end;
    gap: 6px;
}

.chat__msg--out {
    justify-content: flex-end;
}

.chat__bubble {
    max-width: 76%;
    padding: 7px 11px;
    border-radius: 14px;
}

.chat__msg--in .chat__bubble {
    background: var(--grad-gold);
    color: var(--charcoal);
    border-bottom-left-radius: 4px;
}

.chat__msg--out .chat__bubble {
    background: var(--charcoal);
    color: var(--ivory);
    border: 1px solid rgba(217, 188, 133, 0.35);
    border-bottom-right-radius: 4px;
}

.js .phone .chat__msg {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-spring);
}

.js .phone.is-visible .chat__msg {
    opacity: 1;
    transform: none;
}

.js .phone.is-visible .chat__msg:nth-child(1) { transition-delay: 0.35s; }
.js .phone.is-visible .chat__msg:nth-child(2) { transition-delay: 0.75s; }
.js .phone.is-visible .chat__msg:nth-child(3) { transition-delay: 1.15s; }
.js .phone.is-visible .chat__msg:nth-child(4) { transition-delay: 1.55s; }
.js .phone.is-visible .chat__msg:nth-child(5) { transition-delay: 1.95s; }

.chat__input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 34px;
    padding: 4px 4px 4px 14px;
    border-radius: var(--r-pill);
    background: var(--ivory);
    color: var(--ink-soft);
}

.chat__send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--charcoal);
    color: var(--gold-light);
}

.app-preview__panel {
    padding: clamp(28px, 4vw, 52px);
    border-radius: var(--r-xl);
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(248, 243, 234, 0.8);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    backdrop-filter: blur(20px) saturate(140%);
    box-shadow: var(--shadow-long), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    color: var(--ink);
}

.app-preview__panel h2 {
    margin-bottom: 0.875rem;
}

.app-preview__panel .lead {
    color: var(--ink-soft);
    margin-bottom: 1.5rem;
}

.app-preview__panel .check-list {
    margin-bottom: 1.75rem;
}

@media (min-width: 768px) {
    .app-preview__grid {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 48px;
    }
}

@media (min-width: 1024px) {
    .app-preview::before {
        background-position: 40% 50%;
    }

    .app-preview__grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.5fr) minmax(0, 1.3fr);
        gap: 24px;
    }

    .app-preview__device {
        grid-column: 1;
    }

    .app-preview__panel {
        grid-column: 3;
        background: rgba(248, 243, 234, 0.62);
    }
}

/* ============================================
   HOME - COMPARISON
   ============================================ */

.compare {
    background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory) 55%, var(--navy) 55%, var(--navy-deep) 100%);
}

.compare__card {
    max-width: 980px;
    margin-inline: auto;
    padding: clamp(10px, 2.5vw, 28px);
    background: rgba(252, 249, 243, 0.92);
}

.compare__scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px;
}

.compare__inner {
    position: relative;
    min-width: 600px;
}

.compare__pill {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: calc(36% + 6px);
    width: calc(64% / 3 - 12px);
    border-radius: 18px;
    border: 1px solid var(--gold);
    background: linear-gradient(180deg, #FFFDF9 0%, #F3E6CC 100%);
    box-shadow: 0 0 0 4px rgba(217, 188, 133, 0.14), 0 14px 32px -12px rgba(201, 166, 107, 0.55);
    pointer-events: none;
}

.compare-table {
    position: relative;
    z-index: 1;
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9375rem;
    line-height: 1.4;
    color: var(--ink);
}

.compare-table__feature-col {
    width: 36%;
}

.compare-table th,
.compare-table td {
    padding: 14px 12px;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid rgba(87, 83, 92, 0.16);
}

.compare-table thead th {
    padding-top: 20px;
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 500;
}

.compare-table thead th:first-child,
.compare-table tbody th {
    text-align: left;
}

.compare-table tbody th {
    font-weight: 600;
}

.compare-table tbody tr:last-child > * {
    border-bottom: 0;
}

.compare-table__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--grad-gold);
    color: var(--charcoal);
    box-shadow: 0 4px 10px -4px rgba(201, 166, 107, 0.8);
}

.varies {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 2px 12px;
    border-radius: var(--r-pill);
    background: rgba(154, 78, 94, 0.1);
    color: var(--rose);
    font-size: 0.8125rem;
    font-weight: 600;
}

.compare__footnote {
    margin: 24px auto 0;
    text-align: center;
    font-size: var(--fs-caption);
    color: #D2CBBE;
}

@media (max-width: 767.98px) {
    .compare-table th:first-child {
        position: sticky;
        left: 0;
        z-index: 2;
        background: #FAF6EF;
        box-shadow: 8px 0 10px -10px rgba(0, 0, 0, 0.35);
    }
}

@media (min-width: 768px) {
    .compare__inner {
        min-width: 0;
    }

    .compare-table {
        font-size: 1rem;
    }
}

/* ============================================
   HOME - TRUST
   ============================================ */

.trust__card {
    max-width: 980px;
    margin-inline: auto;
    padding: clamp(24px, 4vw, 48px);
}

.trust__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 28px;
}

.trust__item {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 0 16px;
    align-items: start;
}

.trust__badge {
    grid-row: span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--grad-gold);
    color: var(--charcoal);
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 0 0 4px rgba(217, 188, 133, 0.18), 0 8px 18px -8px rgba(217, 188, 133, 0.8);
}

.trust__title {
    grid-column: 2;
    margin: 6px 0 6px;
    font-size: 1.25rem;
}

.trust__text {
    grid-column: 2;
    margin: 0;
    color: var(--muted);
}

@media (min-width: 768px) {
    .trust__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 48px;
    }
}

/* ============================================
   HOME - PRICING
   ============================================ */

.pricing {
    padding-bottom: 0;
}

.pricing__stage {
    --fg: var(--ink);
    --muted: var(--ink-soft);
    --link: var(--gold-ink);
    --focus-ring: #8A6A35;
    padding-bottom: var(--section-y);
    background: linear-gradient(180deg, var(--charcoal) 0, var(--charcoal) 150px, var(--ivory) 150px);
    color: var(--ink);
}

.pricing__grid {
    list-style: none;
    max-width: 980px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    gap: 20px;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--r-lg);
    border: 1px solid rgba(217, 188, 133, 0.4);
    background: var(--ivory);
    box-shadow: var(--shadow-long);
    transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) ease;
}

.price-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 16px;
    right: 16px;
    z-index: 1;
    height: 2px;
    background: var(--grad-hairline);
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-long), 0 0 36px -10px rgba(217, 188, 133, 0.55);
}

.price-card__top {
    padding: 28px 20px 22px;
    text-align: center;
    color: var(--ivory);
    background: linear-gradient(180deg, rgba(58, 58, 66, 0.94) 0%, rgba(74, 72, 80, 0.9) 58%, rgba(222, 214, 200, 0.95) 100%);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.price-card__title {
    margin: 0 0 14px;
    font-size: 1.375rem;
    color: var(--ivory);
}

.price-card__icon {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--gold);
}

.price-card__bar {
    display: block;
    width: 72px;
    height: 5px;
    margin-inline: auto;
    border-radius: var(--r-pill);
    background: var(--charcoal);
}

.price-card__text {
    flex: 1;
    margin: 0;
    padding: 20px 24px 28px;
    text-align: center;
    color: var(--ink);
    background: linear-gradient(180deg, #DED6C8 0%, var(--ivory) 45%);
}

.pricing__foot {
    margin-top: 36px;
    text-align: center;
}

.pricing__line {
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--ink);
}

@media (min-width: 768px) {
    .pricing__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ============================================
   HOME - GUIDE
   ============================================ */

.guide__grid {
    display: grid;
    gap: 56px;
}

.guide__col {
    display: flow-root;
}

.guide__col::before {
    content: "";
    display: block;
    width: 72px;
    height: 8px;
    margin-bottom: 20px;
    border-radius: var(--r-pill);
    background: var(--charcoal);
}

.guide__title {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 14px;
    font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
    line-height: 1.18;
}

.guide__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 120px;
    height: 3px;
    border-radius: 2px;
    background: var(--grad-gold);
}

.guide__figure {
    margin: 0 0 18px;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
}

.guide__figure img {
    width: 100%;
    height: auto;
    aspect-ratio: 8 / 9;
    object-fit: cover;
}

.guide__figure--wide img {
    aspect-ratio: 9 / 8;
}

.guide__col p {
    color: var(--ink-soft);
}

.guide__col strong {
    color: var(--ink);
}

@media (min-width: 480px) {
    .guide__figure {
        width: 42%;
    }

    .guide__figure--right {
        float: right;
        margin-left: 20px;
    }

    .guide__figure--left {
        float: left;
        margin-right: 20px;
    }
}

@media (min-width: 1024px) {
    .guide__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 64px;
    }
}

/* ============================================
   HOME - SOCIAL PROOF
   ============================================ */

.proof {
    background: linear-gradient(180deg, var(--ivory) 0%, var(--cream) 100%);
}

.proof__grid {
    list-style: none;
    max-width: 980px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    gap: 20px;
}

.proof-card {
    padding: 36px 24px 32px;
    text-align: center;
    border-radius: var(--r-lg);
    border: 1px solid rgba(255, 255, 255, 0.85);
    background: rgba(255, 253, 249, 0.72);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 #FFFFFF, var(--shadow-long);
}

.proof-card__figure {
    margin: 0 0 18px;
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 2rem + 2.5vw, 3.5rem);
    font-weight: 600;
    line-height: 1;
    color: var(--charcoal);
}

.proof-card__label {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin: 0 0 14px;
    padding: 4px 14px;
    border-radius: var(--r-pill);
    background: var(--charcoal);
    color: var(--ivory);
    font-family: var(--font-body);
    font-size: var(--fs-caption);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.proof-card__text {
    margin: 0;
    color: var(--ink-soft);
}

@media (min-width: 768px) {
    .proof__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ============================================
   HOME - FINAL CTA
   ============================================ */

.final-cta {
    position: relative;
    isolation: isolate;
    padding-block: clamp(88px, 11vw, 140px);
    text-align: center;
    background: var(--charcoal) url("/assets/76f540f640ee65d439b29da00c242d3d.webp") 50% 50% / cover no-repeat;
}

.final-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(31, 31, 36, 0.6) 0%, rgba(31, 31, 36, 0) 72%);
}

.final-cta__inner {
    max-width: 620px;
    margin-inline: auto;
}

.final-cta__text {
    margin-bottom: 2rem;
    color: #DCD5C8;
    font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
}

.final-cta__meta {
    margin: 24px 0 0;
    font-size: var(--fs-caption);
    letter-spacing: 0.04em;
    color: #D2CBBE;
}

/* ============================================
   HOME - PRINT
   ============================================ */

@media print {
    .hero__media,
    .hero__scroll,
    .carousel__controls,
    .compare__pill {
        display: none !important;
    }

    .hero,
    .profiles__panel,
    .app-preview,
    .final-cta,
    .pricing__stage {
        background: none !important;
        color: #000 !important;
        padding-block: 12pt;
    }

    .app-preview::before,
    .final-cta::before {
        display: none;
    }

    .carousel__viewport {
        -webkit-mask-image: none;
        mask-image: none;
        overflow: visible;
    }

    .carousel__track {
        flex-wrap: wrap;
        width: auto;
        padding: 0;
    }
}

/* ============================================
   PRIVACY POLICY
   ============================================ */

.policy-hero {
    position: relative;
    padding: calc(var(--header-h) + 48px) 0 48px;
    background: var(--grad-navy-glow);
    background-color: var(--navy-deep);
}

.policy-hero__inner {
    max-width: 760px;
}

.policy-hero__title {
    margin-bottom: 0.5rem;
    font-size: clamp(2.125rem, 1.4rem + 3.6vw, 3.75rem);
    color: var(--ivory);
}

.policy-hero__date {
    margin: 0 0 1.25rem;
    color: #E6DFD3;
    font-size: var(--fs-small);
    font-weight: 600;
}

.policy-hero__date::after {
    content: "";
    display: block;
    max-width: 320px;
    height: 1px;
    margin-top: 0.75rem;
    background: var(--grad-hairline);
}

.policy-hero__lead {
    max-width: 58ch;
    margin-bottom: 1.5rem;
    font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
    color: #E6DFD3;
}

.policy-hero__tools {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.toc-mobile {
    width: 100%;
    max-width: 420px;
    border-radius: var(--r-md);
    border: 1px solid rgba(217, 188, 133, 0.45);
    background: rgba(31, 31, 36, 0.55);
}

.toc-mobile__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 52px;
    padding: 0.75rem 1.125rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    border-radius: var(--r-md);
}

.toc-mobile__summary::-webkit-details-marker {
    display: none;
}

.toc-mobile__chevron {
    display: inline-flex;
    color: var(--gold-light);
    transition: transform var(--dur) var(--ease-out);
}

.toc-mobile[open] .toc-mobile__chevron {
    transform: rotate(180deg);
}

.toc-mobile .toc-list {
    padding: 0 1.125rem 1rem;
}

.toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.toc-list a {
    display: flex;
    align-items: center;
    min-height: 44px;
    color: inherit;
    font-size: var(--fs-small);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(248, 243, 234, 0.14);
    transition: color var(--dur) ease;
}

.toc-list a:hover {
    color: var(--gold-light);
    text-decoration: underline;
    text-underline-offset: 0.25em;
}

.toc-rail {
    display: none;
}

.policy {
    padding-block: clamp(32px, 6vw, 72px) var(--section-y);
    background: var(--ivory);
}

.policy__grid {
    display: block;
}

.policy__content {
    max-width: 760px;
}

.policy-section {
    padding-block: 32px;
    border-top: 1px solid var(--rule);
}

.policy-section--first {
    padding-top: 0;
    border-top: 0;
}

.policy-section h2 {
    font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
    margin-bottom: 0.75em;
}

.policy-section h3 {
    margin-top: 1.5rem;
    font-size: 1.25rem;
}

.policy-section p {
    color: var(--ink);
}

.policy-section > .check-list + p,
.policy-section > .policy-steps + h3 {
    margin-top: 1.25rem;
}

.policy-note {
    margin-top: 1rem;
    color: var(--ink-soft) !important;
}

.policy-h2-icon {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.policy-summary {
    padding: clamp(20px, 4vw, 32px);
    border-radius: var(--r-lg);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-left: 4px solid var(--gold);
    background: rgba(255, 253, 249, 0.85);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-md);
}

.policy-summary h2 {
    margin-bottom: 0.75em;
}

.policy-summary .check-list {
    margin-bottom: 0;
}

.policy .table-scroll {
    margin-top: 1.25rem;
}

.policy .data-table caption {
    color: var(--ink);
}

.policy .data-table th .tag {
    display: inline-flex;
    margin-top: 0.375rem;
}

.policy-notice {
    position: relative;
    padding: clamp(24px, 4vw, 36px);
    border-radius: 16px;
    background: var(--grad-navy-glow);
    background-color: var(--navy);
    border: 1px solid rgba(217, 188, 133, 0.45);
    box-shadow: var(--shadow-long);
}

.policy-notice__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: var(--grad-gold);
    color: var(--charcoal);
    box-shadow: 0 0 0 4px rgba(217, 188, 133, 0.2);
}

.policy-section .policy-notice h2,
.policy-section .policy-notice p {
    color: var(--ivory);
}

.policy-notice__list {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.policy-notice__list li {
    padding: 0.75rem 1rem;
    border-radius: var(--r-sm);
    background: rgba(248, 243, 234, 0.08);
    border: 1px solid rgba(248, 243, 234, 0.16);
}

.policy-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: step;
    display: grid;
    gap: 0.875rem;
}

.policy-steps li {
    position: relative;
    min-height: 36px;
    padding-left: 3rem;
    counter-increment: step;
}

.policy-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: -2px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--charcoal);
    color: var(--gold-light);
    font-family: var(--font-display);
    font-weight: 600;
    box-shadow: 0 0 0 2px var(--ivory), 0 0 0 3px var(--gold-deep);
}

.policy-cta {
    margin-top: 16px;
    padding: clamp(28px, 5vw, 44px) 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: var(--r-lg);
    border: 1px solid rgba(217, 188, 133, 0.5);
    background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
    box-shadow: var(--shadow-md);
}

.policy-cta__title {
    margin: 0 0 0.25rem;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
    color: var(--ink);
}

.policy-cta__text {
    margin-bottom: 1.5rem;
    color: var(--ink-soft);
}

.policy-cta .btn {
    margin-bottom: 0.5rem;
}

@media (min-width: 1024px) {
    .toc-mobile {
        display: none;
    }

    .policy__grid {
        display: grid;
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 56px;
        align-items: start;
    }

    .toc-rail {
        display: block;
        position: sticky;
        top: calc(var(--header-h) + 24px);
        max-height: calc(100vh - var(--header-h) - 48px);
        overflow-y: auto;
        padding: 20px 20px 12px;
        background: rgba(255, 253, 249, 0.78);
        border-color: rgba(220, 210, 193, 0.9);
        box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }

    .toc-rail__title {
        margin: 0 0 0.5rem;
        font-size: var(--fs-caption);
        font-weight: 600;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--gold-ink);
    }

    .toc-rail .toc-list a {
        min-height: 40px;
        color: var(--ink);
        border-bottom-color: var(--rule);
    }

    .toc-rail .toc-list a:hover {
        color: var(--gold-ink);
    }
}

@media (max-width: 767.98px) {
    .policy-hero {
        padding-top: calc(var(--header-h) + 32px);
    }
}

@media print {
    .toc-rail,
    .toc-mobile,
    .policy-hero__tools,
    .policy-cta,
    .policy-notice__badge {
        display: none !important;
    }

    .policy-hero {
        padding-block: 0 12pt;
    }

    .policy-hero__title,
    .policy-hero__date,
    .policy-hero__lead,
    .policy-section p,
    .policy-section li {
        color: #000 !important;
    }

    .policy,
    .policy-summary,
    .policy-notice {
        background: none !important;
        border-color: #666 !important;
        padding-block: 8pt;
    }

    .policy__grid {
        display: block;
    }

    .policy-notice__list li {
        background: none !important;
        border-color: #999 !important;
    }

    .policy-steps li::before,
    .check-list li::before {
        background: none !important;
        color: #000 !important;
        border: 1px solid #000;
        box-shadow: none !important;
    }

    .tag {
        background: none !important;
        color: #000 !important;
        border: 1px solid #000 !important;
    }
}

/* ============================================
   CONTACT
   ============================================ */

.contact-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: 640px;
    padding: calc(var(--header-h) + 200px) 0 40px;
    background: #C9CFD3;
    color: var(--ink);
}

.contact-hero__media {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url("/assets/49f33d925d80ddb37cb9fb0165abca01.webp") 72% 50% / cover no-repeat;
}

.contact-hero__panel {
    width: 100%;
    max-width: 580px;
    padding: clamp(24px, 4vw, 40px);
    border-radius: 24px;
    border: 1px solid var(--ivory);
    background: rgba(248, 243, 234, 0.55);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    box-shadow: var(--shadow-long);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .contact-hero__panel { background: rgba(248, 243, 234, 0.94); }
}

.contact-hero__title {
    margin-bottom: 0.75rem;
    font-size: clamp(2.125rem, 1.4rem + 3.6vw, 3.5rem);
    color: var(--ink);
}

.contact-hero__lead {
    margin-bottom: 1.25rem;
    font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
    color: var(--ink);
}

.contact-chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0 1rem;
    border-radius: var(--r-pill);
    background: var(--charcoal);
    color: var(--ivory);
    font-size: var(--fs-small);
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
    box-shadow: inset 0 0 0 1px rgba(217, 188, 133, 0.5), 0 10px 22px -14px rgba(0, 0, 0, 0.6);
    transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) ease, color var(--dur) ease;
}

.contact-chip .icon {
    color: var(--gold);
}

.contact-chip:hover {
    transform: translateY(-2px);
    color: var(--gold-light);
    box-shadow: inset 0 0 0 1px var(--gold), 0 14px 28px -12px rgba(217, 188, 133, 0.5);
}

.contact-chip:focus-visible {
    outline-color: var(--charcoal);
}

.contact-table-card {
    max-width: 980px;
    margin-inline: auto;
    padding: clamp(10px, 2.5vw, 28px);
    background: rgba(252, 249, 243, 0.92);
}

.contact-topic {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
}

.contact-topic .icon {
    color: var(--gold-ink);
}

.contact-mail {
    color: var(--gold-ink);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    overflow-wrap: anywhere;
}

.contact-mail:hover {
    text-decoration-thickness: 2px;
}

.contact-sub {
    font-size: var(--fs-caption);
    color: var(--ink-soft);
}

.contact-placeholder {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    border: 1.5px dashed var(--gold-deep);
    border-radius: 10px;
    background: #FBF3E0;
    color: #5E4720;
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .contact-table-card {
        padding: 12px;
    }

    .data-table--stack tbody th .contact-topic .icon {
        color: var(--gold-light);
    }
}

/* Steps */
.contact-steps-card {
    max-width: 760px;
    margin-inline: auto;
    padding: clamp(24px, 4vw, 44px);
}

.contact-steps-card__note {
    margin: 1.75rem 0 0;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(248, 243, 234, 0.18);
    color: var(--muted);
}

.contact-steps-card--light {
    margin: 0;
    width: 100%;
    border-radius: var(--r-lg);
    border: 1px solid rgba(217, 188, 133, 0.5);
    background: linear-gradient(180deg, var(--white) 0%, var(--ivory) 100%);
    box-shadow: var(--shadow-md);
    color: var(--ink);
}

.contact-steps {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 24px;
    counter-reset: cstep;
}

.contact-steps li {
    position: relative;
    min-height: 36px;
    padding: 4px 0 0 56px;
    counter-increment: cstep;
}

.contact-steps li::before {
    content: counter(cstep);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--grad-gold);
    color: var(--charcoal);
    font-family: var(--font-display);
    font-weight: 600;
    box-shadow: 0 0 0 4px rgba(217, 188, 133, 0.22);
}

.contact-steps__line {
    position: absolute;
    left: 17px;
    top: 18px;
    width: 2px;
    height: calc(100% - 18px);
    max-width: none;
}

/* Split layouts */
.contact-split {
    display: grid;
    gap: 32px;
    align-items: start;
}

.contact-callout {
    padding: clamp(24px, 4vw, 36px);
    border-radius: var(--r-lg);
    border: 1px solid rgba(217, 188, 133, 0.5);
    border-left: 4px solid var(--gold);
    background: rgba(255, 253, 249, 0.85);
    box-shadow: var(--shadow-md);
}

.contact-callout__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: var(--grad-gold);
    color: var(--charcoal);
    box-shadow: 0 0 0 4px rgba(217, 188, 133, 0.2);
}

.contact-callout p {
    margin-bottom: 0;
    color: var(--ink-soft);
}

.contact-split h2 {
    margin-bottom: 0.75rem;
}

.contact-split .lead {
    margin-bottom: 1.5rem;
}

/* Closing CTA */
.contact-cta {
    position: relative;
    isolation: isolate;
    padding-block: clamp(72px, 10vw, 120px);
    text-align: center;
    background: var(--charcoal);
}

.contact-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse 50% 45% at 50% 68%, rgba(217, 188, 133, 0.3) 0%, rgba(217, 188, 133, 0) 70%);
}

.contact-cta::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--grad-hairline);
}

.contact-cta__inner {
    max-width: 620px;
    margin-inline: auto;
}

.contact-cta__text {
    margin-bottom: 2rem;
    color: #DCD5C8;
    font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
}

.contact-cta__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 1.75rem;
    margin: 1.25rem 0 0;
}

@media (min-width: 768px) {
    .contact-split {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        gap: 56px;
    }

    .contact-split--center {
        align-items: center;
    }
}

@media (min-width: 1024px) {
    .contact-hero {
        align-items: center;
        min-height: clamp(620px, 88vh, 780px);
        padding: calc(var(--header-h) + 56px) 0 64px;
    }

    .contact-hero__media {
        background-position: 62% 50%;
    }
}

@media print {
    .contact-hero__media,
    .contact-steps__line,
    .contact-chip .icon {
        display: none !important;
    }

    .contact-hero,
    .contact-cta,
    .contact-steps-card,
    .contact-callout {
        background: none !important;
        color: #000 !important;
        min-height: 0;
        padding-block: 12pt;
    }

    .contact-hero__panel {
        background: none !important;
        border-color: #666;
    }

    .contact-hero__title,
    .contact-hero__lead,
    .contact-steps-card__note {
        color: #000 !important;
    }

    .contact-chip {
        background: none;
        color: #000;
        border: 1px solid #000;
    }

    .contact-steps li::before {
        background: none !important;
        color: #000 !important;
        border: 1px solid #000;
        box-shadow: none !important;
    }

    .contact-cta::before,
    .contact-cta::after {
        display: none;
    }
}