/* ==========================================================================
   Klilit — design system
   --------------------------------------------------------------------------
   Direction: boutique-modern, not SaaS-modern. The brand mark is a thin
   hand-drawn bronze line on soft paper, so the system is built from that:
   hairline structure, generous air, one heavy geometric sans carrying the
   hierarchy, and bronze used as a LINE and a DETAIL rather than as big
   fills. Two deliberately dark sections (demo, final CTA) give the page a
   rhythm change and are the only places the foil really glows.

   Bronze values are sampled from public/assets/logo.png itself, so the
   palette and the artwork can never drift apart.
   ========================================================================== */

/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
    /* --- Brand bronze, sampled from the logo artwork --- */
    --bronze: #9A5938;
    --bronze-rgb: 154, 89, 56;
    --bronze-deep: #74381E;
    --bronze-deep-rgb: 116, 56, 30;
    --bronze-light: #C98B5C;
    --bronze-light-rgb: 201, 139, 92;
    --foil-highlight: #EFD3AE;

    /* The foil gradient: dark -> champagne -> dark. Used only on the
       wordmark, the hero's accent word, and the primary CTA's sheen. */
    --foil: linear-gradient(100deg,
        var(--bronze-deep) 0%,
        var(--bronze) 18%,
        var(--bronze-light) 38%,
        var(--foil-highlight) 50%,
        var(--bronze-light) 62%,
        var(--bronze) 82%,
        var(--bronze-deep) 100%);

    /* --- Grounds --- */
    --paper: #FBF8F6;          /* page ground: warm near-white, blush undertone */
    --paper-rgb: 251, 248, 246;
    --paper-tint: #F4EDE8;     /* alternating section ground */
    --surface-lowest: #FFFFFF; /* cards */
    --surface: #F4EDE8;        /* (alias kept: the onboarding form uses it) */
    --cream: #FBF8F6;          /* (alias kept: the onboarding form uses it) */

    /* --- Ink --- */
    --ink: #1E1512;            /* warm espresso near-black */
    --ink-rgb: 30, 21, 18;
    --ink-soft: #2C201B;       /* lifted ink, for gradients on dark surfaces */
    --ink-muted: #75625A;      /* secondary text, clears 4.5:1 on --paper */

    --hairline: #E8DCD3;
    --outline: #E8DCD3;        /* (alias kept: the onboarding form uses it) */

    /* --- Support --- */
    --sage: #3E5C4C;           /* confirmation states only */
    --eucalyptus: #3E5C4C;     /* (alias kept: the onboarding form uses it) */
    --eucalyptus-rgb: 62, 92, 76;
    --error: #B23A2E;
    --error-rgb: 178, 58, 46;

    --white: #FFFFFF;
    --white-rgb: 255, 255, 255;
    --black-rgb: 0, 0, 0;

    /* --- Type --- */
    --font-display: 'Rubik', 'Assistant', system-ui, sans-serif;
    --font-body: 'Assistant', system-ui, -apple-system, sans-serif;
    --font-heading: var(--font-display); /* (alias kept: onboarding form) */

    /* --- Metrics --- */
    --container-w: 1200px;
    --gutter: 24px;
    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 28px;
    --radius-xl: 36px;

    --shadow-sm: 0 2px 8px -2px rgba(var(--ink-rgb), 0.06);
    --shadow-md: 0 18px 40px -24px rgba(var(--ink-rgb), 0.22);
    --shadow-lg: 0 40px 80px -40px rgba(var(--ink-rgb), 0.38);
    --shadow-glow: 0 40px 90px -40px rgba(var(--bronze-rgb), 0.55);

    /* Paper grain. Inline SVG so it costs no request, and sits at a low
       enough opacity to read as texture rather than noise. */
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Page-wide paper grain. Fixed so it reads as the stock the page is
   printed on rather than something scrolling past. */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: var(--grain);
    opacity: 0.035;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: multiply;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--ink);
    margin: 0 0 0.5em;
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -0.015em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }

:focus-visible {
    outline: 2.5px solid var(--bronze);
    outline-offset: 3px;
    border-radius: 4px;
}

.container {
    max-width: var(--container-w);
    margin-inline: auto;
    padding-inline: var(--gutter);
    position: relative;
    z-index: 2;
}
.container-narrow { max-width: 860px; }

section {
    padding-block: clamp(72px, 9vw, 128px);
    position: relative;
}

/* ==========================================================================
   3. Type scale & section heads
   ========================================================================== */

