:root {
    --c1: #0f1f24;
    --c2: #1a3a42;
    --c3: #3d7a86;
    --c4: #c8e8e4;
    --c5: #f4f7f6;
    --tx: #0c1214;
    --muted: #4a5c61;
    --line: #d4e3e0;
    --focus: #1c6b7a;
    --font-s: 0.78rem;
    --font-m: 0.88rem;
    --font-l: 1.05rem;
    --font-xl: 1.35rem;
    --space-1: 0.35rem;
    --space-2: 0.55rem;
    --space-3: 0.85rem;
    --space-4: 1.15rem;
    --space-5: 1.6rem;
    --radius: 0.55rem;
    --header-h: 3.4rem;
    --footer-h: 2.9rem;
    --maxw: 68rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: "Work Sans", system-ui, sans-serif;
    font-size: var(--font-m);
    line-height: 1.45;
    color: var(--tx);
    background: var(--c5);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3 {
    font-family: "Syne", system-ui, sans-serif;
    line-height: 1.2;
    margin: 0 0 var(--space-2);
    font-weight: 700;
    color: var(--c1);
}

h1 {
    font-size: clamp(1.35rem, 3.5vw, 1.85rem);
}

h2 {
    font-size: clamp(1.1rem, 2.4vw, 1.45rem);
}

h3 {
    font-size: 1rem;
}

p {
    margin: 0 0 var(--space-3);
    color: var(--muted);
}

a {
    color: var(--c2);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--c3);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}

.wrap {
    width: min(100% - 1.35rem, var(--maxw));
    margin-inline: auto;
}

.site-header {
    position: relative;
    z-index: 30;
    min-height: var(--header-h);
    background: linear-gradient(145deg, var(--c5), var(--c4));
    border-bottom: 1px solid var(--line);
}

.header-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-2);
    align-items: center;
    padding-block: var(--space-3);
}

.brand {
    font-family: "Syne", system-ui, sans-serif;
    font-weight: 800;
    font-size: clamp(0.92rem, 2.3vw, 1.08rem);
    letter-spacing: 0.03em;
    color: var(--c1);
    text-decoration: none;
}

.header-tag {
    grid-column: 1 / -1;
    margin: 0;
    font-size: var(--font-s);
    color: var(--muted);
}

.nav-toggle {
    position: relative;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, #fff, var(--c5));
    color: var(--c1);
    border-radius: calc(var(--radius) + 0.12rem);
    padding: 0;
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
    cursor: pointer;
    display: inline-grid;
    place-items: center;
    box-shadow: 0 4px 14px rgba(15, 31, 36, 0.1);
    touch-action: manipulation;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nav-toggle:hover {
    border-color: var(--c3);
    box-shadow: 0 6px 18px rgba(26, 58, 66, 0.14);
}

.nav-toggle:active {
    transform: scale(0.96);
}

.nav-toggle-burger {
    width: 1.15rem;
    height: 0.85rem;
    display: grid;
    align-content: space-between;
    justify-items: stretch;
}

.nav-toggle-line {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--c1);
    transform-origin: center;
    transition: transform 260ms cubic-bezier(0.4, 0, 0.2, 1), opacity 200ms ease, translate 260ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    translate: 0 0.32rem;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    translate: 0 -0.32rem;
    transform: rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
    .nav-toggle-line {
        transition: none;
    }

    .nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1),
    .nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
        translate: 0;
    }
}

.nav-drawer {
    position: fixed;
    z-index: 40;
    display: grid;
    place-items: center;
    padding: var(--space-5);
    background: rgba(10, 16, 18, 0.52);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 280ms ease, visibility 280ms linear;
}

@supports not (backdrop-filter: blur(1px)) {
    .nav-drawer {
        background: rgba(10, 16, 18, 0.72);
    }
}

.nav-drawer[data-open="true"] {
    opacity: 1;
    visibility: visible;
}

