/* Self-hosted, Latin subset. DM Sans, Schibsted Grotesk and Geist Mono are SIL Open Font License 1.1 (Google Fonts). */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("assets/fonts/DMSans.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 600 800; font-display: swap; src: url("assets/fonts/SchibstedGrotesk.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("assets/fonts/GeistMono.woff2") format("woff2"); }
:root {
  --ground: #f4f7f7; --surface: #fff; --ink: #0c2a2e; --ink-2: #435a5d; --ink-3: #5a6f72; --rule: #dde6e7; --rule-strong: #c8d6d7;
  --brand: #0b5c63; --brand-ink: #084a50; --tint: #e0f0f1; --on-brand: #fff; --on-brand-2: #d6ecec; --signal: #f4a812;
  --live: #2f6a12; --live-bg: #edf6dc; --wait: #8f5405; --wait-bg: #fcf0dc; --off: #4f6366; --off-bg: #e9eff0; --done: #1d4ed8; --done-bg: #e8f1ff;
  --r-control: 10px; --r-frame: 16px; --wrap: 1160px;
  --display: "Schibsted Grotesk", "DM Sans", system-ui, sans-serif; --text: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif; --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.band :focus-visible { outline-color: #fff; }
.icon { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.skip { position: absolute; left: -999px; top: 10px; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--r-control); z-index: 20; }
.skip:focus { left: 10px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgb(247 247 246 / .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font: 700 20px/1 var(--display); letter-spacing: -0.03em; }
.brand img { width: 32px; height: 32px; }
.nav { display: none; gap: 6px; margin-left: 14px; }
.nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; padding: 12px 12px; border-radius: 8px; }
.nav a:hover { color: var(--ink); background: #efefee; }
.top .actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 20px; border-radius: var(--r-control); border: 1px solid var(--rule-strong); background: var(--surface); color: var(--ink); font: 600 15px/1 var(--text); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, transform .1s; }
.btn:hover { border-color: #b9b9b4; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-ink); border-color: var(--brand-ink); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: #efefee; border-color: transparent; color: var(--ink); }
.btn-lg { min-height: 56px; padding: 0 26px; font-size: 16px; }

/* hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 0; }
h1 { margin: 0; max-width: 15em; font: 700 clamp(2.6rem, 6.4vw, 4.75rem)/1.02 var(--display); letter-spacing: -0.04em; text-wrap: balance; }
.lede { margin: 22px 0 0; max-width: 34em; font-size: clamp(1.06rem, 1.7vw, 1.28rem); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.start { margin-top: 34px; max-width: 720px; }
.start label { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.start .row { display: flex; gap: 10px; flex-wrap: wrap; }
.start input { flex: 1 1 280px; min-width: 0; min-height: 56px; padding: 0 18px; border-radius: var(--r-control); border: 1px solid #8a8a86; background: var(--surface); color: var(--ink); font: 400 17px/1 var(--text); }
.start input::placeholder { color: #75756f; }
.start input:focus { outline: 3px solid var(--brand); outline-offset: 2px; border-color: var(--brand); }
.start .btn { flex: 0 0 auto; }

/* product window */
.window { margin: clamp(40px, 6vw, 72px) 0 clamp(40px, 6vw, 64px); position: relative; }
.window .frame { border: 1px solid var(--rule-strong); border-bottom: 0; border-radius: var(--r-frame) var(--r-frame) 0 0; overflow: hidden; background: var(--surface); box-shadow: 0 -1px 0 rgb(255 255 255), 0 30px 60px -30px rgb(8 70 76 / .28), 0 2px 0 rgb(24 24 26 / .03); }
.window img { width: 100%; height: auto; }
.sample-note { margin: 14px 4px 0; font-size: 14px; color: var(--ink-3); }

/* sections */
section { padding: clamp(56px, 8vw, 112px) 0; }
h2 { margin: 0; max-width: 17em; font: 700 clamp(1.9rem, 3.8vw, 3rem)/1.06 var(--display); letter-spacing: -0.035em; text-wrap: balance; }
.sec-lede { margin: 16px 0 0; max-width: 38em; color: var(--ink-2); font-size: 1.1rem; text-wrap: pretty; }

/* inbox band */
.band { background: var(--brand); color: var(--on-brand); }
.band .wrap { display: grid; gap: 44px; align-items: center; }
.band h2 { color: var(--on-brand); }
.band .sec-lede { color: var(--on-brand-2); }
.steps { list-style: none; margin: 30px 0 0; padding: 0; max-width: 32em; }
.steps li { display: flex; gap: 14px; align-items: baseline; padding: 15px 0; border-top: 1px solid rgb(255 255 255 / .28); font-size: 1.05rem; }
.steps li:last-child { border-bottom: 1px solid rgb(255 255 255 / .28); }
.steps strong { font-weight: 600; min-width: 6.2em; }
.steps span { color: var(--on-brand-2); }
.mail { margin: 0; }
.mail picture, .window picture, .shot picture { display: block; }
.mail .sample-note { color: var(--on-brand-2); }
.mail img { width: 100%; max-width: 580px; height: auto; border-radius: var(--r-frame); box-shadow: 0 30px 60px -28px rgb(2 24 28 / .65); }

/* translation table */
.ledger { width: 100%; margin-top: 44px; border-collapse: collapse; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-frame); overflow: hidden; }
.ledger caption { position: absolute; left: -999px; }
.ledger th { text-align: left; padding: 14px 22px; font: 500 12px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); background: #fbfbfa; border-bottom: 1px solid var(--rule); }
.ledger td { padding: 18px 22px; vertical-align: baseline; border-bottom: 1px solid var(--rule); }
.ledger tr:last-child td { border-bottom: 0; }
.filing { font: 500 14px/1.4 var(--mono); letter-spacing: .01em; }
.chip { display: inline-flex; align-items: center; font: 600 13px/1 var(--text); padding: 6px 11px; border-radius: 999px; white-space: nowrap; }
.chip.brand { background: var(--tint); color: var(--brand-ink); }
.chip.wait { background: var(--wait-bg); color: var(--wait); }
.chip.live { background: var(--live-bg); color: var(--live); }
.chip.off { background: var(--off-bg); color: var(--off); }
.ledger .means { color: var(--ink-2); }

/* record section */
.record .shot { margin: 44px 0 0; border: 1px solid var(--rule-strong); border-radius: var(--r-frame); overflow: hidden; background: var(--surface); box-shadow: 0 30px 60px -34px rgb(8 70 76 / .25); }
.record .shot img { width: 100%; height: auto; }
.record .sample-note { margin-top: 14px; }
.facts { display: grid; gap: 0; margin: 40px 0 0; padding: 0; }
.facts div { padding: 20px 0; border-top: 1px solid var(--rule-strong); }
.facts dt { font: 700 1.12rem/1.3 var(--display); letter-spacing: -0.02em; }
.facts dd { margin: 8px 0 0; color: var(--ink-2); max-width: 28em; }

/* limits */
.limits .wrap { display: grid; gap: 40px; }
.limit-list { list-style: none; margin: 0; padding: 0; }
.limit-list li { padding: 18px 0; border-top: 1px solid var(--rule-strong); color: var(--ink-2); }
.limit-list li:last-child { border-bottom: 1px solid var(--rule-strong); }
.limit-list strong { color: var(--ink); font-weight: 600; }
.sources { margin: 26px 0 0; color: var(--ink-3); font-size: 15px; max-width: 38em; }

/* faq */
details { border-top: 1px solid var(--rule-strong); }
details:last-of-type { border-bottom: 1px solid var(--rule-strong); }
summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 64px; padding: 14px 2px; font: 600 1.12rem/1.35 var(--display); letter-spacing: -0.015em; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary .icon { width: 20px; height: 20px; color: var(--ink-3); transition: transform .2s; }
details[open] summary .icon { transform: rotate(45deg); }
details p { margin: 0 0 22px; padding: 0 2px; max-width: 44em; color: var(--ink-2); }
.faq .wrap { max-width: 860px; }

/* final */
.final h2 { max-width: 12em; }
.final .start { margin-top: 30px; }

footer { border-top: 1px solid var(--rule-strong); padding: 40px 0 56px; color: var(--ink-3); font-size: 15px; }
footer .wrap { display: grid; gap: 24px; }
footer .brand { color: var(--ink); font-size: 18px; }
footer nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
footer nav a { text-decoration: none; padding: 10px 0; }
footer nav a:hover { color: var(--ink); text-decoration: underline; }
footer p { margin: 14px 0 0; max-width: 54em; }

/* one authored moment: the record window rises into place */
@media (prefers-reduced-motion: no-preference) {
  .window .frame { animation: rise .8s cubic-bezier(.16, 1, .3, 1) both; animation-delay: .12s; }
  @keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

@media (max-width: 380px) {
  .top .wrap { gap: 10px; }
  .top .btn { padding: 0 14px; font-size: 14px; }
  .brand { font-size: 18px; gap: 8px; }
  .brand img { width: 28px; height: 28px; }
}
@media (max-width: 719px) {
  .top .actions .btn-ghost { display: none; }
  .ledger, .ledger thead, .ledger tbody, .ledger tr, .ledger td { display: block; }
  .ledger thead { position: absolute; left: -999px; }
  .ledger tr { padding: 16px 20px; border-bottom: 1px solid var(--rule); }
  .ledger tr:last-child { border-bottom: 0; }
  .ledger td { padding: 3px 0; border: 0; }
  .ledger td.plain { margin: 6px 0 8px; }
  .steps li { flex-direction: column; gap: 4px; }
  .start .btn { width: 100%; }
}
@media (min-width: 720px) {
  .nav { display: flex; }
  .facts { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
  .ledger td.filing { width: 36%; }
  .ledger td.plain { width: 24%; }
}
@media (min-width: 1000px) {
  .band .wrap { grid-template-columns: 1fr 1fr; gap: 72px; }
  .mail { justify-self: end; }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .limits .wrap { grid-template-columns: 5fr 7fr; gap: 80px; }
}
