/* Route11 public site. One dark look. Colours are the variables below and nothing else new. */

@font-face { font-family: 'Unbounded'; src: url('/fonts/unbounded-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Unbounded'; src: url('/fonts/unbounded-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/fonts/manrope-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/fonts/manrope-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/fonts/manrope-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/fonts/manrope-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('/fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('/fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --space: #050807;
  --panel: #0C1612;
  --panel-2: #10201A;
  --line: #1C2E26;
  --text: #ECF5F0;
  --muted: #9DB3A8;
  --green: #19C39C;
  --on-green: #04130D;
  --saffron: #F5A524;
  --on-saffron: #1F1300;
  --coral: #FF6B4A;
  --on-coral: #1F0A04;
  --mint: #8EF0CB;
  --on-mint: #04130D;
  --code-bg: #08110D;
  --paper: var(--space);
  --surface: var(--panel);
  --ink: var(--text);
  --rule: var(--line);
  --sign: var(--green);
  --sign-deep: var(--green);
  --on-sign: var(--on-green);
  --amber: var(--saffron);
  --amber-ink: var(--on-saffron);
  --stop: var(--coral);
  --code-ink: var(--text);
  --focus: var(--saffron);
  --area: var(--green);
  --display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --body: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --measure: 68ch;
  --radius-sign: 22px;
  --radius-small: 12px;
  color-scheme: dark;
}
body[data-area="product"] { --area: var(--green); }
body[data-area="docs"] { --area: var(--mint); }
body[data-area="pricing"] { --area: var(--saffron); }
body[data-area="security"] { --area: var(--coral); }

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

a { color: var(--mint); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Top bar */
.bar {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--rule);
}
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.logo { width: 40px; height: 40px; flex: none; }
.bar nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px 20px;
  min-width: 0;
  font-weight: 600;
  font-size: 0.98rem;
}
.bar nav a { color: var(--muted); text-decoration: none; padding-block: 4px; border-bottom: 2px solid transparent; }
.bar nav a:hover { color: var(--text); text-decoration: none; }
.bar nav a[data-c="product"] { --navc: var(--green); }
.bar nav a[data-c="docs"] { --navc: var(--mint); }
.bar nav a[data-c="pricing"] { --navc: var(--saffron); }
.bar nav a[data-c="security"] { --navc: var(--coral); }
.bar nav a[data-c="signin"], .bar nav a[data-c="start"] { --navc: var(--green); }
.bar nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--navc, var(--green)); }
.product-nav summary[data-c="product"] { --navc: var(--green); }
.product-nav summary[aria-current="page"] { color: var(--text); border-bottom: 2px solid var(--green); }
.product-nav { position: static; }
.product-nav summary {
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  font-weight: 600;
}
.product-nav summary::-webkit-details-marker { display: none; }
.product-nav summary::marker { content: ''; }
.product-nav summary:hover { text-decoration: underline; }
.product-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 6;
  width: min(880px, calc(100% - 32px));
  max-height: calc(100dvh - 88px);
  padding: 18px;
  overflow: auto;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 12px;
  box-shadow: 0 16px 40px color-mix(in srgb, var(--space) 12%, transparent);
  transform: translateX(-50%);
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 18px 16px;
}
.product-nav[open] .product-panel,
.product-nav:hover .product-panel,
.product-nav:focus-within .product-panel {
  display: grid;
}
.product-panel > div { min-width: 0; }
.product-panel p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.product-panel a {
  display: block;
  padding: 4px 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}
.product-panel a:hover { text-decoration: underline; }
#productTitle {
  max-width: 36em;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.3;
}
.product-groups {
  display: grid;
  gap: 28px;
}
.product-groups h2 { margin-bottom: 4px; }
.product-groups article { padding-top: 8px; }
.product-groups h3 {
  margin: 18px 0 6px;
  font-size: 1.15rem;
  font-weight: 800;
}
.product-groups p {
  margin: 0 0 8px;
  max-width: var(--measure);
}

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 18px;
  border-radius: var(--radius-small);
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  border: 2px solid var(--sign); background: var(--sign); color: var(--on-sign);
}
.button:hover { background: var(--sign-deep); border-color: var(--sign-deep); }
.button.quiet { background: transparent; color: var(--ink); border-color: var(--rule); }
.button.quiet:hover { border-color: var(--ink); }
.bar nav .button { color: var(--on-sign); min-height: 38px; padding: 6px 14px; }

/* Hero: the guide sign */
.hero { padding: 56px 0 40px; }
.sign {
  background: var(--sign);
  color: var(--on-sign);
  border-radius: var(--radius-sign);
  padding: 10px;
}
.sign-face {
  border: 3px solid var(--on-sign);
  border-radius: calc(var(--radius-sign) - 8px);
  padding: clamp(28px, 6vw, 64px);
  display: grid;
  gap: 28px;
}
.sign h1 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(2.5rem, 7.5vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  max-width: 13ch;
}
.sign p { margin: 0; font-size: clamp(1.1rem, 2.2vw, 1.35rem); line-height: 1.5; max-width: 46ch; }
.exits { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.exits li {
  border: 2px solid var(--on-sign); border-radius: 999px;
  padding: 4px 14px; font-weight: 600; font-size: 0.95rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Sections */
section { padding: 56px 0; border-top: 1px solid var(--rule); }
section h2 { margin: 0 0 12px; font-size: clamp(1.6rem, 3.2vw, 2.25rem); line-height: 1.15; letter-spacing: -0.015em; font-weight: 800; max-width: 26ch; }
section .lede { margin: 0 0 32px; color: var(--muted); max-width: var(--measure); }

/* The route: a sequence of stops along one line */
.route { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.route::before {
  content: ''; position: absolute; left: 10px; right: 10px; top: 13px; height: 6px;
  background: repeating-linear-gradient(90deg, var(--sign) 0 26px, transparent 26px 36px);
  border-radius: 3px;
}
.route li { position: relative; padding: 44px 16px 0 0; }
.route li::before {
  content: ''; position: absolute; left: 0; top: 4px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--surface); border: 5px solid var(--sign);
}
.route li.retry::before { border-color: var(--amber); }
.route h3 { margin: 0 0 6px; font-size: 1.1rem; font-weight: 800; }
.route p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* Receipt */
.split { display: grid; grid-template-columns: 1fr minmax(300px, 440px); gap: 48px; align-items: start; }
.split p { max-width: var(--measure); }
.receipt {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: var(--radius-small) var(--radius-small) 0 0;
  padding: 22px 22px 30px;
  font-family: var(--mono), ui-monospace, monospace;
  font-weight: 500;
  font-size: 0.86rem;
  line-height: 1.7;
  position: relative;
  -webkit-mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, var(--text)) 0 0 / 18px 100% repeat-x;
          mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, var(--text)) 0 0 / 18px 100% repeat-x;
}
.receipt .head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px dashed var(--rule); }
.receipt .head strong { font-family: var(--display), sans-serif; font-weight: 800; font-size: 1rem; }
.receipt dl { margin: 0; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; }
.receipt dt { color: var(--muted); }
.receipt dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.receipt .ok { color: var(--sign); }
@media (prefers-color-scheme: dark) { .receipt .ok { color: var(--green); } }
.receipt .warn { color: var(--saffron); }
.receipt .foot { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--rule); overflow-wrap: anywhere; color: var(--muted); }