.nav-drawer[data-open="true"] .nav-panel {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.nav-panel {
    position: relative;
    background: radial-gradient(120% 90% at 20% -10%, #e8f5f2 0%, #fff 45%);
    width: min(24rem, 100%);
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: calc(var(--radius) + 0.55rem);
    border: 1px solid rgba(212, 227, 224, 0.95);
    box-shadow: 0 28px 60px rgba(15, 31, 36, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.75);
    padding: calc(var(--space-5) + 3px) var(--space-5) var(--space-5);
    transform: translateY(14px) scale(0.97);
    opacity: 0;
    transition: transform 340ms cubic-bezier(0.22, 1, 0.36, 1), opacity 280ms ease;
}

.nav-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    border-radius: calc(var(--radius) + 0.55rem) calc(var(--radius) + 0.55rem) 0 0;
    background: linear-gradient(90deg,
            var(--c3) 0%,
            var(--c4) 38%,
            var(--c2) 72%,
            var(--c3) 100%);
}

.nav-panel::after {
    content: "Desk calm atlas";
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--c3);
    opacity: 0.45;
}

.nav-panel-head {
    margin-bottom: var(--space-3);
    padding-bottom: var(--space-3);
    border-bottom: 1px dashed var(--line);
}

.nav-panel-kicker {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c3);
}

.nav-panel-lead {
    margin: var(--space-2) 0 0;
    font-size: var(--font-s);
    color: var(--muted);
    line-height: 1.4;
}

.nav-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--space-2);
}

.nav-panel li {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 320ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-drawer[data-open="true"] .nav-panel li {
    opacity: 1;
    transform: translateY(0);
}

.nav-drawer[data-open="true"] .nav-panel li:nth-child(1) {
    transition-delay: 40ms;
}

.nav-drawer[data-open="true"] .nav-panel li:nth-child(2) {
    transition-delay: 80ms;
}

.nav-drawer[data-open="true"] .nav-panel li:nth-child(3) {
    transition-delay: 120ms;
}

.nav-drawer[data-open="true"] .nav-panel li:nth-child(4) {
    transition-delay: 160ms;
}

.nav-drawer[data-open="true"] .nav-panel li:nth-child(5) {
    transition-delay: 200ms;
}

.nav-panel a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    padding: calc(var(--space-2) + 0.1rem) var(--space-3);
    border-radius: calc(var(--radius) + 0.08rem);
    background: rgba(244, 247, 246, 0.85);
    border: 1px solid transparent;
    text-decoration: none;
    color: var(--c1);
    font-weight: 600;
    font-size: var(--font-m);
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-panel a::after {
    content: "";
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--c4);
    border: 1px solid var(--line);
    flex-shrink: 0;
}

.nav-panel a:hover {
    border-color: var(--c3);
    background: #fff;
    transform: translateX(2px);
}

@media (prefers-reduced-motion: reduce) {
    .nav-drawer[data-open="true"] .nav-panel li {
        transition-delay: 0ms;
    }

    .nav-panel {
        transition: none;
        transform: none;
        opacity: 1;
    }

    .nav-panel li {
        opacity: 1;
        transform: none;
    }
}

main {
    padding-block: var(--space-4);
}

.hero {
    display: grid;
    gap: var(--space-4);
    align-items: center;
    padding: var(--space-4) 0 var(--space-5);
}

.hero-copy {
    order: 1;
}

.hero-graphic {
    order: 0;
}

.hero-lead {
    font-size: var(--font-s);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--c3);
    margin: 0 0 var(--space-2);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    border-radius: var(--radius);
    padding: var(--space-2) var(--space-4);
    font-size: var(--font-s);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-pri {
    background: var(--c2);
    color: white;
}

.btn-pri:hover {
    background: var(--c1);
}

.btn-ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--c2);
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.split {
    display: grid;
    gap: var(--space-4);
}

.card {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: var(--space-4);
}

.kpi {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
}

.kpi .card {
    text-align: center;
    padding: var(--space-3);
}

.kpi span {
    display: block;
    font-family: "Syne", system-ui, sans-serif;
    font-weight: 800;
    font-size: 1rem;
    color: var(--c1);
}

.kpi small {
    color: var(--muted);
    font-size: var(--font-s);
}

