/* Atkinson Hyperlegible Next: drawn by the Braille Institute so that letters are hard to
   confuse. Served from here, so no page of this site calls a third party. */
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/fonts/atkinson-hyperlegible-next.woff2) format('woff2');
}

:root {
  color-scheme: light;
  --ink: #1a1b2e;
  --slate: #555a72;
  --paper: #ffffff;
  --mist: #eef0fa;
  --line: #d5d8ea;
  --coral: #ff5b2e;
  --coral-deep: #b8330f;
  --wrap: 1080px;
  --gutter: clamp(20px, 5vw, 48px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 17px/1.55 'Atkinson Hyperlegible Next', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
img, svg { max-width: 100%; }
a { color: var(--coral-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
kbd {
  font: inherit; font-size: 0.88em; font-weight: 600; white-space: nowrap;
  padding: 1px 7px; border: 1.5px solid var(--ink); border-bottom-width: 3px; border-radius: 6px;
}

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

/* --- Top bar ------------------------------------------------------------------------------ */
.top { display: flex; align-items: center; gap: 28px; padding-top: 22px; padding-bottom: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.brand svg { width: 32px; height: 32px; flex: none; }
.top nav { display: flex; gap: 24px; margin-left: auto; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.top nav a:hover { text-decoration: underline; }

.button {
  display: inline-block; padding: 13px 22px; border-radius: 999px;
  background: var(--coral); color: var(--ink); font-weight: 700; text-decoration: none;
  border: 2px solid var(--ink); box-shadow: 0 3px 0 var(--ink);
  transition: transform 0.08s, box-shadow 0.08s;
}
.button:hover { color: var(--ink); transform: translateY(1px); box-shadow: 0 2px 0 var(--ink); }
.button:active { transform: translateY(3px); box-shadow: none; }
.button.small { padding: 8px 16px; font-size: 15.5px; }
.button.plain { background: var(--paper); }

/* --- Hero --------------------------------------------------------------------------------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: clamp(28px, 6vw, 72px); padding-bottom: clamp(48px, 8vw, 104px); }
.hero h1 { font-size: clamp(42px, 6.1vw, 78px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.0; }
.hero .lead { margin-top: 24px; font-size: clamp(18px, 1.7vw, 21px); line-height: 1.5; max-width: 34em; }
.hero .act { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.hero .act small { font-size: 15.5px; color: var(--slate); }

/* The demo: what is said, on top; where it lands, below. */
.demo { position: relative; }
.said {
  min-height: 92px; padding: 16px 20px 30px; border-radius: 22px 22px 0 0;
  background: var(--mist); color: var(--slate); font-size: 17px; line-height: 1.75;
}
.said b { font-weight: 600; color: var(--ink); margin-right: 8px; }
.said .word { white-space: nowrap; }
.said .cmd { padding: 2px 9px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 600; }
.field {
  position: relative; margin-top: -14px; padding: 20px 22px 24px; min-height: 236px;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 18px; box-shadow: 0 6px 0 var(--ink);
}
.field .to { padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1.5px solid var(--line); color: var(--slate); font-size: 15.5px; }
.field .typed { font-size: clamp(19px, 2vw, 23px); line-height: 1.5; white-space: pre-wrap; min-height: 6em; }
.caret { display: inline-block; position: relative; width: 0; height: 1.05em; vertical-align: -0.16em; border-left: 3px solid var(--coral); margin-left: 2px; }
.caret::before, .caret::after {
  content: ''; position: absolute; left: 3px; top: 50%; border: 3px solid var(--coral); border-color: transparent var(--coral) transparent transparent; border-radius: 50%;
  transform: translateY(-50%); opacity: 0;
}
.caret::before { width: 16px; height: 16px; margin-left: -4px; }
.caret::after { width: 30px; height: 30px; margin-left: -6px; }
.demo.live .caret::before { animation: wave 1.1s ease-out infinite; }
.demo.live .caret::after { animation: wave 1.1s ease-out 0.18s infinite; }
@keyframes wave { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
.pill {
  position: absolute; right: 18px; bottom: -18px; display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px 8px 13px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 500;
}
.pill i { width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }
.again { margin-top: 30px; padding: 0; border: 0; background: none; font: inherit; font-size: 15.5px; color: var(--slate); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.again[hidden] { display: none; }

/* --- Sections ----------------------------------------------------------------------------- */
.band { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.band.mist { background: var(--mist); }
.band > .wrap > h2 { max-width: 20em; }
.band .intro { margin-top: 14px; max-width: 38em; font-size: 19px; color: var(--slate); }

.steps { list-style: none; padding: 0; margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 18px; border-top: 3px solid var(--ink); }
.steps li::before { content: counter(step); display: block; font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--coral-deep); margin-bottom: 12px; }
.steps p { margin-top: 8px; color: var(--slate); }

.places { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.places h3 { padding-bottom: 12px; border-bottom: 1.5px solid var(--line); }
.places ul { list-style: none; padding: 0; margin-top: 12px; }
.places li { padding: 5px 0; }
.places li span { color: var(--slate); }
.fine { margin-top: 28px; max-width: 44em; color: var(--slate); font-size: 16px; }

.facts { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 56px; }
.facts dt { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.facts dd { margin-top: 8px; color: var(--slate); max-width: 32em; }
.facts dd q { color: var(--ink); font-weight: 600; quotes: '“' '”'; }

.plans { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { padding: 26px 26px 28px; background: var(--paper); border: 2px solid var(--ink); border-radius: 18px; }
.plan.pick { box-shadow: 0 6px 0 var(--ink); }
.plan .price { margin-top: 10px; font-size: 52px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.plan .price small { font-size: 17px; font-weight: 500; letter-spacing: 0; color: var(--slate); }
.plan ul { list-style: none; padding: 0; margin-top: 18px; }
.plan li { padding: 6px 0 6px 22px; position: relative; }
.plan li::before { content: ''; position: absolute; left: 0; top: 0.82em; width: 10px; height: 3px; background: var(--coral); }

.faq { margin-top: 32px; max-width: 46em; }
.faq details { border-top: 1.5px solid var(--line); }
.faq details:last-child { border-bottom: 1.5px solid var(--line); }
.faq summary { padding: 18px 34px 18px 0; font-size: 19px; font-weight: 700; cursor: pointer; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font-size: 26px; font-weight: 500; color: var(--coral-deep); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 0 20px; color: var(--slate); max-width: 40em; }
.faq details p + p { margin-top: -8px; }

.close { text-align: left; }
.close h2 { font-size: clamp(34px, 5vw, 60px); font-weight: 800; letter-spacing: -0.035em; max-width: 14em; }
.close .act { margin-top: 28px; }

/* --- Footer ------------------------------------------------------------------------------- */
.foot { padding-top: 36px; padding-bottom: 48px; border-top: 2px solid var(--ink); font-size: 15.5px; color: var(--slate); display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: var(--ink); }
.foot p { max-width: 36em; }

/* --- Long text: terms, privacy, notices ---------------------------------------------------- */
.prose { max-width: 720px; padding-top: clamp(24px, 5vw, 56px); padding-bottom: 80px; }
.prose h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; letter-spacing: -0.035em; }
.prose .updated { margin-top: 10px; color: var(--slate); }
.prose h2 { font-size: 24px; margin-top: 44px; }
.prose p, .prose ul, .prose dl { margin-top: 14px; }
.prose ul { padding-left: 22px; }
.prose li { margin-top: 6px; }
.prose dt { font-weight: 700; margin-top: 14px; }
.prose dd { margin-top: 2px; }
.notice { max-width: 640px; padding-top: clamp(48px, 10vw, 120px); padding-bottom: 120px; }
.notice h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; letter-spacing: -0.035em; }
.notice p { margin-top: 18px; font-size: 19px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .steps, .places, .plans { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .top nav a:not(.keep) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .demo.live .caret::before, .demo.live .caret::after { animation: none; opacity: 1; }
  .button { transition: none; }
}
