/* Wireplan site. The whole page is set up like one of the app's drawing sheets: drafting paper,
   ink-blue linework, a bordered frame with zone numbers, and a title block for the footer.
   Fonts are self-hosted (the CSP allows no outside hosts): Barlow, Barlow Condensed and
   Martian Mono, all under the SIL Open Font License. */

@font-face { font-family: "Barlow"; src: url("/fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlow-condensed-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("/fonts/martian-mono.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }

:root {
  --paper: #f3f6f9;
  --paper-2: #e7edf3;
  --white: #ffffff;
  --ink: #0e2640;
  --ink-2: #3e566f;
  --ink-3: #556a7f;
  --blue: #1d5ba8;
  --rule: #c9d4df;
  --rule-2: #9fb1c3;
  --grid: rgba(29, 91, 168, 0.065);
  --grid-major: rgba(29, 91, 168, 0.11);
  --orange: #e26b0a;
  --orange-ink: #a14700;

  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gutter: 40px;
  --max: 1240px;
  --frame-gap: 14px;
  --head-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--paper);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  padding: var(--frame-gap);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

[id] { scroll-margin-top: calc(var(--head-h) + 24px); }

h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 600; }

code, kbd, pre { font-family: var(--mono); }
p, li, dd { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
code.inline {
  font-size: 0.8em;
  padding: 1px 5px;
  border: 1px solid var(--rule);
  background: var(--white);
  color: var(--ink);
  white-space: nowrap;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 20px; top: -60px; z-index: 50;
  padding: 10px 14px; background: var(--ink); color: var(--white);
  font-family: var(--mono); font-size: 12px; text-decoration: none;
}
.skip-link:focus { top: 20px; color: var(--white); }

/* ---------- The sheet frame ---------- */

.frame {
  border: 1.5px solid var(--ink);
  background: var(--paper);
  min-height: calc(100vh - 2 * var(--frame-gap));
  display: flex;
  flex-direction: column;
}
.frame > main { flex: 1 0 auto; }

.zones {
  display: flex;
  height: 20px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 20px;
  color: var(--ink-3);
  text-align: center;
  user-select: none;
}
.zones span { flex: 1; }
.zones span + span { border-left: 1px solid var(--rule-2); }
.zones--bottom { border-bottom: 0; border-top: 1px solid var(--ink); }

.inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Labels, tags, buttons ---------- */

.label,
.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.sec-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.sec-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule-2);
}

.tag {
  display: inline-block;
  vertical-align: 0.2em;
  margin-left: 6px;
  padding: 1px 6px 0;
  border: 1px solid var(--orange-ink);
  color: var(--orange-ink);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag--app { border-color: var(--ink-2); color: var(--ink-2); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 11px; }

.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--head-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}
.brand img { width: 28px; height: 28px; }
.brand:hover { color: var(--ink); }

.links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.links a {
  padding: 8px 10px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.links a:hover { color: var(--ink); text-decoration: underline; }
.links a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }

.menu-btn {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1.5px solid var(--ink);
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--ink); }
.menu-btn[aria-expanded="true"] { background: var(--ink); }
.menu-btn[aria-expanded="true"] span { background: var(--white); }

.menu-sheet {
  border-top: 1px solid var(--rule-2);
  padding: 8px var(--gutter) 18px;
}
.menu-sheet[hidden] { display: none; }
.menu-sheet a {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
}
.menu-sheet a:last-child { border-bottom: 0; }

/* ---------- Sections ---------- */

.section { padding: 104px 0; border-top: 1px solid var(--ink); }
.section--band { background: var(--paper-2); }
.section:first-child { border-top: 0; }

.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head h2,
.h2 {
  font-family: var(--display);
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.005em;
}
.section-head .lead { margin-top: 18px; }

.lead { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 62ch; }

.gridpaper {
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
}

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

.hero { padding: 72px 0 88px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 64px;
  align-items: center;
}