.timeline {
    display: grid;
    gap: var(--space-3);
}

.timeline article {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-3);
}

.tl-pin {
    width: 2.05rem;
    height: 2.05rem;
    border-radius: 50%;
    background: var(--c4);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: var(--c2);
    font-weight: 800;
    font-size: var(--font-s);
}

.ribbon {
    background: repeating-linear-gradient(135deg,
            var(--c4),
            var(--c4) 10px,
            white 10px,
            white 14px);
    padding: var(--space-4) var(--space-3);
    border-radius: calc(var(--radius) + 0.4rem);
    border: 1px solid var(--line);
}

.faq-grid {
    display: grid;
    gap: var(--space-3);
}

.faq-grid details {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    padding: var(--space-3);
}

.faq-grid summary {
    font-weight: 700;
    color: var(--c1);
    cursor: pointer;
}

.quote {
    background: linear-gradient(120deg, var(--c1), var(--c2));
    color: white;
    border-radius: calc(var(--radius) + 0.45rem);
    padding: var(--space-5) var(--space-4);
    box-shadow: 0 26px 50px rgba(15, 31, 36, 0.18);
}

.quote p {
    color: rgba(255, 255, 255, 0.92);
}

.quote cite {
    font-style: normal;
    font-size: var(--font-s);
    color: rgba(255, 255, 255, 0.8);
}

section {
    margin-bottom: var(--space-5);
}

.sec-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.badge-pill {
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    background: var(--c3);
    border-radius: 999px;
    padding: var(--space-1) var(--space-3);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.chips span {
    font-size: 0.7rem;
    background: white;
    border: 1px solid var(--line);
    padding: var(--space-1) var(--space-3);
    border-radius: 999px;
    color: var(--muted);
}

.grid-3 {
    display: grid;
    gap: var(--space-3);
}

.grid-2 {
    display: grid;
    gap: var(--space-3);
}

.site-footer {
    min-height: var(--footer-h);
    border-top: 1px solid var(--line);
    background: white;
}

.footer-mini {
    display: grid;
    gap: var(--space-3);
    padding-block: var(--space-3);
    align-items: start;
}

.fine {
    font-size: 0.74rem;
    color: var(--muted);
}

.fine-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-4);
}

.fine-links a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
}

.fine-links a:hover {
    color: var(--c2);
    text-decoration: underline;
}

.privacy-pop {
    position: fixed;
    inset: auto 0.75rem 0.75rem 0.75rem;
    z-index: 60;
    max-width: 28rem;
    margin-inline: auto;
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(15, 31, 36, 0.18);
    padding: var(--space-4);
    transform: translateY(120%);
    transition: transform 240ms ease;
}

.privacy-pop[data-show="true"] {
    transform: translateY(0);
}

.privacy-pop p {
    font-size: var(--font-s);
}

.privacy-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-3);
}

.contact-shell {
    display: grid;
    gap: var(--space-4);
}

.contact-rail {
    background: linear-gradient(160deg, var(--c2), var(--c1));
    color: white;
    border-radius: calc(var(--radius) + 0.45rem);
    padding: var(--space-5) var(--space-4);
    box-shadow: 0 22px 48px rgba(15, 31, 36, 0.2);
}

.contact-rail h2 {
    color: white;
}

.contact-rail p {
    color: rgba(255, 255, 255, 0.86);
}

.contact-rail .stack {
    display: grid;
    gap: var(--space-3);
    margin-top: var(--space-4);
}

.contact-rail .stack div {
    display: grid;
    gap: var(--space-1);
}

.contact-rail small {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.7);
}

.contact-rail strong {
    font-size: var(--font-m);
    font-weight: 700;
}

.contact-rail a {
    color: var(--c4);
}

.form-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 0.35rem);
    padding: var(--space-5) var(--space-4);
}

label {
    display: block;
    font-size: var(--font-s);
    font-weight: 700;
    color: var(--c1);
    margin-bottom: var(--space-1);
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: var(--space-2) var(--space-3);
    font: inherit;
    background: var(--c5);
}