/* Two-column feature lists */
.columns { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.columns h3 { margin: 0 0 8px; font-size: 1.2rem; font-weight: 800; }
.columns > div > p { margin: 0 0 16px; color: var(--muted); }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { padding: 10px 0 10px 30px; border-top: 1px solid var(--rule); position: relative; }
.ticks li::before {
  content: ''; position: absolute; left: 2px; top: 16px; width: 14px; height: 8px;
  border-left: 3px solid var(--sign); border-bottom: 3px solid var(--sign); transform: rotate(-45deg);
}

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 3px solid var(--ink); }
.facts div { padding: 18px 20px 18px 0; border-bottom: 1px solid var(--rule); }
.facts strong { display: block; font-size: 1.05rem; }
.facts span { color: var(--muted); font-size: 0.98rem; }

.closing { text-align: left; }
.closing .hero-actions { margin-top: 20px; }

footer { border-top: 1px solid var(--rule); padding: 28px 0 40px; color: var(--muted); font-size: 0.95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }

/* Docs */
.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; padding: 40px 0 64px; }
.toc { position: sticky; top: 24px; align-self: start; font-size: 0.95rem; }
.toc p { margin: 0 0 8px; font-weight: 800; }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin: 4px 0; }
.toc a { color: var(--ink); }
.doc { max-width: 76ch; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 12px; font-weight: 800; }
.doc h2 { font-size: 1.5rem; margin: 48px 0 8px; font-weight: 800; padding-top: 16px; border-top: 1px solid var(--rule); }
.doc h3 { font-size: 1.1rem; margin: 24px 0 6px; font-weight: 800; }
.doc p, .doc li { max-width: var(--measure); }
.doc code { font-family: var(--mono), ui-monospace, monospace; font-size: 0.9em; background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; padding: 1px 5px; }
.doc pre {
  background: var(--code-bg); color: var(--code-ink); border-radius: var(--radius-small);
  padding: 16px 18px; overflow-x: auto; font-size: 0.88rem; line-height: 1.6;
}
.doc pre code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
.note { border-left: 6px solid var(--amber); background: var(--surface); padding: 12px 16px; border-radius: 0 var(--radius-small) var(--radius-small) 0; max-width: var(--measure); }
.doc table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.doc th, .doc td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.doc th { border-bottom: 2px solid var(--ink); }