.stamp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 6px 12px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.stamp::before { content: ""; width: 8px; height: 8px; background: var(--orange); }

.hero h1 {
  font-family: var(--display);
  font-size: clamp(46px, 5.6vw, 80px);
  line-height: 0.94;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
.hero h1 .ln { display: block; }
.hero h1 .ln + .ln { color: var(--blue); }

.hero .lead { margin-top: 24px; }
.hero .ctas { margin-top: 32px; }

.fine {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--ink-3);
}

/* The hero sheet, with its dimension lines and callouts. */
.hero-sheet {
  position: relative;
  margin: 0;
  padding: 34px 46px 0 0;
}
.sheet-wrap {
  position: relative;
  background: var(--white);
  border: 1px solid var(--ink);
  box-shadow: 8px 8px 0 var(--paper-2), 8px 8px 0 1px var(--rule-2);
}
.sheet-wrap img { width: 100%; }

.dim {
  position: absolute;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--blue);
}
.dim::before,
.dim::after { content: ""; position: absolute; background: var(--blue); }
.dim span { position: relative; z-index: 1; padding: 0 8px; background: var(--paper); }

.dim--w {
  top: 6px; left: 0; right: 46px;
  height: 16px;
  display: flex; align-items: center; justify-content: center;
  border-left: 1px solid var(--blue);
  border-right: 1px solid var(--blue);
}
.dim--w::before { left: 0; right: 0; top: 50%; height: 1px; }
.dim--w::after { display: none; }

.dim--h {
  top: 34px; bottom: 0; right: 10px;
  width: 16px;
  display: flex; align-items: center; justify-content: center;
  border-top: 1px solid var(--blue);
  border-bottom: 1px solid var(--blue);
}
.dim--h::before { top: 0; bottom: 0; left: 50%; width: 1px; }
.dim--h::after { display: none; }
.dim--h span { writing-mode: vertical-rl; padding: 8px 0; }

.callouts { position: absolute; inset: 0; pointer-events: none; }
.callouts svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.callouts line { stroke: var(--orange); stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.callouts circle { fill: var(--orange); }

.callout {
  position: absolute;
  transform: translateY(-50%);
  padding: 3px 8px;
  border: 1px solid var(--orange-ink);
  background: var(--white);
  color: var(--orange-ink);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.callout--units { left: 47%; top: 53.1%; }
.callout--open { left: 47%; top: 36%; }
.callout--block { left: 70%; top: 80%; }

/* ---------- Drawing set ---------- */

.sheets {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 28px;
}
.sheet { margin: 0; }
.sheet .frame-img {
  background: var(--white);
  border: 1px solid var(--ink);
  padding: 6px;
}
.sheet figcaption { padding-top: 16px; }
.sheet h3 { font-size: 19px; line-height: 1.3; }
.sheet p { margin-top: 6px; font-size: 15.5px; color: var(--ink-2); }

.sheets-note {
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid var(--rule-2);
  color: var(--ink-2);
  max-width: 72ch;
}

/* ---------- How it works: steps on one line ---------- */

.steps { list-style: none; position: relative; }
.steps::before {
  content: "";
  position: absolute;
  left: 21px; top: 22px; bottom: 22px;
  width: 2px;
  background: var(--blue);
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 5fr) minmax(0, 6fr);
  gap: 0 40px;
  align-items: start;
}
.step + .step { margin-top: 88px; }

.node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--blue);
  background: var(--paper-2);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}

.step-text { padding-top: 6px; }
.step-text h3 {
  font-family: var(--display);
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.08;
}
.step-text p { margin-top: 14px; color: var(--ink-2); }
.step-text .label { margin-bottom: 10px; }

.step-shot {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--ink);
  padding: 6px;
}

