:root {
  --background: #f7f8fc;
  --surface: #ffffff;
  --ink: #0b1220;
  --muted: #44506e;
  --line: #d7ddf0;
  --accent: #0057ff;
  --accent-text: #0057ff;
  --on-accent: #ffffff;
  --note-bg: #fff8e8;
  --note-line: #f0d9a0;
  --note-ink: #5c4708;
  --note-strong: #3d3000;
  --device: #1c1c1e;
  --device-mid: #2c2c2e;
  --device-hi: rgba(255, 255, 255, 0.2);
  --device-shadow: rgba(11, 18, 32, 0.28);
  --radius: 16px;
  --max: 1120px;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --background: #0b0f1a;
  --surface: #121829;
  --ink: #f5f7ff;
  --muted: #b3c0e6;
  --line: #2a3552;
  --accent-text: #7aa8ff;
  --note-bg: #2a210c;
  --note-line: #5c4708;
  --note-ink: #ffc14d;
  --note-strong: #ffe3a3;
  --device: #2a2a2e;
  --device-mid: #3a3a3e;
  --device-hi: rgba(255, 255, 255, 0.16);
  --device-shadow: rgba(0, 0, 0, 0.45);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
    color-scheme: dark;
    --background: #0b0f1a;
    --surface: #121829;
    --ink: #f5f7ff;
    --muted: #b3c0e6;
    --line: #2a3552;
    --accent-text: #7aa8ff;
    --note-bg: #2a210c;
    --note-line: #5c4708;
    --note-ink: #ffc14d;
    --note-strong: #ffe3a3;
    --device: #2a2a2e;
    --device-mid: #3a3a3e;
    --device-hi: rgba(255, 255, 255, 0.16);
    --device-shadow: rgba(0, 0, 0, 0.45);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; }