@media (max-width: 900px) {
  .split, .columns, .docs { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .toc { position: static; }
  .route { grid-template-columns: 1fr; gap: 22px; }
  .route::before { left: 9px; right: auto; top: 10px; bottom: 10px; width: 6px; height: auto; background: repeating-linear-gradient(180deg, var(--sign) 0 18px, transparent 18px 26px); }
  .route li { padding: 0 0 0 44px; }
}
@media (max-width: 560px) {
  .bar nav .hide-small { display: none; }
}
.toc .toc-more { margin-top: 20px; }
.docs > * { min-width: 0; }
.doc table { display: block; overflow-x: auto; }
.doc pre { max-width: 100%; }
.doc code { overflow-wrap: anywhere; }
.doc pre code { overflow-wrap: normal; }

/* Home page: reassurance under the main buttons */
.assure { margin: 14px 0 0; color: var(--muted); font-size: 0.98rem; }

/* Home page: the same webhook with and without Route11 */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.compare figure { margin: 0; }
.compare figcaption { font-weight: 800; font-size: 1.1rem; margin: 0 0 12px; }
.compare .receipt dl { grid-template-columns: auto 1fr; }
.compare .receipt dd { text-align: left; }
.receipt .bad { color: var(--stop); }
@media (prefers-color-scheme: dark) { .receipt .bad { color: var(--coral); } }
.receipt.lost { border-top: 6px solid var(--stop); }
.compare .receipt:not(.lost) { border-top: 6px solid var(--sign); }

/* Home page: crash test results */
.proof { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 3px solid var(--ink); }
.proof div { padding: 16px 20px 16px 0; border-bottom: 1px solid var(--rule); }
.proof dt { color: var(--muted); font-size: 0.98rem; }
.proof dd { margin: 4px 0 0; font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.aside { margin: 16px 0 0; color: var(--muted); max-width: var(--measure); }

/* Home page: questions */
.faq { max-width: 76ch; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 600; font-size: 1.08rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; font-weight: 400; color: var(--sign); }
.faq details[open] summary::after { content: '\2212'; }
.faq summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.faq details p { margin: 0 0 18px; color: var(--muted); max-width: var(--measure); }

@media (max-width: 900px) {
  .compare { grid-template-columns: 1fr; }
  .proof { grid-template-columns: 1fr 1fr; }
}

/* Home page: the ride. One webhook, one retry, one delivery, on a loop. */
.ride { margin-top: 28px; }
.ride-track { position: relative; display: flex; justify-content: space-between; padding: 0 0 4px; min-height: 96px; }
.ride-stop { position: relative; z-index: 1; display: grid; gap: 2px; width: 30%; padding-top: 34px; }
.ride-mid { text-align: center; }
.ride-to { text-align: right; }
.ride-stop b { font-weight: 800; font-size: 1.05rem; }
.ride-stop small { color: var(--muted); font-size: 0.9rem; }
.ride-stop::before {
  content: ''; position: absolute; top: 4px; width: 22px; height: 22px; border-radius: 50%; box-sizing: border-box;
  background: var(--paper); border: 5px solid var(--sign);
}
.ride-from::before { left: 0; }
.ride-mid::before { left: calc(50% - 11px); }
.ride-to::before { right: 0; }
.ride-road {
  position: absolute; left: 11px; right: 11px; top: 13px; height: 4px;
  background: repeating-linear-gradient(90deg, var(--sign) 0 18px, transparent 18px 28px);
}
.ride-packet {
  position: absolute; top: 9px; left: 5px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--amber); z-index: 2;
  animation: ride 9s cubic-bezier(.45,.05,.35,1) infinite;
}
.ride-state { position: relative; display: block; min-height: 1.4em; }
.ride-state span { position: absolute; right: 0; white-space: nowrap; opacity: 0; font-weight: 600; }
.ride-state .s-down { color: var(--stop); animation: show-down 9s infinite; }
.ride-state .s-wait { color: var(--saffron); animation: show-wait 9s infinite; }
.ride-state .s-ok { color: var(--sign); animation: show-ok 9s infinite; }
@media (prefers-color-scheme: dark) {
  .ride-state .s-down { color: var(--coral); }
  .ride-state .s-ok { color: var(--green); }
}
.ride-note { animation: show-note 9s infinite; }

@keyframes ride {
  0%, 6%   { left: 5px; }
  22%, 30% { left: calc(50% - 6px); }
  42%      { left: calc(100% - 17px); background: var(--amber); }
  46%      { left: calc(100% - 17px); background: var(--stop); }
  56%, 64% { left: calc(50% - 6px); background: var(--amber); }
  76%      { left: calc(100% - 17px); background: var(--amber); }
  79%, 100% { left: calc(100% - 17px); background: var(--sign); }
}
@keyframes show-note { 0%, 20% { opacity: .35; } 24%, 100% { opacity: 1; } }
@keyframes show-down { 0%, 43% { opacity: 0; } 45%, 54% { opacity: 1; } 56%, 100% { opacity: 0; } }
@keyframes show-wait { 0%, 55% { opacity: 0; } 57%, 74% { opacity: 1; } 76%, 100% { opacity: 0; } }
@keyframes show-ok { 0%, 77% { opacity: 0; } 79%, 97% { opacity: 1; } 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .ride .ride-packet { animation: none; left: calc(100% - 17px); background: var(--sign); }
  .ride .ride-note, .ride .ride-state .s-down, .ride .ride-state .s-wait, .ride .ride-state .s-ok { animation: none; }
  .ride .ride-note { opacity: 1; }
  .ride .ride-state .s-ok { opacity: 1; }
}

/* Home page: code */
.code-split { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); }
@media (max-width: 900px) { .code-split { grid-template-columns: 1fr; } }
.code { margin: 0; background: var(--code-bg); color: var(--code-ink); border-radius: var(--radius-small); overflow: hidden; }
.code figcaption { padding: 10px 18px; font-family: var(--mono), ui-monospace, monospace; font-size: 0.85rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.code pre { margin: 0; padding: 16px 18px 20px; overflow-x: auto; font-family: var(--mono), ui-monospace, monospace; font-size: 0.86rem; line-height: 1.7; }
.code .c-k { color: var(--mint); }
.code .c-s { color: var(--saffron); }
.code .c-m { color: var(--muted); }

/* Home page: what is next */
.next { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; border-top: 3px solid var(--amber); }
.next li { padding: 18px 0 0; }
.next h3 { margin: 0 0 6px; font-size: 1.15rem; font-weight: 800; }
.next p { margin: 0; color: var(--muted); }

@media (max-width: 900px) {
  .next { grid-template-columns: 1fr; gap: 0; }
  .next li { padding: 16px 0; border-bottom: 1px solid var(--rule); }
}
@media (max-width: 560px) {
  .ride-stop b { font-size: 0.95rem; }
  .ride-stop small { font-size: 0.8rem; }
  .ride-state span { white-space: normal; width: 9em; }
  .ride-track { min-height: 112px; }
}

/* Sign-up and sign-in link pages */
.entry > section { padding: 0; border-top: 0; }
.entry > section.panel { border-top: 6px solid var(--sign); padding: 24px; }
.entry { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 56px; padding: 56px 0 72px; align-items: start; }
.entry h1 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 14px; font-weight: 800; text-wrap: balance; }
.entry .lede { color: var(--muted); max-width: 46ch; margin: 0 0 24px; }
.panel { background: var(--surface); border: 1px solid var(--rule); border-top: 6px solid var(--sign); border-radius: var(--radius-small); padding: 24px; display: grid; gap: 14px; }
.panel h2 { margin: 0; font-size: 1.25rem; font-weight: 800; }
.field { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; }
.field input {
  font: inherit; font-weight: 400; min-height: 46px; padding: 10px 12px;
  border: 2px solid var(--rule); border-radius: var(--radius-small);
  background: var(--paper); color: var(--ink);
}
.field input:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--sign); }
.panel .button { width: 100%; }
.panel .small { margin: 0; color: var(--muted); font-size: 0.92rem; }
.panel .error { margin: 0; color: var(--stop); font-weight: 600; }
.panel .sent { margin: 0; border-left: 6px solid var(--sign); padding: 8px 12px; background: var(--paper); }
@media (max-width: 900px) { .entry { grid-template-columns: 1fr; gap: 32px; padding-top: 36px; } }
.panel form { display: grid; gap: 14px; }
[hidden] { display: none !important; }

/* Proof checker (/verify) */
.drop { display: grid; gap: 4px; place-items: center; text-align: center; padding: 28px 16px; border: 2px dashed var(--rule); border-radius: var(--radius-small); cursor: pointer; background: var(--paper); }
.drop:hover, .drop.over { border-color: var(--sign); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.drop-title { font-weight: 800; }
.paste { font: 0.85rem/1.5 var(--mono), ui-monospace, monospace; width: 100%; min-height: 6em; padding: 10px 12px; border: 2px solid var(--rule); border-radius: var(--radius-small); background: var(--paper); color: var(--ink); resize: vertical; }
.result { display: grid; gap: 12px; }
.verdict { margin: 0; padding: 12px 14px; border-radius: var(--radius-small); font-weight: 800; font-size: 1.1rem; }
.verdict.good { background: var(--sign); color: var(--on-sign); }
.verdict.good-pq { background: linear-gradient(90deg, var(--sign), var(--sign-deep)); color: var(--on-sign); box-shadow: inset 0 0 0 3px var(--amber); }
.verdict.partial { background: var(--paper); border-left: 6px solid var(--amber); }
.verdict.bad { background: var(--stop); color: var(--on-coral); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.step { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; animation: step-in 360ms ease both; }
.step div { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.step .mark { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--rule); color: var(--ink); }
.step.ok .mark { background: var(--sign); color: var(--on-sign); }
.step.fail .mark { background: var(--stop); color: var(--on-coral); }
.step.skip .mark { background: var(--amber); color: var(--on-saffron); }
.body-check { border-top: 1px solid var(--rule); padding-top: 10px; display: grid; gap: 8px; }
.body-check summary { cursor: pointer; font-weight: 600; }
.body-check[open] { gap: 10px; }
@keyframes step-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .step { animation: none; } }

/* ---------- Security page ---------- */
.sec-hero {
  --hero-ink: var(--text);
  --hero-muted: var(--muted);
  --hero-line: color-mix(in srgb, var(--green) 16%, transparent);
  --glow: var(--green);
  position: relative;
  overflow: hidden;
  color: var(--hero-ink);
  background:
    radial-gradient(60rem 30rem at 85% -10%, color-mix(in srgb, var(--green) 16%, transparent), transparent 60%),
    radial-gradient(40rem 24rem at -10% 110%, color-mix(in srgb, var(--saffron) 10%, transparent), transparent 60%),
    linear-gradient(var(--hero-line) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--hero-line) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--code-bg);
  padding: 72px 0 56px;
}
.sec-hero a:not(.button) { color: var(--glow); }
.sec-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.sec-eyebrow { font-family: var(--mono), ui-monospace, monospace; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; color: var(--glow); margin: 0 0 12px; }
.sec-hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.02; letter-spacing: -0.025em; margin: 0 0 20px; color: var(--text); }
.sec-lede { font-size: 1.15rem; line-height: 1.6; color: var(--hero-muted); max-width: 40rem; margin: 0; }
.sec-hero .button.sec-quiet { color: var(--hero-ink); border-color: color-mix(in srgb, var(--text) 30%, transparent); }
.sec-hero .button.sec-quiet:hover { border-color: var(--hero-ink); }

