/* SortaMail — sortamail.app
   Plain CSS, no build step. Type and color come from the app itself:
   Plus Jakarta Sans for headings, Inter for text, and the app's light
   theme palette, with the logo's green as a quiet accent. */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}

:root {
  --ink: #101e30;
  --ink-2: #33465e;
  --muted: #5a6b82;
  --navy: #1e5aa0;
  --blue: #2a6be0;
  --blue-deep: #1e55bc;
  --blue-soft: #e3edfc;
  --green: #6cc24a;
  --green-ink: #2f7a17;
  --green-soft: #e6f5de;
  --paper: #f3f8fd;
  --white: #ffffff;
  --line: #dbe5f0;
  --line-soft: #e7eef6;
  --night: #0e1d33;
  --night-2: #152a47;
  --night-line: #263f63;
  --on-night: #e8eef8;
  --on-night-muted: #a9b8cd;

  --font-display: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1180px;
  --gutter: 24px;
  --section: clamp(80px, 10vw, 128px);
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 20px;
  --shadow-window: 0 1px 2px rgba(23, 49, 89, 0.06), 0 12px 32px -8px rgba(23, 49, 89, 0.16), 0 40px 80px -28px rgba(23, 49, 89, 0.24);
  --shadow-phone: 0 2px 4px rgba(23, 49, 89, 0.08), 0 24px 48px -16px rgba(23, 49, 89, 0.32), 0 60px 90px -40px rgba(23, 49, 89, 0.3);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid rgba(42, 107, 224, 0.45); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue-soft); color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -0.025em; }
