/* Stormdine - the public site.
   Midnight for the moments that sell (the hero, the restaurant story, the footer), paper for
   reading, hairline rules instead of boxes, big confident type. Ice is the one accent.
   The product is shown as it really is: real kiosk screens in a drawn kiosk.
   Contrast: every text colour here meets WCAG AA on the surface it sits on. */

@font-face { font-family: 'Heebo'; font-weight: 100 900; font-display: swap; src: url('../fonts/heebo-hebrew.woff2') format('woff2'); unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+FB1D-FB4F; }
@font-face { font-family: 'Heebo'; font-weight: 100 900; font-display: swap; src: url('../fonts/heebo-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Outfit'; font-weight: 100 900; font-display: swap; src: url('../fonts/outfit-latin.woff') format('woff'); unicode-range: U+0020-007E, U+00A0-00FF, U+20AA, U+2013-2014, U+2022, U+2026, U+2212; }

:root {
    --midnight: #0A0F1A;
    --midnight-2: #111827;
    --night-line: #232C3D;
    --ice: #9BB4D6;
    --ice-ink: #3B5A86;
    --ice-wash: #E9EFF7;
    --paper: #F4F5F7;
    --white: #FFFFFF;
    --ink: #0A0F1A;
    --ink-2: #434B59;
    --ink-3: #5C6472;
    --on-dark: #FFFFFF;
    --on-dark-2: #B8C0CC;
    --on-dark-3: #8F99A8;
    --rule: #DFE2E7;
    --rule-2: #C7CCD4;
    --ok: #1E7F55;
    --bad: #B42318;

    --font: 'Heebo', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --num: 'Outfit', 'Heebo', system-ui, sans-serif;
    --wrap: 1200px;
    --gutter: clamp(16px, 4vw, 40px);
    --r: 12px;
    --ease: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ice-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
.num, bdi { font-family: var(--num); font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--ice-ink); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible { outline-color: var(--ice); }
::selection { background: var(--ice); color: var(--midnight); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--ice); color: var(--midnight); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; transition: top 160ms var(--ease); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 50px; padding: 12px 24px; border-radius: 10px; border: 1px solid transparent;
    font: inherit; font-size: 1rem; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: transform 140ms var(--ease), background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}
.btn:active { transform: scale(.98); }
.btn-ice { background: var(--ice); color: var(--midnight); }
.btn-ice:hover { background: #B3C7E2; color: var(--midnight); }
.btn-ink { background: var(--midnight); color: #fff; }
.btn-ink:hover { background: #1C2536; color: #fff; }
.btn-line { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-line:hover { border-color: #fff; color: #fff; }
.btn-line-ink { border-color: var(--rule-2); color: var(--ink); background: #fff; }
.btn-line-ink:hover { border-color: var(--ink); color: var(--ink); }
.btn .arrow { transition: transform 200ms var(--ease); }
.btn:hover .arrow { transform: translateX(-3px); }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(10, 15, 26, .94); -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%); border-bottom: 1px solid transparent; transition: border-color 200ms ease; }
.site-head.is-scrolled { border-bottom-color: var(--night-line); }
.head-row { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: block; flex: none; }
.brand img { width: 136px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav a { color: var(--on-dark-2); text-decoration: none; font-size: .95rem; font-weight: 500; padding: 8px 12px; border-radius: 8px; transition: color 140ms ease, background-color 140ms ease; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.head-cta { min-height: 42px; padding: 8px 18px; font-size: .95rem; }
.menu-btn { display: none; margin-inline-start: auto; width: 44px; height: 44px; border: 1px solid var(--night-line); border-radius: 10px; background: transparent; color: #fff; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: currentColor; margin: 4px auto; transition: transform 260ms var(--ease), opacity 160ms ease; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- Sections ---------- */
.dark { background: var(--midnight); color: var(--on-dark); }
.paper { background: var(--paper); }
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.kicker { display: block; font-size: .95rem; font-weight: 600; color: var(--ice-ink); margin-bottom: 14px; }
.dark .kicker { color: var(--ice); }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 700; }
.section-head p { margin-top: 18px; font-size: 1.15rem; color: var(--ink-2); max-width: 60ch; }
.dark .section-head p { color: var(--on-dark-2); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(56px, 8vw, 104px) 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 80px); align-items: end; }
.hero-copy { padding-bottom: clamp(56px, 8vw, 112px); }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
.hero h1 em { font-style: normal; color: var(--ice); }
.hero-lede { margin-top: 26px; font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--on-dark-2); max-width: 46ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 56px; border-top: 1px solid var(--night-line); }
.hero-facts li { list-style: none; padding: 18px 0 0; padding-inline-end: 18px; }
.hero-facts li + li { padding-inline-start: 18px; border-inline-start: 1px solid var(--night-line); }
.hero-facts strong { display: block; font-size: 1.02rem; font-weight: 700; }
.hero-facts span { display: block; margin-top: 4px; font-size: .9rem; color: var(--on-dark-3); }
.hero-visual { display: flex; justify-content: center; align-self: end; }

/* The kiosk: a real screen in a drawn upright kiosk on its stand. */
.kiosk { width: min(340px, 72vw); position: relative; }
.kiosk-screen { background: #03050A; border-radius: 24px; padding: 12px; border: 1px solid #1C2333; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .06); }
.kiosk-screen img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; }
.kiosk-neck { width: 22%; height: 64px; margin: 0 auto; background: linear-gradient(90deg, #0C1220, #1E2738 50%, #0C1220); }
.kiosk-base { width: 64%; height: 16px; margin: 0 auto; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, #1E2738, #0C1220); }
.light .kiosk-screen { border-color: #0A0F1A; box-shadow: 0 36px 70px -34px rgba(10, 15, 26, .55); }
.light .kiosk-neck { background: linear-gradient(90deg, #C9CED6, #E8EBEF 50%, #C9CED6); }
.light .kiosk-base { background: linear-gradient(180deg, #DCE0E6, #BFC5CE); }
.hero .kiosk { margin-bottom: -2px; }

/* ---------- How an order goes ---------- */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.flow li { list-style: none; padding: 22px 0 0; padding-inline-end: 22px; }
.flow li + li { padding-inline-start: 22px; border-inline-start: 1px solid var(--rule); }
.flow .n { font: 300 2.6rem/1 var(--num); color: var(--ice-ink); letter-spacing: -0.04em; }
.flow h3 { margin-top: 18px; font-size: 1.25rem; }
.flow p { margin-top: 8px; color: var(--ink-2); font-size: .98rem; }

/* ---------- Feature splits ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 96px); align-items: center; }
.split + .split { margin-top: clamp(80px, 11vw, 140px); }
.split-visual { display: flex; justify-content: center; gap: 22px; align-items: flex-end; }
.split-visual .kiosk { width: min(300px, 44vw); }
.split-visual .kiosk.small { width: min(220px, 34vw); }
.split-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.split-copy > p { margin-top: 18px; font-size: 1.1rem; color: var(--ink-2); max-width: 52ch; }
.ticks { margin-top: 28px; border-top: 1px solid var(--rule); }
.ticks li { list-style: none; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.ticks li::before { content: ""; width: 14px; height: 14px; margin-top: 6px; background: var(--midnight); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5 6.5 12 13 4.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%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 16 16'%3E%3Cpath d='M3 8.5 6.5 12 13 4.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.ticks strong { display: block; font-weight: 700; }
.ticks span { display: block; color: var(--ink-2); font-size: .95rem; }

/* The owner's panel: a browser window and a phone. */
.panel-shot { position: relative; width: 100%; padding-bottom: 56px; }
.browser { border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--rule-2); box-shadow: 0 30px 60px -32px rgba(10, 15, 26, .45); }
.browser-bar { height: 30px; background: var(--paper); border-bottom: 1px solid var(--rule); }
.browser img { width: 100%; }
.phone { position: absolute; inset-inline-start: -18px; bottom: 0; width: 34%; max-width: 190px; border-radius: 30px; padding: 8px; background: #03050A; box-shadow: 0 30px 60px -24px rgba(10, 15, 26, .6); }
.phone img { border-radius: 23px; width: 100%; }

/* ---------- Everything else it does ---------- */
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.specs li { list-style: none; padding: 24px 0 26px; padding-inline-end: 28px; border-bottom: 1px solid var(--rule); }
.specs li:not(:nth-child(3n + 1)) { padding-inline-start: 28px; border-inline-start: 1px solid var(--rule); }
.specs h3 { font-size: 1.08rem; }
.specs p { margin-top: 8px; color: var(--ink-2); font-size: .96rem; }

/* ---------- A restaurant that runs on it ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.story figure { margin: 0; }
.story figure img { border-radius: 14px; border: 1px solid var(--night-line); }
.story figcaption { margin-top: 12px; font-size: .88rem; color: var(--on-dark-3); }
.story h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.story p { margin-top: 18px; color: var(--on-dark-2); font-size: 1.08rem; }
.story-list { margin-top: 26px; border-top: 1px solid var(--night-line); }
.story-list li { list-style: none; padding: 12px 0; border-bottom: 1px solid var(--night-line); color: var(--on-dark-2); }
.story-list li strong { color: #fff; }

/* ---------- Packages ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rule); border-radius: 16px; padding: 30px 28px; }
.plan.is-main { background: var(--midnight); color: #fff; border-color: var(--midnight); }
.plan-name { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan-name h3 { font-size: 1.4rem; }
.plan-flag { font-size: .8rem; font-weight: 700; color: var(--midnight); background: var(--ice); padding: 3px 10px; border-radius: 6px; }
.plan-for { margin-top: 8px; color: var(--ink-2); font-size: .96rem; min-height: 3.1em; }
.is-main .plan-for { color: var(--on-dark-2); }
.price { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--rule); }
.is-main .price { border-top-color: var(--night-line); }
.price-once { display: flex; align-items: baseline; gap: 8px; }
.price-once .num { font-size: 2.7rem; font-weight: 400; letter-spacing: -0.04em; line-height: 1; }
.price-once small, .price-month small { font-size: .9rem; color: var(--ink-3); }
.is-main .price-once small, .is-main .price-month small { color: var(--on-dark-3); }
.price-month { margin-top: 10px; font-size: 1.05rem; }
.price-month .num { font-weight: 600; font-size: 1.25rem; }
.plan ul { margin-top: 24px; flex: 1; }
.plan li { list-style: none; display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; padding: 7px 0; font-size: .96rem; }
.plan li::before { content: ""; width: 12px; height: 12px; margin-top: 7px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5 6.5 12 13 4.5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%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 16 16'%3E%3Cpath d='M3 8.5 6.5 12 13 4.5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.plan li.plus { font-weight: 700; }
.plan .btn { margin-top: 28px; width: 100%; }
.plan-notes { margin-top: 28px; color: var(--ink-3); font-size: .92rem; max-width: 80ch; }
.plan-notes li { list-style: none; padding: 4px 0; }
.plan-notes li::before { content: "– "; }

/* ---------- Steps to start ---------- */
.steps { counter-reset: s; border-top: 1px solid var(--ink); }
.steps li { list-style: none; counter-increment: s; display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.steps li::before { content: counter(s, decimal-leading-zero); font: 300 1.6rem/1 var(--num); color: var(--ice-ink); }
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--ink-2); }

/* ---------- Questions ---------- */
.faq { border-top: 1px solid var(--ink); max-width: 880px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-weight: 700; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-top: 8px; border-inline-end: 1.8px solid var(--ink); border-bottom: 1.8px solid var(--ink); transform: rotate(45deg); transition: transform 260ms var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 14px; }
.faq details > div { padding: 0 0 22px; color: var(--ink-2); max-width: 70ch; }
.faq details > div p + p { margin-top: 10px; }
.faq details::details-content { block-size: 0; overflow-y: clip; transition: block-size 320ms var(--ease-drawer), content-visibility 320ms allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
:root { interpolate-size: allow-keywords; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); }
.about h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.about-text p { font-size: 1.12rem; color: var(--ink-2); }
.about-text p + p { margin-top: 18px; }
.about-text strong { color: var(--ink); }
.values { margin-top: 34px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.values li { list-style: none; padding: 18px 0; padding-inline-end: 18px; border-bottom: 1px solid var(--rule); }
.values li:nth-child(even) { padding-inline-start: 18px; border-inline-start: 1px solid var(--rule); }
.values strong { display: block; }
.values span { display: block; color: var(--ink-2); font-size: .95rem; margin-top: 4px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); }
.contact h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.contact-side p { margin-top: 18px; color: var(--on-dark-2); font-size: 1.1rem; }
.contact-direct { margin-top: 34px; border-top: 1px solid var(--night-line); }
.contact-direct div { padding: 14px 0; border-bottom: 1px solid var(--night-line); }
.contact-direct dt { font-size: .88rem; color: var(--on-dark-3); }
.contact-direct dd { margin: 2px 0 0; font-size: 1.08rem; }
.contact-direct a { color: #fff; }
.form { background: #fff; color: var(--ink); border-radius: 18px; padding: clamp(24px, 4vw, 40px); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; }
.field .req { color: var(--bad); }
.field input, .field select, .field textarea {
    font: inherit; font-size: 1rem; color: var(--ink); background: #fff; width: 100%;
    border: 1px solid var(--rule-2); border-radius: 10px; padding: 11px 14px; min-height: 48px;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ice-ink); box-shadow: 0 0 0 3px var(--ice-wash); }
.field [aria-invalid="true"] { border-color: var(--bad); }
.field-error { color: var(--bad); font-size: .88rem; font-weight: 600; }
.field-hint { color: var(--ink-3); font-size: .86rem; }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; margin: 6px 0 20px; font-size: .92rem; color: var(--ink-2); }
/* The privacy checkbox (here and in the chat): fills midnight, the tick springs in, a soft ring
   goes out from it; pressing it sinks it a little. */
.consent input, .sd-consent input {
    -webkit-appearance: none; appearance: none;
    display: grid; place-content: center; flex: none;
    width: 20px; height: 20px; margin: 2px 0 0;
    border: 1.5px solid var(--rule-2); border-radius: 6px; background: var(--white);
    cursor: pointer;
    transition: background-color 180ms var(--ease), border-color 180ms var(--ease), transform 140ms var(--ease);
}
.consent input:hover, .sd-consent input:hover { border-color: var(--ink-3); }
.consent input:active, .sd-consent input:active { transform: scale(.86); }
.consent input::after, .sd-consent input::after {
    content: ""; width: 5px; height: 10px; margin-top: -2px;
    border: solid var(--white); border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0); opacity: 0;
    transition: transform 240ms cubic-bezier(.34, 1.56, .64, 1), opacity 120ms var(--ease);
}
.consent input:checked, .sd-consent input:checked {
    background: var(--midnight); border-color: var(--midnight);
    animation: consent-ring 420ms var(--ease);
}
.consent input:checked::after, .sd-consent input:checked::after { transform: rotate(45deg) scale(1); opacity: 1; }
@keyframes consent-ring {
    from { box-shadow: 0 0 0 0 rgba(10, 15, 26, .30); }
    to { box-shadow: 0 0 0 9px rgba(10, 15, 26, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .consent input, .sd-consent input, .consent input::after, .sd-consent input::after { transition: background-color 120ms linear, border-color 120ms linear, opacity 120ms linear; }
    .consent input:active, .sd-consent input:active { transform: none; }
    .consent input:checked, .sd-consent input:checked { animation: none; }
}
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.form .btn { width: 100%; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.form-status.ok { background: #E6F2EC; color: #14532D; }
.form-status.bad { background: #FBEAE8; color: #8E1F16; }
.form-note { margin-top: 14px; font-size: .85rem; color: var(--ink-3); }
.btn[disabled] { opacity: .6; cursor: default; }

/* ---------- Footer ---------- */
.site-foot { padding-block: 56px 40px; border-top: 1px solid var(--night-line); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.foot-grid img { width: 130px; }
.foot-grid p { margin-top: 14px; color: var(--on-dark-3); font-size: .92rem; max-width: 36ch; }
.foot-grid h2 { font-size: .9rem; font-weight: 600; color: var(--on-dark-3); letter-spacing: 0; margin-bottom: 12px; }
.foot-grid li { list-style: none; padding: 4px 0; }
.foot-grid a { color: var(--on-dark-2); text-decoration: none; }
.foot-grid a:hover { color: #fff; text-decoration: underline; }
.foot-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--night-line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--on-dark-3); font-size: .86rem; }

/* ---------- Legal pages ---------- */
.legal { padding-block: clamp(48px, 7vw, 88px) clamp(72px, 9vw, 112px); }
.legal-inner { max-width: 760px; }
.legal h1 { font-size: clamp(2.1rem, 4.5vw, 3rem); }
.legal .updated { margin-top: 12px; color: var(--ink-3); font-size: .95rem; }
.legal h2 { font-size: 1.35rem; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--rule); }
.legal h3 { font-size: 1.08rem; margin-top: 24px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p { margin-top: 12px; }
.legal ul { margin-top: 10px; padding-inline-start: 22px; }
.legal li { padding: 3px 0; }
.legal strong { color: var(--ink); }

/* ---------- Not found ---------- */
.nf { min-height: 60vh; display: grid; align-content: center; padding-block: 80px; }
.nf .num { font-size: clamp(4rem, 12vw, 8rem); font-weight: 300; letter-spacing: -0.05em; color: var(--ice); line-height: 1; }
.nf h1 { margin-top: 18px; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.nf p { margin-top: 12px; color: var(--on-dark-2); }
.nf .btn { margin-top: 28px; justify-self: start; }

/* ---------- Arriving ----------
   Only with scripts on and motion allowed; without either, everything is simply there. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.hero-copy > * { animation: rise 760ms var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: 70ms; }
.hero-copy > :nth-child(3) { animation-delay: 140ms; }
.hero-copy > :nth-child(4) { animation-delay: 210ms; }
.hero-copy > :nth-child(5) { animation-delay: 280ms; }
.hero-visual .kiosk { animation: rise-k 1000ms var(--ease) 180ms both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes rise-k { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }

/* ---------- Narrow screens ---------- */
@media (max-width: 1020px) {
    .nav, .head-cta { display: none; }
    .menu-btn { display: block; }
    .nav.is-open { display: flex; position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: var(--midnight); border-bottom: 1px solid var(--night-line); }
    .nav.is-open a { padding: 14px 4px; border-bottom: 1px solid var(--night-line); border-radius: 0; font-size: 1.05rem; }
    .nav.is-open .nav-cta { display: flex; margin-top: 16px; border: 0; }
    .hero-grid, .split, .story, .about, .contact { grid-template-columns: 1fr; }
    .hero-copy { padding-bottom: 0; }
    .hero-visual { padding-top: 24px; }
    .split.flip .split-visual { order: -1; }
    .split-copy { order: 2; }
    .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .flow li:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
    .flow li:nth-child(n+3) { margin-top: 24px; border-top: 1px solid var(--rule); }
    .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .specs li:not(:nth-child(3n + 1)) { padding-inline-start: 0; border-inline-start: 0; }
    .specs li:nth-child(even) { padding-inline-start: 24px; border-inline-start: 1px solid var(--rule); }
    .plans { grid-template-columns: 1fr; max-width: 520px; }
    .steps li { grid-template-columns: 56px minmax(0, 1fr); }
    .steps li p { grid-column: 2; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (min-width: 1021px) { .nav-cta { display: none !important; } }
@media (max-width: 640px) {
    body { font-size: 16px; }
    .hero-facts { grid-template-columns: 1fr; }
    .hero-facts li + li { padding-inline-start: 0; border-inline-start: 0; border-top: 1px solid var(--night-line); margin-top: 14px; padding-top: 14px; }
    .flow, .specs, .values, .form-grid { grid-template-columns: 1fr; }
    .flow li, .flow li + li { padding-inline: 0; border-inline-start: 0; }
    .flow li + li { margin-top: 20px; border-top: 1px solid var(--rule); }
    .specs li, .specs li:nth-child(even) { padding-inline: 0; border-inline-start: 0; }
    .values li:nth-child(even) { padding-inline-start: 0; border-inline-start: 0; }
    .split-visual .kiosk.small { display: none; }
    .split-visual .kiosk { width: min(280px, 78vw); }
    .phone { width: 38%; inset-inline-start: -6px; }
    .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .hero-copy > *, .hero-visual .kiosk { animation: none; }
    .faq details::details-content { transition: none; }
}
@media (prefers-contrast: more) {
    :root { --rule: #9AA1AC; --ink-2: #252B36; --ink-3: #3B4250; --on-dark-2: #E2E6EC; --on-dark-3: #C3CAD4; }
}
@media print {
    .site-head, .menu-btn, .form, .hero-visual { display: none; }
    .dark { background: #fff; color: #000; }
}

/* The owner's panel deserves room: its picture column is wider, and the phone sits on the
   far corner so the panel's own menu stays in view. */
@media (min-width: 1021px) {
    .split.flip { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
}
.phone { inset-inline-start: auto; inset-inline-end: -22px; }
@media (max-width: 640px) { .phone { inset-inline-end: -6px; } }

/* ---------- The problem ---------- */
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.pains li { list-style: none; padding: 24px 0 0; padding-inline-end: 26px; }
.pains li + li { padding-inline-start: 26px; border-inline-start: 1px solid var(--rule); }
.pains h3 { font-size: 1.25rem; }
.pains p { margin-top: 10px; color: var(--ink-2); }

/* ---------- What it's worth ---------- */
.value-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.value-stat { border-top: 1px solid var(--ink); padding-top: 22px; }
.value-num { display: block; font-size: clamp(3.4rem, 7vw, 5.4rem); font-weight: 300; letter-spacing: -0.05em; line-height: 1; color: var(--ice-ink); }
.value-stat p { margin-top: 18px; font-size: 1.08rem; color: var(--ink-2); }
.value-stat small { display: block; margin-top: 14px; font-size: .84rem; color: var(--ink-3); }
.compare { overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--rule); font-size: .98rem; }
.compare th, .compare td { text-align: start; padding: 14px 18px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.compare thead th { font-size: .9rem; font-weight: 700; color: var(--ink-2); background: var(--paper); }
.compare thead th:last-child { background: var(--midnight); color: #fff; }
.compare tbody th { font-weight: 700; width: 22%; }
.compare tbody td { color: var(--ink-2); }
.compare tbody td:last-child { color: var(--ink); font-weight: 600; background: var(--ice-wash); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }

/* ---------- Packages without numbers ---------- */
.price-quote { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--rule); font-weight: 600; color: var(--ink-2); }
.is-main .price-quote { border-top-color: var(--night-line); color: var(--on-dark-2); }
.founders { margin-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 26px 28px; border-radius: 16px; background: var(--ice-wash); border: 1px solid #D3DEEC; }
.founders h3 { font-size: 1.25rem; }
.founders p { margin-top: 8px; color: var(--ink-2); max-width: 62ch; }

/* ---------- Phones: one clear action always in reach ---------- */
.sticky-cta { display: none; }
@media (max-width: 1020px) {
    .pains { grid-template-columns: 1fr; }
    .pains li + li { padding-inline-start: 0; border-inline-start: 0; border-top: 1px solid var(--rule); margin-top: 22px; }
    .value-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .sticky-cta { display: flex; position: fixed; z-index: 30; inset-inline: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 12px 30px -10px rgba(10, 15, 26, .5); transition: transform 260ms var(--ease), opacity 200ms ease; }
    .sticky-cta.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
    body { padding-bottom: 76px; }
    .compare th, .compare td { padding: 11px 12px; font-size: .9rem; }
}

/* ---------- The chat helper (assets/js/chat.js) ----------
   A quiet midnight button in the corner; the window is paper and hairlines like the page.
   The bot speaks from the start side (right), the visitor from the end side. On phones the
   window is the whole screen, and the button sits above the phone's demo bar. */
.sd-launch {
    position: fixed; z-index: 45; inset-inline-end: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px 0 18px;
    border: 1px solid var(--rule); border-radius: 999px; background: #fff; color: var(--ink);
    font: inherit; font-size: .98rem; font-weight: 700; cursor: pointer;
    box-shadow: 0 16px 36px -14px rgba(10, 15, 26, .55), 0 2px 6px rgba(10, 15, 26, .16);
    transition: transform 180ms var(--ease), opacity 180ms ease, background-color 180ms ease;
}
.sd-launch svg { width: 24px; height: 24px; flex: none; color: var(--ice-ink); }
.sd-launch:hover { background: var(--ice-wash); }
.sd-launch:active { transform: scale(.97); }
.sd-launch.is-hidden { opacity: 0; transform: scale(.9); pointer-events: none; }

.sd-chat {
    position: fixed; z-index: 50; inset-inline-end: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    width: min(392px, calc(100vw - 32px)); height: min(640px, calc(100dvh - 48px));
    display: flex; flex-direction: column; overflow: hidden;
    background: var(--white); border: 1px solid var(--rule); border-radius: 18px;
    box-shadow: 0 30px 70px -24px rgba(10, 15, 26, .5), 0 4px 14px rgba(10, 15, 26, .08);
    opacity: 0; visibility: hidden; transform: translateY(14px) scale(.98); transform-origin: bottom left;
    transition: opacity 200ms var(--ease), transform 260ms var(--ease), visibility 0s linear 260ms;
}
.sd-chat.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 200ms var(--ease), transform 260ms var(--ease), visibility 0s; }

.sd-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 15px; background: var(--midnight); color: #fff; }
.sd-head h2 { font-family: var(--num); font-size: 1.1rem; font-weight: 600; letter-spacing: .01em; outline: none; }
.sd-head p { margin-top: 2px; font-size: .82rem; color: var(--on-dark-2); }
.sd-close { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: #fff; cursor: pointer; transition: background-color 160ms ease, transform 140ms var(--ease); }
.sd-close svg { width: 20px; height: 20px; }
.sd-close:hover { background: rgba(255, 255, 255, .1); }
.sd-close:active { transform: scale(.94); }
.sd-head :focus-visible { outline-color: var(--ice); }

.sd-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 16px 12px; display: flex; flex-direction: column; gap: 10px; background: var(--white); }
.sd-msg { max-width: 88%; padding: 11px 14px; border-radius: 16px; font-size: .96rem; line-height: 1.55; animation: sd-in 260ms var(--ease) both; }
.sd-msg p + p, .sd-msg p + ul, .sd-msg ul + p, .sd-msg p + .sd-card { margin-top: 7px; }
.sd-msg ul { padding-inline-start: 18px; }
.sd-msg li + li { margin-top: 3px; }
.sd-bot { align-self: flex-start; background: var(--paper); color: var(--ink); border-start-start-radius: 6px; }
.sd-me { align-self: flex-end; background: var(--midnight); color: #fff; border-start-end-radius: 6px; }
.sd-bot:has(.sd-card) { max-width: 100%; width: 100%; }
@keyframes sd-in { from { opacity: 0; transform: translateY(6px); } }

.sd-typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.sd-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: sd-dot 1s ease-in-out infinite; }
.sd-typing span:nth-child(2) { animation-delay: .15s; }
.sd-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes sd-dot { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

.sd-chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 2px; animation: sd-in 260ms var(--ease) both; }
.sd-chip {
    display: inline-flex; align-items: center; min-height: 42px; padding: 8px 15px; border: 1px solid var(--rule-2); border-radius: 999px;
    background: #fff; color: var(--ink); font: inherit; font-size: .92rem; font-weight: 600; line-height: 1.3; text-align: start; text-decoration: none; cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease, transform 140ms var(--ease);
}
.sd-chip:hover { border-color: var(--ink); color: var(--ink); }
.sd-chip:active { transform: scale(.97); }
.sd-chip.is-main { background: var(--ice); border-color: var(--ice); color: var(--midnight); }
.sd-chip.is-main:hover { background: #B3C7E2; border-color: #B3C7E2; }

.sd-card { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--rule); border-radius: 14px; background: #fff; }
.sd-field { display: grid; gap: 4px; }
.sd-field label { font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.sd-field input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--rule-2); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; }
.sd-field input:focus { outline: none; border-color: var(--ice-ink); box-shadow: 0 0 0 3px var(--ice-wash); }
.sd-field input[aria-invalid] { border-color: var(--bad); }
.sd-err { font-size: .82rem; color: var(--bad); font-weight: 600; }
.sd-consent { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; align-items: start; font-size: .84rem; color: var(--ink-2); }
.sd-consent input { width: 18px; height: 18px; border-radius: 5px; }
.sd-consent input::after { width: 4.5px; height: 9px; }
.sd-submit { width: 100%; min-height: 48px; }
.sd-status { padding: 10px 12px; border-radius: 10px; font-size: .86rem; font-weight: 600; }
.sd-status.bad { background: #FBEAE8; color: #8E1F16; }
.sd-card.is-sent { opacity: .6; }

.sd-compose { display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--rule); background: #fff; }
.sd-compose input { flex: 1; min-width: 0; min-height: 46px; padding: 10px 14px; border: 1px solid var(--rule-2); border-radius: 12px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; }
.sd-compose input:focus { outline: none; border-color: var(--ice-ink); box-shadow: 0 0 0 3px var(--ice-wash); }
.sd-send { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--midnight); color: #fff; cursor: pointer; transition: background-color 160ms ease, transform 140ms var(--ease); }
.sd-send svg { width: 20px; height: 20px; }
.sd-send:hover { background: #1C2536; }
.sd-send:active { transform: scale(.94); }

@media (max-width: 640px) {
    .sd-launch { inset-inline-end: 12px; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); width: 56px; padding: 0; justify-content: center; }
    .sd-launch-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .sd-chat { inset: 0; width: 100%; height: 100dvh; border: 0; border-radius: 0; transform: translateY(24px); transform-origin: bottom center; }
    .sd-head { padding-top: calc(14px + env(safe-area-inset-top, 0px)); }
    html.sd-locked, html.sd-locked body { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) {
    .sd-chat, .sd-chat.is-open { transform: none; transition: opacity 120ms ease, visibility 0s; }
    .sd-chat:not(.is-open) { transition: opacity 120ms ease, visibility 0s linear 120ms; }
    .sd-msg, .sd-chips { animation: none; }
    .sd-typing span { animation: none; opacity: .6; }
}
@media (prefers-contrast: more) { .sd-chip, .sd-field input, .sd-compose input { border-color: var(--ink); } .sd-bot { border: 1px solid var(--ink-3); } }
@media print { .sd-launch, .sd-chat { display: none !important; } }

/* "Pick a time now" in the contact section opens the chat on booking - only when scripts run. */
.book-now { display: none; margin-top: 28px; }
.js .book-now { display: inline-flex; }
.sd-log:focus { outline: none; }
.sd-log:focus-visible { outline: 3px solid var(--ice-ink); outline-offset: -3px; }

/* The chat's once-a-visit invitation, beside its button (computers only). */
.sd-note {
    position: fixed; z-index: 44; inset-inline-end: 24px; bottom: calc(92px + env(safe-area-inset-bottom, 0px));
    display: flex; align-items: flex-start; gap: 4px; max-width: 300px; padding: 6px 6px 6px 0;
    background: #fff; border: 1px solid var(--rule); border-radius: 14px; border-end-end-radius: 6px;
    box-shadow: 0 18px 40px -18px rgba(10, 15, 26, .5); animation: sd-in 320ms var(--ease) both;
}
.sd-note-open { flex: 1; padding: 8px 14px 8px 4px; border: 0; background: none; color: var(--ink); font: inherit; font-size: .94rem; font-weight: 600; line-height: 1.45; text-align: start; cursor: pointer; border-radius: 10px; }
.sd-note-open:hover { color: var(--ice-ink); }
.sd-note-x { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 8px; background: none; color: var(--ink-3); cursor: pointer; }
.sd-note-x svg { width: 16px; height: 16px; }
.sd-note-x:hover { background: var(--paper); color: var(--ink); }
@media (max-width: 640px) { .sd-note { display: none; } }
@media (prefers-reduced-motion: reduce) { .sd-note { animation: none; } }
@media print { .sd-note { display: none !important; } }