.sec-live {
  border: 1px solid color-mix(in srgb, var(--green) 35%, transparent);
  border-radius: var(--radius-sign);
  background: color-mix(in srgb, var(--panel) 72%, transparent);
  backdrop-filter: blur(8px);
  padding: 22px 22px 16px;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--space) 30%, transparent), 0 24px 60px -24px color-mix(in srgb, var(--green) 35%, transparent);
}
.sec-live-title { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: var(--mono), ui-monospace, monospace; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--glow); }
.sec-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 60%, transparent); animation: sec-pulse 2.2s ease-out infinite; }
.sec-live-list { margin: 0; display: grid; gap: 12px; }
.sec-live-list div { border-top: 1px solid color-mix(in srgb, var(--green) 14%, transparent); padding-top: 10px; }
.sec-live-list dt { font-size: 0.82rem; color: var(--hero-muted); }
.sec-live-list dd { margin: 2px 0 0; font-family: var(--mono), ui-monospace, monospace; font-size: 1.02rem; color: var(--text); overflow-wrap: anywhere; }
.sec-live-list dd[data-state="ok"]::before { content: "● "; color: var(--glow); }
.sec-live-list dd[data-state="warn"]::before { content: "● "; color: var(--amber); }
.sec-live-note { margin: 14px 0 0; font-size: 0.8rem; color: var(--hero-muted); }

.sec-chain { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: chain; }
.sec-chain li {
  counter-increment: chain;
  position: relative;
  border: 1px solid color-mix(in srgb, var(--green) 22%, transparent);
  border-radius: 12px;
  padding: 14px 14px 16px;
  background: color-mix(in srgb, var(--panel) 75%, transparent);
  animation: sec-light 7.5s linear infinite;
}
.sec-chain li:nth-child(2) { animation-delay: 1.5s; }
.sec-chain li:nth-child(3) { animation-delay: 3s; }
.sec-chain li:nth-child(4) { animation-delay: 4.5s; }
.sec-chain li:nth-child(5) { animation-delay: 6s; }
.sec-chain li::before { content: "0" counter(chain); display: block; font-family: var(--mono), ui-monospace, monospace; font-size: 0.75rem; color: var(--glow); margin-bottom: 6px; }
.sec-chain b { display: block; color: var(--text); font-size: 1rem; }
.sec-chain small { display: block; margin-top: 4px; color: var(--hero-muted); font-size: 0.85rem; line-height: 1.45; }
.sec-track { position: relative; height: 2px; margin-top: 18px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--green) 35%, transparent), transparent); border-radius: 2px; }
.sec-packet { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 12px 3px color-mix(in srgb, var(--green) 70%, transparent); animation: sec-run 7.5s linear infinite; }

@keyframes sec-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 60%, transparent); } 80%, 100% { box-shadow: 0 0 0 10px transparent; } }
@keyframes sec-run { from { left: 0; } to { left: calc(100% - 8px); } }
@keyframes sec-light {
  0%, 20%, 100% { border-color: color-mix(in srgb, var(--green) 22%, transparent); box-shadow: none; }
  4%, 14% { border-color: color-mix(in srgb, var(--green) 90%, transparent); box-shadow: 0 0 24px -6px color-mix(in srgb, var(--green) 70%, transparent); }
}
@media (prefers-reduced-motion: reduce) {
  .sec-dot, .sec-chain li, .sec-packet { animation: none; }
  .sec-packet { display: none; }
}

.sec-block { padding: 64px 0; }
.sec-block h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); letter-spacing: -0.015em; margin: 0 0 10px; }
.sec-intro { color: var(--muted); max-width: var(--measure); margin: 0 0 28px; font-size: 1.05rem; }
.sec-band { background: var(--surface); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

.sec-layers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: layer; }
.sec-layers li { counter-increment: layer; border: 1px solid var(--rule); border-radius: 14px; padding: 22px; background: var(--surface); position: relative; }
.sec-layers li::before { content: counter(layer); position: absolute; top: 18px; right: 20px; font-family: var(--mono), ui-monospace, monospace; font-size: 2.4rem; line-height: 1; color: var(--muted); }
.sec-layers h3, .sec-ways h3 { margin: 0 0 8px; font-size: 1.15rem; }
.sec-layers p, .sec-ways p { margin: 0; color: var(--muted); line-height: 1.6; }

.sec-table-wrap + .sec-intro { margin-top: 18px; }
.sec-table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: 14px; }
.sec-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.sec-table th, .sec-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--rule); vertical-align: top; line-height: 1.5; }
.sec-table tbody tr:last-child th, .sec-table tbody tr:last-child td { border-bottom: 0; }
.sec-table thead th { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); background: var(--paper); }
.sec-table td:last-child { color: var(--muted); }
.sec-tag { display: inline-block; margin-right: 6px; padding: 2px 9px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; color: var(--ink); }
.sec-tag.ok { background: color-mix(in srgb, var(--sign) 18%, transparent); color: var(--sign); }
.sec-tag.mid { background: color-mix(in srgb, var(--amber) 22%, transparent); color: var(--saffron); }

.sec-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sec-ways article { min-width: 0; border: 1px solid var(--rule); border-radius: 14px; padding: 22px; background: var(--surface); }
.sec-band .sec-ways article { background: var(--paper); }
.sec-code { white-space: pre-wrap; overflow-wrap: anywhere; margin: 12px 0 0; padding: 12px 14px; border-radius: var(--radius-small); background: var(--code-bg); color: var(--code-ink); font-family: var(--mono), ui-monospace, monospace; font-size: 0.88rem; overflow-x: auto; }