h3 { font-size: 19px; line-height: 1.35; letter-spacing: -0.01em; font-weight: 650; }
p { margin: 0 0 1em; text-wrap: pretty; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 640px) { :root { --gutter: 16px; } body { font-size: 16.5px; } }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-s);
}
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-body); font-size: 16px; font-weight: 600; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(23, 49, 89, 0.12), 0 6px 16px -6px rgba(42, 107, 224, 0.55); }
.btn-primary:hover { background: var(--blue-deep); color: #fff; }
.btn-quiet { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-quiet:hover { border-color: #b9c9dc; color: var(--ink); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn svg { flex: none; }

/* ------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(1.8) blur(16px);
  backdrop-filter: saturate(1.8) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-icon { width: 34px; height: 34px; border-radius: 8px; }
.brand-word { height: 21px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.site-nav a:not(.btn) {
  color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 8px 12px; border-radius: 999px;
}
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"]:not(.btn) { color: var(--ink); background: rgba(16, 30, 48, 0.05); }
.site-nav .btn { margin-left: 12px; }
.nav-toggle {
  display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer;
  align-items: center; justify-content: center;
}
@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 8px; font-size: 17px; border-radius: var(--radius-s); }
  .site-nav .btn { margin: 10px 0 0; min-height: 48px; }
}
@media (max-width: 520px) { .brand-word { height: 18px; } }

/* ------------------------------------------------------------ shared section pieces */
.section { padding: var(--section) 0; }
.section--white { background: var(--white); }
.kicker {
  display: flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font: 600 15px/1.2 var(--font-body); color: var(--blue);
}
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 60px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .kicker { justify-content: center; }
.section-head h2 { margin-bottom: 18px; }
.section-head p:not(.kicker), .intro { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); }
.section-head p:last-child { margin-bottom: 0; }

.pro-tag {
  display: inline-flex; align-items: center; font: 650 12.5px/1 var(--font-body); letter-spacing: 0.01em;
  color: var(--green-ink); background: var(--green-soft); border-radius: 999px; padding: 5px 9px;
}

.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.22em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a6be0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.ticks strong { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------ device frames */
.window {
  position: relative; border-radius: var(--radius-m); overflow: hidden;
  background: var(--white); border: 1px solid rgba(16, 30, 48, 0.09);
  box-shadow: var(--shadow-window);
}
.window img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
/* macOS window buttons sit in the app's own title-bar notch */
.window::before {
  content: ""; position: absolute; z-index: 2; left: 1.25%; top: 2.2%;
  width: 54px; height: 12px;
  background:
    radial-gradient(circle at 6px 6px, #ff5f57 5.5px, transparent 6px),
    radial-gradient(circle at 26px 6px, #febc2e 5.5px, transparent 6px),
    radial-gradient(circle at 46px 6px, #28c840 5.5px, transparent 6px);
}
@media (max-width: 700px) { .window::before { transform: scale(0.6); transform-origin: left top; } }

/* The frame is a size container, so the bezel (the screen's margin) is a
   share of the phone's own width. Percentage padding would be a share of
   the parent's width, which made wide layouts draw a thick frame. */
.phone {
  position: relative; width: 100%; max-width: 320px; container-type: inline-size;
  background: #121821; border-radius: 15.5% / 7.4%; box-shadow: var(--shadow-phone);
}
.phone .screen { position: relative; margin: 3.6cqw; border-radius: 12.5% / 5.8%; overflow: hidden; background: var(--paper); container-type: inline-size; }
.phone .screen > img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; }
.phone .island {
  position: absolute; z-index: 3; top: 2.9cqw; left: 50%; width: 30cqw; height: 8.6cqw; margin-left: -15cqw;
  background: #05070a; border-radius: 999px;
}
/* Sized in container units so it keeps iPhone proportions at any width. */
.status {
  position: absolute; z-index: 2; top: 0; left: 0; right: 0; height: 13.8cqw;
  display: flex; align-items: center; justify-content: space-between; padding: 0.6cqw 7cqw 0 10cqw;
  font: 600 4.1cqw/1 var(--font-body); color: var(--ink); letter-spacing: -0.01em;
}
.status svg { display: block; height: 3cqw; width: auto; }
.status-icons { display: flex; gap: 1.3cqw; align-items: center; }
.phone[data-dark] .status { color: #fff; }

/* ------------------------------------------------------------ hero */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px);
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(93, 151, 252, 0.18), transparent 70%),
    radial-gradient(40% 50% at 92% 85%, rgba(108, 194, 74, 0.12), transparent 70%),
    linear-gradient(180deg, var(--white), var(--paper));
}
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 88px); align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 5.4vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 750;
  margin-bottom: 24px;
}
.lede { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.6; color: var(--ink-2); max-width: 32em; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-meta { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 15px; color: var(--muted); }
.hero-meta li { display: flex; align-items: center; gap: 10px; }
.hero-meta svg { flex: none; color: var(--green-ink); }
.hero-device { display: flex; justify-content: center; }
.hero-device .phone { max-width: 330px; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-device .phone { max-width: 300px; }
}

/* The hero's thread: a faithful copy of the app's thread view, in HTML.
   Sizes are in cqw (percent of the screen's width), measured off a real
   390pt-wide capture, so it matches the app at any size. New messages
   grow in at the bottom and push older ones up, the way a chat does. */
.tv { position: absolute; inset: 0; font-family: var(--font-body); color: #101e30; background: #f3f8fd; }
.tv-head { position: absolute; z-index: 1; top: 15.4cqw; left: 0; right: 0; height: 31cqw; padding: 0 3cqw; display: flex; align-items: flex-start; justify-content: space-between; background: linear-gradient(#f3f8fd 64%, rgba(243, 248, 253, 0)); }
.tv-btn {
  width: 11.3cqw; height: 11.3cqw; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; position: relative; color: #101e30;
  box-shadow: 0 1px 2px rgba(23, 49, 89, 0.08), 0 4px 12px rgba(23, 49, 89, 0.1);
}
.tv-btn svg { width: 4.9cqw; height: 4.9cqw; }
.tv-btn b { position: absolute; top: -1cqw; right: -0.6cqw; min-width: 5.4cqw; height: 5.4cqw; border-radius: 3cqw; background: #2a6be0; color: #fff; font: 700 3cqw/5.4cqw var(--font-body); text-align: center; padding: 0 1.2cqw; }
.tv-right { display: flex; gap: 2.4cqw; }
.tv-who { display: flex; flex-direction: column; align-items: center; margin-top: 1.4cqw; }
.tv-who .tv-av { width: 10.3cqw; height: 10.3cqw; font-size: 4.4cqw; }
.tv-name {
  margin-top: -1.6cqw; display: inline-flex; align-items: center; gap: 1.2cqw; white-space: nowrap;
  background: #fff; border-radius: 4cqw; padding: 0.8cqw 3.2cqw; box-shadow: 0 1px 3px rgba(23, 49, 89, 0.12);
  font: 700 4.1cqw/1.3 var(--font-display); letter-spacing: -0.02em;
}
.tv-name svg { width: 2.8cqw; height: 2.8cqw; }
.tv-av {
  width: 7.2cqw; height: 7.2cqw; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: #e2dccf; color: #3d3a33; font: 600 3cqw/1 var(--font-body); box-shadow: inset 0 0 0 1px rgba(16, 30, 48, 0.08);
}
.tv-av--me { background: #d8e6fa; color: #1e55bc; }
.tv-body { position: absolute; left: 0; right: 0; top: 16cqw; bottom: 19cqw; overflow: hidden; padding: 0 4.6cqw 0 5cqw; display: flex; flex-direction: column; justify-content: flex-end; }
.tv-day { text-align: center; font: 650 3cqw/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: #4a5b72; padding: 5cqw 0 4.6cqw; }
.tv-msg { display: flex; flex-direction: column; padding-bottom: 3.4cqw; }
.tv-top { display: flex; align-items: center; gap: 3cqw; margin-bottom: 1.6cqw; }
.tv-subj { font: 650 3.85cqw/1.3 var(--font-body); letter-spacing: -0.005em; color: #1e3048; flex: 1; min-width: 0; }
.tv-time { font: 500 3.2cqw/1 var(--font-body); color: #6b7c93; flex: none; letter-spacing: 0.02em; }
.tv-bubble { font-size: 4.3cqw; line-height: 1.45; padding: 3cqw 3.6cqw; border-radius: 4.6cqw; max-width: 76%; }
.tv-in .tv-bubble { background: #fff; border: 1px solid #dbe5f0; border-top-left-radius: 2cqw; margin-left: 9.6cqw; align-self: flex-start; }
.tv-out .tv-top { flex-direction: row-reverse; }
.tv-out .tv-subj { text-align: right; }
.tv-out .tv-bubble { background: #2a6be0; color: #fff; border-top-right-radius: 2cqw; margin-right: 10cqw; align-self: flex-end; }
.tv-acts { display: flex; gap: 6.6cqw; color: #6b7c93; margin-top: 3cqw; }
.tv-acts svg { width: 4.4cqw; height: 4.4cqw; }
.tv-in .tv-acts { align-self: flex-end; margin-right: 15cqw; }
.tv-out .tv-acts { margin-left: 4cqw; }
.tv-file {
  margin: 2cqw 0 0 9.6cqw; align-self: flex-start; display: flex; align-items: center; gap: 2.6cqw;
  background: #fff; border: 1px solid #dbe5f0; border-radius: 3.4cqw; padding: 2cqw 3.6cqw 2cqw 2.2cqw;
}
.tv-file i { width: 8cqw; height: 9.4cqw; border-radius: 1.6cqw; background: #e9f1fa; display: grid; place-items: center; font: 700 2.3cqw/1 var(--font-body); color: #c4362b; font-style: normal; }
.tv-file span { display: grid; font-size: 3.6cqw; line-height: 1.35; }
.tv-file small { color: #6b7c93; font-size: 3cqw; }
.tv-foot { position: absolute; left: 2.4cqw; right: 2.4cqw; bottom: 6.4cqw; display: flex; gap: 2.4cqw; }
.tv-pill {
  height: 11.3cqw; border-radius: 6cqw; background: #fff; display: flex; align-items: center; gap: 1.8cqw; padding: 0 3.4cqw; white-space: nowrap; overflow: hidden;
  box-shadow: 0 1px 2px rgba(23, 49, 89, 0.08), 0 4px 12px rgba(23, 49, 89, 0.1); font: 700 3.9cqw/1 var(--font-display);
}
.tv-pill svg { width: 4.4cqw; height: 4.4cqw; flex: none; }
.tv-pill em { font: 500 3.5cqw/1 var(--font-body); font-style: normal; color: #6b7c93; overflow: hidden; text-overflow: ellipsis; }
.tv-pill--reply { flex: 1; min-width: 0; }

.tv-seq { display: grid; grid-template-rows: 1fr; }
.tv-seq > div { min-height: 0; overflow: hidden; }
@keyframes tv-arrive {
  from { grid-template-rows: 0fr; opacity: 0; }
  60% { opacity: 0; }
  to { grid-template-rows: 1fr; opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .tv-seq { animation: tv-arrive 0.7s cubic-bezier(0.3, 0.7, 0.2, 1) both; animation-delay: calc(0.3s + var(--i) * 1.1s); }
}

/* ------------------------------------------------------------ themes */
.stage { position: relative; padding: 0 9% 7% 0; }
.stage .phone { position: absolute; right: 0; bottom: 0; width: 23%; max-width: none; }
.stage .window img, .stage .phone .screen > img { transition: opacity 0.35s ease; }
.stage img.next { position: absolute; inset: 0; opacity: 0; }
.theme-picker { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }
.theme-picker button {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  border: 1px solid var(--line); background: var(--white); color: var(--ink-2);
  border-radius: 999px; padding: 6px 16px 6px 7px; font: 500 15px/1.2 var(--font-body);
  transition: border-color 0.15s, color 0.15s, box-shadow 0.15s;
}
.theme-picker button:hover { border-color: #b9c9dc; color: var(--ink); }
.theme-picker button[aria-pressed="true"] { border-color: var(--blue); color: var(--ink); box-shadow: 0 0 0 1px var(--blue); }
.swatch {
  width: 26px; height: 26px; border-radius: 50%; flex: none; position: relative;
  background: var(--sw-bg); box-shadow: inset 0 0 0 1px rgba(16, 30, 48, 0.16);
}
.swatch::after {
  content: ""; position: absolute; right: 3px; bottom: 4px; width: 13px; height: 9px;
  border-radius: 6px 6px 2px 6px; background: var(--sw-bubble);
}
.theme-note { margin: 16px 0 0; color: var(--muted); font-size: 15px; text-align: center; min-height: 1.6em; }
@media (max-width: 700px) { .stage { padding: 0 0 18% 0; } .stage .phone { width: 34%; right: -2%; } }

/* ------------------------------------------------------------ feature rows */
.feature { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.feature--flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.feature--flip .feature-media { order: -1; }
.feature-copy h2 { margin-bottom: 18px; }
@media (max-width: 900px) {
  .feature, .feature--flip { grid-template-columns: 1fr; }
  .feature--flip .feature-media { order: 0; }
}
.phones { display: flex; justify-content: center; align-items: flex-start; gap: clamp(16px, 3vw, 32px); }
.phones .phone { max-width: 300px; }
.phones .phone:nth-child(2) { margin-top: 64px; }
@media (max-width: 560px) { .phones .phone { max-width: 46vw; } .phones .phone:nth-child(2) { margin-top: 36px; } }

/* Subscriptions: the pain point gets its own band */
.spotlight { background: linear-gradient(180deg, var(--white), #eef4fc); }
.spot-stage { position: relative; padding: 0 0 8% 0; margin-bottom: clamp(48px, 6vw, 72px); }
.spot-stage .window { width: 82%; }
.spot-stage .phone { position: absolute; right: 0; bottom: 0; width: 24%; max-width: none; }
@media (max-width: 700px) { .spot-stage .window { width: 92%; } .spot-stage .phone { width: 36%; right: -2%; } }
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(28px, 4vw, 56px); }
.benefits h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.benefits h3 svg { flex: none; color: var(--blue); }
.benefits p { margin: 0; font-size: 16px; }
@media (max-width: 860px) { .benefits { grid-template-columns: 1fr; gap: 28px; } }

/* ------------------------------------------------------------ everyday list */
.everyday { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(28px, 4vw, 56px); margin: 0; }
.everyday div { margin: 0; }
.everyday dt { display: flex; align-items: center; gap: 12px; font: 650 18px/1.3 var(--font-display); color: var(--ink); letter-spacing: -0.01em; margin-bottom: 8px; }
.everyday dt svg { flex: none; color: var(--blue); }
.everyday dd { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
@media (max-width: 900px) { .everyday { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .everyday { grid-template-columns: 1fr; gap: 28px; } }

/* ------------------------------------------------------------ accounts */
.providers { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.providers li { font: 600 15px/1 var(--font-body); color: var(--ink); padding: 10px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.providers li.any { background: transparent; border-style: dashed; color: var(--muted); }

/* ------------------------------------------------------------ privacy */
.section--night { background: var(--night); color: var(--on-night); }
.section--night h2, .section--night h3 { color: #fff; }
.section--night .kicker { color: #8fb6ff; }
.section--night a { color: #9cc0ff; }
.section--night a:hover { color: #c5dbff; }
.privacy-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 960px) { .privacy-grid { grid-template-columns: 1fr; } }
.privacy-grid .intro { color: var(--on-night); }
.verified {
  display: flex; gap: 14px; align-items: flex-start; margin: 28px 0 0; padding: 18px 20px;
  border: 1px solid var(--night-line); border-radius: var(--radius-m); background: var(--night-2);
  font-size: 15.5px; color: var(--on-night);
}
.verified svg { flex: none; color: var(--green); margin-top: 2px; }
.ledger-title { font: 600 15px/1.4 var(--font-body); color: var(--on-night-muted); margin: 0 0 12px; }
.ledger { margin: 0; border-top: 1px solid var(--night-line); }
.ledger div { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 6px 28px; padding: 20px 0; border-bottom: 1px solid var(--night-line); }
.ledger dt { font: 650 17px/1.35 var(--font-display); color: #fff; }
.ledger dd { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--on-night-muted); }
.ledger dd b { color: var(--on-night); font-weight: 600; }
@media (max-width: 560px) { .ledger div { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.plan { padding: clamp(28px, 4vw, 40px); border-radius: var(--radius-l); background: var(--white); border: 1px solid var(--line); }
.plan--pro { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), 0 20px 40px -24px rgba(42, 107, 224, 0.4); }
.plan h3 { font-size: 24px; display: flex; align-items: center; gap: 10px; }
.plan .plan-sub { color: var(--muted); margin: 6px 0 0; font-size: 15.5px; }
.plan .ticks { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }
.beta-banner {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: space-between;
  margin-top: 20px; padding: 20px 24px; border-radius: var(--radius-m); background: var(--blue-soft); color: var(--ink);
}
.beta-banner p { margin: 0; font-weight: 500; }

/* ------------------------------------------------------------ download */
.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.platform { display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: var(--radius-l); background: var(--white); border: 1px solid var(--line); }
.platform--live { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.platform h3 { display: flex; align-items: center; gap: 10px; }
.platform .state { font-size: 14.5px; font-weight: 600; color: var(--muted); margin: 0; }
.platform--live .state { color: var(--green-ink); }
.platform p:not(.state) { font-size: 15.5px; margin: 6px 0 20px; }
.platform .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) { .platforms { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ faq */
.faq { max-width: 800px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 22px 0; font: 600 clamp(17px, 1.5vw, 19px)/1.4 var(--font-display); color: var(--ink); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23101e30' stroke-width='2.4' stroke-linecap='round'%3E%3Cline x1='12' y1='6' x2='12' y2='18'/%3E%3Cline x1='6' y1='12' x2='18' y2='12'/%3E%3C/svg%3E") center / 14px no-repeat;
  border: 1px solid var(--line); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; max-width: 42em; }

/* ------------------------------------------------------------ footer */
.site-footer { background: var(--night); color: var(--on-night-muted); padding: 64px 0 36px; font-size: 15px; }
.site-footer a { color: var(--on-night); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.footer-grid h4 { font: 600 14.5px/1.3 var(--font-body); color: #fff; margin: 0 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-blurb { margin: 16px 0 0; max-width: 26em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--night-line); font-size: 14px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* ------------------------------------------------------------ legal + support pages */
.page-head { padding: clamp(48px, 7vw, 80px) 0 clamp(24px, 4vw, 36px); }
.page-head h1 { font-size: clamp(36px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 12px; }
.page-head .meta { color: var(--muted); font-size: 15.5px; margin: 0; }
.prose { max-width: 760px; padding-bottom: var(--section); }
.prose h2 { font-size: clamp(23px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -0.02em; margin: 52px 0 14px; scroll-margin-top: 96px; }
.prose h3 { font-size: 18px; margin: 28px 0 10px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--muted); }
.prose strong { color: var(--ink); font-weight: 600; }
.callout {
  margin: 28px 0 8px; padding: 22px 24px; border-radius: var(--radius-m);
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--blue);
  color: var(--ink); font-size: 16.5px;
}
.callout p:last-child { margin-bottom: 0; }
.toc { margin: 36px 0 8px; padding: 24px 28px; border-radius: var(--radius-m); background: var(--white); border: 1px solid var(--line); }
.toc h2 { font-size: 18px; margin: 0 0 12px; }
.toc ol { columns: 2; column-gap: 32px; margin: 0; font-size: 15.5px; }
.toc li { break-inside: avoid; }
@media (max-width: 640px) { .toc ol { columns: 1; } }
.endpoint-table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 15.5px; }
.endpoint-table th, .endpoint-table td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); }
.endpoint-table th { font-weight: 600; color: var(--ink); }
.endpoint-table td:first-child { width: 34%; color: var(--ink); font-weight: 500; }
@media (max-width: 600px) {
  .endpoint-table, .endpoint-table tbody, .endpoint-table tr, .endpoint-table td { display: block; width: 100% !important; }
  .endpoint-table thead { display: none; }
  .endpoint-table tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .endpoint-table td { border: 0; padding: 4px 0; }
}
.help-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 8px 0 0; }
.help-grid > div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 24px; }
.help-grid h3 { margin: 0 0 8px; }
.help-grid p { margin: 0; font-size: 16px; }
@media (max-width: 720px) { .help-grid { grid-template-columns: 1fr; } }
.contact-card {
  display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between;
  padding: 28px; border-radius: var(--radius-l); background: var(--night); color: var(--on-night);
}
.contact-card h2 { color: #fff; margin: 0 0 6px !important; font-size: 26px; }
.contact-card p { margin: 0; color: var(--on-night-muted); }

.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.not-found h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 14px; }
