/* DavidAI landing page */

:root {
  --paper: #f6f8f7;
  --surface: #ffffff;
  --surface-2: #eef3f1;
  --ink: #12233f;
  --ink-soft: #4a5a72;
  --line: #dce3e7;
  --green: #157a55;
  --green-tint: #dcf2e5;
  --kunyit: #e9a93b;
  --kunyit-tint: #fbefd6;
  --night: #0c1729;
  --night-line: rgba(255, 255, 255, .1);
  --on-night: #eef3f8;
  --on-night-soft: #a9b6c8;
  --glow-green: rgba(76, 194, 143, .22);
  --glow-kunyit: rgba(233, 169, 59, .14);
  --chat-bg: #e7ede9;
  --bezel: #1f2f4b;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --float-shadow: 0 20px 44px -14px rgba(5, 12, 25, .5);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0e1828;
    --surface: #15223a;
    --surface-2: #1a2943;
    --ink: #e8eef5;
    --ink-soft: #a7b4c6;
    --line: #263652;
    --green: #4cc28f;
    --green-tint: #1d4a3a;
    --kunyit: #f0b955;
    --kunyit-tint: #3b2f17;
    --night: #091221;
    --chat-bg: #0f1c2f;
    --bezel: #26375a;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: inherit; }
img, svg { display: block; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--kunyit);
  outline-offset: 3px;
  border-radius: 6px;
}
[id] { scroll-margin-top: 88px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--kunyit); color: #12233f; padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-sun { background: var(--kunyit); color: #12233f; }
.btn-sun:hover { background: #f6c66c; }
.btn-line { border-color: rgba(255, 255, 255, .28); color: var(--on-night); }
.btn-line:hover { border-color: var(--on-night); background: rgba(255, 255, 255, .06); }
.btn-small { padding: 10px 18px; font-size: 15px; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 23, 41, .84);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--night-line);
  color: var(--on-night);
}
.nav .wrap { display: flex; align-items: center; gap: 36px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -.02em; text-decoration: none; }
.brand svg { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav-links a, .nav-login { font-size: 15px; font-weight: 500; color: var(--on-night-soft); text-decoration: none; }
.nav-links a:hover, .nav-login:hover { color: var(--on-night); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 22px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--night); color: var(--on-night); padding-top: 64px; }
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.hero::before {
  background:
    radial-gradient(640px 460px at 80% 34%, var(--glow-green), transparent 70%),
    radial-gradient(560px 380px at 6% 100%, var(--glow-kunyit), transparent 70%);
}
.hero::after {
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 80%);
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -.04em;
  max-width: 12.5ch;
}
.hero .lede { margin: 0 0 36px; font-size: 20px; line-height: 1.55; color: var(--on-night-soft); max-width: 33em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.works {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  margin-top: 64px;
  padding: 24px 0 28px;
  border-top: 1px solid var(--night-line);
  font-size: 15px;
  color: var(--on-night-soft);
}
.works-title { font-weight: 700; color: var(--on-night); }
.works span { display: inline-flex; align-items: center; gap: 8px; }
.works .ico { color: #4cc28f; }

/* Hero phone + floating cards */
.stage { position: relative; justify-self: end; width: 100%; max-width: 372px; padding: 8px 0 24px; }
.phone {
  background: var(--chat-bg);
  border: 10px solid var(--bezel);
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 44px 90px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08);
}
.phone-top { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--bezel); color: #fff; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--kunyit); color: #12233f; display: grid; place-items: center; font-weight: 800; flex: none; }
.phone-top strong { display: block; font-size: 15px; line-height: 1.2; }
.phone-top span { font-size: 13px; opacity: .75; }
.chat { display: flex; flex-direction: column; gap: 8px; padding: 18px 12px 20px; min-height: 440px; color: var(--ink); }
.day { align-self: center; font-size: 12px; font-weight: 600; color: var(--ink-soft); background: var(--surface); padding: 3px 10px; border-radius: 8px; margin-bottom: 6px; }
.msg { max-width: 86%; padding: 9px 12px 7px; border-radius: 14px; font-size: 15px; line-height: 1.45; }
.msg time { display: block; text-align: right; font-size: 11px; color: var(--ink-soft); margin-top: 2px; }
.msg.in { align-self: flex-start; background: var(--surface); border-top-left-radius: 4px; }
.msg.out { align-self: flex-end; background: var(--green-tint); border-top-right-radius: 4px; }
.note {
  align-self: center;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  background: var(--kunyit-tint);
  border: 1px solid var(--kunyit);
  padding: 4px 11px;
  border-radius: 999px;
}
.note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--kunyit); flex: none; }
.typing { align-self: flex-start; background: var(--surface); border-radius: 14px; padding: 12px 14px; display: none; gap: 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-soft); opacity: .4; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: 1; } }