.sec-ticks li { margin-bottom: 12px; }
.sec-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sec-pills li { border: 1px solid var(--rule); border-radius: 999px; padding: 8px 14px; background: var(--paper); font-size: 0.95rem; }
.sec-pills li::before { content: "✓ "; color: var(--sign); font-weight: 700; }

.sec-notyet { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: var(--measure); }
.sec-notyet li { border-left: 3px solid var(--amber); padding: 6px 0 6px 16px; color: var(--muted); }
.sec-notyet b { color: var(--ink); }

.sec-report { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.sec-report p { color: var(--muted); max-width: var(--measure); margin: 0; }

@media (max-width: 900px) {
  .sec-hero-grid { grid-template-columns: 1fr; }
  .sec-chain { grid-template-columns: 1fr; margin-top: 40px; }
  .sec-track { display: none; }
  .sec-layers, .sec-ways { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .sec-table { min-width: 0; }
  .sec-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .sec-table, .sec-table tbody, .sec-table tr, .sec-table th, .sec-table td { display: block; }
  .sec-table tbody tr { border-bottom: 1px solid var(--rule); padding: 14px 16px; }
  .sec-table tbody tr:last-child { border-bottom: 0; }
  .sec-table th, .sec-table td { border: 0; padding: 2px 0; }
  .sec-table th[scope="row"] { font-size: 1.05rem; margin-bottom: 4px; }
  .sec-hero { padding: 48px 0 40px; }
}

/* ---------- Pricing page ---------- */
.pr-hero { padding: 64px 0 56px; }
.pr-hero h1 { max-width: 18ch; }
.pr-chai { margin: 22px 0 0; display: inline-block; padding: 10px 16px; border: 1px solid color-mix(in srgb, var(--saffron) 45%, transparent); border-radius: 22px; line-height: 1.5; color: var(--saffron); background: color-mix(in srgb, var(--saffron) 8%, transparent); }
.pr-chai b { color: var(--text); }

.pr-plans-block { padding: 56px 0 24px; }
.pr-plans-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.pr-plans-head h2 { margin: 0; font-size: clamp(1.6rem, 3.2vw, 2.2rem); letter-spacing: -0.015em; }
.pr-plans-block .sec-intro { margin-top: 10px; }
.pr-toggle { display: inline-flex; padding: 4px; border: 1px solid var(--rule); border-radius: 999px; background: var(--surface); }
.pr-toggle button { font: inherit; border: 0; background: transparent; color: var(--muted); padding: 8px 16px; border-radius: 999px; cursor: pointer; min-height: 40px; }
.pr-toggle button[aria-pressed="true"] { background: var(--sign); color: var(--on-sign); }
.pr-toggle button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.pr-save { font-size: 0.78rem; font-weight: 700; margin-left: 4px; color: var(--saffron); background: color-mix(in srgb, var(--amber) 25%, transparent); padding: 2px 8px; border-radius: 999px; }
.pr-toggle button[aria-pressed="true"] .pr-save { color: var(--on-saffron); background: var(--saffron); }

.pr-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.pr-plan { position: relative; display: flex; flex-direction: column; border: 1px solid var(--rule); border-radius: var(--radius-sign); padding: 24px 22px; background: var(--surface); }
.pr-plan h3 { margin: 0; font-size: 1.25rem; }
.pr-for { color: var(--muted); margin: 6px 0 16px; min-height: 3em; line-height: 1.45; }
.pr-price { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.pr-amt { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.pr-talk { font-size: 1.9rem; }
.pr-per { color: var(--muted); }
.pr-billed { color: var(--muted); font-size: 0.88rem; margin: 6px 0 18px; min-height: 1.3em; }
.pr-cta { width: 100%; justify-content: center; text-align: center; }
.pr-feats { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--rule); display: grid; gap: 9px; }
.pr-feats li { padding-left: 24px; position: relative; line-height: 1.45; }
.pr-feats li::before { content: "✓"; position: absolute; left: 0; color: var(--sign); font-weight: 800; }
.pr-best { border: 2px solid var(--sign); box-shadow: 0 24px 60px -30px color-mix(in srgb, var(--sign) 70%, transparent); transform: translateY(-8px); }
.pr-badge { position: absolute; top: -13px; left: 20px; margin: 0; padding: 3px 12px; border-radius: 999px; background: var(--sign); color: var(--on-sign); font-size: 0.78rem; font-weight: 700; }

.pr-promise { display: flex; gap: 16px; align-items: flex-start; margin: 32px 0 0; padding: 18px 22px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--sign) 45%, var(--rule)); background: color-mix(in srgb, var(--sign) 8%, var(--surface)); }
.pr-promise p { margin: 0; line-height: 1.55; }
.pr-promise-mark { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--sign); color: var(--on-sign); font-weight: 800; }

.pr-calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.pr-calc-in, .pr-calc-out { border: 1px solid var(--rule); border-radius: var(--radius-sign); padding: 24px; background: var(--paper); }
.pr-calc-in label { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; margin: 6px 0 10px; }
.pr-calc-in output { font-family: var(--mono), ui-monospace, monospace; color: var(--sign); }
.pr-calc-in input[type="range"] { width: 100%; accent-color: var(--sign); margin: 0 0 22px; min-height: 32px; }
.pr-calc-out { background: var(--code-bg); color: var(--text); border-color: color-mix(in srgb, var(--green) 35%, transparent); }
.pr-calc-plan { margin: 0; color: var(--muted); }
.pr-calc-plan b { color: var(--green); }
.pr-calc-cost { margin: 6px 0 16px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pr-calc-cost span { font-size: 2.6rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.pr-calc-cost small { color: var(--muted); }
.pr-calc-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pr-calc-facts div { border-top: 1px solid color-mix(in srgb, var(--green) 16%, transparent); padding-top: 10px; }
.pr-calc-facts dt { font-size: 0.82rem; color: var(--muted); }
.pr-calc-facts dd { margin: 2px 0 0; font-family: var(--mono), ui-monospace, monospace; font-size: 1.1rem; color: var(--text); }

.pr-cmp .pr-us th, .pr-cmp .pr-us td { background: color-mix(in srgb, var(--sign) 9%, transparent); color: var(--ink); }
.pr-fine { margin: 14px 0 0; color: var(--muted); font-size: 0.88rem; max-width: var(--measure); }

.pr-founding-card { position: relative; overflow: hidden; border-radius: var(--radius-sign); padding: 40px; color: var(--text); background: radial-gradient(40rem 20rem at 100% 0%, color-mix(in srgb, var(--saffron) 22%, transparent), transparent 60%), radial-gradient(30rem 20rem at 0% 100%, color-mix(in srgb, var(--green) 16%, transparent), transparent 60%), var(--code-bg); }
.pr-founding-card h2 { color: var(--text); max-width: 24ch; font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.15; margin: 0 0 12px; }
.pr-founding-card p { color: var(--muted); max-width: 56ch; margin: 0; }
.pr-founding-card .sec-eyebrow { color: var(--saffron); margin-bottom: 10px; }
.pr-founding-card .button.quiet { color: var(--text); border-color: color-mix(in srgb, var(--text) 30%, transparent); }

.pr-faq { display: grid; gap: 10px; max-width: 52rem; }
.pr-faq details { border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); padding: 0 18px; }
.pr-faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style-position: outside; }
.pr-faq details p { margin: 0 0 16px; color: var(--muted); line-height: 1.6; }