body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font: 17px/1.45 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); }
.wrap {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 20px;
}
header.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--background) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(16px);
  -webkit-backdrop-filter: saturate(1.2) blur(16px);
  border-bottom: 1px solid var(--line);
}
header.top .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  min-width: 0;
}
.mark {
  display: flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.04em;
  flex: 0 0 auto;
}
.mark .pipe {
  width: 3px;
  height: 1.05em;
  border-radius: 2px;
  background: var(--accent);
}
nav.links { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
nav.links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
nav.links a.btn { color: var(--on-accent); }
.theme-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.theme-btn svg { width: 20px; height: 20px; }
.theme-btn .icon-sun { display: none; }
html[data-theme="dark"] .theme-btn .icon-moon { display: none; }
html[data-theme="dark"] .theme-btn .icon-sun { display: block; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .theme-btn .icon-moon { display: none; }
  html:not([data-theme="light"]) .theme-btn .icon-sun { display: block; }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 0;
  white-space: nowrap;
}
.btn.ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}
.hero { padding: 28px 0 12px; display: grid; gap: 36px; align-items: center; }
@media (min-width: 920px) {
  .hero { grid-template-columns: 1fr 1.05fr; padding: 48px 0 24px; }
}
h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.04em; margin: 0 0 14px; }
.lede { font-size: 20px; color: var(--muted); max-width: 38ch; margin: 0 0 22px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0 0; }
.chip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.phones {
  display: flex;
  justify-content: center;
  gap: 18px;
  align-items: flex-end;
}
.phone,
.device:not(.ipad) {
  --frame-w: min(248px, 40vw);
  width: var(--frame-w);
  position: relative;
  padding: 0 5px;
}
.phone.mid {
  --frame-w: min(272px, 44vw);
  z-index: 1;
}
.phone::before,
.device:not(.ipad)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  width: 4px;
  height: 38%;
  border-radius: 2px 0 0 2px;
  background: linear-gradient(
    to bottom,
    var(--device-mid) 0 12px,
    transparent 12px 22px,
    var(--device-mid) 22px 52px,
    transparent 52px 60px,
    var(--device-mid) 60px 90px,
    transparent 90px
  );
  pointer-events: none;
}
.phone::after,
.device:not(.ipad)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 24%;
  width: 4px;
  height: 58px;
  border-radius: 0 2px 2px 0;
  background: var(--device-mid);
  pointer-events: none;
}
.chassis {
  background:
    linear-gradient(160deg, #5a5a60 0%, var(--device-mid) 12%, var(--device) 42%, #0d0d0f 100%);
  border-radius: 24px;
  padding: 10px;
  box-shadow:
    inset 0 1px 0 var(--device-hi),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 24px 60px var(--device-shadow);
}
.phone .chassis,
.device:not(.ipad) .chassis {
  border-radius: calc(var(--frame-w, 248px) * 0.175);
  padding: 11px;
}
.shot.dark { display: none; }
html[data-theme="dark"] .shot.light { display: none; }
html[data-theme="dark"] .shot.dark { display: block; }
.phone .chassis img,
.device:not(.ipad) .chassis img {
  width: 100%;
  border-radius: calc(var(--frame-w, 248px) * 0.14);
  aspect-ratio: 1206 / 2622;
  object-fit: cover;
  background: #000;
}
@media (max-width: 820px) {
  nav.links a:not(.btn) { display: none; }
  .mark { font-size: 20px; }
}
@media (max-width: 720px) {
  .phone:not(.mid) { display: none; }
  .phone.mid { --frame-w: min(320px, 78vw); width: var(--frame-w); }
}
section { padding: 48px 0; }
section.band { border-top: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3vw, 32px); letter-spacing: -0.03em; margin: 0 0 10px; }
.sub { color: var(--muted); margin: 0 0 28px; max-width: 52ch; }
.grid3, .grid2 { display: grid; gap: 16px; }
@media (min-width: 800px) {
  .grid3 { grid-template-columns: repeat(3, 1fr); }
  .grid2 { grid-template-columns: 1fr 1fr; }
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }
.shot-row {
  display: grid;
  gap: 28px;
  align-items: center;
  margin-top: 40px;
}
.shot-row:first-of-type { margin-top: 0; }
@media (min-width: 860px) {
  .shot-row { grid-template-columns: 280px 1fr; }
  .shot-row.reverse { grid-template-columns: 1fr min(420px, 46%); }
  .shot-row.reverse .copy { order: -1; }
  .shot-row.reverse .device:not(.ipad) {
    justify-self: end;
    --frame-w: 280px;
    width: 290px;
  }
  .shot-row.ipad-hero.reverse { grid-template-columns: minmax(280px, 1fr) min(620px, 56%); }
  .shot-row.ipad-hero.reverse .device.ipad { justify-self: stretch; width: min(560px, 100%); }
}
.device {
  margin: 0 auto;
  width: min(290px, 100%);
  --frame-w: min(280px, calc(100% - 10px));
}
.device.ipad {
  width: min(560px, 100%);
  position: relative;
  padding: 0;
}
.device.ipad::before {
  content: none;
}
.device.ipad .chassis {
  border-radius: 16px;
  padding: 5px;
}
.device.ipad .chassis img {
  width: 100%;
  border-radius: 11px;
  aspect-ratio: 2752 / 2064;
  object-fit: cover;
  background: #111;
}
.copy h3 { margin: 0 0 8px; font-size: 24px; letter-spacing: -0.02em; }
.copy p { color: var(--muted); margin: 0; }
.copy p + p { margin-top: 12px; }
.ipad-points {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.ipad-points li {
  color: var(--muted);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.table-scroll { overflow-x: auto; margin-bottom: 20px; -webkit-overflow-scrolling: touch; }
table.compare {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}
.compare th, .compare td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.compare td:first-child { font-weight: 600; white-space: nowrap; }
.note {
  background: var(--note-bg);
  border: 1px solid var(--note-line);
  border-radius: var(--radius);
  padding: 16px 18px;
  color: var(--note-ink);
}
.note strong { color: var(--note-strong); }
footer.site {
  border-top: 1px solid var(--line);
  padding: 28px 0 48px;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
footer.site a { color: var(--muted); }
.legal {
  max-width: 800px;
  padding-top: 28px;
  padding-bottom: 8px;
}
.legal h1 { font-size: clamp(32px, 4vw, 40px); }
.legal .lede { max-width: none; font-size: 18px; }
.legal-section { margin-top: 28px; }
.legal-section h2 { font-size: 20px; }
.legal-section p, .legal-section li { color: var(--muted); }
.legal-section ul { padding-left: 1.2em; }
.legal-section a { font-weight: 600; }
.legal-eyebrow {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 8px;
}
.legal-back { display: inline-block; margin: 0 0 16px; font-weight: 600; }
.legal-document-footer {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.legal-footer-links { display: flex; gap: 16px; }
