/* OB1 marketing site.
 *
 * The site has its own look and deliberately shares nothing with the Flutter app's design system: Inter, page
 * #F8F9FB, ink #111827, orange #FF7A00, dark #1E2433, borders #E5E7EB. Every value below is read off
 * `design/source/*.dc.html`, which is the source of truth for layout, order, wording, colours, type and spacing.
 *
 * Order: tokens → base → layout → components → nav → sections of Home → the other pages → footer → phone.
 * The phone rules are last and in one block, so "does this work at 390?" is answered in one place.
 */

/* ---- tokens ------------------------------------------------------------------------------------------------- */
:root {
  --page: #F8F9FB;
  --card: #FFFFFF;
  --ink: #111827;
  --ink-2: #374151;
  --ink-3: #4B5563;
  --muted: #5B6272;
  --orange: #FF7A00;
  --orange-ink: #B4470F;      /* orange text on white: the link colour, which passes on #FFFFFF */
  --orange-ink-hover: #8A3409;
  --orange-soft: #FDEBDD;
  --orange-deep: #7A3B00;
  --dark: #1E2433;
  --dark-2: #2B3346;
  --dark-rule: #3A4256;
  --dark-text: #C7CBD4;
  --border: #E5E7EB;
  --border-2: #D1D5DB;
  --border-3: #C9CEDA;
  --grey-1: #F3F4F6;
  --grey-2: #9CA3AF;

  --wrap: 1280px;
  --pad: 24px;
  --radius: 8px;
  --radius-card: 16px;
  --radius-pill: 22px;

  --shadow-card: 0 10px 24px rgba(17, 24, 39, .08);
  --shadow-hot: 0 20px 40px rgba(255, 122, 0, .14);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  /* nothing on this site may scroll sideways, at any width */
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

/* A class that sets `display` outranks the user agent's `[hidden]`, which is how the contact form stayed on screen
 * after it had been sent. Hidden means hidden, everywhere on this site. */
[hidden] { display: none !important; }

a { color: var(--orange-ink); }
a:hover { color: var(--orange-ink-hover); }

button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 16px; }

:where(input, select, textarea, button, a, summary):focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #FFFFFF; padding: 12px 18px; border-radius: 0 0 var(--radius) 0;
  text-decoration: none; font-weight: 600;
}
.skip:focus { left: 0; color: #FFFFFF; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange-ink);
}
.eyebrow--light { color: var(--orange); }

.lead { font-size: 18px; line-height: 1.6; color: var(--ink-3); }

/* Every two-column grid on the site: a grid item is `min-width: auto` by default, so its *content* can push the
 * column wider than the screen. At 390 that put the AI phone 171 px past the right edge. */
.hero__grid > *, .ai__grid > *, .how__panel > *, .contact__grid > *, .legal__grid > *, .about__hero > * { min-width: 0; }

