/*
 * The site's whole stylesheet. The palette is the brand kit's, named here so a
 * page never reaches for a raw hex: the amber is the only warm thing in it and
 * is reserved for the sparkle, never for interface chrome.
 */
:root {
  --ink: #16181d;
  --ink-soft: #5c6270;
  --paper: #f6f7f9;
  --paper-2: #eef0f4;
  --line: #dfe3ea;
  --blue: #3d5afe;
  --violet: #8e6bff;
  --amber: #ffc25c;
  --danger: #c0392b;
  --ok: #1e7a4c;
  --gradient: linear-gradient(135deg, var(--blue), var(--violet));
  --shadow: 0 1px 2px rgba(22, 24, 29, 0.06), 0 8px 24px rgba(22, 24, 29, 0.06);
}

* { box-sizing: border-box; }

/*
 * `hidden` is only a UA-stylesheet `display: none`, so any author rule that
 * sets `display` silently beats it and the element stays on screen. Every
 * `hidden` toggle in this file's markup depends on this one line.
 */
[hidden] { display: none !important; }

body {
  margin: 0;
  font: 15px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); }
a:hover { color: var(--violet); }

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  max-width: 1040px;
  margin: 0 auto;
}
.bar img { height: 26px; display: block; }
.bar nav { display: flex; align-items: center; gap: 20px; font-size: 14px; }

main { max-width: 1040px; margin: 0 auto; padding: 0 24px 80px; }

/* ------------------------------------------------------------------ hero */

/* Copy left, price right, stacking on anything narrow. `start` rather than
   `stretch` so the offer card is its own height instead of a tall empty box. */
.hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
  padding: 56px 0 40px;
}
@media (max-width: 860px) {
  .hero-row { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

.hero { max-width: 660px; }

/* Says who it is for before the headline says what it does. */
.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero h1 { font-size: 44px; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 16px; }
.hero .lede { font-size: 18px; color: var(--ink-soft); margin: 0 0 14px; }
.hero .lede + .lede { margin-bottom: 24px; }

/* The three tasks, as a row of labels rather than a bulleted list — this is a
   summary of what the trial does, not a feature comparison. */
.does {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--ink-soft);
}
.does strong { display: block; color: var(--ink); font-size: 14px; }
.hero .cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* ----------------------------------------------------------------- offer */

.offer {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow);
  /* The one warm thing on the page, and the brand reserves amber for the
     sparkle — so the offer is marked with a rule rather than recoloured. */
  border-top: 3px solid transparent;
  background-image: linear-gradient(#fff, #fff), var(--gradient);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.offer-tag {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet);
}

.offer-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
}
.offer-price del {
  font-size: 19px;
  color: var(--ink-soft);
  text-decoration-thickness: 2px;
}
.offer-price strong {
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.03em;
}
/* Cents at full size make the number read as bigger than it is. */
.offer-cents { font-size: 22px; }

.offer-term { margin: 4px 0 18px; color: var(--ink-soft); font-size: 14px; }

.offer-points {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--ink-soft);
}
.offer-points li { padding: 4px 0 4px 20px; position: relative; }
/* The reason the strike-through is earned. Without it, $25 is decoration. */
.offer-why {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-soft);
}

.offer-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 700;
}

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 44px 0; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 6px; font-size: 15px; }
.card p { margin: 0; font-size: 14px; color: var(--ink-soft); }

/* --------------------------------------------------------------- controls */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 0;
  border-radius: 9px;
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--gradient);
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { filter: brightness(1.07); color: #fff; }
.btn:disabled { opacity: 0.55; cursor: default; filter: none; }
.btn.ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn.ghost:hover { border-color: var(--violet); color: var(--violet); filter: none; }

/* ----------------------------------------------------------------- forms */

/* Wide enough for an address and its badge on one line. The signup form stays
   narrow — a column of short fields reads worse the wider it gets. */
.panel.wide { max-width: 620px; }

.panel {
  max-width: 400px;
  margin: 48px auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow);
}
/* An email address is one unbroken token and can be far longer than the card;
   without this it runs straight out through the right edge. */
.panel h1 { font-size: 22px; margin: 0 0 4px; overflow-wrap: anywhere; }
.panel .sub { margin: 0 0 22px; color: var(--ink-soft); font-size: 14px; }

label { display: block; font-size: 13px; font-weight: 600; margin: 0 0 5px; }
input[type="email"], input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 16px;
}
input:focus { outline: 2px solid var(--violet); outline-offset: 1px; border-color: transparent; }
.hint { font-size: 12px; color: var(--ink-soft); margin: -12px 0 16px; }