.js .chat [data-step] { display: none; }
.js .chat [data-step].shown { display: block; animation: pop .28s ease-out; }
.js .chat .note.shown { display: flex; }
.js .chat .typing.on { display: flex; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.float {
  position: absolute;
  z-index: 2;
  width: 210px;
  padding: 14px 16px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--float-shadow);
  font-size: 14px;
  line-height: 1.4;
}
.float-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--green); }
.float strong { display: block; font-size: 15px; }
.float small { display: block; margin-top: 6px; font-size: 12px; color: var(--ink-soft); }
/* both cards hang in the lane left of the phone, overlapping only its bezel */
.float-stock { left: -192px; top: 104px; }
.float-handoff { left: -192px; bottom: 132px; }
.float-handoff .float-head { color: #b07612; }
.js .float { opacity: 0; transform: translateY(10px); transition: opacity .4s ease-out, transform .4s ease-out; }
.js .float.lit { opacity: 1; transform: none; }

.stage-caption { margin: 18px 0 0; font-size: 14px; color: var(--on-night-soft); text-align: center; }
.replay { font: inherit; font-weight: 700; color: #4cc28f; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Sections */
.section { padding: 112px 0; }
/* consecutive light sections share one gap instead of stacking two paddings */
.section:not(.section-night) + .section:not(.section-night) { padding-top: 0; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head h2, .split-head h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.03em;
}
.section-head p, .split-head p { margin: 0; font-size: 19px; color: var(--ink-soft); }
h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.25; font-weight: 700; letter-spacing: -.015em; }

/* Question wall */
.q-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.split-head { margin: 0; }
.q-wall { display: flex; flex-wrap: wrap; gap: 14px 12px; }
.q {
  margin: 0;
  padding: 10px 16px 11px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px 18px 18px 4px;
  font-size: 16px;
  line-height: 1.4;
}
.q small { display: block; font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.q:nth-child(4n+2) { margin-left: 24px; }
.q:nth-child(4n+3) { background: var(--green-tint); border-color: transparent; }
.q:nth-child(5n) { margin-left: 48px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.tile p { margin: 0; color: var(--ink-soft); }
.tile-wide { grid-column: span 2; }
.tile-night { background: var(--night); color: var(--on-night); border-color: transparent; }
.tile-night p { color: var(--on-night-soft); }
.tile-green { background: var(--green-tint); border-color: transparent; }
.tile-green p { color: var(--ink); }
.mini { margin-top: auto; padding: 16px; background: var(--surface-2); border-radius: var(--r-md); font-size: 14px; }
.tile-night .mini { background: rgba(255, 255, 255, .06); }

.flow { display: grid; grid-template-columns: minmax(0, 1.1fr) auto minmax(0, 1fr); gap: 16px; align-items: center; }
.flow-arrow { color: var(--green); }
.mini-label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.rows { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.rows li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 10px; border-radius: 8px; background: var(--surface); }
.rows li.match { background: var(--kunyit-tint); box-shadow: inset 0 0 0 1px var(--kunyit); font-weight: 700; }
.rows b { font-weight: 700; white-space: nowrap; }
.bubble { padding: 10px 12px; background: var(--surface); border-radius: 14px 14px 14px 4px; line-height: 1.45; }
.bubble mark { background: var(--kunyit-tint); color: inherit; padding: 0 3px; border-radius: 4px; font-weight: 700; }

.stock li { background: transparent; border-bottom: 1px solid var(--night-line); border-radius: 0; padding: 8px 2px; }
.stock li:last-child { border-bottom: 0; }
.stock .qty { color: #4cc28f; font-weight: 700; }
.stock .qty.zero { color: #f0b955; }
.synced { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12px; color: var(--on-night-soft); }
.synced::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4cc28f; box-shadow: 0 0 0 4px rgba(76, 194, 143, .2); }

.inbox li { align-items: center; }
.who { display: flex; flex-direction: column; min-width: 0; }
.who b { font-size: 14px; }
.who span { font-size: 12px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill { flex: none; padding: 2px 9px; font-size: 12px; font-weight: 700; border-radius: 999px; background: var(--green-tint); color: var(--green); }
.pill.staff { background: var(--kunyit-tint); color: #8a5a07; }
.pill.done { background: var(--surface-2); color: var(--ink-soft); }
@media (prefers-color-scheme: dark) { .pill.staff { color: var(--kunyit); } }

.big-type { margin-top: auto; font-size: clamp(44px, 5vw, 64px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.tile-green .big-type { font-size: clamp(38px, 3.8vw, 50px); }
.big-type small { display: block; margin-top: 10px; font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--ink-soft); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 23px; left: 24px; right: 24px; height: 2px; background: linear-gradient(90deg, var(--green), var(--kunyit)); opacity: .45; }
.steps li { position: relative; counter-increment: step; }
.steps li::before {
  content: counter(step);
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 0 0 8px var(--paper);
}
.steps p { margin: 0; color: var(--ink-soft); }

/* Use-case tabs */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; margin-bottom: 28px; background: var(--surface-2); border-radius: 999px; }
.tab { font: inherit; font-size: 15px; font-weight: 700; color: var(--ink-soft); background: transparent; border: 0; padding: 10px 20px; border-radius: 999px; cursor: pointer; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.tab .tag { margin-left: 6px; }
.panel {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px;
  padding: 44px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.panel[hidden] { display: none; }
.panel h3 { margin-bottom: 14px; }
.list { margin: 0 0 32px; padding: 0; list-style: none; display: grid; gap: 12px; }
.list:last-child { margin-bottom: 0; }
.list li { display: flex; gap: 12px; align-items: flex-start; }
.list .ico { margin-top: 3px; color: var(--green); }
.list.stop .ico { color: var(--kunyit); }
.panel-chat { display: flex; flex-direction: column; gap: 8px; align-self: start; padding: 20px 14px; background: var(--chat-bg); border-radius: var(--r-md); }
.panel-chat .msg { max-width: 92%; }
.tag { display: inline-block; padding: 1px 9px; font-size: 12px; font-weight: 700; border-radius: 999px; background: var(--kunyit-tint); color: var(--ink); border: 1px solid var(--kunyit); vertical-align: 2px; }

/* Guardrails */
.section-night { position: relative; overflow: hidden; background: var(--night); color: var(--on-night); }
.section-night::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 100% 0%, var(--glow-green), transparent 70%); pointer-events: none; }
.section-night .wrap { position: relative; }
.section-night .section-head p { color: var(--on-night-soft); }
.guards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--night-line); border: 1px solid var(--night-line); border-radius: var(--r-lg); overflow: hidden; }
.guard { padding: 34px 32px; background: var(--night); }
.guard p { margin: 0; color: var(--on-night-soft); }
.guard-ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 22px; border-radius: 14px; background: rgba(76, 194, 143, .14); color: #4cc28f; }
.guard-ico .ico { width: 22px; height: 22px; }

/* Architecture */
.arch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.arch-col { display: grid; gap: 14px; }
.node { padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.node b { display: block; font-size: 16px; }
.node span { font-size: 14px; color: var(--ink-soft); }
.node-out { border-left: 4px solid var(--green); }
.node-out.handoff { border-left-color: var(--kunyit); }
.core { position: relative; padding: 32px; background: var(--night); color: var(--on-night); border-radius: var(--r-lg); }
.core::before, .core::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40px;
  height: 2px;
  background: var(--ink-soft);
  opacity: .5;
}
.core::before { right: 100%; margin-right: 8px; }
.core::after { left: 100%; margin-left: 8px; }
.core h3 { display: flex; align-items: center; gap: 10px; }
.core h3 svg { width: 26px; height: 26px; }
.core-steps { margin: 18px 0 24px; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; counter-reset: core; }
.core-steps li { counter-increment: core; display: flex; gap: 10px; align-items: baseline; font-size: 15px; }
.core-steps li::before { content: counter(core); flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .1); font-size: 12px; font-weight: 700; }
.sources { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.source { padding: 12px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .06); font-size: 13px; line-height: 1.4; color: var(--on-night-soft); }
.source b { display: block; margin-bottom: 2px; font-size: 14px; color: var(--on-night); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.faq-grid .split-head { position: sticky; top: 108px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { position: relative; padding: 22px 48px 22px 0; font-size: 18px; font-weight: 700; line-height: 1.4; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  background:
    linear-gradient(currentColor, currentColor) center / 16px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 16px no-repeat;
  transition: transform .2s ease-out;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; max-width: 62ch; color: var(--ink-soft); }

/* Closing CTA */
.closing { padding: 0 0 112px; }
.closing-panel {
  position: relative;
  overflow: hidden;
  padding: 80px 72px;
  background: var(--night);
  color: var(--on-night);
  border-radius: 36px;
}
.closing-panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(520px 360px at 92% 110%, var(--glow-kunyit), transparent 70%), radial-gradient(520px 360px at 0% 0%, var(--glow-green), transparent 70%); pointer-events: none; }
.closing-panel > * { position: relative; }
.closing-panel h2 { margin: 0 0 16px; max-width: 16ch; font-size: clamp(32px, 4.2vw, 54px); line-height: 1.05; font-weight: 800; letter-spacing: -.035em; }
.closing-panel p { margin: 0 0 36px; max-width: 34em; font-size: 19px; color: var(--on-night-soft); }
.closing-mail { margin-left: 8px; font-size: 15px; color: var(--on-night-soft); }

/* Footer */
.footer { padding: 56px 0 48px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.footer .brand { color: var(--ink); margin-bottom: 12px; }
.footer p { margin: 0; max-width: 34em; }
.footer h4 { margin: 0 0 14px; font-size: 15px; color: var(--ink); }
.footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer .footer-base { margin-top: 48px; font-size: 14px; }

/* Responsive */
@media (max-width: 1180px) {
  .float { width: 186px; }
  .float-stock, .float-handoff { left: -168px; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .stage { justify-self: center; }
  .q-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .faq-grid .split-head { position: static; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-wide { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .steps::before { display: none; }
  .panel { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 32px; }
  .guards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arch { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .core::before, .core::after { top: auto; left: 50%; right: auto; width: 2px; height: 40px; margin: 0; }
  .core::before { bottom: 100%; margin-bottom: 8px; }
  .core::after { top: 100%; margin-top: 8px; }
  .closing-panel { padding: 56px 40px; }
  .section { padding: 88px 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  body { font-size: 16px; }
  .nav-login { display: none; }
  .hero .lede { font-size: 18px; }
  .float { display: none; }
  .chat { min-height: 0; }
  .phone { border-width: 8px; border-radius: 32px; }
  .works { margin-top: 48px; gap: 10px 20px; }
  .q:nth-child(n) { margin-left: 0; }
  .bento, .guards, .steps { grid-template-columns: minmax(0, 1fr); }
  .tile { padding: 24px; }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow-arrow { transform: rotate(90deg); justify-self: center; }
  .panel { padding: 24px; }
  .tabs { border-radius: 24px; }
  .tab { padding: 10px 14px; }
  .core { padding: 24px; }
  .core-steps, .sources { grid-template-columns: minmax(0, 1fr); }
  .closing-panel { padding: 44px 24px; border-radius: 28px; }
  .closing-mail { display: block; margin: 14px 0 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .section { padding: 72px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .chat [data-step].shown { animation: none; }
  .typing i { animation: none; }
  .js .float { transition: none; }
  .faq summary::after { transition: none; }
}