textarea {
    min-height: 7rem;
    resize: vertical;
}

.check {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-2);
    align-items: start;
    font-size: var(--font-s);
    color: var(--muted);
}

.check input {
    width: auto;
    margin-top: 0.2rem;
}

.map-frame {
    border: 0;
    width: 100%;
    height: 14rem;
    border-radius: var(--radius);
    filter: grayscale(0.15) contrast(1.02);
}

.thank-wrap {
    min-height: calc(100vh - var(--header-h) - var(--footer-h));
    padding-block: var(--space-4);
}

.thanks-layout {
    display: grid;
    gap: var(--space-4);
    align-items: start;
}

.thanks-hero {
    position: relative;
    padding: var(--space-5) var(--space-4);
    border-radius: calc(var(--radius) + 0.55rem);
    background: linear-gradient(135deg, #1a3a42 0%, #0f2830 48%, #1c4a52 100%);
    color: #e8f6f3;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(15, 31, 36, 0.22);
}

.thanks-hero::before {
    content: "";
    position: absolute;
    inset: -40% 40% auto -20%;
    height: 120%;
    background: radial-gradient(circle, rgba(200, 232, 228, 0.18) 0%, transparent 62%);
    pointer-events: none;
}

.thanks-hero h1,
.thanks-hero .thanks-kicker {
    position: relative;
}

.thanks-kicker {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    margin: 0 0 var(--space-2);
    color: rgba(200, 232, 228, 0.78);
}

.thanks-hero h1 {
    margin: 0 0 var(--space-3);
    color: #fff;
    font-size: clamp(1.25rem, 4.5vw, 1.75rem);
}

.thanks-hero-lead {
    margin: 0;
    color: rgba(232, 246, 243, 0.9);
    font-size: var(--font-m);
    line-height: 1.55;
}

.thanks-side {
    display: grid;
    gap: var(--space-3);
}

.thanks-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 0.35rem);
    padding: var(--space-4);
    box-shadow: 0 12px 30px rgba(15, 31, 36, 0.07);
}

.thanks-card h2 {
    font-size: 1rem;
    margin-bottom: var(--space-3);
}

.thanks-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: var(--space-3);
    counter-reset: thx;
}

.thanks-steps li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-3);
    align-items: start;
    padding-bottom: var(--space-3);
    border-bottom: 1px dashed var(--line);
}

.thanks-steps li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.thanks-steps li::before {
    counter-increment: thx;
    content: counter(thx);
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.35rem;
    background: var(--c4);
    color: var(--c2);
    font-family: Syne, system-ui, sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    display: grid;
    place-items: center;
}

.thanks-steps strong {
    display: block;
    color: var(--c1);
    font-size: var(--font-m);
    margin-bottom: var(--space-1);
}

.thanks-steps span {
    font-size: var(--font-s);
    color: var(--muted);
    line-height: 1.45;
}

.thanks-quote {
    margin: 0;
    padding: var(--space-4);
    border-radius: calc(var(--radius) + 0.3rem);
    background: repeating-linear-gradient(-12deg,
            var(--c5),
            var(--c5) 8px,
            rgba(200, 232, 228, 0.35) 8px,
            rgba(200, 232, 228, 0.35) 10px);
    border: 1px solid var(--line);
    font-size: var(--font-s);
    color: var(--muted);
}

.thanks-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    align-items: center;
    justify-content: flex-start;
    margin-top: var(--space-3);
}

.doc-surface {
    --accent: var(--c3);
    --accent-soft: rgba(61, 122, 134, 0.12);
}

.doc-surface-privacy {
    --accent: #2a7a86;
    --accent-soft: rgba(42, 122, 134, 0.12);
}

.doc-surface-cookies {
    --accent: #6b5b9a;
    --accent-soft: rgba(107, 91, 154, 0.12);
}

.doc-surface-terms {
    --accent: #3d6b86;
    --accent-soft: rgba(61, 107, 134, 0.12);
}

.doc-surface-return {
    --accent: #358a72;
    --accent-soft: rgba(53, 138, 114, 0.12);
}

