/* Nimlet — open sky. Light, quiet pages; large black type; black pill actions;
   the sky photograph carries the colour. The icon's blue is the only accent. */

:root {
  color-scheme: light;
  --ink: #0b0d11;
  --text: #16191f;
  --text-2: #262d37;
  --muted: #4b5563;
  --faint: #6b7482;
  --line: #e4e8ee;
  --paper: #f5f7fa;
  --sky-wash: #edf3fa;
  --blue: #5a9eec;
  --blue-ink: #1f5fae;
  --blue-pale: #e8f1fc;
  --max: 1200px;
  --gutter: 40px;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
  font-family: var(--sans);
  background: #fff;
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

body { margin: 0; font-size: 1rem; position: relative; isolation: isolate; }

img { max-width: 100%; }
figure { margin: 0; }

a { color: var(--blue-ink); text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue-ink); outline-offset: 3px; }
.button:focus-visible { outline-offset: 4px; }

.wrap, .bar {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- Type ---------- */

h1, h2, h3 { font-family: var(--display); color: var(--ink); text-wrap: balance; }

h1 {
  font-size: clamp(3.1rem, 8vw, 6.9rem);
  font-weight: 700;
  letter-spacing: -0.052em;
  line-height: 0.97;
  margin: 0 0 28px;
}
h2 {
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.03;
  margin: 0 0 22px;
}
h3 {
  font-size: 1.28rem;
  font-weight: 650;
  letter-spacing: -0.022em;
  line-height: 1.3;
  margin: 0 0 10px;
}
p { margin: 0 0 18px; }
p, li { overflow-wrap: break-word; text-wrap: pretty; }
li { margin-bottom: 8px; }

.eyebrow {
  font: 600 0.78rem/1.5 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 20px;
}
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--text-2); max-width: 640px; }
.fine, .release-meta { font-size: 0.875rem; color: var(--faint); line-height: 1.55; }

/* ---------- Actions ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 28px;
  margin: 40px 0 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 14px 30px -14px rgba(11, 13, 17, 0.55);
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}
.button:hover {
  color: #fff;
  background: #22262e;
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 20px 36px -16px rgba(11, 13, 17, 0.6);
}
.button-sm { min-height: 44px; padding: 0 20px; font-size: 0.9rem; box-shadow: none; }
.button-sm:hover { box-shadow: none; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(11, 13, 17, 0.25);
}
.text-link:hover { text-decoration-color: currentColor; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(11, 13, 17, 0.06);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.monogram { display: block; width: 36px; height: 36px; flex: none; }
.monogram img { display: block; width: 100%; height: 100%; border-radius: 22%; }

.site-header nav { display: flex; align-items: center; gap: 2px; }
.site-header nav a:not(.button) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  color: #3a4350;
  font-size: 0.94rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.site-header nav a:not(.button):hover { color: var(--ink); background: rgba(11, 13, 17, 0.05); }
.site-header nav a[aria-current="page"]:not(.button) { color: var(--ink); font-weight: 600; }
.site-header .button-sm { margin-left: 10px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; }

/* ---------- Sky ---------- */

.sky-frame { position: absolute; left: 50%; width: max(100%, 1240px); transform: translateX(-50%); overflow: hidden; }
.sky-frame picture, .sky-frame img { display: block; width: 100%; height: auto; }
.sky-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 104px 0 0;
  text-align: center;
}
.hero-sky { position: absolute; inset: 0; z-index: -1; background: #fff; }
.hero-sky .sky-frame { top: 0; }
.hero-sky .sky-frame::after {
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.42) 0%,
    rgba(255, 255, 255, 0.1) 30%,
    rgba(255, 255, 255, 0) 58%,
    rgba(255, 255, 255, 0.55) 86%,
    #fff 100%);
}
.hero-sky img { transform-origin: 50% 80%; animation: drift 60s ease-in-out infinite alternate; }
@keyframes drift {
  from { transform: scale(1); }
  to { transform: scale(1.045) translateX(-1%); }
}