.message { font-size: 13px; margin: 14px 0 0; min-height: 18px; }
.message.bad { color: var(--danger); }
.message.ok { color: var(--ok); }

.swap { margin: 18px 0 0; font-size: 13px; color: var(--ink-soft); text-align: center; }

/* --------------------------------------------------------------- account */

.standing {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--paper-2);
  color: var(--ink-soft);
}
.standing.ok { background: rgba(30, 122, 76, 0.12); color: var(--ok); }
.standing.bad { background: rgba(192, 57, 43, 0.1); color: var(--danger); }

/* `min-width: 0` on the text side is what lets it shrink instead of shoving the
   badge onto its own line — flex items refuse to go below their content width
   otherwise, and an email address is very wide content. */
.row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.row > :first-child { min-width: 0; }
.row > .standing { flex: none; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }

.token {
  display: block;
  width: 100%;
  font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  word-break: break-all;
  padding: 11px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 10px 0 0;
}

footer {
  border-top: 1px solid var(--line);
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
}

/* Account page bits that were inline styles. */
.tight { margin: 0; }
.section-title { margin: 0 0 4px; font-size: 15px; }
.full { width: 100%; }
.hint.spaced { margin: 16px 0 0; }

/* --------------------------------------------------------------- the demo */

.demo { margin: 8px 0 0; }
.demo video {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  /* Holds the space before the poster loads, so the page does not jump. */
  aspect-ratio: 16 / 10;
  background: var(--paper-2);
}
.demo figcaption {
  margin: 10px 2px 0;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ----------------------------------------------------------------- voice */

/* The product's own words, so the tone is legible without reading the UI. */
.voice {
  margin: 28px 0 0;
  padding: 0 0 0 20px;
  border-left: 3px solid var(--violet);
  max-width: 720px;
}
.voice p { margin: 0; font-size: 17px; line-height: 1.5; }
.voice cite {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-style: normal;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------- devices */

.devices { margin: 12px 0 0; padding: 0; list-style: none; }
.devices li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.devices li:first-child { border-top: 0; }
.device-name { flex: 1; min-width: 0; }
.device-when { color: var(--ink-soft); font-size: 12px; white-space: nowrap; }
.device-drop {
  flex: none;
  border: 0;
  background: none;
  padding: 4px 2px;
  font: inherit;
  font-size: 13px;
  color: var(--blue);
  cursor: pointer;
}
.device-drop:hover { color: var(--violet); text-decoration: underline; }
.device-drop:disabled { opacity: 0.5; cursor: default; text-decoration: none; }

/* ----------------------------------------------------------------- plans */

.plans { display: grid; gap: 10px; margin: 0 0 20px; }
.plan {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.plan:hover { border-color: var(--violet); }
.plan:has(input:checked) {
  border-color: var(--violet);
  box-shadow: 0 0 0 1px var(--violet);
  background: rgba(142, 107, 255, 0.04);
}
.plan input { margin: 3px 0 0; flex: none; }
.plan-body { display: grid; gap: 2px; }
.plan-name { font-weight: 600; }
.plan-price { font-size: 22px; letter-spacing: -0.02em; }
.plan-per { font-size: 13px; font-weight: 400; color: var(--ink-soft); }
.plan-note { font-size: 12px; color: var(--ink-soft); }
.plan-flag {
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(30, 122, 76, 0.12);
  color: var(--ok);
}

.stub-note {
  margin: 16px 0 0;
  padding: 10px 12px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  font-size: 12px;
  color: var(--ink-soft);
}

/* ----------------------------------------------------------------- steps */

.steps { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps li > div { flex: 1; min-width: 0; }
.steps .sub { margin: 2px 0 10px; }

.step-num {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  background: var(--paper-2);
  color: var(--ink-soft);
}
.steps .done .step-num { background: rgba(30, 122, 76, 0.14); color: var(--ok); }
.steps .done .step-num::after { content: "✓"; }
.steps .done .step-num { font-size: 0; }
.steps .done .step-num::after { font-size: 14px; }

/* Step two is not a step yet if step one is undone. Dimmed rather than hidden,
   so the whole path is visible from the start. */
.steps .waiting { opacity: 0.5; }
.steps .waiting .btn { pointer-events: none; }

/* --------------------------------------------------------------- consent */

.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 560px;
  margin: 0 auto;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(22, 24, 29, 0.16);
  z-index: 50;
}
.consent p { margin: 0 0 12px; font-size: 13px; color: var(--ink-soft); }

/* Both buttons the same size. A banner where refusing is harder than
   accepting is not consent, whatever the copy says. */
.consent-buttons { display: flex; gap: 8px; }
.consent-buttons .btn { flex: 1; padding: 9px 16px; font-size: 14px; }