.doc-intro {
    position: relative;
    padding: var(--space-5) var(--space-4);
    border-radius: calc(var(--radius) + 0.5rem);
    background: linear-gradient(120deg, var(--accent-soft), #fff 55%, var(--c5));
    border: 1px solid var(--line);
    margin-bottom: var(--space-5);
    overflow: hidden;
}

.doc-intro::after {
    content: "";
    position: absolute;
    right: -12%;
    top: -30%;
    width: 42%;
    height: 140%;
    background: radial-gradient(circle, var(--accent-soft) 0%, transparent 68%);
    pointer-events: none;
}

.doc-intro h1 {
    position: relative;
    max-width: 18ch;
}

.doc-intro .doc-date {
    position: relative;
    font-size: var(--font-s);
    color: var(--muted);
    margin: 0 0 var(--space-3);
}

.doc-intro p {
    position: relative;
    max-width: 65ch;
}

.doc-chapter {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 0.28rem);
    padding: var(--space-4) var(--space-4) var(--space-4) calc(var(--space-4) + 6px);
    margin-bottom: var(--space-4);
    box-shadow: 0 8px 22px rgba(15, 31, 36, 0.05);
}

.doc-chapter::before {
    content: "";
    position: absolute;
    left: 0;
    top: var(--space-3);
    bottom: var(--space-3);
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--accent), var(--c4));
}

.doc-chapter h2 {
    font-size: clamp(1rem, 2.6vw, 1.2rem);
}

.doc-chapter p:last-child {
    margin-bottom: 0;
}

.doc-band {
    padding: var(--space-5) var(--space-4);
    border-radius: calc(var(--radius) + 0.45rem);
    background: linear-gradient(135deg, var(--c1), var(--c2));
    color: rgba(255, 255, 255, 0.92);
    margin: var(--space-5) 0;
    box-shadow: 0 18px 38px rgba(15, 31, 36, 0.18);
}

.doc-band h2 {
    color: #fff;
}

.doc-band p {
    color: rgba(255, 255, 255, 0.86);
}

.doc-band .doc-band-btn {
    background: rgba(255, 255, 255, 0.96);
    color: var(--c1);
    border-color: rgba(255, 255, 255, 0.35);
    margin-top: var(--space-3);
}

.doc-band .doc-band-btn:hover {
    background: #fff;
    color: var(--c2);
}

.doc-band .btn-ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.45);
}

.doc-band .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.doc-grid-split {
    display: grid;
    gap: var(--space-4);
}

.policy main h2 {
    margin-top: var(--space-5);
}

.policy main h3 {
    margin-top: var(--space-4);
}

body.nav-locked {
    overflow: hidden;
}

