/* =============================================================================
   Tygrify — styles
   Design system: design-system/tygrify/MASTER.md
   Order: tokens, base, layout, components (in page order), motion.
   ============================================================================= */

/* ---------- Tokens ---------- */
:root {
    /* Colour: semantic names only. Components never use raw hex. */
    --bg: #FAFAFA;
    --surface: #FFFFFF;
    --sunken: #F2F2F0;
    --text: #1A1A1A;
    --text-muted: #5A5A5A;
    --line: #E3E3E0;
    --line-strong: #8A8A8A;          /* input borders: 3.4:1 on white */

    --brand: #FF6B35;                /* tiger orange: fills only */
    --brand-hover: #FF8A5C;
    --brand-soft: rgba(255, 107, 53, 0.14);
    --on-brand: #1A1A1A;             /* ink on orange: 6.1:1 */
    --accent-text: #B33A0B;          /* orange for text on light: 5.7:1 */

    --success: #1E7B3C;              /* 5.3:1 on white */
    --success-fill: #1E7B3C;
    --on-success: #FFFFFF;
    --danger: #C8102E;
    --focus: #1A1A1A;

    --band-bg: #1A1A1A;              /* the closing call to action */
    --band-text: #FAFAFA;
    --band-muted: #B5B5B5;

    --paper: #FFFFFF;                /* the receipt */
    --shadow-object: 0 1px 2px rgba(26, 26, 26, 0.06), 0 24px 48px -16px rgba(26, 26, 26, 0.22);

    /* Type: Archivo, one variable family. Width carries the personality. */
    --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
    --wide: 125%;
    --semi-wide: 112.5%;
    --fs-small: 0.875rem;
    --fs-body: 1rem;
    --fs-lede: clamp(1.125rem, 0.4vw + 1rem, 1.25rem);
    --fs-h3: 1.25rem;
    --fs-h2: clamp(2rem, 2.6vw + 1rem, 3rem);
    --fs-h1: clamp(2.75rem, 4.6vw + 1rem, 5rem);

    /* Space: 4px base */
    --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
    --section-y: clamp(64px, 9vw, 120px);

    /* Shape: radius grows with the size of the thing */
    --r-control: 10px;
    --r-card: 14px;
    --r-panel: 20px;
    --r-pill: 999px;

    /* Motion */
    --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
    --dur-fast: 120ms;
    --dur: 200ms;
    --dur-slow: 320ms;

    /* Layers */
    --z-header: 40;
    --z-quote: 50;
    --z-skip: 100;

    --header-h: 68px;
    --container: 1160px;
    --gutter: 20px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #121212;
        --surface: #1B1B1B;
        --sunken: #171717;
        --text: #F2F2F2;
        --text-muted: #A6A6A6;
        --line: #2E2E2E;
        --line-strong: #7A7A7A;

        --brand: #FF8555;
        --brand-hover: #FF9A70;
        --brand-soft: rgba(255, 133, 85, 0.16);
        --accent-text: #FF9A6E;

        --success: #5BD08A;
        --success-fill: #5BD08A;
        --on-success: #1A1A1A;
        --danger: #FF6B7A;
        --focus: #F2F2F2;

        --band-bg: #1F1F1F;
        --paper: #242424;
        --shadow-object: 0 1px 2px rgba(0, 0, 0, 0.4), 0 24px 48px -16px rgba(0, 0, 0, 0.7);
    }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

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

body {
    font-family: var(--font);
    font-size: var(--fs-body);
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
html.has-quote-bar body { padding-bottom: 88px; }

h1, h2, h3 { line-height: 1.1; font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }

a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand); color: var(--on-brand); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

.icon { width: 1.25em; height: 1.25em; flex: none; }

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

.skip-link {
    position: absolute; left: var(--s4); top: -100px; z-index: var(--z-skip);
    padding: var(--s3) var(--s4); border-radius: var(--r-control);
    background: var(--text); color: var(--bg); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--s3); }
main:focus { outline: none; }