/* ---- components --------------------------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: var(--radius);
  font-size: 15px; font-weight: 600; text-decoration: none; border: 1px solid transparent;
}
/* Text on an orange background is always white. */
.btn--primary { background: var(--orange); border-color: var(--orange); color: #FFFFFF; }
.btn--primary:hover { background: #E96E00; color: #FFFFFF; }
.btn--ghost { background: var(--card); border-color: var(--border-2); color: var(--ink); }
.btn--ghost:hover { color: var(--ink); border-color: var(--ink); }
.btn--dark { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.btn--dark:hover { color: #FFFFFF; }
.btn--on-dark { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .28); color: #FFFFFF; }
.btn--on-dark:hover { color: #FFFFFF; background: rgba(255, 255, 255, .2); }
.btn--white { background: #FFFFFF; border-color: #FFFFFF; color: var(--ink); }
.btn--white:hover { color: var(--ink); }
.btn--block { width: 100%; }

.chip {
  min-height: 44px; padding: 0 16px; border-radius: var(--radius-pill);
  border: 1px solid var(--border-2); background: var(--card); color: var(--ink);
  font-size: 14px; font-weight: 600;
}
.chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #FFFFFF; }

.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 28px; }

.tag {
  display: inline-block; background: var(--orange); color: #FFFFFF;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 4px 8px; border-radius: 8px;
}

.lift { transition: transform .18s ease, box-shadow .18s ease; }
.lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }

.fadein { animation: ob1in .4s ease both; }
@keyframes ob1in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--dark { background: var(--dark); color: #FFFFFF; }
.section--white { background: var(--card); }
.section__head { max-width: 760px; margin: 0 auto 36px; text-align: center; display: grid; gap: 14px; }
.section__head h2 { font-size: 36px; font-weight: 800; }
.section--dark .lead { color: var(--dark-text); }

/* ---- nav ---------------------------------------------------------------------------------------------------- */
.nav { background: var(--card); border-bottom: 1px solid var(--border); position: relative; z-index: 20; }
.nav__bar { display: flex; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.nav__logo { display: flex; align-items: center; min-height: 56px; flex-shrink: 0; }
.nav__logo img { height: 56px; width: auto; }

.nav__links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; flex: 1 1 auto; margin-left: 28px; }
.nav__link {
  height: 44px; padding: 0 14px; border-radius: var(--radius);
  display: flex; align-items: center; font-size: 15px; font-weight: 500;
  color: var(--ink); text-decoration: none;
}
.nav__link:hover { color: var(--ink); background: var(--grey-1); }
.nav__link.is-current { font-weight: 700; color: var(--orange-ink); background: var(--orange-soft); }

.nav__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav__login {
  height: 44px; padding: 0 18px; display: flex; align-items: center;
  font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none;
}
.nav__cta { min-height: 44px; }
.nav__cta-short { display: none; }
.nav__menu { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: var(--radius); }
.nav__burger { display: grid; gap: 5px; justify-items: stretch; }
.nav__burger span { display: block; height: 3px; width: 24px; border-radius: 2px; background: var(--ink); }

.nav__panel { display: none; border-top: 1px solid var(--border); background: var(--card); }
.nav__panel[hidden] { display: none; }
.nav__panel-links a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; padding: 0 var(--pad);
  font-size: 22px; font-weight: 700; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.nav__chev { color: var(--grey-2); font-size: 28px; line-height: 1; }
.nav__panel-foot { display: grid; gap: 12px; padding: 24px var(--pad) 32px; }
.nav__panel-fine { text-align: center; font-size: 14px; color: var(--muted); }
.nav__panel-fine a { color: var(--muted); }

/* ---- hero slider -------------------------------------------------------------------------------------------- */
.hero { background: var(--card); border-bottom: 1px solid var(--border); position: relative; }
.hero__slide { display: none; padding: 56px 0 24px; }
.hero__slide.is-on { display: block; }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero__copy { display: grid; gap: 18px; align-content: start; }
.hero h1, .hero h2 { font-size: 48px; font-weight: 800; }
.hero .accent { color: var(--orange); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 8px; }
.hero__badge { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--ink-3); }
.hero__badge img { width: 28px; height: 28px; object-fit: contain; }

/* mobile slide: the three screen buttons */
.hero__picks { display: grid; gap: 10px; }
.pick {
  min-height: 64px; width: 100%; text-align: left; border-radius: 12px; padding: 10px 14px;
  display: flex; align-items: center; gap: 14px; background: var(--card); border: 2px solid var(--border);
}
.pick[aria-pressed="true"] { border-color: var(--orange); }
.pick__n {
  width: 32px; height: 32px; flex-shrink: 0; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; background: var(--grey-1); color: var(--ink);
}
.pick[aria-pressed="true"] .pick__n { background: var(--orange); color: #FFFFFF; }
.pick__title { display: block; font-size: 15px; font-weight: 700; }
.pick__text { display: block; font-size: 13px; color: var(--muted); }

.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store {
  min-height: 44px; padding: 0 16px; border-radius: var(--radius); background: var(--ink); color: #FFFFFF;
  font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; text-decoration: none;
}
.store:hover { color: #FFFFFF; }
.foot .store { background: var(--dark-2); }

/* the phone frame */
.phone {
  width: 300px; max-width: 100%; margin: 0 auto; border-radius: 40px; padding: 10px;
  background: #111827; box-shadow: 0 24px 60px rgba(17, 24, 39, .28);
}
.phone__screen { border-radius: 31px; overflow: hidden; background: var(--card); }
.phone__screen img { width: 100%; }

/* the browser window */
.window { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-card); background: var(--card); }
.window__bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--grey-1); border-bottom: 1px solid var(--border); }
.window__dots { display: flex; gap: 6px; }
.window__dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-2); }
.window__tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.wtab { height: 36px; padding: 0 12px; border-radius: var(--radius); border: 0; background: transparent; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.wtab[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; }
.window__note { font-size: 14px; color: var(--ink-3); padding-top: 12px; }

/* slider controls: two arrows and three dots, nothing else */
.hero__controls { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 0 28px; }
.hero__arrow {
  width: 40px; height: 40px; border-radius: 20px; border: 1px solid var(--border-2);
  background: var(--card); color: var(--ink); display: flex; align-items: center; justify-content: center;
}
.hero__dot { width: 44px; height: 44px; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; }
.hero__dot span { display: block; height: 10px; width: 10px; border-radius: 5px; background: var(--grey-2); transition: width .2s; }
.hero__dot[aria-pressed="true"] span { width: 28px; background: var(--orange); }

/* ---- figures strip ------------------------------------------------------------------------------------------ */
.figures { background: var(--card); border-bottom: 1px solid var(--border); }
.figures__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 36px 0; text-align: center; }
.figures__big { display: block; font-size: 32px; font-weight: 800; }
.figures__small { display: block; font-size: 14px; color: var(--muted); }

/* ---- how it works ------------------------------------------------------------------------------------------- */
.how__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  text-align: left; border-radius: var(--radius-card); display: flex; flex-direction: column; gap: 14px;
  background: var(--page); border: 1px solid var(--border); padding: 28px;
}
.step[aria-pressed="true"] { background: var(--card); border: 2px solid var(--orange); padding: 27px; }
.step__top { display: flex; align-items: center; gap: 12px; }
.step__icon { width: 36px; height: 36px; border-radius: 10px; background: var(--orange-soft); color: var(--orange-ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step__n { font-size: 13px; font-weight: 700; color: var(--muted); }
.step__title { font-size: 18px; font-weight: 700; }
.step__text { font-size: 15px; color: var(--ink-3); }

.how__panel { margin-top: 28px; background: var(--page); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.how__panel-copy { display: grid; gap: 10px; align-content: center; }
.how__panel { align-items: center; }
.how__label { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.how__title { font-size: 24px; font-weight: 800; }
.how__text { font-size: 16px; color: var(--ink-3); }
/* The panel's screen is capped by **height**, not width: step 1 is a tall phone screenshot and steps 2 and 3 are
 * wide browser ones, and capping the width left the phone towering over its own caption. */
.how__shot { justify-self: center; }
.how__shot img { max-height: 340px; width: auto; max-width: 100%; border: 1px solid var(--border); }

/* ---- features ----------------------------------------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 28px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 24px; display: grid; gap: 10px; align-content: start; transition: opacity .2s, border-color .2s, box-shadow .18s ease, transform .18s ease; }
.feature.is-match { border-color: var(--orange); box-shadow: 0 10px 24px rgba(255, 122, 0, .12); }
.feature.is-dim { opacity: .35; }
.feature__icon { width: 36px; height: 36px; border-radius: 10px; background: var(--orange-soft); display: flex; align-items: center; justify-content: center; color: var(--orange-ink); flex-shrink: 0; }
.values .feature__icon { margin-bottom: 4px; }
.feature__title { font-size: 17px; font-weight: 700; }
.feature__text { font-size: 15px; color: var(--ink-3); }

/* ---- try it (the ripple) ------------------------------------------------------------------------------------ */
.rip { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 24px; display: grid; gap: 10px; }
.rip__label { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.rip__row { display: grid; grid-template-columns: 140px 1fr; gap: 12px; align-items: center; }
.rip__name { font-size: 14px; color: var(--ink-2); }
.rip__track { height: 22px; background: var(--grey-1); border-radius: 6px; }
.rip__bar { display: block; height: 100%; border-radius: 6px; background: var(--dark); transition: margin-left .6s ease; }
.rip__bar.is-moved { background: var(--orange); }
.rip__note { border-radius: 10px; padding: 12px 14px; font-size: 15px; line-height: 1.5; font-weight: 600; background: var(--grey-1); color: var(--ink-2); }
.rip__note.is-late { background: var(--orange-soft); color: var(--orange-deep); }
.rip__btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 24px; }

/* ---- the AI demo -------------------------------------------------------------------------------------------- */
.ai__grid { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: center; }
.ai__copy { display: grid; gap: 18px; align-content: start; }
.ai__copy h2 { font-size: 36px; font-weight: 800; }
.ai__points { display: grid; gap: 10px; }
.ai__point { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--dark-text); }
.ai__point::before { content: "✓"; color: var(--orange); font-weight: 700; }

.chat { display: grid; gap: 10px; padding: 14px; min-height: 420px; align-content: start; }
.chat__ask { justify-self: end; max-width: 85%; background: var(--orange-soft); border-radius: 14px 14px 4px 14px; padding: 10px 14px; font-size: 14px; }
.chat__mark { width: 36px; height: 36px; object-fit: contain; }
.chat__status { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.chat__dots { display: inline-flex; gap: 3px; }
.chat__dots span { width: 5px; height: 5px; border-radius: 50%; background: var(--grey-2); animation: ob1dot 1.2s infinite; }
.chat__dots span:nth-child(2) { animation-delay: .2s; }
.chat__dots span:nth-child(3) { animation-delay: .4s; }
@keyframes ob1dot { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chat__text { font-size: 14px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat__caret { display: inline-block; width: 2px; height: 1em; background: var(--ink); vertical-align: -2px; animation: ob1blink 1s step-end infinite; }
@keyframes ob1blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.chat__checked { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.chat__offer { display: flex; gap: 8px; flex-wrap: wrap; }
.chat__offer button { min-height: 38px; padding: 0 14px; border-radius: var(--radius); font-size: 13px; font-weight: 600; }
.chat__apply { background: var(--orange); border: 1px solid var(--orange); color: #FFFFFF; }
.chat__discard { background: var(--card); border: 1px solid var(--border-2); color: var(--ink); }
.chat__result { font-size: 13px; font-weight: 600; color: var(--orange-deep); background: var(--orange-soft); border-radius: 10px; padding: 8px 12px; }

.asks { display: flex; gap: 8px; overflow-x: auto; padding: 10px 14px 0; }
.ask {
  min-height: 44px; flex-shrink: 0; white-space: nowrap; padding: 6px 14px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 600; border: 1px solid var(--border-3); background: var(--card); color: var(--ink);
}
.ask[aria-pressed="true"] { border-color: #F0822F; background: #F0822F; color: #FFFFFF; }
.chat__form { display: flex; align-items: center; gap: 8px; padding: 10px 14px 14px; }
.chat__form input { flex: 1 1 auto; min-width: 0; height: 44px; border-radius: 22px; border: 1px solid var(--border-3); padding: 0 14px; background: var(--grey-1); }
.chat__send { width: 44px; height: 44px; flex-shrink: 0; border-radius: 22px; border: 0; background: var(--orange); color: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- pricing cards ------------------------------------------------------------------------------------------ */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.plan { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.plan.is-hot { border: 2px solid var(--orange); padding: 31px; box-shadow: var(--shadow-hot); }
.plan__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan__name { font-size: 20px; font-weight: 800; }
.plan__price { font-size: 36px; font-weight: 800; }
.plan__per { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan__note { font-size: 14px; color: var(--orange-ink); font-weight: 600; }
.plan__who { font-size: 15px; color: var(--ink-3); }
.plan__list { display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.plan__list li { display: flex; gap: 8px; }
.plan__list li::before { content: "✓"; color: var(--orange-ink); font-weight: 700; }

.seg { display: inline-flex; gap: 4px; padding: 4px; background: var(--grey-1); border-radius: 10px; margin: 0 auto 28px; }
.seg button { height: 44px; padding: 0 18px; border-radius: var(--radius); border: 0; background: transparent; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.seg button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(17, 24, 39, .12); }

.compare { width: 100%; border-collapse: collapse; background: var(--card); }
.compare th, .compare td { padding: 12px 14px; text-align: left; font-size: 14px; border-top: 1px solid var(--border); }
.compare thead th { font-size: 12px; letter-spacing: .08em; color: var(--muted); border-top: 0; }
.compare td { text-align: center; }
.compare tbody tr:nth-child(even) { background: var(--page); }
.compare__scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-card); }
.yes { color: #15803D; font-weight: 700; }
.no { color: var(--grey-2); }

.addons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.addon { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 20px; display: grid; gap: 6px; }
.addon__k { font-size: 15px; font-weight: 700; }
.addon__price { font-size: 22px; font-weight: 800; color: var(--orange-ink); }
.addon__sub { font-size: 13px; color: var(--muted); }

/* ---- questions ---------------------------------------------------------------------------------------------- */
.qa { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.qa__item { background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.qa__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 20px; border: 0; background: transparent; text-align: left; font-size: 16px; font-weight: 600; color: var(--ink); }
.qa__icon { width: 32px; height: 32px; flex-shrink: 0; border-radius: 16px; background: var(--grey-1); display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.qa__q[aria-expanded="true"] .qa__icon { transform: rotate(180deg); }
.qa__a { padding: 0 20px 20px; font-size: 15px; line-height: 1.6; color: var(--ink-3); }
.qa__a[hidden] { display: none; }

/* ---- call to action band ------------------------------------------------------------------------------------ */
.cta { background: var(--orange); border-radius: var(--radius-card); padding: 48px 24px; text-align: center; color: #FFFFFF; display: grid; gap: 16px; justify-items: center; }
.cta h2 { font-size: 32px; font-weight: 800; color: #FFFFFF; }
.cta p { color: #FFFFFF; max-width: 560px; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---- about -------------------------------------------------------------------------------------------------- */
.about__hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about__hero h1 { font-size: 44px; font-weight: 800; }
.story { display: grid; gap: 28px; max-width: 760px; }
.story__item { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.story__n { width: 36px; height: 36px; border-radius: 18px; background: var(--orange); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.story__title { font-size: 18px; font-weight: 700; }
.story__text { font-size: 15px; color: var(--ink-3); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.band { background: var(--dark); color: #FFFFFF; }
.band__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 48px 0; text-align: center; }
.band__big { display: block; font-size: 36px; font-weight: 800; }
.band__small { display: block; font-size: 14px; color: var(--dark-text); }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team__photo { aspect-ratio: 4 / 3; background: var(--grey-1); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; }
.team__name { font-size: 17px; font-weight: 700; padding-top: 12px; }
.team__role { font-size: 14px; color: var(--muted); }

/* ---- contact ------------------------------------------------------------------------------------------------ */
.contact__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.form { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 28px; display: grid; gap: 16px; }
.form__title { font-size: 20px; font-weight: 800; }
.form__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field .req { color: var(--orange-ink); }
.field input, .field select, .field textarea {
  min-height: 48px; border: 1px solid var(--border-2); border-radius: var(--radius); padding: 10px 12px; background: var(--card); color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.form__check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-3); }
.form__fine { font-size: 13px; color: var(--muted); }
.form__error { background: #FEE2E2; border: 1px solid #FCA5A5; color: #991B1B; border-radius: var(--radius); padding: 12px 14px; font-size: 14px; }
.form__error[hidden] { display: none; }
/* the bot trap: off-screen, never shown, never focusable */
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.sent { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 40px 28px; display: grid; gap: 12px; justify-items: center; text-align: center; }
.sent[hidden] { display: none; }
.sent__tick { width: 56px; height: 56px; border-radius: 28px; background: #DCFCE7; color: #15803D; display: flex; align-items: center; justify-content: center; font-size: 26px; }
.sent__title { font-size: 22px; font-weight: 800; }
.sent__text { color: var(--ink-3); }

.cards { display: grid; gap: 14px; }
.info { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 18px; display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.info__icon { width: 40px; height: 40px; border-radius: 20px; background: var(--orange-soft); color: var(--orange-ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info__k { font-size: 15px; font-weight: 700; }
.info__v { font-size: 15px; color: var(--ink-2); }
.info__sub { font-size: 13px; color: var(--muted); }
.book { background: var(--dark); color: #FFFFFF; border-radius: 12px; padding: 20px; display: grid; gap: 10px; }
.book__title { font-size: 17px; font-weight: 700; }
.book__text { font-size: 14px; color: var(--dark-text); }
.map { height: 320px; border-radius: var(--radius-card); border: 1px solid var(--border); background: repeating-linear-gradient(45deg, #EEF0F4, #EEF0F4 12px, #E5E7EB 12px, #E5E7EB 24px); display: flex; align-items: center; justify-content: center; }
.map__label { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--muted); background: var(--card); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); }

/* ---- legal pages -------------------------------------------------------------------------------------------- */
.legal__grid { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.toc { position: sticky; top: 24px; display: grid; gap: 2px; }
.toc__label { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--muted); padding-bottom: 8px; }
.toc a { display: flex; gap: 10px; min-height: 32px; align-items: center; font-size: 14px; color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--orange-ink); }
.toc span { color: var(--muted); }
.legal__body { display: grid; gap: 28px; max-width: 760px; }
.legal__body h2 { font-size: 22px; font-weight: 800; }
.legal__body p, .legal__body li { font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.legal__body ul { display: grid; gap: 8px; padding-left: 20px; list-style: disc; }
.legal__note { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.legal__draft { font-size: 14px; color: var(--muted); }

/* ---- 404 ---------------------------------------------------------------------------------------------------- */
.nf { text-align: center; display: grid; gap: 18px; justify-items: center; padding: 96px 0; }
.nf__code { font-size: 72px; font-weight: 800; color: var(--orange); line-height: 1; }

/* ---- footer ------------------------------------------------------------------------------------------------- */
.foot { background: var(--dark); color: #FFFFFF; }
.foot__inner { padding-top: 64px; padding-bottom: 32px; display: grid; gap: 40px; }
.foot__top { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 40px; }
.foot__brand { display: grid; gap: 16px; align-content: start; }
.foot__brand img { height: 56px; width: auto; }
.foot__blurb { font-size: 15px; line-height: 1.6; color: var(--dark-text); max-width: 340px; }
.foot__stores { display: flex; flex-wrap: wrap; gap: 8px; }
.foot__heading { font-size: 12px; font-weight: 700; letter-spacing: .08em; padding-bottom: 8px; margin: 0; color: #FFFFFF; }
.foot__col a, .foot__soon { min-height: 32px; display: flex; align-items: center; font-size: 15px; color: var(--dark-text); text-decoration: none; }
.foot__col a:hover { color: #FFFFFF; }
.foot__soon { color: #8E95A3; }
.foot__bottom { border-top: 1px solid var(--dark-rule); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--dark-text); }
.foot__legal { flex: 1 1 320px; }
.foot__bottom a { color: #FFFFFF; text-decoration: none; }

/* ---- phone (the brief: 390 with no sideways scrolling) ------------------------------------------------------- */
@media (max-width: 900px) {
  :root { --pad: 16px; }

  /* nav: logo, "Start free", menu — `figma-mobile/nav.jpg` */
  .nav__links { display: none; }
  .nav__login { display: none; }
  .nav__cta-long { display: none; }
  .nav__cta-short { display: inline; }
  .nav__cta .arrow { display: none; }
  .nav__cta { min-height: 48px; padding: 0 22px; border-radius: 12px; font-size: 16px; }
  .nav__menu { display: flex; align-items: center; justify-content: center; }
  .nav__logo img { height: 44px; }
  .nav__panel {
    display: flex; flex-direction: column;
    position: fixed; left: 0; right: 0; bottom: 0; top: 69px; z-index: 30; overflow-y: auto;
  }
  .nav__panel-foot { margin-top: auto; }

  .section { padding: 48px 0; }
  .section__head h2, .ai__copy h2, .about__hero h1 { font-size: 28px; }
  .hero h1, .hero h2 { font-size: 34px; }
  .hero__slide { padding: 36px 0 16px; }
  .hero__grid, .how__panel, .ai__grid, .about__hero, .contact__grid, .legal__grid { grid-template-columns: 1fr; gap: 28px; }
  .ai__grid { gap: 32px; }

  .figures__grid, .band__grid { grid-template-columns: repeat(2, 1fr); }
  .how__steps, .features, .plans, .values, .team, .addons { grid-template-columns: 1fr; }
  .form__pair { grid-template-columns: 1fr; }
  .rip__row { grid-template-columns: 96px 1fr; }
  .rip__name { font-size: 13px; }

  .toc { position: static; }
  .foot__top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot__brand { grid-column: 1 / -1; }

  .cta { padding: 36px 20px; }
  .cta h2 { font-size: 26px; }
}

@media (max-width: 420px) {
  .phone { width: 100%; }
  .seg { width: 100%; }
  .seg button { flex: 1 1 0; padding: 0 8px; }
}

/* ---- reduced motion ------------------------------------------------------------------------------------------
 * The brief: no auto-advance and no typing animation; show the finished state instead. The auto-advance and the
 * typing are turned off in the scripts, which read the same query; this is the rest of it. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
