/* DB landing page. Style direction: docs/design/style-direction.md */

/* Heebo (Google Fonts, SIL Open Font License), served from this site: no outside requests.
   David 2026-11-08: all business text, Hebrew and English, is in Heebo. */
@font-face {
  font-family: "Heebo"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../assets/fonts/heebo-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Heebo"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../assets/fonts/heebo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Heebo"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../assets/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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  --bg: #F5F2EA;
  --surface: #FFFDF8;
  --ink: #121A2B;
  --muted: #485266;
  --line: #D8D1C2;
  --teal: #0B9AA8;        /* logo brackets, rules, large marks only */
  --teal-text: #066A74;   /* teal used as text: 5.6:1 on --bg */
  --btn-bg: #121A2B;
  --btn-ink: #FFFDF8;
  --focus: #066A74;
  --err: #A3261B;
  --radius: 6px;
  --sans: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: var(--sans); /* David: Heebo for the whole page */
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E141F;
    --surface: #151D2B;
    --ink: #ECE8DF;
    --muted: #AAB2C2;
    --line: #2B3647;
    --teal: #3CC4CF;
    --teal-text: #5FD3DC;
    --btn-bg: #3CC4CF;
    --btn-ink: #0E141F;
    --focus: #5FD3DC;
    --err: #FF9A8F;
  }
}
/* Same dark colours when a host forces dark mode */
:root[data-theme="dark"] {
  --bg: #0E141F;
  --surface: #151D2B;
  --ink: #ECE8DF;
  --muted: #AAB2C2;
  --line: #2B3647;
  --teal: #3CC4CF;
  --teal-text: #5FD3DC;
  --btn-bg: #3CC4CF;
  --btn-ink: #0E141F;
  --focus: #5FD3DC;
  --err: #FF9A8F;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.65;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
.tag { font-weight: 800; }
.lead { font-weight: 400; }
p { margin: 0 0 1em; }
a { color: var(--teal-text); text-underline-offset: .2em; }
.mono { font-family: var(--mono); }

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

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

.skip {
  position: absolute; inset-inline-start: 16px; top: -100px; z-index: 10;
  background: var(--btn-bg); color: var(--btn-ink); padding: 10px 16px; border-radius: var(--radius);
}
.skip:focus { top: 12px; }

#main:focus { outline: none; }

.preview-bar {
  margin: 0; padding: 6px 16px; text-align: center; font-size: .9rem; font-weight: 600;
  background: var(--ink); color: var(--bg);
}

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .wrap { padding-inline: 32px; } }