.noscript { position: fixed; inset: auto 0 0; padding: var(--s4); background: var(--text); color: var(--bg); text-align: center; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
    min-height: 48px; padding: 0 22px;
    border: 2px solid transparent; border-radius: var(--r-control);
    background: var(--brand); color: var(--on-brand);
    font-weight: 650; font-size: 1rem; line-height: 1.2; text-align: center; text-decoration: none;
    cursor: pointer; touch-action: manipulation;
    transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn:hover { background: var(--brand-hover); text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn--small { min-height: 40px; padding: 0 16px; font-size: 0.95rem; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--sunken); border-color: var(--text); }
.btn.is-selected { background: var(--success-fill); color: var(--on-success); }
.btn.is-selected:hover { background: var(--success-fill); }
.btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.btn[aria-disabled="true"]:hover { background: var(--brand); }
.btn[aria-disabled="true"]:active { transform: none; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: var(--z-header);
    background: color-mix(in srgb, var(--bg) 90%, transparent);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--dur) var(--ease-out);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: var(--s5); height: var(--header-h); }
.scroll-sentinel { position: absolute; top: 0; height: 8px; width: 1px; }

.logo {
    display: inline-flex; align-items: center; min-height: 44px;
    font-size: 1.3rem; font-weight: 800; font-stretch: var(--wide); letter-spacing: -0.02em;
    color: var(--text); text-decoration: none; line-height: 1;
}
.logo span { color: var(--brand); }
.logo:hover { text-decoration: none; }

.site-nav { margin-left: auto; }
.site-nav__list { display: flex; gap: var(--s1); }
.site-nav a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s3);
    border-radius: var(--r-control);
    color: var(--text-muted); font-weight: 550; text-decoration: none;
    transition: color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}
.site-nav a:hover { color: var(--text); background: var(--sunken); }
.site-nav a[aria-current] { color: var(--text); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }

.site-header__actions { display: flex; align-items: center; gap: var(--s2); }
.btn--header { min-height: 44px; transition: opacity var(--dur) var(--ease-out), visibility var(--dur), background-color var(--dur); }
.site-header.search-in-view .btn--header { opacity: 0; visibility: hidden; }

.menu-button {
    display: none; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: var(--r-control); color: var(--text);
}
.menu-button:hover { background: var(--sunken); }

@media (max-width: 860px) {
    .site-header__actions { margin-left: auto; }
    .menu-button { display: inline-flex; }
    .site-nav {
        position: absolute; top: var(--header-h); left: 0; right: 0;
        display: none; margin: 0;
        background: var(--surface); border-bottom: 1px solid var(--line);
        box-shadow: 0 16px 32px -16px rgba(0, 0, 0, 0.25);
    }
    .site-nav.is-open { display: block; }
    .site-nav__list { flex-direction: column; padding: var(--s2) var(--gutter) var(--s4); }
    .site-nav a { width: 100%; min-height: 48px; font-size: 1.05rem; }
    .site-nav a[aria-current] { box-shadow: inset 3px 0 0 var(--brand); padding-left: var(--s4); }
}
@media (max-width: 400px) {
    .btn--header { padding: 0 14px; font-size: 0.95rem; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(32px, 6vw, 80px) 0 clamp(64px, 8vw, 112px); }
.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.85fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}
.hero__title {
    font-size: var(--fs-h1);
    font-stretch: var(--wide);
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: -0.035em;
    margin-bottom: var(--s5);
    max-width: 11ch;
}
.hero__lede {
    font-size: var(--fs-lede);
    line-height: 1.5;
    color: var(--text-muted);
    max-width: 46ch;
    margin-bottom: var(--s6);
}

@media (max-width: 900px) {
    .hero__grid { grid-template-columns: minmax(0, 1fr); }
    .hero__preview { order: 2; }
}

/* ---------- Search ---------- */
.search-container { max-width: 620px; }
.search-label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: var(--s2); }
.search-field {
    display: flex; gap: var(--s2); padding: 6px;
    background: var(--surface);
    border: 2px solid var(--line-strong);
    border-radius: var(--r-card);
    transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.search-field:focus-within { border-color: var(--text); box-shadow: 0 0 0 4px var(--brand-soft); }
.search-input {
    flex: 1; min-width: 0; min-height: 52px;
    padding: 0 var(--s3);
    border: 0; background: transparent; outline: none;
    font-size: 1.2rem; color: var(--text);
}
.search-input::placeholder { color: var(--text-muted); opacity: 0.85; }
.search-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-width: 124px; min-height: 52px; padding: 0 var(--s5);
    border-radius: var(--r-control);
    background: var(--brand); color: var(--on-brand);
    font-weight: 700; font-size: 1.05rem;
    touch-action: manipulation;
    transition: background-color var(--dur) var(--ease-out);
}
.search-btn:hover { background: var(--brand-hover); }
.search-btn[aria-disabled="true"] { cursor: progress; }