.display {
    font-size: clamp(2.4rem, 6.2vw, 4.4rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.03em;
}

.section-head {
    max-width: 680px;
    margin-bottom: clamp(44px, 5vw, 72px);
}
.section-head--center {
    margin-inline: auto;
    text-align: center;
}
.section-head h2 {
    font-size: clamp(1.9rem, 3.8vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 16px;
}
.section-head p {
    color: var(--ink-muted);
    font-size: clamp(1.02rem, 1.5vw, 1.18rem);
    max-width: 58ch;
    margin: 0;
}
.section-head--center p { margin-inline: auto; }

/* The eyebrow is a hairline-ruled label, not a tracked-out caps chip —
   it borrows the logo's line quality instead of the usual template look. */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--bronze);
    margin-bottom: 18px;
}
.eyebrow::before {
    content: '';
    width: 28px;
    height: 1.5px;
    background: currentColor;
    opacity: 0.55;
}
.section-head--center .eyebrow::after {
    content: '';
    width: 28px;
    height: 1.5px;
    background: currentColor;
    opacity: 0.55;
}

/* ==========================================================================
   4. Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease,
                background-color 0.18s ease, color 0.18s ease,
                border-color 0.18s ease;
}
.btn:active { transform: translateY(1px); }

/* Primary — the bronze one. The foil lives here as a light band that
   sweeps across on hover: it sits ON TOP of a flat, contrast-checked fill,
   so the text's contrast never moves while the surface still reads metallic. */
.btn-primary {
    background: var(--bronze);
    color: var(--white);
    box-shadow: var(--shadow-glow);
}
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg,
        transparent 32%,
        rgba(255, 255, 255, 0.5) 48%,
        rgba(255, 255, 255, 0.16) 55%,
        transparent 72%);
    transform: translateX(-130%);
    transition: transform 0.75s ease;
}
.btn-primary:hover {
    background: var(--bronze-deep);
    box-shadow: 0 26px 60px -26px rgba(var(--bronze-deep-rgb), 0.7);
}
.btn-primary:hover::after { transform: translateX(130%); }

.btn-ink {
    background: var(--ink);
    color: var(--paper);
    box-shadow: var(--shadow-md);
}
.btn-ink:hover { background: var(--ink-soft); box-shadow: var(--shadow-lg); }

.btn-outline {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid rgba(var(--ink-rgb), 0.22);
}
.btn-outline:hover {
    border-color: var(--ink);
    background: rgba(var(--ink-rgb), 0.04);
}

/* Quiet secondary action — reads as a link with a hairline, not a button. */
.btn-ghost {
    background: transparent;
    color: var(--ink);
    padding-inline: 4px;
    border-radius: 0;
    overflow: visible;
    box-shadow: inset 0 -1.5px 0 rgba(var(--ink-rgb), 0.2);
}
.btn-ghost:hover { box-shadow: inset 0 -1.5px 0 var(--bronze); color: var(--bronze); }

.btn-light {
    background: var(--paper);
    color: var(--ink);
}
.btn-light:hover { background: var(--white); }

/* The glyph carries the affordance, so the buttons keep the brand's bronze
   rather than going WhatsApp-green — a page dressed in that green would
   read as a WhatsApp tool, which the product is not. */
