/*
 * PlantOS — the brand site.
 *
 * Near-white paper, deep navy ink, one electric blue. The light in the page
 * comes from blurred blue orbs sitting behind the product shots rather than
 * from blocks of background colour, so the ground stays white and the screen
 * itself is the brightest thing on the page — which is the point.
 *
 * Display type is Heebo, set heavy and tracked hard negative. Hebrew has no
 * equivalent of the flared grotesk this is modelled on, and a serif would
 * read as editorial rather than as software; weight and tracking carry it.
 *
 * Shares its palette with the product (plantos-frontend/src/index.css). A
 * change to one belongs in the other.
 */

:root {
  --paper: #fcfdff;
  --surface: #ffffff;
  --ink: #001c2e;
  --ink-700: #1b3a52;
  --ink-500: #4c6476;
  --ink-300: #8fa3b2;
  --blue: #0080fc;
  --blue-600: #0a63d6;
  --blue-700: #0b4fa8;
  --blue-050: #e6f2ff;
  --border: #e3e9f0;

  --page: min(1200px, 100% - 2.5rem);
  --sans: 'Assistant', system-ui, sans-serif;
  --display: 'Heebo', 'Assistant', system-ui, sans-serif;

  --lift:
    0 0.5px 1.7px -0.5px rgb(0 28 46 / 0.05),
    0 1.7px 5px -1px rgb(0 28 46 / 0.045),
    0 4.5px 13px -1.5px rgb(0 28 46 / 0.04),
    0 11px 31px -2px rgb(0 28 46 / 0.045);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-700);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin: 0;
}
h3 { letter-spacing: -0.03em; line-height: 1.12; }
p { margin: 0; }
a { color: inherit; }

.wrap { width: var(--page); margin-inline: auto; }

/* ── header ─────────────────────────────────────────────────────────── */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(252 253 255 / 0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
header.scrolled { border-bottom-color: var(--border); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 0.8rem; }

.mark {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: -0.045em;
  color: var(--ink);
  text-decoration: none;
}
.mark i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); display: block; }

nav { display: flex; gap: 1.7rem; font-size: 0.93rem; }
nav a { text-decoration: none; color: var(--ink-500); transition: color 0.2s; }
nav a:hover { color: var(--ink); }

/* ── buttons ────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.25s, background 0.2s;
}
.btn-primary {
  /* Darkened from Billow's exact stops: white on their midpoint measures
     4.36:1, and the label on this button is real text, not decoration. */
  background: linear-gradient(180deg, #1e7bf0 0%, #0a5cc9 100%);
  color: #fff;
  box-shadow:
    0 0.7px 2.7px -1.2px rgb(0 64 255 / 0.22),
    0 2.3px 8.8px -2.3px rgb(0 64 255 / 0.2),
    0 7px 27px -3.5px rgb(0 64 255 / 0.18);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 3px -1px rgb(0 64 255 / 0.26),
    0 4px 14px -2px rgb(0 64 255 / 0.26),
    0 12px 34px -4px rgb(0 64 255 / 0.22);
}
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--ink-300); transform: translateY(-1px); }
.btn .arrow { font-size: 0.8em; opacity: 0.8; }

/* ── pill eyebrow ───────────────────────────────────────────────────── */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.82rem;
  color: var(--ink-500);
  box-shadow: 0 1px 2px rgb(0 28 46 / 0.04);
}
.pill b { color: var(--blue-700); font-weight: 700; }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* ── hero ───────────────────────────────────────────────────────────── */

.hero { position: relative; padding-top: clamp(3.5rem, 9vh, 6.5rem); text-align: center; }

/*
 * The orbs. Three blurred blue ellipses behind the product shot, which is
 * what gives the page its light — the ground itself stays white.
 */
.orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.orbs span { position: absolute; border-radius: 50%; filter: blur(70px); }
/*
 * Sized and placed against the product shot, not the viewport. They sit just
 * behind and above the top edge of the frame so the screen looks lit from
 * behind — at the earlier opacity they read as a printing fault instead.
 */