.hero-copy { position: relative; max-width: 940px; }
.hero h1 { margin-left: auto; margin-right: auto; }
.hero .lead { margin: 0 auto; font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: #1c2430; }
.availability { font-size: 0.9rem; color: #27303b; margin: 0; }

.notice {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 30px;
  padding: 8px 16px 8px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px -14px rgba(24, 56, 108, 0.4);
  color: #1b2230;
  font-size: 0.88rem;
  font-weight: 560;
}
.notice .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(90, 158, 236, 0.2); }

/* ---------- Hero phone: real iPhone capture ---------- */

.hero-device { position: relative; width: max-content; max-width: 100%; margin: 76px auto 0; padding-bottom: 72px; }
.hero-device figcaption { margin-top: 20px; font-size: 0.8rem; color: var(--faint); letter-spacing: 0.01em; }

.phone {
  position: relative;
  width: 320px;
  height: 664px;
  padding: 12px;
  border-radius: 56px;
  background: #0c0e12;
  box-shadow:
    inset 0 0 0 1.5px #3a3f48,
    0 70px 120px -50px rgba(24, 56, 108, 0.6),
    0 30px 60px -34px rgba(11, 13, 17, 0.5);
  text-align: left;
}
.phone.has-shot { height: auto; padding: 8px; }
.device-capture { position: relative; width: 100%; aspect-ratio: 568 / 1228; overflow: hidden; border-radius: 48px; background: #000; }
/* Source is 600×1320. The actual phone display starts at (16,76), 568×1228.
   Clip only the Mac mirror toolbar/frame; never retouch product UI. */
.phone.has-shot .device-capture img { position: absolute; display: block; width: 105.633803%; max-width: none; height: auto; left: -2.816901%; top: -6.188925%; border-radius: 0; }
@media (max-width: 600px) { .phone.has-shot .device-capture { border-radius: 43px; } }

.screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  padding: 12px 14px 14px;
  border-radius: 44px;
  background: #f5f6f8;
  color: #11151b;
  font-size: 13px;
  line-height: 1.3;
}
.statusbar { display: flex; align-items: center; justify-content: space-between; height: 30px; padding: 0 12px; font-size: 13px; font-weight: 600; }
.island { width: 96px; height: 28px; border-radius: 20px; background: #000; }
.sb-icons { display: flex; align-items: flex-end; gap: 2px; height: 11px; }
.sb-icons i { display: block; width: 3.5px; border-radius: 1px; background: #11151b; }
.sb-icons i:nth-child(1) { height: 5px; }
.sb-icons i:nth-child(2) { height: 8px; }
.sb-icons i:nth-child(3) { height: 11px; }

.ph-head { display: flex; align-items: center; justify-content: space-between; margin: 16px 4px 18px; }
.ph-head b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -0.03em; }
.ph-head small { display: flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 12px; color: #5b6573; }
.ph-head .dot { width: 7px; height: 7px; border-radius: 50%; background: #2fb45a; }
.ph-round { display: flex; align-items: center; justify-content: center; gap: 3px; width: 34px; height: 34px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px #e4e8ee; }
.ph-round i { width: 3.5px; height: 3.5px; border-radius: 50%; background: #11151b; }

.ph-label { margin: 0 6px 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #7a8492; }
.ph-targets { padding: 4px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px #e7eaef; }
.ph-target { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 16px; }
.ph-target.is-selected { background: #0c0e12; color: #fff; }
.glyph { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px; background: #eef1f5; color: #11151b; font: 600 12px/1 var(--mono); }
.is-selected .glyph { background: #2a2f38; color: #bfe0ff; }
.glyph.app { background: #dfeafa; color: var(--blue-ink); font: 700 14px/1 var(--sans); }
.glyph.alt { background: #e2f1e8; color: #1c7a4c; }
.t-name { flex: 1; min-width: 0; }
.t-name b { display: block; font-size: 14px; font-weight: 600; }
.t-name small { display: block; font-size: 11.5px; color: #7a8492; }
.is-selected .t-name small { color: #a7b1be; }
.badge { flex: none; padding: 3px 8px; border-radius: 999px; background: var(--blue-pale); color: var(--blue-ink); font-size: 10.5px; font-weight: 600; }
.badge.warn { background: #ffd98a; color: #3f2c00; }

.ph-approval { margin-top: 14px; padding: 14px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px #e7eaef; }
.ph-approval small { display: block; font-size: 12px; color: #5b6573; }
.ph-approval code { display: block; margin: 6px 0 12px; padding: 0; background: none; color: #11151b; font: 600 15px/1.3 var(--mono); }
.decide { display: flex; gap: 8px; }
.decide span { flex: 1; padding: 8px 12px; border-radius: 999px; background: #eef1f5; font-size: 13px; font-weight: 600; text-align: center; }
.decide .allow { background: #0c0e12; color: #fff; }

.ph-quick { display: flex; gap: 6px; margin-top: auto; overflow: hidden; }
.ph-quick span { flex: none; padding: 7px 11px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px #e3e7ec; font-size: 12px; font-weight: 600; white-space: nowrap; }
.ph-compose {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 6px 6px 6px 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px #e3e7ec, 0 10px 24px -14px rgba(0, 0, 0, 0.3);
}
.ph-compose .to { flex: none; padding: 5px 9px; border-radius: 999px; background: #eef1f5; font-size: 11px; font-weight: 600; white-space: nowrap; }
.ph-compose .field { flex: 1; min-width: 0; overflow: hidden; color: #2b323c; white-space: nowrap; text-overflow: ellipsis; }
.ph-compose .mic { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--blue-ink); color: #fff; }

/* Floating status pills around the hero phone (decorative, wide screens only). */
.float {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 12px 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 44px -26px rgba(24, 56, 108, 0.5);
  text-align: left;
  white-space: nowrap;
  animation: bob 7s ease-in-out infinite;
}
.float b { display: block; font-size: 0.92rem; color: var(--ink); }
.float small { display: block; font-size: 0.78rem; color: var(--muted); }
.float-left { right: calc(100% + 36px); top: 170px; }
.float-right { left: calc(100% + 36px); top: 350px; animation-delay: -3.5s; }
@keyframes bob { 50% { transform: translateY(-7px); } }

.bars { display: flex; align-items: center; justify-content: center; gap: 3px; flex: none; width: 44px; height: 36px; border-radius: 12px; background: var(--ink); }
.bars i { display: block; width: 3px; border-radius: 2px; background: #9fd0ff; animation: level 1.2s ease-in-out infinite alternate; }
.bars i:nth-child(1) { height: 8px; }
.bars i:nth-child(2) { height: 16px; animation-delay: -0.3s; }
.bars i:nth-child(3) { height: 22px; animation-delay: -0.6s; }
.bars i:nth-child(4) { height: 13px; animation-delay: -0.9s; }
.bars i:nth-child(5) { height: 7px; animation-delay: -0.45s; }
@keyframes level { to { transform: scaleY(0.45); } }

.mini-thumb { display: flex; flex-direction: column; gap: 4px; flex: none; width: 44px; height: 36px; padding: 9px 7px 0; border-radius: 9px; background: #fff; box-shadow: 0 0 0 1px #dfe4ea; }
.mini-thumb i { display: block; height: 3px; border-radius: 2px; background: #cfd8e3; }
.mini-thumb i:nth-child(1) { width: 70%; }
.mini-thumb i:nth-child(3) { width: 45%; background: var(--blue); }

/* ---------- Facts ---------- */

.facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 0;
  margin: 0 auto;
  padding-top: 8px;
  padding-bottom: 8px;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
}
.facts li { position: relative; margin: 0; padding: 0 22px; }
.facts li + li::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c3cad4;
  transform: translateY(-50%);
}

/* ---------- Home sections ---------- */

.section-heading { max-width: 780px; margin: 0 auto 72px; text-align: center; }
.section-heading p:not(.eyebrow) { max-width: 560px; margin-left: auto; margin-right: auto; color: var(--muted); font-size: 1.12rem; }

.story { padding-top: 144px; padding-bottom: 72px; scroll-margin-top: 72px; }

.chapter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 88px;
  align-items: center;
  padding: 48px 0;
}
.chapter.flip .chapter-copy { order: 2; }
.chapter-copy { max-width: 480px; }
.chapter h3 { font-size: clamp(1.9rem, 3.1vw, 2.7rem); font-weight: 700; letter-spacing: -0.042em; line-height: 1.06; margin: 0 0 22px; }
.chapter-copy p { color: var(--muted); font-size: 1.06rem; }
.kicker { margin: 0 0 18px; color: var(--blue-ink); font-size: 0.86rem; font-weight: 600; letter-spacing: 0.01em; }
.illustration-note { margin: 28px 0 0; text-align: center; font-size: 0.8rem; color: var(--faint); }

.vignette { padding: clamp(22px, 5vw, 60px); border-radius: 40px; background: var(--sky-wash); }
.sheet {
  max-width: 440px;
  margin: 0 auto;
  padding: 22px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(11, 13, 17, 0.04), 0 30px 60px -36px rgba(24, 56, 108, 0.4);
}
.sheet-note { margin: 16px 0 0; font-size: 0.82rem; color: var(--faint); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: baseline; gap: 6px; padding: 9px 14px; border-radius: 999px; background: #f1f4f8; color: var(--ink); font-size: 0.92rem; font-weight: 600; }
.chip small { color: #7a8492; font-size: 0.74rem; font-weight: 500; }
.chip.on { background: var(--ink); color: #fff; }
.chip.on small { color: #a7b1be; }

.compose { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 12px; border-radius: 20px; background: #f5f7fa; }
.compose .mic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; }
.wave { display: flex; align-items: center; gap: 3px; flex: none; }
.wave i { display: block; width: 3px; border-radius: 2px; background: var(--blue); }
.wave i:nth-child(odd) { height: 10px; }
.wave i:nth-child(even) { height: 18px; }
.wave i:nth-child(4) { height: 24px; }
.compose-text { min-width: 0; color: var(--text-2); font-size: 0.95rem; line-height: 1.4; }

.mini-window { position: relative; overflow: hidden; border-radius: 16px; box-shadow: 0 0 0 1px #e3e7ec; }
.mini-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #f3f5f8; color: #7a8492; font-size: 0.75rem; }
.mini-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d5dbe3; }
.mini-bar span { margin-left: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-body { display: grid; gap: 9px; padding: 16px; }
.mini-body span { display: block; height: 8px; border-radius: 4px; background: #e4e9ef; }
.mini-body .w70 { width: 70%; }
.mini-body .w45 { width: 45%; }
.mini-body .w60 { width: 60%; }
.mini-body .w35 { width: 35%; }
.mini-body .block { height: 54px; border-radius: 10px; background: #dcebfb; }
.pointer {
  position: absolute;
  left: 64%;
  top: 56%;
  width: 16px;
  height: 22px;
  background: var(--ink);
  clip-path: polygon(0 0, 0 78%, 26% 60%, 44% 100%, 60% 93%, 43% 55%, 80% 55%);
}
.context-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.pad { position: relative; height: 112px; border-radius: 18px; background: #f1f4f8; box-shadow: inset 0 0 0 1px #e3e7ec; }
.pad .touch { position: absolute; left: 56%; top: 34%; width: 26px; height: 26px; border-radius: 50%; background: rgba(90, 158, 236, 0.4); box-shadow: 0 0 0 9px rgba(90, 158, 236, 0.13); }
.pad small { position: absolute; left: 14px; bottom: 10px; color: #7a8492; font-size: 0.75rem; }
.listen { display: flex; flex-direction: column; justify-content: flex-end; gap: 1px; padding: 14px; border-radius: 18px; background: var(--ink); color: #fff; }
.listen .bars { width: auto; height: 26px; margin-bottom: auto; justify-content: flex-start; background: none; }
.listen b { font-size: 0.92rem; }
.listen small { color: #a7b1be; font-size: 0.75rem; }

.agent { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 13px 4px; border-bottom: 1px solid #eef1f5; }
.state { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(90, 158, 236, 0.18); }
.agent.ask .state { background: #f0a020; box-shadow: 0 0 0 4px rgba(240, 160, 32, 0.2); }
.state.done { background: #2fb45a; box-shadow: 0 0 0 4px rgba(47, 180, 90, 0.16); }
.a-name { flex: 1; min-width: 110px; }
.a-name b { display: block; font-size: 0.98rem; color: var(--ink); }
.a-name small { display: block; font-size: 0.8rem; color: #7a8492; }
.agent .decide { flex: none; gap: 6px; }
.agent .decide span { padding: 8px 14px; font-size: 0.82rem; }

/* Network */
.network { padding: 136px 0; background: var(--paper); scroll-margin-top: 72px; }
.route { display: flex; align-items: center; max-width: 760px; margin: 0 auto 72px; }
.node { flex: none; padding: 14px 24px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; }
.route .link {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 0 12px;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}
.route .link::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed #b3c2d4; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; margin: 0; padding: 32px 30px 26px; border-radius: 30px; background: #fff; box-shadow: 0 0 0 1px #e6eaf0; }
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue-ink);
  font-weight: 650;
}
.steps p { margin: 0; color: var(--muted); }
.network-note { max-width: 720px; margin: 48px auto 0; text-align: center; color: var(--muted); font-size: 0.95rem; }

/* Pricing */
.pricing { padding-top: 136px; padding-bottom: 136px; scroll-margin-top: 72px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: 0 auto; }
.plans article { padding: 42px 40px; border-radius: 34px; background: #fff; box-shadow: 0 0 0 1px #e3e7ec; }
.plans .pro { background: var(--ink); color: #fff; box-shadow: 0 40px 80px -48px rgba(11, 13, 17, 0.6); }
.plans .pro h3 { color: #fff; }
.plans p { color: var(--muted); }
.plans .pro p, .plans .pro li { color: #c9d0da; }
.plans .pro .fine { color: #9ba5b3; margin: 0; }
.plan-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.plan-heading h3 { margin: 0; font-size: 1.3rem; }
.plans .price { margin: 0; color: inherit; font-family: var(--display); font-size: 2.6rem; font-weight: 700; letter-spacing: -0.045em; line-height: 1; white-space: nowrap; }
.plans .pro .price { color: #fff; }
.price small { font-size: 0.8rem; font-weight: 500; letter-spacing: 0; color: #9ba5b3; }
.plans ul { margin: 28px 0; padding: 0; list-style: none; }
.plans li { position: relative; margin-bottom: 12px; padding-left: 32px; }
.plans li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.15em;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue-ink);
  font-size: 0.72rem;
  font-weight: 700;
}
.plans .pro li::before { background: #232831; color: #9fd0ff; }

/* Closing */
.closing { position: relative; isolation: isolate; overflow: hidden; padding: 150px 0 clamp(260px, 30vw, 420px); text-align: center; }
.closing-sky { position: absolute; inset: 0; z-index: -1; }
.closing-sky .sky-frame { bottom: 0; }
.closing-sky .sky-frame::after {
  background: linear-gradient(180deg,
    #fff 0%,
    rgba(255, 255, 255, 0.55) 24%,
    rgba(255, 255, 255, 0) 52%,
    rgba(255, 255, 255, 0) 82%,
    #fff 100%);
}
.closing h2 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); margin-bottom: 0; }
.closing p { max-width: 520px; margin: 0 auto; color: var(--text-2); }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); background: #fff; }
.site-footer .bar { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px 40px; padding-top: 36px; padding-bottom: 44px; }
.footer-brand .brand { font-size: 1.15rem; }
.footer-brand p { margin: 6px 0 0; color: var(--muted); font-size: 0.9rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 22px; max-width: 520px; font-size: 0.92rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.footer-links span { flex-basis: 100%; color: var(--faint); font-size: 0.85rem; text-align: right; }

/* ---------- Inner pages ---------- */

.sky-band { position: absolute; top: 0; left: 0; right: 0; z-index: -1; height: 620px; overflow: hidden; }
.sky-band picture, .sky-band img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.sky-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.55) 45%, #fff 100%);
}

.page { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 56px; }
.page h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); letter-spacing: -0.04em; line-height: 1.08; }
.page .actions { justify-content: flex-start; }
.page-intro { max-width: 920px; padding: 96px 0 64px; }
.page-intro h1 { font-size: clamp(2.8rem, 6.4vw, 5.4rem); }
.page-intro .lead { color: #1c2430; }
.page-intro .eyebrow { color: #27303b; }
.page-meta { color: #27303b; font-size: 0.92rem; }

.section { padding: 80px 0; scroll-margin-top: 88px; }
.page .section + .section { border-top: 1px solid var(--line); }
.article-width { max-width: 800px; }
.article-width h2:not(:first-child) { margin-top: 56px; }
.article-width p { color: var(--muted); }
.article-width .lead { color: var(--text-2); }

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px;
  padding: 48px;
  border-radius: 36px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(11, 13, 17, 0.06), 0 44px 90px -52px rgba(24, 56, 108, 0.45);
}
.download-brand { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.download-brand img { flex: none; border-radius: 22%; }
.download-brand h2 { margin: 0; font-size: 1.9rem; }
.download-panel p { color: var(--muted); }
.download-panel .release-meta { color: var(--faint); }
.download-panel .button { margin: 12px 0 16px; }
.download-panel .fine { margin: 0; }
.download-context { padding-left: 48px; border-left: 1px solid var(--line); }
.download-context h3 { font-size: 1.3rem; }
.download-context p { font-size: 0.97rem; }

.setup-list { margin: 32px 0; padding: 0; list-style: none; counter-reset: step; }
.setup-list > li { counter-increment: step; position: relative; margin: 0; padding: 0 0 28px 60px; }
.setup-list > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -4px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue-ink);
  font-weight: 650;
}
.setup-list h3 { font-size: 1.18rem; margin-bottom: 6px; }
.setup-list p { margin: 0; color: var(--muted); }

.section-nav { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 0 24px; }
.section-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 1px #dde3ea;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 550;
  text-decoration: none;
}
.section-nav a:hover { background: #fff; box-shadow: 0 0 0 1px var(--ink); }

.table-wrap { max-width: 100%; margin: 28px 0; overflow-x: auto; padding: 4px 24px; border-radius: 22px; box-shadow: 0 0 0 1px var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.table-wrap table { margin: 0; }
th, td { padding: 15px 18px 15px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
th { color: var(--ink); font-weight: 650; }
td { color: var(--muted); }

details { border-bottom: 1px solid var(--line); }
summary {
  position: relative;
  display: block;
  min-height: 44px;
  padding: 20px 44px 20px 0;
  cursor: pointer;
  color: var(--ink);
  font-size: 1.06rem;
  font-weight: 620;
  line-height: 1.45;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--faint);
  border-bottom: 2px solid var(--faint);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
details[open] > summary::after { transform: translateY(-25%) rotate(-135deg); }
summary:hover { color: var(--blue-ink); }
details > p, details > pre { margin: 0 0 18px; color: var(--muted); }
details > :last-child { margin-bottom: 22px; }

code, pre { font: 400 0.875rem/1.7 var(--mono); overflow-wrap: anywhere; }
:not(pre) > code { padding: 0.12em 0.42em; border-radius: 6px; background: #eef1f5; color: var(--ink); font-size: 0.86em; }
pre { max-width: 100%; padding: 18px 20px; border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1px #e6eaef; color: var(--text-2); white-space: pre-wrap; }
.checksum { color: var(--blue-ink); word-break: break-all; }

.contact .lead { font-size: 1.4rem; font-weight: 600; }

.policy-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 72px; align-items: start; padding: 16px 0 72px; }
.policy-layout aside {
  position: sticky;
  top: 96px;
  padding: 24px;
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 0 0 0 1px #e6ebf1;
  color: var(--muted);
  font-size: 0.92rem;
}
.policy-layout aside .eyebrow { margin-bottom: 14px; }
.policy-layout aside ul { margin: 0 0 16px; padding-left: 18px; }
.policy-layout aside a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.policy h2 { font-size: clamp(1.5rem, 2.4vw, 1.8rem); margin: 56px 0 18px; }
.policy h2:first-child { margin-top: 0; }
.policy p, .policy li { color: #3f4957; }
.policy strong { color: var(--ink); font-weight: 620; }
.policy table { display: block; overflow-x: auto; margin: 24px 0; }

.not-found .page-intro { padding-bottom: 120px; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .nav-anchor { display: none !important; }
  .float { display: none; }
  .chapter { grid-template-columns: 1fr; gap: 36px; padding: 36px 0; }
  .chapter.flip .chapter-copy { order: 0; }
  .chapter-copy { max-width: 640px; }
  .steps { grid-template-columns: 1fr; max-width: 580px; margin: 0 auto; }
  .policy-layout { grid-template-columns: 1fr; gap: 40px; }
  .policy-layout aside { position: static; }
  .download-panel { grid-template-columns: 1fr; gap: 32px; padding: 40px; }
  .download-context { padding: 32px 0 0; border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .plans { grid-template-columns: 1fr; max-width: 560px; }
}

@media (max-width: 650px) {
  :root { --gutter: 22px; }
  .site-header { position: static; }
  .site-header .bar { flex-wrap: wrap; gap: 4px 12px; min-height: 64px; padding-top: 8px; padding-bottom: 8px; }
  .site-header nav a:not(.button) { padding: 0 10px; }
  .site-header .button-sm { margin-left: 6px; padding: 0 16px; }
  .brand { font-size: 1.15rem; }

  h1 { font-size: clamp(2.6rem, 11.4vw, 3.6rem); }
  .lead { font-size: 1.08rem; }

  .hero { padding-top: 56px; }
  .hero-sky .sky-frame { width: 1500px; }
  .notice { margin-bottom: 24px; font-size: 0.82rem; }
  .actions { flex-direction: column; gap: 6px; margin-top: 32px; }
  .actions .button { width: 100%; max-width: 340px; }
  .page .actions { align-items: flex-start; }
  .hero-device { margin-top: 56px; padding-bottom: 56px; }
  .phone { width: 300px; height: 624px; padding: 11px; border-radius: 52px; }
  .screen { border-radius: 41px; }

  .facts { flex-direction: column; align-items: center; gap: 4px; }
  .facts li + li::before { display: none; }

  .section-heading { margin-bottom: 44px; }
  .section-heading p:not(.eyebrow) { font-size: 1.04rem; }
  .story { padding-top: 88px; padding-bottom: 48px; }
  .chapter { padding: 28px 0; gap: 28px; }
  .vignette { border-radius: 28px; padding: 18px; }
  .sheet { padding: 18px; border-radius: 20px; }
  .network { padding: 88px 0; }
  .route { margin-bottom: 44px; }
  .node { padding: 10px 14px; font-size: 0.88rem; }
  .route .link { gap: 26px; padding: 0 8px; font-size: 0.72rem; }
  .steps li { padding: 26px 24px 22px; border-radius: 24px; }
  .pricing { padding-top: 88px; padding-bottom: 88px; }
  .plans article { padding: 30px 24px; border-radius: 28px; }
  .plans .price { font-size: 2.2rem; }
  .closing { padding: 96px 0 240px; }

  .site-footer .bar { flex-direction: column; padding-top: 28px; padding-bottom: 32px; }
  .footer-links { justify-content: flex-start; }
  .footer-links span { text-align: left; }

  .sky-band { height: 520px; }
  .page-intro { padding: 56px 0 36px; }
  .page-intro h1 { font-size: clamp(2.5rem, 10.6vw, 3.6rem); }
  .section { padding: 56px 0; scroll-margin-top: 24px; }
  .download-panel { padding: 26px 22px; border-radius: 28px; }
  .download-brand img { width: 56px; height: 56px; }
  .download-brand h2 { font-size: 1.6rem; }
  .setup-list > li { padding-left: 52px; }
  .table-wrap { padding: 4px 16px; }
  .table-wrap th, .table-wrap td { min-width: 100px; }
  .table-wrap td:last-child { min-width: 190px; }
  .policy-layout { padding-top: 8px; }
}

@media (max-width: 430px) {
  .site-header nav { flex-basis: 100%; justify-content: space-between; margin-left: -10px; }
  .site-header .button-sm { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