.wa-glyph {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.btn-sm .wa-glyph { width: 16px; height: 16px; }

.btn-block { width: 100%; }
.btn-sm { font-size: 0.92rem; padding: 11px 22px; }
.btn[disabled] { opacity: 0.55; cursor: default; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
    .btn-primary::after { display: none; }
}

/* ==========================================================================
   5. Foil text
   ========================================================================== */

/* One orchestrated light-catch on load, then it settles. A perpetual
   shimmer would read as a gimmick; a single sweep reads as foil. */
.foil {
    background: var(--foil);
    background-size: 220% 100%;
    background-position: 65% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    color: var(--bronze); /* fallback where background-clip:text is unsupported */
    -webkit-text-fill-color: transparent;
    animation: foil-sweep 2.6s ease-out both;
}
@keyframes foil-sweep {
    0%   { background-position: 0% 50%; }
    60%  { background-position: 100% 50%; }
    100% { background-position: 65% 50%; }
}

/* On the dark sections the foil needs to sit brighter to read as metal
   catching light rather than as dark-on-dark. */
.section-dark .foil,
.foil--bright {
    background-image: linear-gradient(100deg,
        var(--bronze) 0%,
        var(--bronze-light) 24%,
        var(--foil-highlight) 48%,
        var(--bronze-light) 70%,
        var(--bronze) 100%);
}

@media (prefers-reduced-motion: reduce) {
    .foil { animation: none; }
}

/* ==========================================================================
   6. Nav
   ========================================================================== */

.nav {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 50;
    padding-block: 18px;
    transition: padding-block 0.3s ease;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 12px 10px 20px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease,
                box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
/* Past the fold the bar condenses into a floating island. */
.nav.scrolled { padding-block: 10px; }
.nav.scrolled .nav-inner {
    background: rgba(var(--paper-rgb), 0.82);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border-color: var(--hairline);
    box-shadow: var(--shadow-md);
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
}
.nav-logo img { height: 36px; width: auto; }
.nav-logo .wordmark {
    font-family: var(--font-display);
    font-size: 1.42rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-inline-start: auto;
    margin-inline-end: 8px;
}
.nav-links a {
    text-decoration: none;
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--ink-muted);
    transition: color 0.18s ease;
}
.nav-links a:hover { color: var(--ink); }
@media (max-width: 860px) {
    .nav-links { display: none; }
}

/* ==========================================================================
   7. Hero
   ========================================================================== */

.hero {
    padding-top: clamp(130px, 17vw, 190px);
    padding-bottom: clamp(70px, 9vw, 120px);
    overflow: hidden;
}

/* Soft bronze light source behind the content, plus the logo's own
   line-art blown up as a faint watermark bleeding off the edge. */
.hero::before {
    content: '';
    position: absolute;
    top: -22%;
    inset-inline-end: -12%;
    width: min(880px, 92vw);
    height: min(880px, 92vw);
    background: radial-gradient(circle,
        rgba(var(--bronze-light-rgb), 0.24) 0%,
        rgba(var(--bronze-light-rgb), 0.10) 42%,
        transparent 68%);
    pointer-events: none;
}
.hero-watermark {
    position: absolute;
    bottom: -16%;
    inset-inline-start: -7%;
    width: min(560px, 60vw);
    opacity: 0.05;
    pointer-events: none;
    user-select: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}
@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; gap: 56px; }
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 18px 8px 14px;
    border-radius: 999px;
    border: 1.5px solid var(--hairline);
    background: rgba(var(--white-rgb), 0.7);
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 26px;
}
.hero-chip .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sage);
    box-shadow: 0 0 0 3px rgba(var(--eucalyptus-rgb), 0.18);
    flex-shrink: 0;
}

.hero h1 {
    font-size: clamp(2.3rem, 5.4vw, 4.05rem);
    font-weight: 800;
    line-height: 1.07;
    letter-spacing: -0.032em;
    margin-bottom: 24px;
    text-wrap: balance;
}
.hero h1 em { font-style: normal; font-weight: 800; }

.hero-sub {
    font-size: clamp(1.06rem, 1.7vw, 1.26rem);
    color: var(--ink-muted);
    max-width: 47ch;
    margin-bottom: 36px;
}

.hero-cta-row {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}
.hero-note {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.94rem;
    color: var(--ink-muted);
}
.hero-note svg { width: 17px; height: 17px; color: var(--sage); flex-shrink: 0; }

/* --- hero visual --- */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}
.hero-visual .phone { box-shadow: var(--shadow-lg), var(--shadow-glow); }

/* Two floating cards lifting the mock off the page. Static by design —
   the page already spends its motion budget on the load sequence. */
.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    background: rgba(var(--white-rgb), 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid var(--hairline);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
    z-index: 3;
}
.float-card small {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--ink-muted);
}
.float-card .ic {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.float-card .ic svg { width: 17px; height: 17px; }
.float-card--a {
    top: 12%;
    inset-inline-start: -8%;
}
.float-card--a .ic { background: rgba(var(--eucalyptus-rgb), 0.14); color: var(--sage); }
.float-card--b {
    bottom: 13%;
    inset-inline-end: -6%;
}
.float-card--b .ic { background: rgba(var(--bronze-rgb), 0.14); color: var(--bronze); }

@media (max-width: 1180px) {
    .float-card--a { inset-inline-start: -2%; }
    .float-card--b { inset-inline-end: 0; }
}
@media (max-width: 560px) {
    .float-card { display: none; }
}

/* ==========================================================================
   8. Stat strip
   ========================================================================== */

.stat-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-block: 1px solid var(--hairline);
}
.stat {
    padding: clamp(26px, 3.4vw, 40px) 20px;
    text-align: center;
}
.stat + .stat { border-inline-start: 1px solid var(--hairline); }
.stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}
.stat span { font-size: 0.93rem; color: var(--ink-muted); }
@media (max-width: 620px) {
    .stat-strip { grid-template-columns: 1fr; }
    .stat + .stat { border-inline-start: none; border-top: 1px solid var(--hairline); }
}

/* ==========================================================================
   9. Bento grid (pain)
   ========================================================================== */

.pain { background: var(--paper-tint); }