.quick {
  margin: 18px 0 0;
  padding: 16px 18px;
  overflow-x: auto;
  background: var(--ink);
  color: #dbe6f2;
  font-size: 12.5px;
  line-height: 1.9;
}
.quick .ln { display: block; white-space: pre-wrap; padding-left: 2ch; text-indent: -2ch; }
.quick .arrow, .quick .sep { color: #8fb3df; }
.quick .cable { color: #ffb070; }

.checks { list-style: none; margin-top: 16px; }
.checks li {
  position: relative;
  padding: 7px 0 7px 26px;
  border-top: 1px solid var(--rule);
  font-size: 16px;
  color: var(--ink-2);
}
.checks li:last-child { border-bottom: 1px solid var(--rule); }
.checks li::before {
  content: "";
  position: absolute;
  left: 2px; top: 15px;
  width: 10px; height: 6px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}
.checks li.soon { color: var(--ink-3); }
.checks li.soon::before { border: 0; top: 18px; width: 10px; height: 2px; background: var(--rule-2); transform: none; }

/* ---------- Schedule table (the afternoon jobs) ---------- */

.schedule {
  width: 100%;
  border-collapse: collapse;
  border: 1.5px solid var(--ink);
  background: var(--white);
  font-size: 16px;
}
.schedule th,
.schedule td {
  padding: 18px 20px;
  border-top: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}
.schedule thead th {
  padding: 10px 20px;
  border-top: 0;
  border-bottom: 1px solid var(--ink);
  background: var(--paper-2);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.schedule tbody th {
  width: 26%;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.schedule td { color: var(--ink-2); }
.schedule td.incl { width: 15%; white-space: nowrap; }
.schedule td.incl .tag { margin: 0 6px 6px 0; }
.schedule .ref {
  display: block;
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

/* ---------- Devices ---------- */

.devices {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.devices .lead { margin-top: 18px; }

.platforms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 36px;
  border: 1.5px solid var(--ink);
  background: var(--white);
}
.platform-group { padding: 16px 20px 18px; }
.platform-group + .platform-group { border-left: 1px solid var(--ink); }
.platform-group ul { list-style: none; margin-top: 10px; }
.platform-group li { padding: 5px 0; border-top: 1px solid var(--rule); font-weight: 500; }
.platform-group.planned li { color: var(--ink-3); font-weight: 400; }

.phone {
  justify-self: center;
  width: min(100%, 300px);
  margin: 0;
  padding: 10px;
  border: 1.5px solid var(--ink);
  border-radius: 40px;
  background: var(--white);
}
.phone img { border-radius: 30px; }

/* ---------- Pricing ---------- */

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.plan {
  border: 1.5px solid var(--ink);
  background: var(--white);
}
.plan--plus { box-shadow: 8px 8px 0 var(--orange); }

.plan-head {
  display: grid;
  grid-template-columns: 1fr auto;
  border-bottom: 1px solid var(--ink);
}
.plan-head > div { padding: 14px 20px 16px; }
.plan-head > div + div { border-left: 1px solid var(--ink); text-align: right; }
.plan h3 {
  margin-top: 4px;
  font-family: var(--display);
  font-size: 30px;
  line-height: 1.05;
}
.plan-trial {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-ink);
}

.plan-trial--app { color: var(--ink-2); }

.plan-price { padding: 22px 20px 20px; border-bottom: 1px solid var(--rule); }
.plan-amount {
  font-family: var(--display);
  font-size: 58px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.plan-per {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.plan-alt { margin-top: 10px; font-size: 15.5px; color: var(--ink-2); }

.plan-body { padding: 18px 20px 22px; }
.plan-body > p { color: var(--ink-2); }
.plan .checks { margin-top: 14px; }

.plans-note {
  margin-top: 36px;
  max-width: 78ch;
  font-size: 15px;
  color: var(--ink-2);
}

/* ---------- General notes ---------- */

.notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1.5px solid var(--ink);
  background: var(--white);
  list-style: none;
  counter-reset: note;
}
.notes li { padding: 22px 24px 26px; counter-increment: note; }
.notes li + li { border-left: 1px solid var(--ink); }
.notes li::before {
  content: counter(note);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  border: 1.5px solid var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
}
.notes h3 { font-size: 19px; line-height: 1.3; }
.notes p { margin-top: 8px; font-size: 16px; color: var(--ink-2); }

/* ---------- FAQ ---------- */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 56px;
}
.faq-layout .section-head { margin-bottom: 0; }

.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule-2); }
.faq summary {
  position: relative;
  display: block;
  padding: 20px 48px 20px 0;
  cursor: pointer;
  list-style: none;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 14px;
  height: 2px;
  background: var(--blue);
  transition: transform 0.15s ease;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--blue); }
.faq .answer { padding: 0 48px 22px 0; color: var(--ink-2); }

/* ---------- Get it ---------- */

.get-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.get-grid .lead { margin-top: 18px; }

.stores {
  list-style: none;
  border: 1.5px solid var(--ink);
  background: var(--white);
}
.stores li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
}
.stores li + li { border-top: 1px solid var(--rule); }
.stores .head {
  padding: 10px 20px;
  border-bottom: 1px solid var(--ink);
  background: var(--paper-2);
}
.stores li.head + li { border-top: 0; }
.stores strong { font-size: 18px; }
.stores .status {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-ink);
}