/* Header */
.top {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top__row { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.wordmark { font: 800 1.7rem/1 var(--sans); letter-spacing: .02em; color: var(--ink); }
.wordmark::after { content: "."; color: var(--teal); } /* stand-in; tools/make-site.mjs puts the real logo in */
/* The logo, when tools/make-site.mjs adds it */
:root { --logo-ink: #121A2B; --logo-teal: #0B9AA8; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --logo-ink: #EEF3F8; --logo-teal: #3CCFDA; } }
:root[data-theme="dark"] { --logo-ink: #EEF3F8; --logo-teal: #3CCFDA; }
.brand { gap: 10px; color: var(--ink); }
.mark { width: 44px; height: 44px; flex: none; }
.mark .mk-ink { stroke: var(--logo-ink); }
.mark .mk-teal { stroke: var(--logo-teal); }
.mark .mk-teal-fill { fill: var(--logo-teal); }
.mark .mk-ink-fill { fill: var(--logo-ink); }
.brand__name { font-weight: 600; font-size: 1.05rem; letter-spacing: -.005em; }
.foot__name { font-weight: 600; }
.nav { display: none; gap: 24px; margin-inline-start: auto; }
.nav a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.nav a:hover { color: var(--teal-text); text-decoration: underline; }
@media (min-width: 820px) { .nav { display: flex; } }

.lang {
  margin-inline-start: auto;
  min-width: 48px; min-height: 44px; padding: 0 12px;
  font: 600 .95rem var(--mono);
  color: var(--ink); background: transparent;
  border: 1.5px solid var(--ink); border-radius: var(--radius); cursor: pointer;
}
@media (min-width: 820px) { .lang { margin-inline-start: 8px; } }
.lang--link { display: inline-flex; align-items: center; text-decoration: none; }
.lang:hover { background: var(--ink); color: var(--bg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font: 700 1.02rem/1.2 var(--sans);
  border-radius: var(--radius); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
}
.btn--primary { background: var(--btn-bg); color: var(--btn-ink); }
.btn--primary:hover { box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 45%, transparent); }
.btn--ghost { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--surface); }
.btn--big { min-height: 56px; font-size: 1.1rem; padding-inline: 28px; }
.btn__icon { width: 22px; height: 22px; flex: none; }

/* Hero */
.hero { display: grid; gap: 40px; padding-block: 48px 64px; }
@media (min-width: 960px) {
  .hero { grid-template-columns: 1.25fr 1fr; align-items: center; padding-block: 88px 96px; }
}
.eyebrow { font-weight: 600; font-size: .95rem; color: var(--teal-text); }
h1 { font-size: clamp(2.4rem, 6.2vw, 4.2rem); font-weight: 800; letter-spacing: -.015em; max-width: 14ch; }
.lead { font-size: 1.25rem; color: var(--muted); max-width: 56ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Build log: the signature detail */
.log {
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: 6px 6px 0 var(--teal);
}
[dir="rtl"] .log { box-shadow: -6px 6px 0 var(--teal); }
.log__head { font-weight: 600; margin-bottom: 14px; }
.log__head .mono, .log__foot { color: var(--teal-text); }
.log__list { list-style: none; margin: 0; padding: 0; }
.log__list li {
  display: flex; gap: 12px; align-items: baseline;
  padding: 9px 0; border-top: 1px dashed var(--line);
}
.log__mark { font-family: var(--mono); width: 1.2em; flex: none; color: var(--teal-text); font-weight: 700; }
.is-now { font-weight: 600; }
.is-now .log__mark { animation: pulse 1.6s ease-in-out infinite; }
.log__foot { margin: 10px 0 0; font-size: .9rem; }
@keyframes pulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .is-now .log__mark { animation: none; } }

/* Sections */
.block { padding-block: 64px; border-top: 1px solid var(--line); }
.block--alt { background: var(--surface); }
@media (min-width: 960px) { .block { padding-block: 88px; } }

.tag { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 28px; }
.tag::before, .tag::after { font-family: var(--mono); font-weight: 300; color: var(--teal-text); }
.tag::before { content: "<"; margin-inline-end: .25em; }
.tag::after { content: "/>"; margin-inline-start: .25em; }

/* Services: numbered spec rows */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.row {
  display: grid; grid-template-columns: 3.2rem 1fr; gap: 12px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
@media (min-width: 720px) { .rows { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 40px; } }
.row__num { color: var(--teal-text); font-size: 1.1rem; font-weight: 500; padding-top: 2px; }
.row h3 { font-size: 1.25rem; margin-bottom: .3em; }
.row p { margin: 0; color: var(--muted); }

/* Process: steps on a line */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.steps li {
  position: relative; padding-block: 0 26px; padding-inline-start: 56px;
}
.steps li::before {
  content: ""; position: absolute; inset-inline-start: 19px; top: 40px; bottom: 0;
  border-inline-start: 2px solid var(--teal);
}
.steps li:last-child::before { display: none; }
.steps__n {
  position: absolute; inset-inline-start: 0; top: 0;
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1.5px solid var(--ink); border-radius: var(--radius);
  background: var(--bg); font-weight: 600;
}
.steps h3 { font-size: 1.15rem; margin: 6px 0 .25em; }
.steps p { margin: 0; color: var(--muted); }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .steps li { padding: 56px 0 0; }
  .steps li::before {
    inset-inline-start: 48px; inset-inline-end: -24px; top: 19px; bottom: auto;
    border-inline-start: 0; border-top: 2px solid var(--teal);
  }
}

/* Sample product: phone that follows the steps */
.demo__grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .demo__grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.demo__stage { display: grid; place-items: center; }
@media (min-width: 960px) { .demo__stage { position: sticky; top: 120px; } }
.phone {
  width: 270px; height: 560px; border-radius: 44px; padding: 10px;
  background: #121A2B; box-shadow: 0 40px 80px -40px rgba(18, 26, 43, .55), inset 0 0 0 2px #2B3647;
  position: relative;
}
.phone::before {
  content: ""; position: absolute; top: 18px; left: 50%; width: 84px; height: 24px;
  transform: translateX(-50%); background: #121A2B; border-radius: 20px; z-index: 2;
}
.phone__screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: #FFFDF8; color: #121A2B; }
.scr {
  position: absolute; inset: 0; padding: 56px 18px 18px; display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transform: translateY(12px) scale(.98);
  transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
  font-size: .92rem;
}
.scr.is-active { opacity: 1; transform: none; }
.scr p { margin: 0; }
.scr__brand { font: 600 .8rem var(--sans); color: #066A74; }
.scr .scr__title { font-size: 1.35rem; font-weight: 700; margin-bottom: 6px; }
.scr__card { display: flex; justify-content: space-between; padding: 12px; border: 1.5px solid #D8D1C2; border-radius: 12px; }
.scr__card.is-picked { border-color: #0B9AA8; background: #E7F5F6; }
.scr__meta { color: #485266; font-size: .85rem; }
.scr__btn { margin-top: auto; text-align: center; padding: 12px; border-radius: 12px; background: #121A2B; color: #FFFDF8; font-weight: 600; }
.scr__days, .scr__slots { display: grid; gap: 8px; }
.scr__days { grid-template-columns: repeat(5, 1fr); }
.scr__slots { grid-template-columns: repeat(3, 1fr); }
.scr__days span, .scr__slots span { text-align: center; padding: 9px 0; border: 1.5px solid #D8D1C2; border-radius: 10px; font-size: .85rem; }
.scr__days .is-picked, .scr__slots .is-picked { background: #066A74; border-color: #066A74; color: #fff; font-weight: 700; }
.scr__slots .is-off { color: #8A91A0; text-decoration: line-through; }
.scr--done { align-items: center; justify-content: center; text-align: center; }
.scr__check {
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  background: #066A74; color: #fff; font-size: 2.2rem; font-weight: 700; margin-bottom: 8px;
  transform: scale(.4); transition: transform .7s cubic-bezier(.34, 1.56, .64, 1) .15s;
}
.scr--done.is-active .scr__check { transform: none; }
.demo__steps { list-style: none; margin: 0; padding: 0; }
.demo__steps li { padding: 18px 0; padding-inline-start: 20px; border-inline-start: 3px solid var(--line); transition: border-color .4s ease, opacity .4s ease; }
.demo__steps li h3 { font-size: 1.2rem; margin-bottom: .2em; }
.demo__steps li p { margin: 0; color: var(--muted); }
.demo__steps li.is-current { border-color: var(--teal); }
@media (min-width: 960px) {
  .demo__steps li { min-height: 48vh; display: flex; flex-direction: column; justify-content: center; opacity: .45; }
  .demo__steps li.is-current { opacity: 1; }
  .demo__text .tag { margin-bottom: 0; }
}

/* Booking app plans */
.plans .eyebrow { margin-bottom: .4em; }
.plans__lead { color: var(--muted); max-width: 60ch; margin-top: -12px; margin-bottom: 32px; }
.plans__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
@media (min-width: 900px) { .plans__grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px;
}
.plan--pick { border-color: var(--ink); box-shadow: 6px 6px 0 var(--teal); }
[dir="rtl"] .plan--pick { box-shadow: -6px 6px 0 var(--teal); }
.plan__badge {
  position: absolute; top: -14px; inset-inline-start: 20px; margin: 0;
  padding: 2px 12px; border-radius: 999px; font-size: .9rem; font-weight: 700;
  background: var(--btn-bg); color: var(--btn-ink);
}
.plan__name { font-size: 1.5rem; font-weight: 800; margin-bottom: .1em; }
.plan__for { color: var(--muted); margin-bottom: 18px; }
.plan__price, .plan__month { margin: 0; }
.plan__num { font-weight: 800; font-size: 1.9rem; letter-spacing: -.01em; unicode-bidi: isolate; direction: ltr; display: inline-block; }
.plan__month { color: var(--muted); padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.plan__month .plan__num { font-size: 1.35rem; color: var(--teal-text); }
.plan__list { list-style: none; margin: 16px 0 0; padding: 0; }
.plan__list li { padding: 7px 0; padding-inline-start: 26px; position: relative; }
.plan__list li::before { content: "✓"; position: absolute; inset-inline-start: 0; font-weight: 700; color: var(--teal-text); }
.plan__list .plan__plus { padding-inline-start: 0; font-weight: 600; }
.plan__list .plan__plus::before { content: none; }

.pilot {
  margin-top: 32px; padding: 22px; border-radius: var(--radius);
  border: 1.5px dashed var(--teal); background: var(--bg);
  display: grid; gap: 6px 24px; align-items: center;
}
@media (min-width: 900px) { .pilot { grid-template-columns: 1fr auto; } .pilot .btn { grid-row: 1 / span 2; grid-column: 2; } }
.pilot p { margin: 0; }
.pilot__title { font-weight: 800; font-size: 1.2rem; color: var(--teal-text); }
.pilot .btn { justify-self: start; margin-top: 10px; }
@media (min-width: 900px) { .pilot .btn { margin-top: 0; } }
.plans__notes { list-style: none; margin: 24px 0 0; padding: 0; color: var(--muted); font-size: .98rem; }
.plans__notes li { padding: 4px 0; padding-inline-start: 18px; position: relative; }
.plans__notes li::before { content: "·"; position: absolute; inset-inline-start: 4px; font-weight: 800; }

/* Facts strip */
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.facts li { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.facts strong { font-weight: 700; font-size: 1.1rem; color: var(--teal-text); }
.facts span { color: var(--muted); }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(3, 1fr); column-gap: 40px; } }
@media (min-width: 960px) { #why.block { padding-block: 56px; } }

/* Why */
.why { display: grid; gap: 32px; }
@media (min-width: 960px) { .why { grid-template-columns: 1.3fr 1fr; align-items: end; } }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li {
  padding: 14px 0; padding-inline-start: 34px; position: relative;
  border-bottom: 1px solid var(--line); font-weight: 500;
}
.checks li::before {
  content: "✓"; position: absolute; inset-inline-start: 0; top: 14px;
  font-family: var(--mono); font-weight: 700; color: var(--teal-text);
}

/* FAQ */
.faq { max-width: 820px; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1.5px solid var(--ink); }
summary {
  cursor: pointer; list-style: none; font-weight: 600; font-size: 1.1rem;
  padding: 18px 0; padding-inline-end: 36px; position: relative; min-height: 44px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; inset-inline-end: 4px; top: 14px;
  font: 500 1.4rem var(--mono); color: var(--teal-text);
}
details[open] summary::after { content: "−"; }
details p { color: var(--muted); padding-bottom: 8px; }

/* Contact */
.contact__panel {
  display: grid; gap: 40px;
  background: #121A2B; color: #F5F2EA; /* dark in both modes */
  border: 1px solid #2B3647;
  border-radius: 20px; padding: 32px 22px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .contact__panel { background: #151D2B; } }
:root[data-theme="dark"] .contact__panel { background: #151D2B; }
@media (min-width: 960px) { .contact__panel { grid-template-columns: 1.1fr 1fr; padding: 56px; gap: 56px; align-items: start; } }
.contact__panel .tag { color: #F5F2EA; }
.contact__panel .tag::before, .contact__panel .tag::after { color: #3CC4CF; }
.contact__lead { font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.4; margin-bottom: 28px; max-width: 24ch; }
.contact__panel .btn--primary { background: #3CC4CF; color: #0E141F; }
.contact__panel .form .btn--primary { background: var(--btn-bg); color: var(--btn-ink); }
.contact__panel .note { background: #1C2638; color: #F5F2EA; }
.contact__panel .form .note { background: var(--bg); color: var(--ink); }
.contact__list { list-style: none; margin: 28px 0 0; padding: 0; }
.contact__list li { padding: 10px 0; padding-inline-start: 28px; position: relative; border-top: 1px solid #2B3647; }
.contact__list li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: #3CC4CF; font-weight: 700; }
.contact .form { color: var(--ink); border-color: transparent; border-radius: 14px; }
.contact .form a { color: var(--teal-text); }
.chips { border: 0; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.chips label { margin: 0; font-weight: 500; position: relative; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1.5px solid var(--muted); border-radius: 999px; cursor: pointer;
}
.chips input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.opt { font-weight: 400; color: var(--muted); }

/* Floating WhatsApp button on phones, after the first screen */
.fab {
  position: fixed; inset-inline-end: 16px; bottom: 16px; z-index: 6;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--btn-bg); color: var(--btn-ink);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5);
  opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; visibility: hidden;
  transition: opacity .35s ease, transform .45s cubic-bezier(.16, 1, .3, 1), visibility .35s;
}
.fab__icon { width: 26px; height: 26px; }
.show-fab .fab { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
@media (min-width: 820px) { .fab { display: none; } }

.form {
  background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--radius);
  padding: 24px;
}
.form h3 { font-size: 1.2rem; margin-bottom: 18px; }
.field { margin-bottom: 16px; }
label { display: block; font-weight: 600; margin-bottom: 6px; }
input, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--muted); border-radius: var(--radius); padding: 11px 12px; min-height: 48px;
}
textarea { resize: vertical; }
input:focus-visible, textarea:focus-visible { outline-offset: 1px; border-color: var(--focus); }
[aria-invalid="true"] { border-color: var(--err); }
.err { color: var(--err); font-size: .95rem; margin: 6px 0 0; font-weight: 600; }
[dir="rtl"] input[dir="ltr"] { text-align: right; }
.privacy-line { font-size: .95rem; color: var(--muted); }
.note {
  margin-top: 14px; padding: 12px 14px; border-inline-start: 4px solid var(--teal);
  background: var(--surface); font-size: .98rem;
}
.form .note { background: var(--bg); }

/* Footer */
.linkish { font: inherit; color: var(--teal-text); background: none; border: 0; padding: 10px 0; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.foot__contact { width: 100%; display: flex; gap: 24px; }

.foot { border-top: 1.5px solid var(--ink); padding-block: 28px; font-size: .95rem; }
.foot__row { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; }
.foot p { margin: 0; }
.foot .mono { color: var(--teal-text); font-weight: 600; }
.foot__links { display: flex; gap: 24px; }
.foot__links a { display: inline-block; padding: 10px 0; }

/* Legal pages */
.doc { max-width: 760px; padding-block: 48px 72px; }
.doc h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); max-width: none; }
.doc h2 { font-size: 1.3rem; margin-top: 2em; }
.doc li { margin-bottom: .4em; }
.doc .updated { color: var(--muted); font-family: var(--mono); font-size: .92rem; }
.doc hr { border: 0; border-top: 1.5px solid var(--ink); margin: 56px 0; }

/* ---- Motion (js/motion.js adds .motion only when motion is allowed) ---- */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); }
main { overflow-x: clip; }

.top { transition: box-shadow .4s ease, background-color .4s ease; }
.top.is-scrolled { box-shadow: 0 8px 24px -16px rgba(18, 26, 43, .45); }

/* The hidden state applies at once; only the arrival is animated. */
.motion .reveal { opacity: 0; transform: translateY(28px); }
.motion .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out), filter .9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}

/* Headline arrives with a soft focus pull */
.motion .hero__text h1.reveal { filter: blur(10px); transform: translateY(18px) scale(.985); }
.motion .hero__text h1.reveal.is-in { filter: none; transform: none; }

/* Build log: panel lifts in, then the lines tick one by one */
.motion .log.reveal { transform: translateY(40px) scale(.97); }
.motion .log.reveal.is-in { transform: none; transition-delay: .25s; }
.motion .log__list li.reveal { transform: none; }
.motion .log__list li.reveal.is-in { transition-delay: calc(.7s + var(--i) * 260ms); }
.motion .log__list li.is-in .log__mark { transition: transform .5s var(--ease-out); transition-delay: inherit; }
.motion .log__list li.reveal:not(.is-in) .log__mark { transform: scale(0); }

/* Process: the line draws itself between the steps */
.motion .steps li.reveal::before { transform-origin: top; transform: scaleY(0); }
.motion .steps li.reveal.is-in::before { transform: none; transition: transform 1s var(--ease-out); transition-delay: calc(.3s + var(--i) * 140ms); }
@media (min-width: 960px) {
  .motion .steps li.reveal::before { transform-origin: left; transform: scaleX(0); }
  [dir="rtl"] .motion .steps li.reveal::before, .motion[dir="rtl"] .steps li.reveal::before { transform-origin: right; }
  .motion .steps li.reveal.is-in::before { transform: none; }
}

/* Hero: a slow, soft teal glow behind the text */
.hero { position: relative; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: min(720px, 120vw); aspect-ratio: 1; inset-inline-start: -10%; top: -20%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--teal) 22%, transparent), transparent);
  filter: blur(20px); opacity: .7;
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(6%, 8%) scale(1.15); }
}

/* Buttons respond to touch and hover */
.btn { transition: transform .25s var(--ease-out), box-shadow .25s ease, background-color .25s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.98); }

/* FAQ: answers slide open */
details[open] p { animation: open .45s var(--ease-out); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }

/* Visitor pressed "Stop animations" */
.no-motion *, .no-motion *::before, .no-motion *::after { animation: none !important; transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  .hero::before, details[open] p, .is-now .log__mark { animation: none; }
  .scr, .scr__check, .fab, .demo__steps li { transition: none; }
  .btn, .top { transition: none; }
  .btn:hover, .btn:active { transform: none; }
}