@media (min-width: 720px) {
    .thanks-layout {
        grid-template-columns: 1.12fr 0.88fr;
    }

    .doc-grid-split {
        grid-template-columns: 1fr 1fr;
    }

    .hero {
        grid-template-columns: 1.15fr 0.85fr;
    }

    .hero-copy {
        order: 0;
    }

    .hero-graphic {
        order: 1;
    }

    .split {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-shell {
        grid-template-columns: 0.95fr 1.05fr;
        align-items: start;
    }

    .footer-mini {
        grid-template-columns: 1fr auto;
        align-items: center;
    }
}

@media (min-width: 960px) {
    .header-grid {
        grid-template-columns: 1fr auto;
    }

    .header-tag {
        grid-column: 1;
    }

    main {
        padding-block: var(--space-5);
    }
}

@media (max-width: 380px) {
    :root {
        --font-m: 0.82rem;
        --font-s: 0.74rem;
        --space-3: 0.72rem;
        --space-4: 0.95rem;
        --space-5: 1.28rem;
    }

    .wrap {
        width: min(100% - 0.75rem, var(--maxw));
    }

    .brand {
        font-size: 0.8rem;
        letter-spacing: 0.02em;
        line-height: 1.2;
    }

    h1 {
        font-size: clamp(1.05rem, 6.2vw, 1.45rem);
    }

    h2 {
        font-size: clamp(0.95rem, 4.8vw, 1.2rem);
    }

    .header-grid {
        gap: var(--space-1);
        padding-block: var(--space-2);
    }

    .nav-toggle {
        width: 2.65rem;
        height: 2.65rem;
        min-width: 2.65rem;
        min-height: 2.65rem;
    }

    .btn-row {
        flex-direction: column;
        width: 100%;
    }

    .btn-row .btn {
        width: 100%;
        justify-content: center;
    }

    .hero {
        padding-top: var(--space-3);
    }

    .privacy-pop {
        inset: auto 0.45rem 0.45rem 0.45rem;
        padding: var(--space-3);
        max-width: none;
    }

    .privacy-actions {
        flex-direction: column;
    }

    .privacy-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-mini {
        text-align: center;
    }

    .fine-links {
        justify-content: center;
    }

    .nav-panel::after {
        display: none;
    }

    .nav-panel-lead {
        padding-right: 0;
    }

    .map-frame {
        height: 12rem;
    }

    .doc-intro,
    .doc-chapter {
        padding: var(--space-3);
    }

    .thanks-hero {
        padding: var(--space-4) var(--space-3);
    }
}

@media (max-width: 320px) {
    html {
        scroll-padding-top: 4px;
    }

    :root {
        --header-h: 3.1rem;
        --footer-h: 5.8rem;
    }

    .wrap {
        width: min(100% - 0.5rem, var(--maxw));
    }

    .site-header {
        min-height: auto;
    }

    body {
        line-height: 1.42;
        overflow-x: hidden;
    }

    .nav-drawer {
        place-items: end center;
        padding: 0;
        align-content: end;
    }

    .nav-panel {
        width: 100%;
        max-width: none;
        max-height: min(90dvh, 32rem);
        border-radius: 1rem 1rem 0 0;
        margin: 0;
        transform: translateY(100%);
        opacity: 1;
        padding: calc(var(--space-4) + 3px) var(--space-3) var(--space-3);
    }

    .nav-drawer[data-open="true"] .nav-panel {
        transform: translateY(0);
    }

    @supports not (height: 1dvh) {
        .nav-panel {
            max-height: min(90vh, 32rem);
        }
    }

    .nav-panel::before {
        border-radius: 1rem 1rem 0 0;
    }

    .nav-panel a {
        padding-block: 0.68rem;
    }

    .thank-wrap {
        min-height: calc(100vh - var(--header-h) - var(--footer-h));
        padding-block: var(--space-3);
    }

    .kpi {
        grid-template-columns: 1fr;
    }
}

body.theme-luxe {
    --lux-deep: #0c0f14;
    --lux-panel: #141a22;
    --lux-elev: #1b232e;
    --lux-gold: #d4b978;
    --lux-gold-dim: rgba(212, 185, 120, 0.35);
    --lux-cream: #f2ebe0;
    --lux-mist: #c5cdd8;
    --lux-line: rgba(212, 185, 120, 0.22);
    --lux-glow: rgba(212, 185, 120, 0.08);
}

body.theme-luxe {
    background: radial-gradient(120% 80% at 50% -10%, var(--lux-panel) 0%, var(--lux-deep) 55%);
    color: var(--lux-cream);
}

body.theme-luxe p,
body.theme-luxe .fine,
body.theme-luxe .nav-panel-lead {
    color: var(--lux-mist);
}

body.theme-luxe h1,
body.theme-luxe h2,
body.theme-luxe h3,
body.theme-luxe .brand {
    color: var(--lux-cream);
}

body.theme-luxe a {
    color: var(--lux-gold);
}

body.theme-luxe a:hover {
    color: #e8d5a8;
}

body.theme-luxe .site-header {
    background: linear-gradient(180deg, rgba(10, 13, 18, 0.92), rgba(20, 26, 34, 0.55));
    border-bottom: 1px solid var(--lux-line);
    backdrop-filter: blur(10px);
}

body.theme-luxe .header-tag {
    color: var(--lux-mist);
}

body.theme-luxe .nav-toggle {
    background: linear-gradient(180deg, var(--lux-elev), var(--lux-panel));
    border-color: var(--lux-line);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}

body.theme-luxe .nav-toggle-line {
    background: var(--lux-cream);
}

body.theme-luxe .nav-drawer {
    background: rgba(5, 8, 12, 0.72);
}

body.theme-luxe .nav-panel {
    background: radial-gradient(100% 120% at 0% 0%, var(--lux-glow), var(--lux-panel));
    border-color: var(--lux-line);
}

body.theme-luxe .nav-panel a {
    background: rgba(27, 35, 46, 0.75);
    color: var(--lux-cream);
    border-color: transparent;
}

body.theme-luxe .nav-panel a:hover {
    border-color: var(--lux-gold-dim);
    background: rgba(35, 45, 58, 0.95);
}

body.theme-luxe .nav-panel-kicker {
    color: var(--lux-gold);
}

body.theme-luxe .privacy-pop {
    background: rgba(20, 26, 34, 0.97);
    border: 1px solid var(--lux-line);
}

body.theme-luxe .privacy-pop p {
    color: var(--lux-mist);
}

body.theme-luxe .lux-main {
    padding-bottom: var(--space-5);
}

body.theme-luxe .lux-eyebrow,
body.theme-luxe .hero-lead {
    color: var(--lux-gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.62rem;
    font-weight: 800;
}

body.theme-luxe .lux-hero.hero {
    padding: var(--space-5) 0 calc(var(--space-5) + var(--space-2));
}

body.theme-luxe .lux-marquee {
    display: grid;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-4);
    border: 1px solid var(--lux-line);
    border-radius: calc(var(--radius) + 0.25rem);
    background: linear-gradient(145deg, rgba(212, 185, 120, 0.06), transparent 55%);
    margin-bottom: var(--space-5);
}

body.theme-luxe .lux-marquee p {
    margin: 0;
    font-size: var(--font-s);
}

body.theme-luxe .lux-marquee-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid rgba(212, 185, 120, 0.12);
    padding-bottom: var(--space-2);
}