/* ---------- Page hero (support, legal, 404) ---------- */

.page-hero { padding: 72px 0 64px; border-bottom: 1px solid var(--ink); }
.page-hero h1 {
  margin-top: 12px;
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.98;
  text-transform: uppercase;
}
.page-hero .meta {
  display: inline-block;
  margin-top: 18px;
  padding: 4px 10px;
  border: 1px solid var(--ink);
  background: var(--white);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.page-hero .lead { margin-top: 20px; }
.page-hero .ctas { margin-top: 32px; }

.not-found { border-bottom: 0; padding: 96px 0 120px; }
.not-found .code {
  font-family: var(--mono);
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 300;
  line-height: 1;
  color: var(--blue);
}

/* ---------- Legal and support pages ---------- */

.page-body { padding: 64px 0 104px; }

.legal-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.toc {
  position: sticky;
  top: calc(var(--head-h) + 28px);
  border: 1.5px solid var(--ink);
  background: var(--white);
}
.toc h2 {
  padding: 10px 16px;
  border-bottom: 1px solid var(--ink);
  background: var(--paper-2);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.toc ol { list-style: none; counter-reset: toc; padding: 6px 0; }
.toc li { counter-increment: toc; }
.toc a {
  display: flex;
  gap: 10px;
  padding: 6px 16px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
}
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  flex: none;
  padding-top: 2px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-3);
}
.toc a:hover { color: var(--blue); text-decoration: underline; }

.legal-prose { max-width: 72ch; }
.legal-prose section + section { margin-top: 44px; }
.legal-prose h2 {
  padding-top: 18px;
  border-top: 1px solid var(--ink);
  font-family: var(--display);
  font-size: 30px;
  line-height: 1.1;
}
.legal-prose h3 { margin-top: 22px; font-size: 18px; }
.legal-prose p { margin-top: 12px; color: var(--ink-2); }
.legal-prose h2 + p { margin-top: 14px; }
.legal-prose ul,
.legal-prose ol { margin-top: 12px; padding-left: 22px; color: var(--ink-2); }
.legal-prose li { margin-top: 6px; }
.legal-prose li::marker { color: var(--blue); }
.legal-prose strong { color: var(--ink); }

.note {
  padding: 14px 18px;
  border: 1px solid var(--ink);
  border-left: 4px solid var(--orange);
  background: var(--white);
}

.store-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
  border: 1.5px solid var(--ink);
  background: var(--white);
}
.tile { padding: 16px 18px 18px; }
.tile + .tile { border-left: 1px solid var(--ink); }
.tile h3 { margin-top: 0; font-size: 17px; }
.tile p { margin-top: 8px; font-size: 15px; }

/* ---------- Account ---------- */