.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.bento-cell {
    background: var(--surface-lowest);
    border: 1.5px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: clamp(26px, 3vw, 38px);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
/* The lead cell is the one that gets weight — a grid of three identical
   cards is the generic default and says nothing about the content. */
.bento-cell--lead {
    grid-column: span 2;
    background:
        linear-gradient(150deg,
            rgba(var(--bronze-light-rgb), 0.12) 0%,
            rgba(var(--bronze-light-rgb), 0) 55%),
        var(--surface-lowest);
}
.bento-cell--lead h3 { font-size: clamp(1.4rem, 2.4vw, 1.95rem); }
.bento-cell h3 {
    font-size: 1.22rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.015em;
}
.bento-cell p { color: var(--ink-muted); margin: 0; font-size: 1rem; }
.bento-ic {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: rgba(var(--bronze-rgb), 0.1);
    color: var(--bronze);
    margin-bottom: 4px;
}
.bento-ic svg { width: 21px; height: 21px; }

@media (max-width: 900px) {
    .bento { grid-template-columns: 1fr; }
    .bento-cell--lead { grid-column: span 1; }
}

/* ==========================================================================
   10. Dark sections
   ========================================================================== */

.section-dark {
    background:
        radial-gradient(ellipse 80% 55% at 50% 0%,
            rgba(var(--bronze-rgb), 0.22) 0%, transparent 62%),
        linear-gradient(180deg, var(--ink-soft) 0%, var(--ink) 100%);
    color: rgba(var(--white-rgb), 0.78);
}
/* Scoped deliberately: a bare `strong` rule here leaks white text into the
   phone mock, whose surfaces are light — the chat header and the booking
   card both went invisible. The mock insulates itself further below. */
.section-dark h2,
.section-dark h3,
.section-dark .demo-note-item strong { color: var(--white); }
.section-dark .section-head p { color: rgba(var(--white-rgb), 0.66); }
.section-dark .eyebrow { color: var(--bronze-light); }

/* A hairline of foil across the top edge of each dark block — the same
   line quality as the logo, used as a seam. */
.section-dark::before {
    content: '';
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(var(--bronze-light-rgb), 0.55) 25%,
        rgba(var(--bronze-light-rgb), 0.55) 75%,
        transparent);
}

/* ==========================================================================
   11. Demo
   ========================================================================== */

.demo-stage {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: clamp(24px, 4vw, 56px);
}
@media (max-width: 1000px) {
    .demo-stage { grid-template-columns: 1fr; justify-items: center; }
}

.demo-notes {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.demo-notes--end { align-items: flex-start; }
@media (max-width: 1000px) {
    .demo-notes { flex-direction: row; flex-wrap: wrap; justify-content: center; }
}

.demo-note-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: 290px;
}
.demo-note-item .ic {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: rgba(var(--bronze-light-rgb), 0.16);
    color: var(--bronze-light);
}
.demo-note-item .ic svg { width: 18px; height: 18px; }
.demo-note-item strong {
    display: block;
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: 3px;
}
.demo-note-item p {
    margin: 0;
    font-size: 0.94rem;
    color: rgba(var(--white-rgb), 0.62);
    line-height: 1.55;
}

.demo-footnote {
    text-align: center;
    max-width: 52ch;
    margin: clamp(40px, 5vw, 64px) auto 0;
    color: rgba(var(--white-rgb), 0.62);
    font-size: 1.02rem;
}

/* ==========================================================================
   12. Phone mock (shared component)
   ========================================================================== */

.phone {
    position: relative;
    width: 310px;
    max-width: 100%;
    border-radius: 46px;
    padding: 11px;
    background: linear-gradient(160deg, #3A2A22 0%, #1A1210 52%, #241A15 100%);
    box-shadow: var(--shadow-lg);
    margin-inline: auto;
    flex-shrink: 0;
}
/* A hairline highlight along the rim so the frame reads as a machined
   edge rather than a black rectangle — this is what sells it as a device. */
.phone::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(160deg,
        rgba(var(--bronze-light-rgb), 0.55),
        rgba(255, 255, 255, 0.06) 40%,
        rgba(var(--bronze-rgb), 0.35));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none;
}
.phone--hero { width: 288px; }

.phone::before {
    content: '';
    position: absolute;
    top: 11px;
    left: 50%;
    transform: translateX(-50%);
    width: 92px;
    height: 22px;
    background: #140E0C;
    border-radius: 999px;
    z-index: 3;
}

.phone-screen {
    position: relative;
    background: var(--white);
    /* Pins its own text colour so the mock renders identically whether it
       sits on a light section or a dark one. */
    color: var(--ink);
    border-radius: 36px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 560px;
}
.phone--hero .phone-screen { height: 520px; }