.spinner {
    width: 18px; height: 18px; flex: none;
    border: 2px solid color-mix(in srgb, var(--on-brand) 30%, transparent);
    border-top-color: var(--on-brand);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
.spinner[hidden] { display: none; }

/* Space is reserved so swapping examples for the address line never moves the page. */
.search-helper { display: flex; align-items: center; min-height: 52px; margin-top: var(--s3); }
.search-preview { margin: 0; font-size: 1.05rem; color: var(--text-muted); min-width: 0; }
.search-preview strong { color: var(--text); font-weight: 700; font-stretch: var(--semi-wide); overflow-wrap: anywhere; }
.search-preview[hidden], .search-examples[hidden] { display: none; }
.search-examples { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); }
.search-examples__label { font-size: 0.95rem; color: var(--text-muted); }
.search-examples__list { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip {
    display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--s4);
    border: 1px solid var(--line-strong); border-radius: var(--r-pill);
    background: var(--surface); color: var(--text); font-weight: 550; font-size: 0.95rem;
    transition: border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}
.chip:hover { border-color: var(--text); background: var(--sunken); }
.search-hint { font-size: var(--fs-small); color: var(--text-muted); margin-top: var(--s1); }

@media (max-width: 480px) {
    .search-field { flex-direction: column; padding: var(--s2); }
    .search-btn { width: 100%; }
}

/* Results */
.search-results {
    display: none;
    margin-top: var(--s5);
    padding: var(--s2) var(--s5) var(--s5);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-panel);
}
.search-results.active { display: block; animation: rise var(--dur-slow) var(--ease-out); }
.results-list { margin: 0; }
.results-heading { font-size: 0.95rem; font-weight: 650; margin: var(--s5) 0 0; color: var(--text-muted); }
.result-item {
    display: flex; justify-content: space-between; align-items: center; gap: var(--s4);
    padding: var(--s4) 0; border-bottom: 1px solid var(--line);
}
.result-item:last-child { border-bottom: 0; padding-bottom: 0; }
.result-item > div { min-width: 0; }
.result-domain { font-weight: 700; font-stretch: 106%; font-size: 1.15rem; line-height: 1.3; overflow-wrap: anywhere; }
.result-item.is-taken .result-domain { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--text-muted); }
.result-meta { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s1) var(--s3); margin-top: 2px; font-size: 0.95rem; }
.result-status { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--success); }
.result-status .icon { width: 16px; height: 16px; }
.result-status.is-taken { color: var(--danger); }
.result-price { font-weight: 650; font-variant-numeric: tabular-nums; }
.result-price small { font-size: 0.9em; font-weight: 400; color: var(--text-muted); }
.result-tag { font-size: 0.8rem; font-weight: 650; padding: 2px 10px; border-radius: var(--r-pill); background: var(--brand-soft); color: var(--accent-text); }

.search-message { padding: var(--s4) 0 var(--s2); color: var(--text-muted); }
.search-error { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s3); padding-top: var(--s4); }
.search-error strong { color: var(--danger); }