/* Account links and buttons stay hidden until accounts (and checkout) are switched on in config.js. */
[data-accounts][hidden],
[data-accounts-off][hidden],
[data-checkout][hidden],
[data-checkout-off][hidden],
.account [hidden] { display: none !important; }
.menu-sheet a:has(+ a[hidden]:last-child) { border-bottom: 0; }

button.btn { cursor: pointer; }
.btn:disabled { opacity: 0.55; cursor: progress; }

.plan-cta { margin-top: 20px; }

.account { max-width: 760px; }
.account-stack { display: grid; gap: 28px; }
.account-msg {
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}
.account-msg:empty { display: none; }
.account-msg--error { padding-left: 12px; border-left: 3px solid var(--orange); color: var(--orange-ink); }

.panel { border: 1.5px solid var(--ink); background: var(--white); }
.panel--plus { box-shadow: 8px 8px 0 var(--orange); }
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 8px 20px;
  border-bottom: 1px solid var(--ink);
  background: var(--paper-2);
}
.panel-head .plan-trial { margin-top: 0; }
.panel-body { padding: 20px 20px 22px; }
.panel-body > * + *,
#plus-on > * + *,
#plus-off > * + *,
#plus-buy > * + *,
#win-owned > * + *,
#win-buy > * + * { margin-top: 14px; }
.panel-body p { color: var(--ink-2); }
.panel-body strong { color: var(--ink); }

.signin { display: grid; gap: 10px; max-width: 360px; }
.signin .btn { justify-content: center; }
.or { display: flex; align-items: center; gap: 14px; padding-top: 8px; }
.or::after { content: ""; flex: 1; height: 1px; background: var(--rule-2); }

.field label { display: block; margin-bottom: 8px; font-weight: 500; color: var(--ink); }
.field-row { display: flex; flex-wrap: wrap; gap: 10px; }
.field input {
  flex: 1 1 240px;
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--ink);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}
.field input[autocomplete="one-time-code"] { font-family: var(--mono); letter-spacing: 0.3em; }
.text-btn {
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue);
  font: inherit;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.text-btn:hover { color: var(--ink); }

.choices { min-width: 0; margin: 0; padding: 0; border: 0; }
.choices legend { margin-bottom: 10px; padding: 0; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--rule-2);
  background: var(--white);
  cursor: pointer;
}
.choice:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input { flex: none; width: 18px; height: 18px; margin: 4px 0 0; accent-color: var(--blue); }
.choice strong { display: block; font-size: 18px; }
.choice span span { color: var(--ink-2); font-size: 15px; }

.fine-print { font-size: 14.5px; color: var(--ink-3); }
.panel-body .fine-print { color: var(--ink-3); }

/* ---------- Title block footer ---------- */

.titleblock { padding: 56px 0 40px; border-top: 1px solid var(--ink); }

.tb {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.25fr 1.45fr 0.8fr;
  gap: 1px;
  border: 1.5px solid var(--ink);
  background: var(--ink);
}
.tb-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px 14px;
  background: var(--white);
  font-size: 15px;
  line-height: 1.45;
}
.tb-cell .label { font-size: 9.5px; }
.tb-cell strong { font-size: 16px; color: var(--ink); }
.tb-cell span:not(.label) { color: var(--ink-2); }
.tb-brand p { font-size: 14px; color: var(--ink-2); }
.tb-no strong { font-family: var(--display); font-size: 26px; line-height: 1.1; }
.tb-links { grid-column: span 4; }
.tb-links ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.tb-links a { color: var(--ink); font-weight: 500; }
.tb-links a:hover { color: var(--blue); }
.tb-links a[aria-current="page"] { text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.tb-copy { justify-content: flex-end; font-size: 13px; color: var(--ink-3); }
.tb-contact a { font-size: 14px; overflow-wrap: anywhere; }

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

@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero .lead { max-width: 64ch; }
  .hero-sheet { max-width: 860px; }
  .sheets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step { grid-template-columns: 44px minmax(0, 1fr); gap: 0 28px; }
  .step-shot { grid-column: 2; margin-top: 26px; max-width: 640px; }
  .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .tb { grid-template-columns: 1fr 1fr 1.35fr; }
  .tb-brand { grid-column: span 3; }
  .tb-links { grid-column: span 2; }
  .tb-copy { grid-column: span 3; justify-content: flex-start; }
}