.phone-screen::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 96px;
    height: 4px;
    border-radius: 999px;
    background: rgba(var(--ink-rgb), 0.22);
    z-index: 4;
    pointer-events: none;
}

.chat-head {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 26px 18px 14px;
    background: var(--paper);
    border-bottom: 1px solid var(--hairline);
    color: var(--ink);
    flex-shrink: 0;
}
.chat-head .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
    background: rgba(var(--bronze-rgb), 0.12);
    display: grid;
    place-items: center;
    overflow: hidden;
}
.chat-head .avatar img { width: 26px; height: 26px; object-fit: contain; }
.chat-head strong { font-size: 0.95rem; display: block; line-height: 1.3; }
.chat-head .status {
    font-size: 0.76rem;
    color: var(--ink-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}
.chat-head .status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sage);
}

.chat-log {
    flex: 1;
    overflow-y: auto;
    padding: 16px 14px 20px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    scrollbar-width: none;
    background: var(--paper);
}
.chat-log::-webkit-scrollbar { display: none; }

.msg {
    max-width: 84%;
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 0.87rem;
    line-height: 1.5;
}
.msg-client {
    align-self: flex-end;
    background: var(--ink);
    color: var(--white);
    border-end-end-radius: 5px;
}
.msg-bot {
    align-self: flex-start;
    background: var(--white);
    border: 1px solid var(--hairline);
    color: var(--ink);
    border-end-start-radius: 5px;
}

/* Stands in for the photo a client sends. Layered so it reads as a
   soft-focus close-up rather than an empty placeholder block — there is no
   real clinical photo on this site, and inventing one would be a claim. */
.msg.has-img { padding: 5px; width: 54%; }
.msg.has-img .img-chip {
    display: block;
    width: 100%;
    height: 80px;
    border-radius: 13px;
    background:
        radial-gradient(58% 68% at 34% 28%, rgba(255, 255, 255, 0.55), transparent 62%),
        radial-gradient(46% 56% at 72% 74%, rgba(126, 72, 44, 0.42), transparent 66%),
        linear-gradient(145deg, #F1D7BF 0%, #DCB08D 46%, #C08B66 100%);
    box-shadow: inset 0 0 0 1px rgba(var(--ink-rgb), 0.08);
}

.msg-booking {
    align-self: flex-start;
    background: var(--white);
    border: 1.5px solid var(--hairline);
    border-radius: 16px;
    padding: 12px 14px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 90%;
    box-shadow: var(--shadow-sm);
}
.msg-booking strong { font-size: 0.82rem; line-height: 1.35; }
.msg-booking .slot-pill {
    background: var(--bronze);
    color: var(--white);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.msg-booked {
    align-self: center;
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(var(--eucalyptus-rgb), 0.12);
    color: var(--sage);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 700;
}
.msg-booked svg { width: 15px; height: 15px; flex-shrink: 0; }

.chat-bar {
    flex-shrink: 0;
    padding: 11px 14px 20px;
    background: var(--white);
    border-top: 1px solid var(--hairline);
    display: flex;
    align-items: center;
    gap: 9px;
}
.chat-bar .fake-input {
    flex: 1;
    height: 34px;
    border-radius: 999px;
    background: var(--paper-tint);
}
.chat-bar .fake-send {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bronze);
    flex-shrink: 0;
}

/* ==========================================================================
   13. Steps (how it works)
   ========================================================================== */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 3vw, 40px);
    counter-reset: step;
}
@media (max-width: 860px) {
    .steps { grid-template-columns: 1fr; }
}

/* Numbered because this genuinely is a sequence — it is the order things
   happen in, not decoration. */
.step {
    position: relative;
    padding-top: 30px;
    border-top: 1px solid var(--hairline);
    counter-increment: step;
}
.step::before {
    content: counter(step);
    position: absolute;
    top: -1px;
    inset-inline-start: 0;
    width: 40px;
    height: 40px;
    transform: translateY(-50%);
    background: var(--paper);
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--bronze);
    border: 1.5px solid var(--hairline);
    border-radius: 50%;
}
.step h3 {
    font-size: 1.24rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.step p { color: var(--ink-muted); margin: 0; font-size: 1rem; }

/* ==========================================================================
   14. Comparison
   ========================================================================== */

.compare { background: var(--paper-tint); }

.compare-table {
    border: 1.5px solid var(--hairline);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface-lowest);
}
.compare-row {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    align-items: center;
}
.compare-row + .compare-row { border-top: 1px solid var(--hairline); }
.compare-row > * {
    padding: 18px 20px;
    font-size: 0.98rem;
}
.compare-row > * + * { border-inline-start: 1px solid var(--hairline); }