body.theme-luxe .lux-marquee-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

body.theme-luxe .lux-strong {
    color: var(--lux-cream);
    font-family: Syne, system-ui, sans-serif;
    font-weight: 750;
}

body.theme-luxe .card {
    background: linear-gradient(160deg, var(--lux-elev) 0%, var(--lux-panel) 100%);
    border: 1px solid var(--lux-line);
    color: inherit;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(212, 185, 120, 0.14);
}

body.theme-luxe .card.timeline,
body.theme-luxe .lux-media.card,
body.theme-luxe .form-card {
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

body.theme-luxe .ribbon {
    background: radial-gradient(circle at 20% 20%, rgba(212, 185, 120, 0.12), transparent 45%), var(--lux-panel);
    border: 1px solid var(--lux-line);
    color: inherit;
}

body.theme-luxe .ribbon h1,
body.theme-luxe .ribbon h2 {
    color: var(--lux-cream);
}

body.theme-luxe .ribbon p {
    color: var(--lux-mist);
}

body.theme-luxe .faq-grid details {
    background: var(--lux-elev);
    border-color: var(--lux-line);
}

body.theme-luxe .faq-grid summary {
    color: var(--lux-cream);
}

body.theme-luxe .timeline.card {
    background: var(--lux-elev);
    border-color: var(--lux-line);
}

body.theme-luxe .timeline .tl-pin {
    background: rgba(212, 185, 120, 0.15);
    border-color: var(--lux-line);
    color: var(--lux-gold);
}

body.theme-luxe .chips span {
    background: rgba(20, 26, 34, 0.9);
    border-color: var(--lux-line);
    color: var(--lux-mist);
}

body.theme-luxe .badge-pill {
    background: transparent;
    color: var(--lux-gold);
    border: 1px solid var(--lux-line);
}

body.theme-luxe .quote {
    background: linear-gradient(145deg, #1a2430 0%, #121820 65%);
    border: 1px solid var(--lux-line);
}

body.theme-luxe .quote cite,
body.theme-luxe .quote p {
    color: var(--lux-mist);
}

body.theme-luxe .lux-quote cite {
    color: var(--lux-gold);
}

body.theme-luxe .btn-pri {
    background: linear-gradient(180deg, var(--lux-gold) 0%, #b8954f 100%);
    color: var(--lux-deep);
    border-color: rgba(212, 185, 120, 0.45);
}

body.theme-luxe .btn-pri:hover {
    background: linear-gradient(180deg, #e8d5a8 0%, var(--lux-gold) 100%);
    color: var(--lux-deep);
}

body.theme-luxe .btn-ghost {
    border-color: var(--lux-line);
    background: transparent;
    color: var(--lux-cream);
}

body.theme-luxe .btn-ghost:hover {
    border-color: var(--lux-gold);
    color: var(--lux-gold);
}

body.theme-luxe .kpi .card span {
    color: var(--lux-gold);
}

body.theme-luxe .lux-atelier-split {
    display: grid;
    gap: var(--space-4);
}

@media (min-width: 900px) {
    body.theme-luxe .lux-atelier-split {
        grid-template-columns: 1fr 1fr;
    }
}

body.theme-luxe .site-footer {
    background: rgba(8, 10, 14, 0.96);
    border-top-color: var(--lux-line);
}

body.theme-luxe .fine-links a {
    color: var(--lux-mist);
}

body.theme-luxe .fine-links a:hover {
    color: var(--lux-gold);
}

body.theme-luxe .lux-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-3);
    margin-top: var(--space-4);
    padding-top: var(--space-3);
    border-top: 1px solid var(--lux-line);
}

body.theme-luxe .lux-price {
    font-family: Syne, system-ui, sans-serif;
    font-size: clamp(1.05rem, 2.8vw, 1.55rem);
    font-weight: 800;
    color: var(--lux-gold);
}

body.theme-luxe figure.lux-media {
    padding: 0;
    margin: 0;
    overflow: hidden;
}

body.theme-luxe .lux-currency {
    font-size: var(--font-s);
    font-weight: 700;
    color: var(--lux-mist);
}

body.theme-luxe .lux-prose {
    max-width: 62ch;
}

body.theme-luxe .contact-rail {
    background: radial-gradient(120% 100% at 0% 0%, var(--lux-glow), var(--lux-panel)), linear-gradient(155deg, #1c2530 0%, #121821 92%);
}

body.theme-luxe .contact-rail h2 {
    color: var(--lux-cream);
}

body.theme-luxe .contact-rail p {
    color: var(--lux-mist);
}

body.theme-luxe .contact-rail small {
    color: rgba(212, 185, 120, 0.75);
}

body.theme-luxe .form-card {
    background: var(--lux-elev);
    border-color: var(--lux-line);
}

body.theme-luxe .form-card h2 {
    color: var(--lux-cream);
}

body.theme-luxe label {
    color: var(--lux-cream);
}

body.theme-luxe input,
body.theme-luxe textarea {
    background: var(--lux-panel);
    border-color: var(--lux-line);
    color: var(--lux-cream);
}

body.theme-luxe input::placeholder,
body.theme-luxe textarea::placeholder {
    color: var(--lux-mist);
    opacity: 0.7;
}

body.theme-luxe .check label {
    color: var(--lux-mist);
}

body.theme-luxe .map-frame,
body.theme-luxe .lux-map-frame {
    border: 1px solid var(--lux-line);
    filter: grayscale(0.35) contrast(1.08) brightness(0.95);
}

body.theme-luxe .lux-ornament {
    width: 3.25rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--lux-gold), transparent);
    margin: 0 0 var(--space-4);
}

body.theme-luxe .sec-head h2 {
    border-left: 2px solid var(--lux-gold);
    padding-left: var(--space-3);
}

body.theme-luxe .lux-catalog .card i {
    color: var(--lux-gold);
}

@media (max-width: 380px) {
    body.theme-luxe .lux-marquee {
        padding: var(--space-3);
    }
}