.orbs .o1 { width: 42vw; height: 26vw; inset-inline-start: -4vw; top: 52%; background: #2a8afc; opacity: 0.62; }
.orbs .o2 { width: 38vw; height: 24vw; inset-inline-end: -3vw; top: 56%; background: #56c2ff; opacity: 0.6; }
.orbs .o3 { width: 40vw; height: 20vw; inset-inline-start: 30vw; top: 64%; background: #0080fc; opacity: 0.4; }
.orbs .o4 { width: 26vw; height: 14vw; inset-inline-start: 22vw; top: 46%; background: #8fd6ff; opacity: 0.5; }

/*
 * Everything except the orb layer. `.hero > *` and `.orbs` have the same
 * specificity, so this rule was winning and turning the absolutely-positioned
 * orb layer relative — which collapsed it to zero height and put every orb
 * off the top of the page. The effect vanished with no error anywhere.
 */
.hero > *:not(.orbs) { position: relative; z-index: 1; }

.hero h1 { margin-top: 1.6rem; font-size: clamp(2.6rem, 7vw, 5.4rem); }
.hero p.lede {
  margin: 1.5rem auto 0;
  max-width: 42rem;
  color: var(--ink-500);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
}
.hero p.lede b { color: var(--ink); font-weight: 700; }
.hero .cta { margin-top: 2rem; display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; }
.hero .fine { margin-top: 0.9rem; font-size: 0.83rem; color: var(--ink-300); }

/* ── product frames ─────────────────────────────────────────────────── */

.frame { border-radius: 13px; overflow: hidden; background: var(--surface); box-shadow: var(--lift); }
.frame img { display: block; width: 100%; height: auto; }
.hero-shot { margin-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 8vw, 6rem); position: relative; z-index: 1; }

/* ── sections ───────────────────────────────────────────────────────── */

section { padding-block: clamp(3.5rem, 8vw, 6.5rem); position: relative; }

.statement { text-align: center; }
.statement h2 { font-size: clamp(2rem, 4.8vw, 3.6rem); }
.statement p { margin: 1.2rem auto 0; max-width: 38rem; color: var(--ink-500); }

/* A soft blue wash marking a section break. */
.wash::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: -6rem;
  height: 26rem;
  background: radial-gradient(50% 50% at 50% 50%, rgb(0 128 252 / 0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* ── three-up cards ─────────────────────────────────────────────────── */

.cards { display: grid; gap: 1rem; }
@media (min-width: 860px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 1.6rem;
  box-shadow: 0 1px 2px rgb(0 28 46 / 0.03);
}
.card h3 { font-size: 1.22rem; }
.card p { margin-top: 0.6rem; font-size: 0.95rem; color: var(--ink-500); }

/* ── feature blocks ─────────────────────────────────────────────────── */

.feature-head { display: grid; gap: 1.2rem; align-items: end; margin-bottom: 2.2rem; }
@media (min-width: 900px) { .feature-head { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.feature-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.feature-head p { color: var(--ink-500); font-size: 1rem; }
.feature-head ul { margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.55rem; }
.feature-head li { display: flex; gap: 0.6rem; font-size: 0.95rem; color: var(--ink-500); }
.feature-head li::before { content: '→'; color: var(--blue); flex-shrink: 0; }

/* ── numbers ────────────────────────────────────────────────────────── */

.numbers { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 13px; overflow: hidden; }
@media (min-width: 720px) { .numbers { grid-template-columns: repeat(4, 1fr); } }
.numbers div { background: var(--surface); padding: 1.7rem 1.4rem; text-align: center; }
.numbers b { display: block; font-family: var(--display); font-weight: 800; font-size: 2.2rem; line-height: 1; letter-spacing: -0.04em; color: var(--ink); }
.numbers span { display: block; margin-top: 0.45rem; font-size: 0.86rem; color: var(--ink-500); }

/* ── phones ─────────────────────────────────────────────────────────── */

.phones { display: flex; gap: 1.4rem; justify-content: center; flex-wrap: wrap; }
.phone { width: 232px; border-radius: 32px; border: 8px solid var(--ink); overflow: hidden; background: var(--ink); box-shadow: var(--lift); }
.phone img { display: block; width: 100%; height: auto; }

/* ── footer ─────────────────────────────────────────────────────────── */

footer { background: var(--ink); color: #b9cbd9; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
footer .mark { color: #fff; }
footer .grid { display: grid; gap: 2.5rem; }
@media (min-width: 760px) { footer .grid { grid-template-columns: 1.5fr 1fr 1fr; } }
footer h4 { margin: 0 0 0.85rem; font-size: 0.78rem; letter-spacing: 0.09em; color: #6d8698; font-weight: 700; }
footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; font-size: 0.93rem; }
footer a { text-decoration: none; opacity: 0.88; transition: opacity 0.2s; }
footer a:hover { opacity: 1; }
footer .fine { margin-top: 2.8rem; padding-top: 1.4rem; border-top: 1px solid rgb(255 255 255 / 0.1); font-size: 0.83rem; color: #6d8698; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ── scroll reveal ──────────────────────────────────────────────────── */

/*
 * Hidden only once JavaScript has said it is there to bring them back. A page
 * whose content starts at opacity 0 is a blank page to anything that does not
 * run the observer — a crawler, a reader mode, a blocked script.
 */
html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.65s ease, transform 0.65s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}

/* ── small screens ──────────────────────────────────────────────────── */

@media (max-width: 760px) {
  /* The nav goes; at 390px the CTA was pushed clean off the end of the page. */
  nav { display: none; }
  header .wrap { padding-block: 0.65rem; }
  .btn { padding: 0.65rem 1.1rem; font-size: 0.9rem; }
  body { font-size: 16px; }
  .orbs span { filter: blur(55px); }
}

/* ═══ multi-page additions ═══════════════════════════════════════════ */

.skip {
  position: absolute;
  inset-inline-start: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: 0 0 8px 8px;
}
.skip:focus { inset-inline-start: 1rem; }

/* ── header: active state, mobile menu ─────────────────────────────── */

.desk-nav a[aria-current='page'] { color: var(--ink); font-weight: 600; }
.head-actions { display: flex; align-items: center; gap: 0.6rem; }

.burger {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
  z-index: 2;
}
.burger span {
  position: absolute;
  inset-inline-start: 13px;
  width: 16px;
  height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.18s;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 20.2px; }
.burger span:nth-child(3) { top: 25.4px; }
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(5.2px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; transform: scaleX(0.4); }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-5.2px) rotate(-45deg); }

/*
 * The menu opens as a circle growing out of the button that opened it.
 *
 * It used to be a block inside the header, so opening it pushed the whole
 * page down and the reader lost their place. Now it covers the page, and the
 * reveal is a clip-path circle centred on the burger — the panel appears to
 * come out of the thing you pressed rather than fading in from nowhere.
 * Composited on the GPU, so it stays smooth on a mid-range phone.
 */
.menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  background:
    radial-gradient(80% 50% at 50% 0%, rgb(0 128 252 / 0.22) 0%, transparent 65%),
    var(--ink);
  clip-path: circle(0% at var(--mx, 90%) var(--my, 3rem));
  transition: clip-path 0.72s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: clip-path;
}
.menu[hidden] { display: none; }
.menu.open { clip-path: circle(150% at var(--mx, 90%) var(--my, 3rem)); }

.menu-inner {
  width: var(--page);
  margin-inline: auto;
  padding-top: calc(env(safe-area-inset-top, 0px) + 6rem);
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 2.2rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

.menu-nav { display: flex; flex-direction: column; }
.menu-nav a {
  /* The mask each label rises out of. */
  overflow: hidden;
  display: block;
  padding-block: 0.45rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
  text-decoration: none;
}
.menu-nav a:last-child { border-bottom: 0; }
.menu-nav .l {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: clamp(2.1rem, 11vw, 3.4rem);
  line-height: 1.24;
  color: #fff;
  transform: translateY(115%);
  transition: transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}
.menu.open .menu-nav .l { transform: none; }
.menu.open .menu-nav a:nth-child(1) .l { transition-delay: 0.14s; }
.menu.open .menu-nav a:nth-child(2) .l { transition-delay: 0.2s; }
.menu.open .menu-nav a:nth-child(3) .l { transition-delay: 0.26s; }
.menu.open .menu-nav a:nth-child(4) .l { transition-delay: 0.32s; }
.menu-nav a[aria-current='page'] .l { color: #6bb6ff; }

.menu-foot {
  display: grid;
  gap: 1.1rem;
  justify-items: start;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease 0.42s, transform 0.5s ease 0.42s;
}
.menu.open .menu-foot { opacity: 1; transform: none; }
.menu-foot .btn { width: 100%; justify-content: center; padding-block: 1rem; font-size: 1rem; }
.menu-mail { color: rgb(255 255 255 / 0.6); font-size: 0.95rem; text-decoration: none; }

/*
 * The header sits above the panel so the logo and the close stay put — which
 * means its own light background was painting a pale band across the top of
 * the ink. It steps aside while the menu is open.
 */
body.menu-open #top-bar {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

/* The burger sits above the panel and turns white once it is over the ink. */
body.menu-open .burger { background: transparent; border-color: rgb(255 255 255 / 0.28); }
body.menu-open .burger span { background: #fff; }
body.menu-open .mark { color: #fff; }

body.menu-open { overflow: hidden; }

@media (max-width: 860px) {
  .desk-nav, .cta-desk { display: none; }
  .burger { display: block; }
}
@media (min-width: 861px) {
  /* Never leave it open behind a resize to desktop. */
  .menu { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  /* No circle and no rising lines — the panel simply appears. */
  .menu { transition: none; clip-path: none; opacity: 0; visibility: hidden; }
  .menu.open { opacity: 1; visibility: visible; }
  .menu-nav .l { transform: none; transition: none; }
  .menu-foot { opacity: 1; transform: none; transition: none; }
  .burger span { transition: none; }
}

/* ── page hero (every page except home) ─────────────────────────────── */

.page-hero { padding-block: clamp(3rem, 7vw, 5rem) clamp(2rem, 4vw, 3rem); text-align: center; position: relative; }
.page-hero::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: -3rem;
  height: 22rem;
  background: radial-gradient(50% 50% at 50% 50%, rgb(0 128 252 / 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero > * { position: relative; }
.page-hero h1 { margin-top: 1.1rem; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-hero p { margin: 1.1rem auto 0; max-width: 40rem; color: var(--ink-500); }

/* ── split rows (text beside a screenshot, alternating) ─────────────── */

.split { display: grid; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 940px) {
  .split { grid-template-columns: 0.85fr 1.15fr; }
  .split.flip > .frame, .split.flip > .shot-col { order: -1; }
}
.split h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.split > div > p { margin-top: 0.8rem; color: var(--ink-500); }
.split ul { margin: 1.1rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.6rem; }
.split li { display: flex; gap: 0.6rem; font-size: 0.96rem; color: var(--ink-500); }
.split li::before { content: '→'; color: var(--blue); flex-shrink: 0; }
.split + .split { margin-top: clamp(3rem, 7vw, 5.5rem); }

/* ── industry cards ─────────────────────────────────────────────────── */

.industry {
  display: grid;
  gap: 1.6rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgb(0 28 46 / 0.03);
  scroll-margin-top: 6rem;
}
@media (min-width: 880px) { .industry { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.industry + .industry { margin-top: 1.2rem; }
.industry h3 { font-size: 1.5rem; }
.industry p { margin-top: 0.7rem; color: var(--ink-500); font-size: 0.97rem; }
.industry .kit { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.industry .kit li {
  font-size: 0.82rem;
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-700);
}
.industry .kit-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; color: var(--ink-300); margin-bottom: 0.6rem; }

/* ── FAQ ────────────────────────────────────────────────────────────── */

.faq { display: grid; gap: 0.6rem; max-width: 48rem; margin-inline: auto; }
.faq details { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 1.3rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--blue); font-weight: 400; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { padding: 0 1.3rem 1.2rem; color: var(--ink-500); font-size: 0.96rem; }

/* ── spec list ──────────────────────────────────────────────────────── */

.specs { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 13px; overflow: hidden; }
@media (min-width: 760px) { .specs { grid-template-columns: repeat(2, 1fr); } }
.specs div { background: var(--surface); padding: 1.3rem 1.5rem; }
.specs dt { font-weight: 700; color: var(--ink); font-size: 0.97rem; }
.specs dd { margin: 0.35rem 0 0; color: var(--ink-500); font-size: 0.93rem; }

/* ── closing band ───────────────────────────────────────────────────── */

.band {
  background: var(--ink);
  color: #cfe0ec;
  border-radius: 16px;
  padding: clamp(2.2rem, 5vw, 3.6rem);
  text-align: center;
}
.band h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.band p { margin: 1rem auto 0; max-width: 34rem; opacity: 0.85; }
.band .cta { margin-top: 1.7rem; display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; }
.band .btn-ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.25); }
.band .btn-ghost:hover { border-color: rgb(255 255 255 / 0.5); background: rgb(255 255 255 / 0.06); }

/* ── contact ────────────────────────────────────────────────────────── */

.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 880px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.contact-card { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); padding: 1.8rem; }
.contact-card h3 { font-size: 1.15rem; }
.contact-card a.big { display: block; margin-top: 0.7rem; font-size: 1.15rem; font-weight: 600; color: var(--blue-700); text-decoration: none; }
.contact-card a.big:hover { text-decoration: underline; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 1.1rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start; }
.steps li::before {
  content: counter(s);
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--blue-050);
  color: var(--blue-700);
  font-weight: 700;
  font-size: 0.82rem;
}
.steps b { display: block; color: var(--ink); }
.steps span { color: var(--ink-500); font-size: 0.95rem; }

.lead-tight { max-width: 40rem; margin-inline: auto; color: var(--ink-500); }

/* ── the eight processes ────────────────────────────────────────────── */

.process { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; margin-top: 2.6rem; }
@media (min-width: 620px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .process { grid-template-columns: repeat(4, 1fr); } }
.process article { background: var(--surface); padding: 1.5rem 1.4rem; }
.process h3 { font-size: 1.08rem; }
.process p { margin-top: 0.5rem; font-size: 0.92rem; color: var(--ink-500); line-height: 1.55; }

/* ── the demo flow ──────────────────────────────────────────────────── */

.flow { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; max-width: 46rem; margin-inline: auto; }
.flow li { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding-bottom: 1.8rem; position: relative; }
.flow li:not(:last-child)::before {
  /* The line joining the steps, behind the numbers. */
  content: '';
  position: absolute;
  inset-inline-start: 17px;
  top: 38px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}
.flow-n {
  width: 35px; height: 35px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--blue-050);
  color: var(--blue-700);
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}
.flow b { font-family: var(--display); font-weight: 800; font-size: 1.14rem; color: var(--ink); letter-spacing: -0.02em; }
.flow .when {
  display: inline-block;
  margin-inline-start: 0.6rem;
  font-size: 0.76rem;
  color: var(--ink-500);
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.12rem 0.6rem;
  vertical-align: 2px;
}
.flow p { margin-top: 0.45rem; color: var(--ink-500); font-size: 0.96rem; }

/* ── the demo form ──────────────────────────────────────────────────── */

.demo-form {
  display: grid;
  gap: 1rem;
  max-width: 46rem;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: 0 1px 2px rgb(0 28 46 / 0.03);
}
@media (min-width: 640px) { .demo-form { grid-template-columns: 1fr 1fr; } .demo-form .wide { grid-column: 1 / -1; } }
.field { display: grid; gap: 0.35rem; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--ink-300); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--input);
  border-radius: 10px;
  padding: 0.68rem 0.85rem;
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { resize: vertical; min-height: 5rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgb(0 128 252 / 0.15);
}
.field input[aria-invalid='true'], .field select[aria-invalid='true'] { border-color: #dc2626; }
.field .err { font-size: 0.8rem; color: #b3261e; }

/* Off-screen rather than display:none, so a bot still fills it in. */
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form-actions .btn { min-width: 9rem; justify-content: center; }
.form-note { font-size: 0.9rem; color: var(--ink-500); }
.form-note.ok { color: #0f6f39; font-weight: 600; }
.form-note.bad { color: #b3261e; }

.contact-card .muted { margin-top: 0.6rem; color: var(--ink-500); font-size: 0.95rem; }
.contact-card .muted a { color: var(--blue-700); }