.compare-head > * {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.02rem;
    padding-block: 22px;
}
.compare-head .col-klilit {
    background: rgba(var(--bronze-rgb), 0.07);
    color: var(--bronze-deep);
}
.compare-row .col-klilit {
    background: rgba(var(--bronze-rgb), 0.045);
    font-weight: 600;
}
.compare-row .col-label { font-weight: 600; }
.compare-row .col-other { color: var(--ink-muted); }

.compare-row .mark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.compare-row .mark svg { width: 17px; height: 17px; flex-shrink: 0; }
.col-klilit .mark svg { color: var(--sage); }
.col-other .mark svg { color: rgba(var(--ink-rgb), 0.3); }

@media (max-width: 760px) {
    .compare-row { grid-template-columns: 1fr; }
    .compare-row > * + * { border-inline-start: none; border-top: 1px solid var(--hairline); }
    .compare-head { display: none; }
    .compare-row .col-label {
        background: var(--paper-tint);
        font-family: var(--font-display);
    }
    .compare-row .col-other::before { content: 'מזכירה: '; color: var(--ink-muted); font-weight: 600; }
    .compare-row .col-klilit::before { content: 'קלילית: '; color: var(--bronze-deep); font-weight: 700; }
}

/* ==========================================================================
   15. Pricing
   ========================================================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: start;
}
@media (max-width: 960px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}

.plan {
    background: var(--surface-lowest);
    border: 1.5px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 3vw, 38px) clamp(24px, 2.6vw, 32px);
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Gradient border via the two-background trick — a real foil edge rather
   than a flat accent line. */
.plan-featured {
    border-color: transparent;
    background:
        linear-gradient(var(--surface-lowest), var(--surface-lowest)) padding-box,
        linear-gradient(160deg, var(--bronze-light), var(--bronze) 45%, var(--bronze-deep)) border-box;
    box-shadow: var(--shadow-glow);
}
@media (min-width: 961px) {
    .plan-featured { transform: translateY(-14px); }
}

.plan-badge {
    position: absolute;
    top: 0;
    /* Physical left + transform: must centre identically whatever the
       text direction, so this one stays deliberately non-logical. */
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bronze);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 7px 18px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

.plan h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.plan-desc {
    color: var(--ink-muted);
    font-size: 0.97rem;
    margin-bottom: 24px;
    min-height: 48px;
}

.plan-price {
    margin-bottom: 26px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--hairline);
}
.plan-was {
    text-decoration: line-through;
    color: var(--ink-muted);
    font-size: 1rem;
    margin-inline-end: 9px;
}
.plan-amount {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 3.4vw, 2.7rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    /* isolated so a currency symbol beside digits cannot drift under RTL */
    unicode-bidi: isolate;
}
.plan-amount span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--ink-muted);
    letter-spacing: 0;
}
.plan-amount--custom { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.plan-offer {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--sage);
    background: rgba(var(--eucalyptus-rgb), 0.1);
    padding: 5px 12px;
    border-radius: 999px;
}

.plan-features {
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 13px;
    flex: 1;
}
.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 0.97rem;
    line-height: 1.5;
}
.plan-features svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    margin-top: 4px;
    color: var(--sage);
}

.plan-business-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.plan-business-form input,
.plan-business-form textarea {
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--hairline);
    background: var(--paper);
    color: var(--ink);
    resize: none;
    transition: border-color 0.18s ease;
}
.plan-business-form input:focus,
.plan-business-form textarea:focus { border-color: var(--bronze); }
.plan-business-form textarea { min-height: 72px; }
.plan-business-note {
    font-size: 0.82rem;
    color: var(--ink-muted);
    margin: 4px 0 0;
}
.form-success {
    text-align: center;
    color: var(--sage);
    font-weight: 700;
    font-size: 0.97rem;
    padding: 16px 0;
}
.form-error { color: var(--error); font-size: 0.85rem; margin: 0; }

.pricing-foot {
    text-align: center;
    margin-top: 36px;
    color: var(--ink-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   16. FAQ
   ========================================================================== */

.faq { max-width: 820px; margin-inline: auto; }

.faq-item {
    border-bottom: 1px solid var(--hairline);
}
.faq-item:first-child { border-top: 1px solid var(--hairline); }

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 4px;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-display);
    font-size: clamp(1.02rem, 1.7vw, 1.15rem);
    font-weight: 600;
    letter-spacing: -0.012em;
    transition: color 0.18s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--bronze); }

.faq-item summary .chev {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1.5px solid var(--hairline);
    display: grid;
    place-items: center;
    transition: transform 0.28s ease, border-color 0.18s ease, background-color 0.18s ease;
}
.faq-item summary .chev svg { width: 13px; height: 13px; }
.faq-item[open] summary .chev {
    transform: rotate(180deg);
    background: var(--bronze);
    border-color: var(--bronze);
    color: var(--white);
}