@media (max-width: 1100px) { .pr-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pr-best { transform: none; } }
@media (max-width: 720px) {
  .pr-plans, .pr-calc { grid-template-columns: minmax(0, 1fr); }
  .pr-for { min-height: 0; }
  .pr-founding-card { padding: 28px 22px; }
  .pr-calc-facts { grid-template-columns: 1fr; }
}

/* ---------- Home: highway sign at night ---------- */
.home-hero { padding: 40px 0 44px; }
@media (max-width: 640px) {
  .home-hero { padding: 12px 0 28px; }
  .home-hero .wrap { gap: 12px; }
  .home-hero h1 { max-width: none; }
  .home-hero .hero-actions .button { padding: 8px 12px; }
}
.home-hero .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.home-hero .sticker, .home-hero .sticker.sun { transform: none; margin: 0; }
.home-eyebrow { margin: 0; }
.home-hero h1 { margin: 0; max-width: 16ch; }
.home-lede { margin: 0; font-size: clamp(1.1rem, 2.2vw, 1.35rem); line-height: 1.5; max-width: 46ch; }
.home-hero .hero-actions { margin-top: 0; }
.home-hero .exits { margin: 0; }
.home-hero .sign {
  position: relative;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--text) 6%, transparent),
    0 30px 80px -30px color-mix(in srgb, var(--green) 55%, transparent),
    0 0 120px -40px color-mix(in srgb, var(--green) 50%, transparent);
}
.home-hero .sign::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, color-mix(in srgb, var(--text) 10%, transparent) 45%, transparent 60%) no-repeat;
  background-size: 250% 100%; background-position: 120% 0;
  animation: sign-sheen 9s ease-in-out infinite;
}
@keyframes sign-sheen { 0%, 55% { background-position: 120% 0; } 85%, 100% { background-position: -40% 0; } }

.home-hero .ride-stop b { color: var(--text); }
.home-hero .ride-stop small { color: var(--hero-muted); }
.home-hero .ride-stop::before { background: var(--code-bg); border-color: var(--glow); box-shadow: 0 0 14px color-mix(in srgb, var(--green) 55%, transparent); }
.home-hero .ride-road { background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--green) 70%, transparent) 0 18px, transparent 18px 28px); }
.home-hero .ride-packet { box-shadow: 0 0 14px 4px color-mix(in srgb, var(--saffron) 75%, transparent); }
.home-hero .ride-state .s-down { color: var(--coral); }
.home-hero .ride-state .s-wait { color: var(--saffron); }
.home-hero .ride-state .s-ok { color: var(--glow); }
.home-hero .assure { color: var(--hero-muted); }
.home-hero .button.quiet { color: var(--hero-ink); border-color: color-mix(in srgb, var(--text) 30%, transparent); }
.home-hero .button.quiet:hover { border-color: var(--hero-ink); }