.skeleton-row { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.skeleton-row:last-child { border-bottom: 0; }
.skeleton {
    display: block; height: 14px; border-radius: 6px;
    background: linear-gradient(90deg, var(--sunken) 25%, var(--line) 50%, var(--sunken) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.2s linear infinite;
}
.skeleton--name { width: 45%; }
.skeleton--btn { width: 80px; height: 40px; border-radius: var(--r-control); flex: none; }

@media (max-width: 480px) {
    .search-results { padding-inline: var(--s4); }
    .result-item { flex-direction: column; align-items: stretch; gap: var(--s3); }
    .result-item .btn { width: 100%; }
}

/* ---------- Live preview phone ---------- */
.hero__preview { display: flex; flex-direction: column; align-items: center; gap: var(--s4); padding-top: var(--s2); }
.hero__preview-caption { font-size: var(--fs-small); color: var(--text-muted); text-align: center; }

.phone {
    --site-accent: var(--text);          /* default sketch: ink in light mode, paper in dark */
    --site-on-accent: var(--bg);
    width: min(100%, 320px);
    aspect-ratio: 9 / 17.5;
    display: flex; flex-direction: column;
    background: var(--surface);
    border: 10px solid #1A1A1A;
    border-radius: 42px;
    box-shadow: var(--shadow-object);
    overflow: hidden;
}
@media (prefers-color-scheme: dark) { .phone { border-color: #000; outline: 1px solid #333; } }

/* Each business type gets its own accent, to show the design is made for it. */
.phone[data-variant="services"] { --site-accent: #7B3FB5; --site-on-accent: #FFFFFF; }
.phone[data-variant="retail"]   { --site-accent: #0B7268; --site-on-accent: #FFFFFF; }
.phone[data-variant="food"]     { --site-accent: #C2410C; --site-on-accent: #FFFFFF; }
.phone[data-variant="creators"] { --site-accent: #2459C4; --site-on-accent: #FFFFFF; }

.phone__bar {
    display: flex; align-items: center; gap: 6px;
    margin: 10px 12px 0; padding: 8px 12px;
    border-radius: var(--r-pill);
    background: var(--sunken);
    font-size: 0.8rem; font-weight: 600;
    min-width: 0;
}
.phone__lock { display: none; color: var(--success); }
.phone__lock .icon { width: 13px; height: 13px; }
.phone.is-secured .phone__lock { display: inline-flex; }
.phone__url { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phone.is-placeholder .phone__url { color: var(--text-muted); font-weight: 500; }

.phone__screen { flex: 1; overflow: hidden; padding: 12px 14px 16px; }
.site { display: flex; flex-direction: column; gap: 12px; height: 100%; }
.site__nav { display: flex; align-items: center; justify-content: space-between; }
.site__logo {
    width: 30px; height: 30px; border-radius: 9px;
    display: grid; place-items: center;
    background: var(--site-accent); color: var(--site-on-accent);
    font-weight: 800; font-size: 0.95rem;
    transition: background-color var(--dur-slow) var(--ease-out);
}
.site__menu { display: grid; gap: 4px; }
.site__menu span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text); }
.site__hero {
    padding: 16px 14px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--site-accent) 12%, var(--surface));
    transition: background-color var(--dur-slow) var(--ease-out);
}
.site__name {
    font-size: 1.45rem; font-weight: 800; font-stretch: 110%;
    line-height: 1.02; letter-spacing: -0.02em;
    overflow-wrap: anywhere;
}
.phone.is-placeholder .site__name { color: var(--text-muted); }
.site__tagline { font-size: 0.8rem; color: var(--text-muted); margin: 6px 0 12px; line-height: 1.35; }
.site__cta {
    display: inline-flex; padding: 7px 12px; border-radius: var(--r-pill);
    background: var(--site-accent); color: var(--site-on-accent);
    font-size: 0.75rem; font-weight: 700;
    transition: background-color var(--dur-slow) var(--ease-out);
}
.site__body { display: flex; flex-direction: column; gap: 8px; }
.site__body > * { animation: fade var(--dur-slow) var(--ease-out); }
.site__card, .site__row {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
}
.site__card { flex-direction: column; align-items: flex-start; }
.site__label { font-size: 0.78rem; font-weight: 650; }
.site__line { display: block; width: 100%; height: 6px; border-radius: 3px; background: var(--sunken); }
.site__line--short { width: 60%; }
.site__line--price { width: 44px; flex: none; background: color-mix(in srgb, var(--site-accent) 30%, var(--surface)); }
.site__chip { font-size: 0.7rem; font-weight: 700; padding: 3px 9px; border-radius: var(--r-pill); background: var(--site-accent); color: var(--site-on-accent); }
.site__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.site__grid--three { grid-template-columns: repeat(3, 1fr); }
.site__tile { aspect-ratio: 1; border-radius: 10px; background: color-mix(in srgb, var(--site-accent) 18%, var(--surface)); }
.site__tile:nth-child(2n) { background: color-mix(in srgb, var(--site-accent) 30%, var(--surface)); }

@media (max-width: 900px) {
    .phone { width: min(100%, 280px); }
}

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 {
    font-size: var(--fs-h2);
    font-stretch: var(--semi-wide);
    font-weight: 800;
    letter-spacing: -0.028em;
    line-height: 1.02;
    margin-bottom: var(--s3);
}
.section-head p { font-size: var(--fs-lede); line-height: 1.5; color: var(--text-muted); max-width: 56ch; }

/* How it works */
.how { background: var(--sunken); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); }
.step { position: relative; padding-right: var(--s3); }
/* The connecting rule shows the steps run in order. */
.step:not(:last-child)::before {
    content: ""; position: absolute; top: 23px; left: 60px; right: -12px;
    height: 2px; background: var(--line-strong); opacity: 0.5;
}
.step__num {
    display: grid; place-items: center;
    width: 48px; height: 48px; margin-bottom: var(--s5);
    border-radius: 50%;
    border: 2px solid var(--text);
    background: var(--bg);
    font-weight: 800; font-size: 1.15rem; font-stretch: var(--semi-wide);
}
/* Step one is yours, so it is filled. The rest are ours. */
.step:first-child .step__num { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.step h3 { font-size: var(--fs-h3); font-stretch: 106%; margin-bottom: var(--s2); }
.step p { color: var(--text-muted); max-width: 30ch; }

@media (max-width: 860px) {
    .steps { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
    .step { padding: 0 0 0 72px; min-height: 48px; }
    .step__num { position: absolute; left: 0; top: -4px; margin: 0; }
    .step:not(:last-child)::before { top: 52px; bottom: calc(-1 * var(--s6) + 4px); left: 23px; right: auto; width: 2px; height: auto; }
    .step p { max-width: 48ch; }
}

/* ---------- Pricing calculator ---------- */
.calculator {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-panel);
    overflow: hidden;
}
.calculator:focus { outline: none; }
.calculator:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

.calc-config { padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: var(--s6); }
.calc-step { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: var(--s4); row-gap: var(--s1); }
.calc-step__num {
    grid-column: 1; grid-row: 1;
    display: grid; place-items: center;
    width: 36px; height: 36px; border-radius: 50%;
    border: 2px solid var(--text);
    font-weight: 800; font-size: 0.95rem;
}
.calc-step__head { grid-column: 2; }
.calc-step__title { font-size: var(--fs-h3); font-stretch: 106%; margin: 5px 0 2px; }
.calc-step__hint { font-size: 0.95rem; color: var(--text-muted); margin-bottom: var(--s3); max-width: 52ch; }
.calc-step__body { grid-column: 2; }

.domain-slot {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--s4);
    padding: var(--s4) var(--s5);
    border: 2px dashed var(--line-strong);
    border-radius: var(--r-card);
    transition: border-color var(--dur) var(--ease-out);
}
.domain-slot.is-filled { border-style: solid; border-color: var(--success); }
.domain-slot__name { font-weight: 800; font-stretch: var(--semi-wide); font-size: 1.2rem; overflow-wrap: anywhere; }
.domain-slot__price { font-size: 0.95rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.domain-slot__note { margin: 6px 0 0; font-size: 0.875rem; color: var(--text-muted); max-width: 42ch; }
.domain-slot__empty { color: var(--text-muted); }

.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
.choice {
    position: relative;
    display: flex; gap: var(--s3); align-items: flex-start;
    padding: var(--s4);
    border: 2px solid var(--line);
    border-radius: var(--r-card);
    background: var(--surface);
    cursor: pointer;
    transition: border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}
.choice:hover { border-color: var(--line-strong); }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.choice.is-checked { border-color: var(--text); background: var(--bg); }
.choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.choice__icon {
    display: grid; place-items: center; flex: none;
    width: 40px; height: 40px; border-radius: var(--r-control);
    background: var(--sunken); color: var(--text);
    transition: background-color var(--dur) var(--ease-out);
}
.choice__icon .icon { width: 22px; height: 22px; }
.choice.is-checked .choice__icon { background: var(--brand); color: var(--on-brand); }
.choice__text { display: flex; flex-direction: column; min-width: 0; }
.choice__name { font-weight: 700; }
.choice__examples { font-size: 0.9rem; color: var(--text-muted); line-height: 1.4; }
.choice__tier {
    align-self: flex-start; margin-top: var(--s2);
    font-size: 0.8rem; font-weight: 650; padding: 2px 10px;
    border-radius: var(--r-pill); background: var(--sunken); color: var(--text-muted);
}
.choice.is-checked .choice__tier { background: var(--text); color: var(--bg); }

.calc-included { border-top: 1px solid var(--line); padding-top: var(--s5); }
.calc-included[hidden] { display: none; }
.calc-included h3 { font-size: 1rem; margin-bottom: var(--s3); }
.pricing-features { display: grid; gap: var(--s2); }
.pricing-features li { display: flex; gap: var(--s3); align-items: flex-start; font-size: 0.97rem; }
.pricing-features li::before {
    content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px;
    background: var(--success);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* The receipt: the one physical object in the pricing area */
.receipt-wrap {
    display: flex; flex-direction: column; align-items: center;
    padding: clamp(24px, 4vw, 40px) clamp(16px, 3vw, 32px) clamp(32px, 4vw, 48px);
    background: var(--sunken);
    border-left: 1px solid var(--line);
}
.receipt {
    position: relative;
    width: 100%; max-width: 380px;
    padding: 26px 22px 20px;
    background: var(--paper);
    border-radius: 6px 6px 0 0;
    box-shadow: var(--shadow-object);
}
.receipt::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 12px;
    background:
        linear-gradient(135deg, var(--paper) 50%, transparent 50%) 0 0 / 12px 12px repeat-x,
        linear-gradient(225deg, var(--paper) 50%, transparent 50%) 0 0 / 12px 12px repeat-x;
}
.receipt__title { font-size: 1.15rem; font-stretch: var(--semi-wide); }
.receipt__sub { font-size: 0.85rem; color: var(--text-muted); margin-bottom: var(--s4); }
.receipt__row { display: flex; gap: 10px; align-items: flex-start; padding: var(--s2) 0; }
.receipt__row dt { flex: 1; display: flex; align-items: baseline; gap: var(--s2); min-width: 0; }
.receipt__row dt::after { content: ""; flex: 1; min-width: 16px; border-bottom: 2px dotted var(--line-strong); opacity: 0.6; transform: translateY(-0.35em); }
.receipt__text { display: flex; flex-direction: column; min-width: 0; }
.receipt__name { font-weight: 650; overflow-wrap: anywhere; }
.receipt__desc { font-size: 0.82rem; color: var(--text-muted); overflow-wrap: anywhere; }
.receipt__row dd { font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.receipt__row dd.is-empty { color: var(--text-muted); font-weight: 400; }
.receipt__total {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; column-gap: var(--s3);
    margin-top: 10px; padding-top: 14px;
    border-top: 2px dashed var(--line-strong);
}
.receipt__total-label { font-weight: 650; white-space: nowrap; }
.receipt__total-amount {
    margin-left: auto;
    font-size: 1.85rem; font-weight: 800; font-stretch: var(--semi-wide); letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums; white-space: nowrap;
}
.receipt__total-amount small { font-size: 0.9rem; font-weight: 500; letter-spacing: 0; font-stretch: 100%; color: var(--text-muted); }
.receipt__total-amount.is-updated { animation: totalFlash 0.7s var(--ease-out); }
.receipt__monthly { font-size: 0.85rem; text-align: right; margin-top: 2px; min-height: 1.4em; color: var(--text-muted); }
.receipt__note { font-size: 0.82rem; color: var(--text-muted); margin-top: var(--s4); }

.receipt-actions { width: 100%; max-width: 380px; margin-top: var(--s6); }
.receipt-actions .btn { min-height: 52px; font-size: 1.05rem; overflow-wrap: anywhere; }
.receipt-actions__hint { font-size: 0.88rem; text-align: center; color: var(--text-muted); margin-top: 10px; min-height: 1.4em; }
.receipt-actions__note { font-size: 0.9rem; text-align: center; margin-top: var(--s2); }
.receipt-actions__note:empty { display: none; }

@media (max-width: 960px) {
    .calculator { grid-template-columns: minmax(0, 1fr); }
    .receipt-wrap { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
    .choice-grid { grid-template-columns: minmax(0, 1fr); }
    .calc-step { grid-template-columns: 32px minmax(0, 1fr); column-gap: var(--s3); }
    .calc-step__num { width: 32px; height: 32px; }
    .calc-step__body { grid-column: 1 / -1; margin-top: var(--s1); }
}

/* ---------- Our work ---------- */
.work { background: var(--sunken); border-block: 1px solid var(--line); }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
.work-item { display: block; color: inherit; text-decoration: none; border-radius: var(--r-card); }
.work-item:hover { text-decoration: none; }
.work-item__frame {
    display: block; overflow: hidden;
    border: 1px solid var(--line); border-radius: var(--r-card);
    background: var(--surface);
    transition: border-color var(--dur) var(--ease-out);
}
.work-item:hover .work-item__frame { border-color: var(--text); }
.work-item__bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.work-item__bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.work-item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform 0.6s var(--ease-out); }
.work-item:hover img { transform: scale(1.03); }
.work-item__info { display: flex; flex-direction: column; padding: var(--s4) 2px 0; }
.work-item__domain { font-weight: 800; font-stretch: var(--semi-wide); font-size: 1.15rem; color: var(--text); }
.work-item__domain::after { content: " \2197" / ""; color: var(--accent-text); font-stretch: 100%; }
.work-item__meta { color: var(--text-muted); font-size: 0.95rem; }

@media (max-width: 860px) {
    .work-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
}

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.section-head--side { position: sticky; top: calc(var(--header-h) + 24px); margin-bottom: 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-question {
    display: flex; justify-content: space-between; align-items: center; gap: var(--s4);
    min-height: 64px; padding: var(--s4) 0;
    list-style: none; cursor: pointer;
    font-weight: 650; font-size: 1.12rem; line-height: 1.35;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
    content: ""; flex: none; width: 10px; height: 10px; margin-right: 6px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: translateY(-3px) rotate(45deg);
    transition: transform var(--dur) var(--ease-out);
}
.faq-item[open] > .faq-question::after { transform: translateY(2px) rotate(225deg); }
.faq-question:hover { color: var(--accent-text); }
.faq-answer p { color: var(--text-muted); max-width: 62ch; padding-bottom: var(--s5); }
.faq-item[open] .faq-answer { animation: fade var(--dur-slow) var(--ease-out); }

@media (max-width: 860px) {
    .faq__grid { grid-template-columns: minmax(0, 1fr); }
    .section-head--side { position: static; margin-bottom: var(--s5); }
}

/* ---------- Final call to action ---------- */
.final-cta { background: var(--band-bg); color: var(--band-text); padding: var(--section-y) 0; }
.final-cta__inner > * { max-width: 760px; }
.final-cta h2 {
    font-size: clamp(2.5rem, 4.4vw + 1rem, 4.5rem);
    font-stretch: var(--wide); font-weight: 800;
    letter-spacing: -0.035em; line-height: 0.98;
    margin-bottom: var(--s3);
}
.final-cta p { color: var(--band-muted); font-size: var(--fs-lede); margin-bottom: var(--s6); }
.search-form--inverse { max-width: 620px; }
.search-form--inverse .search-label { color: var(--band-text); }
.search-form--inverse .search-field { background: #FFFFFF; border-color: #FFFFFF; }
.search-form--inverse .search-field:focus-within { box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.45); }
.search-form--inverse .search-input { color: #1A1A1A; }
.search-form--inverse .search-input::placeholder { color: #5A5A5A; }
.final-cta :focus-visible { outline-color: var(--band-text); }

/* ---------- Footer ---------- */
.site-footer { padding: var(--s8) 0 var(--s6); background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: var(--s6); }
.footer-brand p { color: var(--text-muted); margin-top: var(--s3); max-width: 34ch; }
.footer-col__title { font-size: 0.95rem; font-weight: 700; margin-bottom: var(--s3); }
.footer-links { display: grid; gap: var(--s1); }
.footer-links a { display: inline-flex; align-items: center; min-height: 36px; color: var(--text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }
.footer-bottom { margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--text-muted); }

@media (max-width: 760px) {
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Quote bar ---------- */
.quote-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-quote);
    padding: var(--s3) 0 calc(var(--s3) + env(safe-area-inset-bottom, 0px));
    background: var(--surface);
    border-top: 1px solid var(--line);
    box-shadow: 0 -12px 32px -12px rgba(0, 0, 0, 0.18);
    animation: slideUp var(--dur-slow) var(--ease-out);
}
.quote-bar[hidden] { display: none; }
.quote-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); }
.quote-bar__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.quote-bar__domain { font-weight: 800; font-stretch: var(--semi-wide); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quote-bar__total { font-size: 0.92rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.quote-bar .btn { flex: none; }

/* ---------- Motion ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes totalFlash { from { color: var(--accent-text); } to { color: inherit; } }

@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;
    }
    .work-item:hover img, .btn:active { transform: none; }
}