/* grid-rows 0fr -> 1fr is the modern way to animate to auto height. */
.faq-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}
.faq-item[open] .faq-body { grid-template-rows: 1fr; }
.faq-body > div { overflow: hidden; }
.faq-body p {
    color: var(--ink-muted);
    margin: 0;
    padding: 0 4px 26px;
    max-width: 68ch;
}
@media (prefers-reduced-motion: reduce) {
    .faq-body, .faq-item summary .chev { transition: none; }
}

/* ==========================================================================
   17. Final CTA
   ========================================================================== */

.final-cta { text-align: center; }
.final-cta .mark {
    width: 54px;
    margin: 0 auto 26px;
    opacity: 0.9;
}
.final-cta h2 {
    font-size: clamp(2rem, 4.4vw, 3.3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    max-width: 16ch;
    margin-inline: auto;
    margin-bottom: 20px;
    text-wrap: balance;
}
.final-cta p {
    color: rgba(var(--white-rgb), 0.68);
    font-size: clamp(1.02rem, 1.6vw, 1.18rem);
    max-width: 48ch;
    margin: 0 auto 36px;
}
.final-cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.final-cta .btn-ghost {
    color: rgba(var(--white-rgb), 0.85);
    box-shadow: inset 0 -1.5px 0 rgba(var(--white-rgb), 0.3);
}
.final-cta .btn-ghost:hover {
    color: var(--bronze-light);
    box-shadow: inset 0 -1.5px 0 var(--bronze-light);
}

/* ==========================================================================
   18. Footer
   ========================================================================== */

.footer {
    padding-block: 56px;
    background: var(--ink);
    color: rgba(var(--white-rgb), 0.55);
    font-size: 0.92rem;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}
.footer-logo { width: 150px; opacity: 0.92; }
.footer a {
    color: rgba(var(--white-rgb), 0.78);
    text-decoration: none;
    transition: color 0.18s ease;
}
.footer a:hover { color: var(--bronze-light); }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-legal { font-size: 0.82rem; opacity: 0.75; }

/* ==========================================================================
   19. Reveal-on-scroll
   ========================================================================== */

/* Used sparingly — section heads and the big visuals only. A fade-up on
   every element on the page is the generic default and reads as such. */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.3, 1),
                transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: none; }

/* The hero plays one orchestrated entrance on load instead. */
.hero-enter > * { opacity: 0; transform: translateY(18px); animation: enter 0.85s cubic-bezier(0.2, 0.7, 0.3, 1) forwards; }
.hero-enter > *:nth-child(1) { animation-delay: 0.05s; }
.hero-enter > *:nth-child(2) { animation-delay: 0.14s; }
.hero-enter > *:nth-child(3) { animation-delay: 0.23s; }
.hero-enter > *:nth-child(4) { animation-delay: 0.32s; }
.hero-enter > *:nth-child(5) { animation-delay: 0.41s; }
.hero-visual { opacity: 0; transform: translateY(24px); animation: enter 1s cubic-bezier(0.2, 0.7, 0.3, 1) 0.3s forwards; }
@keyframes enter { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-enter > *, .hero-visual { opacity: 1; transform: none; animation: none; }
}

/* ==========================================================================
   20. Utilities
   ========================================================================== */

[hidden] { display: none !important; }
.ltr { direction: ltr; unicode-bidi: isolate; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   21. Onboarding form
   --------------------------------------------------------------------------
   A separate, unlinked page that shares this stylesheet. It is driven by the
   tokens above, so it picks up the new palette without needing its own edits.
   ========================================================================== */

.nav-static { position: static; background: var(--paper); }
.nav-static .nav-inner { background: none; box-shadow: none; border-color: transparent; }

.form-page { padding: 40px 0 80px; }
.form-container { max-width: 760px; }
.form-page .section-head { max-width: none; margin-bottom: 36px; text-align: start; }
.form-page .section-head h1 {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 14px;
}

.form-draft {
    background: rgba(var(--eucalyptus-rgb), 0.1);
    border: 1px solid rgba(var(--eucalyptus-rgb), 0.25);
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    margin-bottom: 24px;
    font-size: 0.95rem;
    color: var(--ink);
}

.link-btn {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: var(--bronze);
    text-decoration: underline;
    cursor: pointer;
}

.form-progress {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    margin-bottom: 28px;
    padding: 0;
}
.form-progress li {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ink-muted);
    background: rgba(var(--ink-rgb), 0.06);
    transition: background-color 0.3s ease, color 0.3s ease;
}
.form-progress li.is-done { background: var(--sage); color: var(--white); }
.form-progress li.is-current { background: var(--bronze); color: var(--white); }