.home-hero .sign-face { padding: clamp(26px, 4.5vw, 52px); grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 26px 56px; }
.home-hero .sign h1 { grid-column: 1 / -1; max-width: none; }
.home-hero .sign-main { display: grid; gap: 24px; }
.home-stats { list-style: none; margin: 0; padding: 0 0 0 36px; border-left: 3px solid var(--on-sign); display: grid; gap: 16px; }
.home-stats li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 12px; border-bottom: 1px dashed color-mix(in srgb, var(--text) 28%, transparent); }
.home-stats li:last-child { border-bottom: 0; padding-bottom: 0; }
.home-stats b { flex: none; font-family: var(--mono), ui-monospace, monospace; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; color: var(--text); letter-spacing: -0.02em; line-height: 1.1; }
.home-stats span { color: color-mix(in srgb, var(--text) 86%, transparent); font-size: 0.98rem; line-height: 1.35; }
.home-stats-link { margin: 14px 0 0; font-size: 0.92rem; color: var(--hero-muted); }
@media (max-width: 960px) {
  .home-hero .sign-face { grid-template-columns: minmax(0, 1fr); }
  .home-stats { padding: 20px 0 0; border-left: 0; border-top: 3px solid var(--on-sign); }
}
@media (max-width: 480px) {
  .home-stats b { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero .sign::after { animation: none; display: none; }
}

/* New look: dark space, area colours, orbit, tiles, stickers. */
html { overflow-x: clip; }
h1, h2, h3, .brand { font-family: var(--display); }
h1, h2 { text-wrap: balance; }
h1 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
h2,
section h2,
.doc h2,
.panel h2,
.sec-block h2,
.pr-plans-head h2,
.pr-founding-card h2,
.fun h2 { font-weight: 700; }
section h2, .fun h2 { font-size: clamp(1.36rem, 2.72vw, 1.91rem); }
.doc h2 { font-size: 1.275rem; }
.panel h2 { font-size: 1.0625rem; }
.sec-block h2, .pr-plans-head h2 { font-size: clamp(1.36rem, 2.72vw, 1.87rem); }
.pr-founding-card h2 { font-size: clamp(1.36rem, 2.89vw, 2.04rem); }
.bar { background: var(--space); border-bottom-color: var(--line); }
.brand { color: var(--text); font-weight: 700; font-size: 22px; }
.button, .bar nav .button {
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: var(--on-green);
}
.button:hover, .bar nav .button:hover { background: var(--green); filter: brightness(1.08); }
.button.quiet, .bar nav a.button.quiet {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
}
.home-hero .sign, .sec-hero {
  background: transparent;
  color: var(--text);
  box-shadow: none;
}
.home-hero .sign::after { display: none; }
.home-hero .sign-face, .sign-face {
  border: 0;
  background: transparent;
  color: var(--text);
}
.home-hero .sign h1, .sec-hero h1, .sign h1 { color: var(--text); }
.home-stats { border-left-color: var(--line); }
.home-stats li { border-bottom-color: var(--line); }
.home-stats span, .home-stats b, .sec-hero, .sec-lede { color: var(--text); }
.home-stats span, .sec-lede, .assure { color: var(--muted); }
.scene svg { display: block; width: 100%; height: auto; overflow: hidden; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; font-family: var(--mono); font-size: 13px; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.fun { padding-top: 72px; display: flex; flex-direction: column; gap: 28px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; padding-block: 8px; }
.tile { border-radius: 26px; padding: 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; transition: transform .25s ease; }
.tile:nth-child(4n+1) { background: var(--green); color: var(--on-green); transform: rotate(-1.5deg); }
.tile:nth-child(4n+2) { background: var(--saffron); color: var(--on-saffron); transform: rotate(1.2deg); }
.tile:nth-child(4n+3) { background: var(--coral); color: var(--on-coral); transform: rotate(-1deg); }
.tile:nth-child(4n+4) { background: var(--mint); color: var(--on-mint); transform: rotate(1.5deg); }
.tile:hover { transform: rotate(0deg) translateY(-4px); }
.tile svg { width: 44px; height: 44px; }
.tile p { margin: 0; font-size: 15px; line-height: 1.5; font-weight: 500; color: inherit; }
.tile h3 { color: inherit; }
.tile code { font-family: var(--mono); font-size: 12px; }
.sticker { margin: 16px 0; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; background: var(--panel-2); border: 2px dashed var(--area); border-radius: 999px; padding: 6px 16px 6px 8px; font-size: 14px; font-weight: 600; color: var(--text); transform: rotate(-2deg); max-width: 100%; }
.sticker.sun { --area: var(--saffron); }
.sticker img { width: 28px; height: 28px; flex: none; }
.pr-plan, .pr-calc, .pr-faq details, .group, .toc { background: var(--panel); border-color: var(--line); }
code, pre, .paste { font-family: var(--mono); }
@media (max-width: 640px) {
  .tile, .tile:nth-child(n), .tile:hover { transform: none; }
  .sticker, .sticker.sun { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tile, .tile:nth-child(n) { transition: none; transform: none; }
  .tile:hover { transform: none; }
  .sticker, .sticker.sun { transform: none; }
}

/* Webhook tester form: fields fill the column instead of their size/cols width. */
main form input:not([type="range"]):not([type="checkbox"]):not([type="radio"]),
main form textarea,
main form select { width: 100%; max-width: 100%; box-sizing: border-box; }
main form input:not([type="range"]):not([type="checkbox"]):not([type="radio"]),
main form textarea,
main form select { background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; }
main form textarea { font-family: var(--mono); font-size: 13px; line-height: 1.55; }

/* Phone header: logo and Start free stay on one row. Menu opens the other links. */
.bar-start { display: none; }
.eyebrow-short { display: none; }
.phone-menu > summary {
  list-style: none;
  cursor: pointer;
}
.phone-menu > summary::-webkit-details-marker { display: none; }
.phone-menu > summary::marker { content: ''; }
@media (min-width: 720px) {
  .phone-menu { display: flex; flex: 1 1 auto; min-width: 0; align-items: center; justify-content: flex-end; }
  .phone-menu > summary { display: none; }
  .phone-menu::details-content { display: flex; content-visibility: visible; min-width: 0; justify-content: flex-end; }
  .bar details.phone-menu:not([open]) > nav { display: flex; }
}
@media (max-width: 719px) {
  .bar .wrap { flex-wrap: nowrap; gap: 8px; }
  .bar .brand { margin-right: auto; min-width: 0; }
  .bar-start { display: inline-flex; flex: none; min-height: 38px; padding: 6px 12px; }
  .phone-menu { flex: none; }
  .phone-menu > summary {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    font-weight: 600;
  }
  .bar details.phone-menu:not([open]) > nav { display: none; }
  .bar details.phone-menu[open] > nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 16px 16px;
    background: var(--space);
    border-bottom: 1px solid var(--line);
  }
  .phone-menu nav .button { display: none; }
  .phone-menu .product-panel {
    position: static;
    left: auto;
    transform: none;
    width: 100%;
    max-height: none;
  }
  .eyebrow-full { display: none; }
  .eyebrow-short { display: inline; }
}

/* Wordmark: Route + saffron 11 + green .dev (logo E with rising dots). */
.brand .wm { font-family: var(--display); font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; }
.wm-11 { color: var(--saffron); }
.wm-dev { color: var(--green); font-size: 0.78em; margin-left: 1px; }
@media (max-width: 420px) { .wm-dev { display: none; } }

/* "We tried to break it": the crash test as one calm 8 s loop. Steps light up with the SVG. */
.crash { margin: 28px 0 8px; }
.crash svg { display: block; width: 100%; height: auto; max-width: 800px; }
.crash-label { font-family: var(--body, Manrope, system-ui, sans-serif); font-size: 17px; fill: #9DB3A8; }
.crash-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: crash; }
.crash-steps li { counter-increment: crash; position: relative; padding: 12px 14px 12px 44px; border: 1px solid var(--line, #1C2E26); border-radius: 12px; font-size: 15px; line-height: 1.45; color: var(--text, #ECF5F0); opacity: .45; animation: 8s linear infinite; }
.crash-steps li::before { content: counter(crash); position: absolute; left: 14px; top: 12px; width: 20px; height: 20px; border-radius: 50%; font-size: 12px; font-weight: 700; display: grid; place-items: center; background: var(--green, #19C39C); color: #04130D; }
.crash-steps li:nth-child(2)::before { background: var(--coral, #FF6B4A); color: #1F0A04; }
.crash-steps li:nth-child(3)::before { background: var(--saffron, #F5A524); color: #1F1300; }
.crash-steps li:nth-child(1) { animation-name: crash-s1; }
.crash-steps li:nth-child(2) { animation-name: crash-s2; }
.crash-steps li:nth-child(3) { animation-name: crash-s3; }
@keyframes crash-s1 { 0%, 25% { opacity: 1; } 28%, 100% { opacity: .45; } }
@keyframes crash-s2 { 0%, 26% { opacity: .45; } 29%, 56% { opacity: 1; } 59%, 100% { opacity: .45; } }
@keyframes crash-s3 { 0%, 57% { opacity: .45; } 60%, 97% { opacity: 1; } 100% { opacity: .45; } }
@media (max-width: 640px) {
  .crash-steps { grid-template-columns: 1fr; }
  .crash-label { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .crash-steps li { animation: none; opacity: 1; }
}

/* "Why Route11": the one thing general webhook tools do not do */
.why-band { background: linear-gradient(180deg, var(--panel) 0%, var(--space) 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why-band .why-kicker { margin: 0 0 10px; color: var(--saffron); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }
.why-band h2 { max-width: 22ch; }
.why-band .lede { margin-bottom: 16px; font-size: 1.08rem; color: var(--text); }
.why-band .why-link { margin: 0; }
.why-band .why-link a { color: var(--green); font-weight: 700; }

/* Home hero: a product card beside the headline on wide screens. */
@media (min-width: 1100px) {
  .home-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 470px; column-gap: 56px; row-gap: 16px; align-items: start; justify-items: start; }
  .home-hero .wrap > * { grid-column: 1; }
  .home-hero .wrap > .live-card { grid-column: 2; grid-row: 1 / span 8; align-self: center; justify-self: stretch; }
}
.live-card { margin: 8px 0 0; width: 100%; max-width: 470px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: 18px; padding: 22px 22px 16px; box-shadow: 0 30px 80px -30px color-mix(in srgb, var(--green) 35%, transparent), 0 0 0 1px color-mix(in srgb, var(--green) 10%, transparent) inset; }
.live-head { display: flex; align-items: center; gap: 10px; font-family: var(--mono), ui-monospace, monospace; font-size: 0.95rem; color: var(--text); }
.live-head b { font-weight: 700; }
.live-amt { margin-left: auto; font-weight: 700; color: var(--saffron); }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 22%, transparent); animation: live-pulse 2s ease-in-out infinite; }
@keyframes live-pulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--green) 0%, transparent); } }
.live-id { margin: 4px 0 14px 20px; font-family: var(--mono), ui-monospace, monospace; font-size: 0.8rem; color: var(--muted); }
.live-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.live-steps li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--code-bg); border: 1px solid var(--line); font-size: 0.92rem; color: var(--text); animation: live-in 480ms ease-out both; }
.live-steps li:nth-child(2) { animation-delay: 350ms; }
.live-steps li:nth-child(3) { animation-delay: 700ms; }
.live-steps li:nth-child(4) { animation-delay: 1050ms; }
.live-steps li:nth-child(5) { animation-delay: 1500ms; }
.live-steps li:nth-child(6) { animation-delay: 1950ms; }
@keyframes live-in { from { opacity: 0; transform: translateY(8px); } }
.live-what { flex: 1; min-width: 0; }
.pill { flex: none; font-family: var(--mono), ui-monospace, monospace; font-size: 0.75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; border: 1px solid currentColor; text-decoration: none; }
.pill.ok { color: var(--green); }
.pill.bad { color: var(--coral); }
.pill.seal { color: var(--saffron); }
a.pill.seal:hover, a.pill.seal:focus-visible { background: color-mix(in srgb, var(--saffron) 16%, transparent); }
.live-steps li.seal { border-color: color-mix(in srgb, var(--saffron) 40%, var(--line)); }
.live-card figcaption { margin-top: 12px; font-size: 0.78rem; color: var(--muted); }
@media (prefers-reduced-motion: reduce) {
  .live-dot, .live-steps li { animation: none; }
}

/* Set up with an AI coding assistant. */
.agent-band { padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--green) 10%, transparent), transparent 60%); }
.agent-band .wrap { display: grid; gap: 20px 48px; align-items: center; }
@media (min-width: 960px) { .agent-band .wrap { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.agent-band h2 { margin: 0 0 8px; }
.agent-band p { margin: 0; color: var(--muted); }
.agent-prompt { margin: 0; }
.agent-prompt code { display: block; padding: 18px 20px; border-radius: 12px; background: var(--code-bg); border: 1px solid color-mix(in srgb, var(--green) 45%, var(--line)); color: var(--text); font-family: var(--mono), ui-monospace, monospace; font-size: 0.95rem; line-height: 1.55; user-select: all; white-space: normal; word-break: break-word; }
.agent-prompt code::before { content: "> "; color: var(--green); }

/* Code samples in several languages: CSS-only tabs. */
.code-tabs { min-width: 0; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px; }
.code-tabs > input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.code-tabs > label { cursor: pointer; padding: 8px 14px; border-radius: 10px 10px 0 0; border: 1px solid var(--line); border-bottom: none; font-family: var(--mono), ui-monospace, monospace; font-size: 0.82rem; color: var(--muted); background: var(--panel); }
.code-tabs > figure { display: none; flex-basis: 100%; margin: 0; }
#lang-node:checked ~ .tab-node, #lang-py:checked ~ .tab-py, #lang-php:checked ~ .tab-php { display: block; }
#lang-node:checked + label, #lang-py:checked + label, #lang-php:checked + label { color: var(--text); background: var(--code-bg); border-color: color-mix(in srgb, var(--green) 50%, var(--line)); }
.code-tabs > input:focus-visible + label { outline: 2px solid var(--green); outline-offset: 2px; }

/* Industry pages (/for/<slug>) */
.for-list { margin: 8px 0 18px; padding: 0; list-style: none; display: grid; gap: 10px; max-width: 760px; }
.for-list li { position: relative; padding-left: 26px; color: var(--ink); line-height: 1.55; }
.for-list li::before { content: ""; position: absolute; left: 4px; top: 0.6em; width: 9px; height: 9px; border-radius: 50%; background: var(--saffron); }
.for-does li::before { background: var(--green); }
.for-others { line-height: 2; }

/* Home: the money report and the businesses Route11 is for */
.money-band { margin: 8px 0 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.money-band h2 { margin-top: 0; }
.money-mail { margin: 0; border: 1px solid var(--rule); border-radius: 16px; background: var(--surface); padding: 22px; }
.money-mail .mail-from { margin: 0 0 6px; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.money-mail .mail-subject { margin: 0 0 14px; font-weight: 700; }
.money-mail .mail-total { margin: 0 0 10px; font-family: Unbounded, Manrope, sans-serif; font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--green); font-variant-numeric: tabular-nums; }
.money-mail ul { margin: 0 0 12px; padding-left: 18px; color: var(--muted); display: grid; gap: 6px; }
.money-mail figcaption { font-size: 0.85rem; color: var(--muted); }
.for-grid { margin: 0 0 56px; }
.for-grid ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.for-grid ul a { display: block; height: 100%; border: 1px solid var(--rule); border-radius: 14px; padding: 16px 18px; background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .2s; }
.for-grid ul a:hover, .for-grid ul a:focus-visible { border-color: var(--green); }
.for-grid b { display: block; margin-bottom: 4px; }
.for-grid span { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 860px) {
  .money-band { grid-template-columns: 1fr; }
  .for-grid ul { grid-template-columns: 1fr; }
}
.for-grid ul + .sec-intro { margin-top: 16px; }