@media (max-width: 860px) {
  :root { --head-h: 60px; --frame-gap: 10px; }
  .links, .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .section { padding: 72px 0; }
  .hero { padding: 48px 0 64px; }
  .section-head { margin-bottom: 40px; }
  .devices { grid-template-columns: minmax(0, 1fr) 240px; gap: 36px; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .notes { grid-template-columns: minmax(0, 1fr); }
  .notes li + li { border-left: 0; border-top: 1px solid var(--ink); }
  .get-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .legal-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .toc { position: static; }
  .store-cards { grid-template-columns: minmax(0, 1fr); }
  .tile + .tile { border-left: 0; border-top: 1px solid var(--ink); }
  .schedule tbody th { width: 30%; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; --frame-gap: 6px; }
  body { font-size: 16px; }
  .zones span:nth-child(n + 5) { display: none; }
  .brand { font-size: 21px; }
  .section { padding: 56px 0; }
  .lead { font-size: 17px; }
  .hero h1 { font-size: clamp(40px, 12.4vw, 56px); }
  .hero-sheet { padding: 28px 30px 0 0; }
  .dim--w { right: 30px; top: 2px; }
  .dim--h { top: 28px; right: 2px; }
  .callouts { display: none; }
  .sheets { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .steps::before { left: 15px; }
  .step { grid-template-columns: 32px minmax(0, 1fr); gap: 0 16px; }
  .step + .step { margin-top: 64px; }
  .node { width: 32px; height: 32px; font-size: 11px; }
  .step-text { padding-top: 0; }
  .quick { font-size: 11px; padding: 14px; }

  .schedule, .schedule tbody, .schedule tr, .schedule th, .schedule td { display: block; width: auto; }
  .schedule thead { display: none; }
  .schedule tr { padding: 16px 16px 14px; }
  .schedule tr + tr { border-top: 1px solid var(--rule-2); }
  .schedule th, .schedule td { padding: 0; border: 0; }
  .schedule tbody th { width: auto; }
  .schedule td { margin-top: 6px; }
  .schedule td.incl { margin-top: 10px; white-space: normal; }

  .devices { grid-template-columns: minmax(0, 1fr); }
  .phone { width: min(100%, 250px); }
  .platforms { grid-template-columns: minmax(0, 1fr); }
  .platform-group + .platform-group { border-left: 0; border-top: 1px solid var(--ink); }
  .plan-amount { font-size: 50px; }
  .plan-head { grid-template-columns: minmax(0, 1fr); }
  .plan-head > div + div { border-left: 0; border-top: 1px solid var(--ink); text-align: left; }
  .faq summary { font-size: 17px; }
  .page-hero { padding: 48px 0 44px; }
  .page-body { padding: 44px 0 72px; }
  .legal-prose h2 { font-size: 26px; }
  .tb { grid-template-columns: 1fr 1fr; }
  .tb-brand, .tb-links, .tb-copy { grid-column: span 2; }
  .tb-copy { justify-content: flex-start; }
  .tb-cell { order: 2; }
  .tb-brand { order: 0; }
  .tb-sheet, .tb-no { order: 1; }
  .tb-drawn, .tb-contact { grid-column: span 2; }
  .choice-grid { grid-template-columns: minmax(0, 1fr); }
  .panel-head { padding: 8px 16px; }
  .panel-body { padding: 18px 16px 20px; }
}

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

@media print {
  body { padding: 0; }
  .topbar { position: static; }
  .menu-btn, .menu-sheet, .skip-link { display: none !important; }
}
