/* GPStrix marketing site. A modern product site: white and cool grey, one sans family, one blue
   accent, soft radii. See site-src/README.md before editing: the tokens below are the whole
   palette and scale, and new components should be built from them rather than one-off values. */

/* ---------------------------------------------------------------- tokens */
:root {
  --bg: #ffffff;
  --bg-2: #f5f7fa;
  --bg-3: #eceff4;
  --ink: #0b0d12;
  --ink-2: #3b414d;
  --ink-3: #5c6371;
  --line: #e3e7ee;
  --line-2: #eef1f5;
  --blue: #2457f5;
  --blue-ink: #1a43d1;
  --blue-wash: #eaf0ff;
  --navy: #0b1324;
  --navy-2: #131d33;
  --on-navy: #c9d1e1;
  --frame: #12151c;
  --ok: #157347;
  --bad: #b42318;
  --amber: #8a5a00;

  /* Aliases kept so page-scoped styles written for the old palette still resolve. */
  --paper: var(--bg);
  --paper-2: var(--bg-2);
  --paper-3: var(--bg-3);
  --card: var(--bg);
  --rule: var(--line);
  --rule-soft: var(--line-2);
  --warm: var(--blue);
  --warm-wash: var(--blue-wash);

  --sans: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  /* There is no serif any more; the alias stops old page styles falling back to Times. */
  --serif: var(--sans);
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-base: 1.0625rem;
  --t-md: 1.1875rem;
  --t-lg: 1.3125rem;
  --t-xl: clamp(1.375rem, 1.15rem + 0.8vw, 1.625rem);
  --t-2xl: clamp(1.75rem, 1.3rem + 1.7vw, 2.5rem);
  --t-3xl: clamp(2.125rem, 1.4rem + 2.9vw, 3.5rem);
  --t-4xl: clamp(2.375rem, 1.3rem + 4.2vw, 4.25rem);

  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 76rem;
  --measure: 38rem;
  --section: clamp(3.5rem, 2.5rem + 4.5vw, 6.5rem);
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(11, 13, 18, .06), 0 1px 1px rgba(11, 13, 18, .04);
  --shadow: 0 1px 2px rgba(11, 13, 18, .05), 0 12px 32px -12px rgba(11, 13, 18, .18);
  --shadow-lg: 0 2px 4px rgba(11, 13, 18, .04), 0 24px 60px -20px rgba(11, 13, 18, .28);
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--t-base)/1.65 var(--sans);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 0.2em; }
.prose a, .faq a, .legal a, .article a, .lede a, p > a:not([class]) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; text-decoration-color: rgba(36, 87, 245, .35); }
.prose a:hover, .faq a:hover, .legal a:hover, .article a:hover, .lede a:hover, p > a:not([class]):hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; color: var(--ink); }
p, ul, ol, dl, figure, blockquote { margin: 0; }
p + p { margin-top: var(--s-4); }
strong, b { font-weight: 650; }
em { font-style: normal; font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
::selection { background: var(--blue-wash); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--s-4); top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: var(--s-2) var(--s-4); border-radius: 8px; }
.skip:focus { top: var(--s-4); }