.form-step {
    background: var(--surface-lowest);
    border: 1.5px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    margin-bottom: 24px;
}
.form-step-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 24px;
}
.form-step-intro { font-size: 0.95rem; color: var(--ink-muted); line-height: 1.7; margin-bottom: 20px; }

.field { margin-bottom: 24px; border: none; padding: 0; }
.field > label, .field > legend {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
    padding: 0;
}
.req { color: var(--error); }
.field-hint { font-size: 0.88rem; color: var(--ink-muted); line-height: 1.6; margin-bottom: 10px; }
.field-hint-warn { color: var(--error); font-weight: 500; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field input[type="file"],
.field select,
.field textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ink);
    background: var(--paper);
    border: 1.5px solid var(--hairline);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input[dir="ltr"] { text-align: start; }
.field textarea { resize: vertical; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--bronze); }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--error); box-shadow: 0 0 0 3px rgba(var(--error-rgb), 0.12); }

.choice-list { display: flex; flex-direction: column; gap: 10px; }
.choice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.97rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--ink);
    cursor: pointer;
}
.choice input { flex-shrink: 0; width: 18px; height: 18px; margin-top: 4px; accent-color: var(--bronze); cursor: pointer; }
.consents .choice { margin-bottom: 14px; }

.treat-group { border: 1.5px solid var(--hairline); border-radius: var(--radius); padding: 20px 18px; margin-bottom: 20px; }
.treat-group > legend { font-size: 0.95rem; font-weight: 700; color: var(--ink); padding: 0 8px; }
.treatment { padding: 12px 0; border-bottom: 1px solid var(--hairline); }
.treatment:last-of-type { border-bottom: none; }
.treatment.is-on { background: rgba(var(--bronze-rgb), 0.05); border-radius: var(--radius-sm); padding-inline: 12px; }
.treatment-detail { margin-top: 14px; padding-inline-start: 28px; }
.treatment-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.treatment-detail .field, .custom-treatment .field { margin-bottom: 12px; }
.treatment-detail .field > label, .custom-treatment .field > label { font-size: 0.85rem; font-weight: 600; }
.custom-treatment { padding: 14px 0; }

.addon-group {
    margin-top: 18px;
    padding: 16px 14px;
    border: none;
    border-inline-start: 3px solid rgba(var(--bronze-rgb), 0.35);
    border-radius: var(--radius-sm);
    background: rgba(var(--white-rgb), 0.6);
}
.addon-group > legend { font-size: 0.9rem; font-weight: 700; color: var(--ink); padding: 0; margin-bottom: 4px; }
.addon { padding: 10px 0; border-bottom: 1px solid var(--hairline); }
.addon:last-of-type { border-bottom: none; padding-bottom: 0; }
.addon-detail { margin-top: 10px; padding-inline-start: 28px; }
.addon-detail .field { margin-bottom: 0; }
.addon-detail .field > label { font-size: 0.85rem; font-weight: 600; }

.branch { margin-bottom: 8px; }
.pitch {
    background: rgba(var(--eucalyptus-rgb), 0.07);
    border: 1px solid rgba(var(--eucalyptus-rgb), 0.2);
    border-radius: var(--radius);
    padding: 20px 18px;
    margin-bottom: 24px;
}
.pitch p { font-size: 0.95rem; line-height: 1.75; color: var(--ink); margin-bottom: 12px; }

.form-nav { display: flex; gap: 12px; justify-content: space-between; }
.form-nav .btn { flex: 1 1 auto; }

.form-done {
    background: var(--surface-lowest);
    border: 1.5px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 44px 28px;
    text-align: center;
}
.form-done h2 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--ink); margin-bottom: 14px; }
.form-done p { font-size: 1rem; color: var(--ink-muted); line-height: 1.75; max-width: 460px; margin: 0 auto 28px; }

.debug-payload {
    margin-top: 28px;
    padding: 16px;
    border-radius: var(--radius-sm);
    background: var(--paper-tint);
    color: var(--ink);
    font-size: 0.75rem;
    line-height: 1.5;
    text-align: start;
    direction: ltr;
    overflow-x: auto;
    white-space: pre;
}

@media (min-width: 640px) {
    .treatment-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
    .form-nav { justify-content: flex-end; }
    .form-nav .btn { flex: 0 0 auto; min-width: 150px; }
}

@media (max-width: 639px) {
    .form-page { padding: 24px 0 60px; }
    .form-step { padding: 24px 18px; }
    .treat-group { padding: 16px 12px; }
}