/* ---------------------------------------------------------------- typography */
.display { font-size: var(--t-4xl); line-height: 1.05; letter-spacing: -0.035em; font-weight: 750; }
.h1 { font-size: var(--t-3xl); line-height: 1.08; letter-spacing: -0.03em; font-weight: 750; }
.h2 { font-size: var(--t-2xl); line-height: 1.15; letter-spacing: -0.025em; font-weight: 700; }
.h3 { font-size: var(--t-xl); line-height: 1.25; letter-spacing: -0.015em; font-weight: 650; }
.h4 { font: 650 var(--t-base)/1.4 var(--sans); }
.lede { font-size: var(--t-md); line-height: 1.6; color: var(--ink-2); max-width: var(--measure); }
.lede-lg { font-size: var(--t-lg); line-height: 1.5; color: var(--ink-2); max-width: 40rem; font-weight: 500; letter-spacing: -0.01em; }
.prose { max-width: var(--measure); color: var(--ink-2); }
.prose h3 { font: 650 var(--t-md)/1.35 var(--sans); letter-spacing: -0.01em; color: var(--ink); margin-top: var(--s-6); margin-bottom: var(--s-2); }
.prose ul, .prose ol { padding-left: 1.2em; margin-top: var(--s-4); }
.prose li + li { margin-top: var(--s-2); }
.prose li::marker { color: var(--blue); }
.small { font-size: var(--t-sm); }
.muted { color: var(--ink-3); }
.num { font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- layout */
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-tight { padding-block: calc(var(--section) * 0.6); }
.band { background: var(--bg-2); }
/* A navy section, at most once or twice a page, to break the white. Flat colour, no glow. */
.band-dark { background: var(--navy); color: var(--on-navy); }
.band-dark .h1, .band-dark .h2, .band-dark .h3, .band-dark h2, .band-dark h3, .band-dark b { color: #fff; }
.band-dark .lede, .band-dark .prose, .band-dark .muted, .band-dark p { color: var(--on-navy); }
.band-dark a:not(.btn) { color: #9db8ff; }
.band-dark .callout-key li { color: var(--on-navy); }
.band-dark .callout-key b { color: #fff; }
.band-dark .shot figcaption { color: #97a1b6; }
/* Sections used to be divided by hairlines; spacing does that job now. */
.rule-top { border-top: 0; }
.section.rule-top + .section, .section + .section.rule-top { padding-top: calc(var(--section) * 0.5); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.4vw, 2.5rem); row-gap: var(--s-6); }
.stack > * + * { margin-top: var(--s-3); }
.stack-lg > * + * { margin-top: var(--s-6); }
@media (max-width: 899px) { .grid > * { grid-column: 1 / -1 !important; } }

/* A section heading beside its content: heading left, body right. */
.margin-head { grid-column: 1 / span 5; }
.margin-head .h2 { max-width: 16ch; }
.margin-body { grid-column: 7 / -1; }
@media (min-width: 900px) { .margin-head.sticky { position: sticky; top: 6.5rem; align-self: start; } }

/* ---------------------------------------------------------------- buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 2.875rem;
  padding: 0.7rem 1.3rem; border: 1px solid var(--blue); border-radius: var(--radius);
  background: var(--blue); color: #fff; font: 600 var(--t-sm)/1.2 var(--sans);
  text-decoration: none; cursor: pointer; box-shadow: var(--shadow-sm);
  transition: background-color .15s, border-color .15s, box-shadow .15s;
}
.btn:hover { background: var(--blue-ink); border-color: var(--blue-ink); color: #fff; text-decoration: none; }
.btn-quiet { background: var(--bg); color: var(--ink); border-color: var(--line); }
.btn-quiet:hover { background: var(--bg-2); color: var(--ink); border-color: #cfd5df; }
.btn-sm { min-height: 2.375rem; padding: 0.45rem 0.95rem; border-radius: 8px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.more { font-weight: 600; text-decoration: none; color: var(--blue); }
.more::after { content: "\2192"; display: inline-block; margin-left: 0.35em; transition: transform .15s; }
.more:hover, .prose a.more, .lede a.more { text-decoration: none; }
.more:hover::after { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); }

/* ---------------------------------------------------------------- header */
.masthead { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.masthead.scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 12px -6px rgba(11, 13, 18, .12); }
html:not(.js) .masthead { border-bottom-color: var(--line); }
.masthead .wrap { display: flex; align-items: center; gap: var(--s-5); min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; flex: none; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); text-decoration: none; }
/* Outlined paths (brand/README.md), so the mark never waits on the web font. The box runs
   from the ping ring to the descender of the g, which puts its middle on the x-height's. */
.brand img { display: block; width: auto; height: 1.875rem; }
.nav { display: flex; align-items: center; gap: 0.125rem; margin-left: var(--s-5); }
.nav-item { position: relative; display: flex; }
.nav-top {
  display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.5rem 0.8rem; border-radius: 8px;
  background: none; border: 0; color: var(--ink-2); font: 550 var(--t-sm)/1 var(--sans);
  text-decoration: none; cursor: pointer;
}
.nav-top:hover { color: var(--ink); background: var(--bg-2); text-decoration: none; }
.nav-top[aria-expanded="true"] { color: var(--ink); background: var(--bg-2); }
.nav-item[data-current] > .nav-top { color: var(--ink); font-weight: 650; }
.nav-top svg { width: 0.7rem; height: 0.7rem; transition: transform .15s; opacity: .7; }
.nav-top[aria-expanded="true"] svg { transform: rotate(180deg); }
.masthead-end { margin-left: auto; display: flex; align-items: center; gap: var(--s-4); }
.signin { color: var(--ink-2); text-decoration: none; font: 550 var(--t-sm)/1 var(--sans); }
.signin:hover { color: var(--ink); }

.panel {
  position: absolute; top: calc(100% + 0.6rem); left: -0.5rem; z-index: 60; min-width: 21rem;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: var(--s-3);
}
.panel[hidden] { display: none; }
.panel-wide { width: min(44rem, calc(100vw - 2 * var(--gutter))); display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-2); }
.panel ul { list-style: none; padding: 0; }
.panel-link { display: block; padding: 0.6rem 0.75rem; border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.panel-link:hover { background: var(--bg-2); text-decoration: none; color: var(--ink); }
.panel-link b { display: block; font-weight: 650; font-size: var(--t-sm); }
.panel-link span { display: block; font-size: var(--t-xs); color: var(--ink-3); line-height: 1.45; margin-top: 0.15rem; }
.panel-link[aria-current] b { color: var(--blue); }
.panel-foot { grid-column: 1 / -1; margin-top: var(--s-2); padding: var(--s-3) 0.75rem 0.4rem; border-top: 1px solid var(--line-2); font-size: var(--t-sm); }

.menu-btn { display: none; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; color: var(--ink); padding: 0.55rem 0.85rem; font: 600 var(--t-sm)/1 var(--sans); cursor: pointer; }
.mobile-nav { display: none; }

@media (max-width: 1099px) {
  .nav, .masthead-end .signin, .masthead-end .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .masthead { border-bottom-color: var(--line); }
  .mobile-nav { position: fixed; inset: 4.25rem 0 0 0; z-index: 49; background: var(--bg); overflow-y: auto; padding: var(--s-2) var(--gutter) var(--s-8); }
  .mobile-nav.open { display: block; }
  .mobile-nav details { border-bottom: 1px solid var(--line-2); }
  .mobile-nav summary { list-style: none; cursor: pointer; padding: var(--s-4) 0; font: 650 var(--t-md)/1.2 var(--sans); letter-spacing: -0.01em; display: flex; justify-content: space-between; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary::after { content: "+"; color: var(--ink-3); font-weight: 400; }
  .mobile-nav details[open] summary::after { content: "\2212"; }
  .mobile-nav ul { list-style: none; padding: 0 0 var(--s-4); }
  .mobile-nav li a { display: block; padding: 0.55rem 0; color: var(--ink-2); text-decoration: none; }
  .mobile-nav .m-direct { display: block; padding: var(--s-4) 0; border-bottom: 1px solid var(--line-2); font: 650 var(--t-md)/1.2 var(--sans); letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
  .mobile-nav .actions { margin-top: var(--s-6); }
  body.menu-open { overflow: hidden; }
}

/* ---------------------------------------------------------------- hero */
.hero { padding-top: clamp(2.5rem, 1.5rem + 4vw, 5rem); padding-bottom: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.hero-split .grid { align-items: center; }
.hero-text { grid-column: 1 / span 6; }
.hero-text .lede { margin-top: var(--s-5); }
.hero-text .actions { margin-top: var(--s-6); }
.hero-media { grid-column: 7 / -1; }
.hero-media img { width: 100%; aspect-ratio: 5 / 4.4; object-fit: cover; border-radius: var(--radius-lg); }

.hero-plain { padding-top: clamp(3rem, 2rem + 4.5vw, 6rem); padding-bottom: clamp(2rem, 1.5rem + 3vw, 4rem); }
.hero-plain .h1, .hero-plain .display { max-width: 20ch; }
.hero-plain .lede { margin-top: var(--s-5); }
.hero-plain .actions { margin-top: var(--s-6); }

/* ---------------------------------------------------------------- figures and photos */
figure img { width: 100%; background: var(--bg-3); }
.photo img { border-radius: var(--radius-lg); }
figcaption { margin-top: var(--s-3); font-size: var(--t-sm); line-height: 1.5; color: var(--ink-3); max-width: 44rem; }
figcaption .credit { display: none; }
.fig-crop img { aspect-ratio: var(--ar, 3 / 2); object-fit: cover; }
/* Wide photograph: full width of the content column, not the window. */
.bleed img { width: 100%; height: clamp(16rem, 42vw, 34rem); object-fit: cover; }

/* ---------------------------------------------------------------- split: text beside an image */
.split { align-items: center; }
.split-text { grid-column: 1 / span 5; }
.split-media { grid-column: 7 / -1; }
.split-flip .split-text { grid-column: 8 / -1; grid-row: 1; }
.split-flip .split-media { grid-column: 1 / span 6; grid-row: 1; }
.split-text .h2 + * { margin-top: var(--s-5); }
.split-text .actions { margin-top: var(--s-6); }
@media (max-width: 899px) {
  /* Stacked, both columns pinned to row 1 would draw the image over the text. */
  .split-flip .split-text, .split-flip .split-media { grid-row: auto; }
}

/* ---------------------------------------------------------------- steps: a timed or numbered sequence */
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: var(--s-3); }
.steps > li { display: grid; grid-template-columns: 5.5rem 1fr; gap: var(--s-5); padding: var(--s-5); background: var(--bg-2); border-radius: var(--radius-lg); }
.band .steps > li { background: var(--bg); }
.steps .when { font: 700 var(--t-lg)/1.2 var(--sans); letter-spacing: -0.02em; color: var(--blue); font-variant-numeric: tabular-nums lining-nums; }
.steps.counted > li { counter-increment: step; }
.steps.counted .when::before { content: counter(step); }
.steps h3 { font: 650 var(--t-base)/1.4 var(--sans); letter-spacing: -0.01em; }
.steps p { color: var(--ink-2); margin-top: var(--s-1); max-width: 40rem; }
@media (max-width: 599px) { .steps > li { grid-template-columns: 1fr; gap: var(--s-2); padding: var(--s-4); } }
.steps.compact > li { grid-template-columns: 2.25rem 1fr; gap: var(--s-3); padding: var(--s-4); }
.steps.compact .when { font-size: var(--t-md); }
.steps.compact p { font-size: var(--t-sm); }

/* ---------------------------------------------------------------- pull quote */
.pull { border-left: 3px solid var(--blue); padding-left: clamp(1rem, 3vw, 2rem); }
.pull p { font: 600 var(--t-xl)/1.35 var(--sans); letter-spacing: -0.02em; color: var(--ink); max-width: 34ch; }
.pull footer { margin-top: var(--s-4); font: 500 var(--t-sm)/1.4 var(--sans); color: var(--ink-3); }
.pull-sm p { font-size: var(--t-lg); line-height: 1.4; max-width: 40ch; }

/* ---------------------------------------------------------------- spec sheet */
.spec > div { display: grid; grid-template-columns: minmax(9rem, 2fr) 5fr; gap: var(--s-5); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.spec > div:first-child { border-top: 1px solid var(--line); }
.spec dt { font-weight: 650; color: var(--ink); }
.spec dd { margin: 0; color: var(--ink-2); }
@media (max-width: 599px) { .spec > div { grid-template-columns: 1fr; gap: var(--s-1); } }

table.table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--t-sm); }
.table caption { text-align: left; font-size: var(--t-sm); color: var(--ink-3); padding-bottom: var(--s-3); }
.table th, .table td { text-align: left; vertical-align: top; padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--line); }
.table thead th { font-weight: 650; color: var(--ink); background: var(--bg-2); border-bottom: 0; }
.table thead th:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.table thead th:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.table td { color: var(--ink-2); }
.table tbody tr:last-child > * { border-bottom: 0; }
.table-scroll { overflow-x: auto; }

/* ---------------------------------------------------------------- product screenshots */
.shot { margin: 0; }
.shot-frame { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); }
.shot-frame.is-dark { background: var(--frame); border-color: #262b36; }
.shot-bar { display: flex; align-items: center; gap: 0.4rem; height: 2rem; padding: 0 0.85rem; border-bottom: 1px solid var(--line-2); background: #f7f8fa; font-size: 0.6875rem; color: var(--ink-3); }
.is-dark .shot-bar { background: #1a1e27; border-color: #262b36; color: #98a0ae; }
.shot-bar i { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #dde1e8; }
.is-dark .shot-bar i { background: #353a46; }
.shot-bar span { margin-left: 0.5rem; }
.shot-frame img { width: 100%; background: none; }
.shot figcaption { margin-top: var(--s-4); }
.callout {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  width: 1.75rem; height: 1.75rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: #fff; font: 700 0.8125rem/1 var(--sans);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .9);
}
.callout-key { list-style: none; padding: 0; margin-top: var(--s-6); display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: var(--s-4) var(--s-6); counter-reset: key; }
.callout-key li { counter-increment: key; display: grid; grid-template-columns: 1.75rem 1fr; gap: var(--s-3); font-size: var(--t-sm); color: var(--ink-2); }
.callout-key li::before { content: counter(key); width: 1.5rem; height: 1.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font: 700 0.75rem/1 var(--sans); margin-top: 0.1rem; }
.callout-key b { color: var(--ink); }
@media (max-width: 599px) { .callout { width: 1.35rem; height: 1.35rem; font-size: 0.6875rem; } }

.phone { margin: 0; }
.phone-frame { width: 100%; max-width: 17rem; padding: 0.5rem; border-radius: 2.1rem; background: var(--frame); box-shadow: var(--shadow-lg); }
.phone-frame img { border-radius: 1.65rem; background: none; }
.phones { display: flex; gap: clamp(1rem, 3vw, 2rem); align-items: flex-start; }
.phones .phone:nth-child(2) { margin-top: var(--s-8); }
@media (max-width: 599px) { .phones .phone:nth-child(2) { margin-top: var(--s-6); } }

/* ---------------------------------------------------------------- contents: an index of pages, as photo cards */
.contents { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: var(--s-5); }
.contents a.row { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; border-radius: var(--radius-lg); background: var(--bg); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.band .contents a.row { border-color: transparent; }
.contents a.row:hover { box-shadow: var(--shadow); border-color: #d6dbe4; }
.contents a.row img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.contents .row-title { display: block; padding: var(--s-5) var(--s-5) 0; font: 700 var(--t-lg)/1.25 var(--sans); letter-spacing: -0.02em; color: var(--ink); }
.contents .row-text { display: block; padding: var(--s-2) var(--s-5) 0; color: var(--ink-2); font-size: var(--t-sm); flex: 1; }
.contents .row-go { display: block; padding: var(--s-4) var(--s-5) var(--s-5); color: var(--blue); font-weight: 600; font-size: var(--t-sm); }
.contents .row-go::after { content: " \2192"; }

/* in-page table of contents */
.toc { list-style: none; padding: var(--s-2); font-size: var(--t-sm); background: var(--bg-2); border-radius: var(--radius-lg); }
.toc a { display: flex; gap: var(--s-3); padding: 0.5rem 0.75rem; border-radius: 8px; color: var(--ink-2); text-decoration: none; }
.toc a span { display: none; }
.toc a:hover { color: var(--ink); background: var(--bg-3); text-decoration: none; }
.toc a[aria-current="true"] { color: var(--blue); background: var(--bg); font-weight: 600; box-shadow: var(--shadow-sm); }

/* a feature block on long pages: heading, body, media */
.feature { padding-block: var(--s-8); }
.feature:first-child { padding-top: 0; }
.feature + .feature { border-top: 1px solid var(--line-2); }
.feature .h2 { max-width: 24ch; font-size: clamp(1.625rem, 1.25rem + 1.2vw, 2.125rem); }
.feature .prose { margin-top: var(--s-5); }
.feature figure, .feature .spec, .feature .pull, .feature .table-scroll { margin-top: var(--s-6); }
.feature .grid .prose { margin-top: 0; }

/* ---------------------------------------------------------------- FAQ */
.faq { display: grid; gap: var(--s-2); }
.faq details { background: var(--bg-2); border-radius: var(--radius); }
.band .faq details { background: var(--bg); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--s-5); padding: var(--s-4) var(--s-5); font-weight: 650; border-radius: var(--radius); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-3); font-weight: 400; font-size: 1.35rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--blue); }
.faq details > div { padding: 0 var(--s-5) var(--s-5); color: var(--ink-2); max-width: 42rem; }

/* ---------------------------------------------------------------- closing call to action */
.closing { background: var(--navy); color: var(--on-navy); }
.closing .grid { align-items: center; }
.closing-text { grid-column: 1 / span 7; }
.closing .h2 { color: #fff; max-width: 22ch; }
.closing-text .lede { margin-top: var(--s-4); color: var(--on-navy); }
.closing-act { grid-column: 9 / -1; justify-self: end; text-align: right; }
.closing-act .small { margin-top: var(--s-3); color: #97a1b6; }
.closing-act a:not(.btn) { color: #fff; text-decoration: underline; text-underline-offset: 0.2em; }
.closing .btn { min-height: 3.25rem; padding-inline: 1.6rem; font-size: var(--t-base); }
@media (max-width: 899px) { .closing-act { justify-self: start; text-align: left; } }

/* ---------------------------------------------------------------- notes, asides */
.aside { align-self: start; background: var(--bg-2); border-radius: var(--radius-lg); padding: var(--s-6); font-size: var(--t-sm); color: var(--ink-2); }
.band .aside { background: var(--bg); }
.aside h3 { font: 700 var(--t-lg)/1.3 var(--sans); letter-spacing: -0.02em; color: var(--ink); margin-bottom: var(--s-3); }
.notice { background: var(--blue-wash); border-radius: var(--radius); padding: var(--s-4) var(--s-5); font-size: var(--t-sm); color: #1e2a4a; }
.download { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-4) var(--s-5); text-decoration: none; color: var(--ink); max-width: 30rem; box-shadow: var(--shadow-sm); }
.download b { display: block; }
.download > span > span { display: block; font-size: var(--t-xs); color: var(--ink-3); }
.download > span[aria-hidden] { color: var(--blue); font-weight: 700; }
.download:hover { border-color: var(--blue); color: var(--ink); text-decoration: none; }
.cols-2 { columns: 2 18rem; column-gap: var(--s-7); }
.cols-2 > * { break-inside: avoid; }

/* ---------------------------------------------------------------- forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5) var(--s-5); }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-weight: 600; font-size: var(--t-sm); }
.field label .opt { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 2.9rem; padding: 0.65rem 0.85rem; border: 1px solid #cdd3dd; border-radius: var(--radius);
  background: #fff; color: var(--ink); font: 400 var(--t-base)/1.4 var(--sans); box-shadow: var(--shadow-sm);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(36, 87, 245, .2); outline-offset: 0; border-color: var(--blue); }
.field [aria-invalid="true"] { border-color: var(--bad); }
.field .err { color: var(--bad); font-size: var(--t-sm); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); }
.form-foot p { font-size: var(--t-xs); color: var(--ink-3); max-width: 24rem; }
.form-status { display: none; }
.form-status.show { display: block; background: #fdecea; border-radius: var(--radius); padding: var(--s-3) var(--s-4); font-size: var(--t-sm); }
.form-status b { display: block; }
.form-done { display: none; }
.form.sent > :not(.form-done) { display: none; }
.form.sent .form-done { display: block; grid-column: 1 / -1; background: #e9f6ef; border-radius: var(--radius-lg); padding: var(--s-5); }
.form-done:focus { outline: none; }
.nojs { font-size: var(--t-sm); }
.js .nojs { display: none; }
.spinner { width: 0.9em; height: 0.9em; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 599px) { .form { grid-template-columns: 1fr; } }
.contact-aside figure { margin-top: var(--s-6); }

/* ---------------------------------------------------------------- footer */
.footer { background: var(--bg-2); color: var(--ink-2); padding-top: var(--s-8); padding-bottom: var(--s-6); font-size: var(--t-sm); }
.footer a { color: var(--ink-2); text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer .brand { color: var(--ink); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: var(--s-6); }
.footer-about p { margin-top: var(--s-4); max-width: 22rem; color: var(--ink-3); }
.footer h2 { font: 650 var(--t-sm)/1.3 var(--sans); color: var(--ink); margin-bottom: var(--s-4); }
.footer ul { list-style: none; padding: 0; }
.footer li + li { margin-top: 0.6rem; }
.footer-base { margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-4); color: var(--ink-3); font-size: var(--t-xs); }
.footer-base nav { display: flex; flex-wrap: wrap; gap: var(--s-5); }
.footer-base a { color: var(--ink-3); }
@media (max-width: 999px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- legal text */
.legal { max-width: 44rem; }
.legal h2 { font: 700 var(--t-xl)/1.25 var(--sans); letter-spacing: -0.02em; margin-top: var(--s-7); margin-bottom: var(--s-3); }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 1.2em; margin-top: var(--s-3); }
.legal li + li { margin-top: var(--s-2); }

@media print { .masthead, .footer, .closing, .mobile-nav { display: none; } body { background: #fff; } }

.display, .h1, .h2, .h3 { text-wrap: balance; }
p, li, dd, figcaption { text-wrap: pretty; }

/* A plain hero already ends in whitespace; a white section after it should not double it. */
.hero-plain + .section:not(.band):not(.band-dark), .hero + .section:not(.band):not(.band-dark) { padding-top: calc(var(--section) * 0.5); }
.steps.counted > li { grid-template-columns: 2.5rem 1fr; }
@media (max-width: 599px) { .steps.counted > li { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- full-width layouts for long content
   A short heading beside a long list leaves a tall empty strip under the heading on desktop (the
   owner's "incomplete, blank spaces" complaint). These put the heading on top and spread the
   content across the width instead. */
.section-head { max-width: 46rem; margin-bottom: var(--s-7); }
.section-head .lede, .section-head p { margin-top: var(--s-4); }
/* A heading row: heading left, its intro right, content full width underneath. */
.head-row { align-items: end; margin-bottom: var(--s-7); }
.head-row > :first-child { grid-column: 1 / span 6; }
.head-row > :nth-child(2) { grid-column: 8 / -1; }
@media (max-width: 899px) { .head-row { row-gap: var(--s-4); } }
/* Equal columns: cards, steps or short bold-led paragraphs side by side. One column on phones. */
.tiles-2, .tiles-3 { display: grid; gap: var(--s-5) clamp(1rem, 2.4vw, 2.5rem); }
.steps.tiles-2, .steps.tiles-3 { gap: var(--s-4); }
.tiles-2 > * + *, .tiles-3 > * + * { margin-top: 0; }
@media (min-width: 900px) {
  .tiles-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 600px) and (max-width: 899px) { .tiles-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* A spec sheet split into two columns on desktop; rows pair up so the hairlines line up. */
@media (min-width: 900px) {
  .spec.spec-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-8); }
  .spec.spec-2 > div:nth-child(2) { border-top: 1px solid var(--line); }
  .spec.spec-2 > div { grid-template-columns: minmax(8rem, 2fr) 5fr; }
}
/* A photograph under a section heading, so the heading column carries something real. */
.margin-head .photo { margin-top: var(--s-6); }
@media (max-width: 899px) { .margin-head .day-photo { display: none; } }
