/* Homepage v4's own styles, shared by its two pages (index.html and
   how-it-works.html). The site's visual system, loaded before this file,
   is ../../site-shared/base.css. */

/* Header navigation: homepage v2's in-header links on v3's fixed header,
   clear over the hero and solid once it has gone by. Pages without a hero
   keep it solid. Below 860px the links fold into a menu. */
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav__links { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 28px; font-size: 16px; font-weight: 500; }
.site-nav__links a { text-decoration: none; opacity: .92; }
.site-nav__links a:hover, .site-nav__links a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.site-nav__toggle {
  display: none; min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1.5px solid currentColor; background: transparent; color: inherit;
  font: 700 14px/1 var(--sans); cursor: pointer;
}
.site-nav__toggle svg { width: 16px; height: 16px; margin-right: 6px; }
@media (max-width: 860px) {
  .site-nav { gap: 10px; }
  .site-nav__toggle { display: inline-flex; align-items: center; }
  .site-nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px max(16px, env(safe-area-inset-left, 0px)) 16px;
    background: var(--bg); color: var(--ink);
    box-shadow: 0 1px 0 var(--rule), 0 18px 32px -24px rgb(20 20 20 / 0.4);
  }
  .site-nav__links a { display: block; padding: 14px 8px; border-top: 1px solid var(--rule); font-size: 17px; }
  .site-nav__links li:first-child a { border-top: 0; }
  .site-header.is-open .site-nav__links { display: flex; }
  .site-header.is-open { background: var(--bg); color: var(--ink); }
  .site-header.is-open .btn--header { background: var(--btn-bg); color: var(--btn-ink); }
}
@media (max-width: 400px) {
  .site-nav__toggle svg { display: none; }
}

/* Hero additions: a short label above the headline */
.hero__kicker { font: 700 var(--t-label)/1.2 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.hero__copy .btn { align-self: flex-start; }
@media (max-width: 760px) { .hero__copy .btn { align-self: stretch; } }

/* Section intros used across both pages */
.intro--center { align-items: center; text-align: center; margin-inline: auto; }
.intro--center .h2, .intro--center .lede { margin-inline: auto; }

/* Routine: three steps beside the demonstration */
.routine__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px 64px; align-items: center; margin-top: 56px; }
.routine__steps { list-style: none; padding: 0; display: flex; flex-direction: column; }
.routine__steps li { display: flex; align-items: center; gap: 20px; padding-block: 20px; border-top: 1px solid var(--rule-strong); }
.routine__steps li:last-child { border-bottom: 1px solid var(--rule-strong); }
.routine__steps h3 { font-size: 23px; line-height: 1.25; letter-spacing: -0.02em; }
/* The step markers echo the remote's caps: red to record, green to send. */
.cap {
  flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font: 700 19px/1 var(--sans); font-variant-numeric: tabular-nums;
  background: var(--panel); color: var(--ink);
  box-shadow: inset 0 -3px 0 rgb(0 0 0 / 0.14), inset 0 2px 0 rgb(255 255 255 / 0.25);
}
.cap--red { background: #D8402F; color: #FFFFFF; }
.cap--green { background: #2F9E5B; color: #FFFFFF; }
.cap--voice { background: var(--accent-wash); color: var(--accent-ink); box-shadow: none; }
@media (max-width: 900px) {
  .routine__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; margin-top: 36px; }
}

/* Benefits beside the device in 3D (the stage and list are in base.css) */
.value .h2 { margin-bottom: 0; }
.value__side .benefits h3 { font-size: 24px; }

/* Stories: three short statements in plain type, then nine accounts with headshots */
/* One equal column per statement, however many are on the page */
.quotes { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin-top: 56px; border-top: 2px solid var(--ink); }
.quote { display: flex; flex-direction: column; gap: 18px; justify-content: space-between; padding: 30px 32px 6px; border-left: 1px solid var(--rule-strong); }
.quote:first-child { padding-left: 0; border-left: 0; }
.quote:last-child { padding-right: 0; }
.quote blockquote { margin: 0; }
.quote blockquote p { font: 700 clamp(24px, 2.35vw, 32px)/1.15 var(--sans); letter-spacing: -0.03em; color: var(--ink); text-indent: -0.42em; text-wrap: balance; }
.quote figcaption { font-size: 16px; font-weight: 700; color: var(--accent-ink); }
.quote cite { font-style: normal; }
.accounts__title { margin-top: 64px; padding-top: 22px; border-top: 2px solid var(--ink); font-size: clamp(22px, 2vw, 26px); line-height: 1.2; letter-spacing: -0.025em; }
.accounts { --cols: 3; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 26px; }
.accounts > .account { flex: 0 0 calc((100% - (var(--cols) - 1) * 20px) / var(--cols)); min-width: 0; }
.account { display: flex; flex-direction: column; gap: 14px; padding: 26px 26px 28px; border-radius: 20px; background: var(--bg-alt); border: 1px solid var(--rule); }
.account__head { display: flex; align-items: center; gap: 14px; }
.account .headshot { width: 56px; height: 56px; font-size: 22px; }
img.headshot { border: 0; object-fit: cover; background: var(--rule); }
.account h4 { font-size: 21px; line-height: 1.2; letter-spacing: -0.02em; }
.account__name { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; min-width: 0; flex: 1; }
.account__role { font-size: 13.5px; line-height: 1.35; color: var(--ink-2); opacity: 0.8; }
.account__in { flex: none; align-self: flex-start; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: var(--ink-2); opacity: 0.55; transition: opacity .15s, color .15s, background .15s; }
.account__in:hover, .account__in:focus-visible { opacity: 1; color: var(--accent-ink); background: var(--accent-wash); }
.account p:not(.ph-tag) { font-size: 16.5px; line-height: 1.6; color: var(--ink-2); }
.account p.account__gist { font-size: 20px; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); margin-bottom: -6px; }
.headshot--sm { font-size: 18px !important; }
@media (max-width: 980px) {
  .quotes { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); border-top: 0; margin-top: 40px; }
  .quote, .quote:first-child, .quote:last-child { padding: 24px 0; border-left: 0; border-top: 1px solid var(--rule-strong); }
  .quote:first-child { border-top: 2px solid var(--ink); }
  .quote blockquote p { text-indent: 0; }
  .accounts__title { margin-top: 40px; }
  .accounts { --cols: 2; margin-top: 22px; }
}
@media (max-width: 640px) {
  .accounts { --cols: 1; }
}

/* Controls and workflows: four situations, two by two, then the way to
   How It Works */
.more__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.more__card { display: flex; flex-direction: column; gap: 14px; padding: 32px 30px 34px; border-radius: 22px; background: var(--bg); border: 1px solid var(--rule); }
.more__card h3 { font-size: 23px; line-height: 1.2; letter-spacing: -0.02em; }
.more__card p { color: var(--ink-2); line-height: 1.65; }
.more__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-wash); color: var(--accent-ink); margin-bottom: 6px; }
.more__icon svg { width: 26px; height: 26px; }
.more__link { margin-top: 44px; font-size: 18px; display: inline-block; }
@media (max-width: 900px) {
  .more__grid { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
}

/* Free app and transcription */
.costs { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 40px 72px; align-items: start; }
.costs__lead { display: flex; flex-direction: column; gap: 22px; }
.costs__lead .lede { color: var(--ink-2); }
.costs__facts { display: flex; flex-direction: column; gap: 16px; }
.fact { display: flex; gap: 18px; align-items: flex-start; padding: 24px 26px; border-radius: 18px; background: var(--bg-alt); border: 1px solid var(--rule); }
.fact p { line-height: 1.65; color: var(--ink-2); }
.fact__icon { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-wash); color: var(--accent-ink); }
.fact__icon svg { width: 20px; height: 20px; }
@media (max-width: 900px) {
  .costs { grid-template-columns: minmax(0, 1fr); }
}

/* Offer additions (the card and panel are in base.css) */
.buycard__act .assure-line { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
/* The price: the discount as a pill, then the retail price struck through
   in red before the reservation price, and the line that calls both
   expected. The card has no name heading, so the block starts the card. */
.buycard__price { margin-top: 0; align-items: flex-start; gap: 14px; }
.buycard__now { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.buycard__now strong { margin-right: 0; }
.buycard__was { font-size: 30px; font-weight: 500; letter-spacing: -0.02em; color: var(--muted); font-variant-numeric: tabular-nums; text-decoration: line-through 2.5px #D8402F; }
.buycard__retail { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.buycard__get h3 { font-size: 17px; letter-spacing: -0.01em; }
/* What you need: the checklist's rows without its ticks */
.checklist--plain li { padding-left: 0; }
.checklist--plain li::before { content: none; }

/* Signup: the reservation and waitlist form, opened over the page by
   signup.js, and what replaces it once the signup is sent. data-list,
   data-view and data-os on the dialog choose which wording shows. */
.signup {
  width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto;
  margin: auto; padding: 40px 36px 34px; border-radius: var(--r-lg);
  background: var(--bg); color: var(--ink); border: 1px solid var(--rule);
  box-shadow: 0 30px 80px -20px rgb(0 0 0 / 0.45);
}
.signup::backdrop { background: rgb(20 20 20 / 0.6); }
.signup h2 { font-size: 28px; line-height: 1.15; letter-spacing: -0.03em; padding-right: 36px; }
.signup h2:focus { outline: none; }
.signup__close {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; border: 0; background: transparent; color: var(--ink-2); cursor: pointer;
}
.signup__close:hover { background: var(--panel); }
.signup__close svg { width: 16px; height: 16px; }
.signup__form, .signup__done { display: flex; flex-direction: column; gap: 22px; }
.signup[data-view="form"] .signup__done, .signup[data-view="done"] .signup__form { display: none; }
.signup[data-list="reservation"] [data-for="waitlist"], .signup[data-list="waitlist"] [data-for="reservation"] { display: none; }
.signup[data-os="mac"] [data-os-for]:not([data-os-for~="mac"]),
.signup[data-os="windows"] [data-os-for]:not([data-os-for~="windows"]),
.signup[data-os="phone"] [data-os-for]:not([data-os-for~="phone"]),
.signup[data-os="other"] [data-os-for]:not([data-os-for~="other"]) { display: none; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field__label { font-size: 15px; font-weight: 700; padding: 0; }
.field input[type="email"], .field input[type="text"] {
  min-height: 52px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--rule-strong);
  background: var(--bg-alt); color: var(--ink); font: 400 17px/1.2 var(--sans); width: 100%;
}
.field input:focus-visible, .choice input:focus-visible + span { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { flex: 1 1 auto; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid var(--rule-strong); background: var(--bg-alt); font-size: 16px; font-weight: 600; white-space: nowrap;
}
.choice input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.signup__error { font-size: 15px; font-weight: 600; line-height: 1.5; color: #B3261E; }
.signup__fine { font-size: 14px; line-height: 1.5; color: var(--muted); }
.signup__fine a, .signup__other a { color: inherit; font-weight: 700; text-underline-offset: 3px; }
.signup__done p { line-height: 1.6; color: var(--ink-2); }
.signup__done p strong { color: var(--ink); }
.signup__get { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.signup__get .signup__other { font-size: 15px; text-align: center; }
.signup__get .signup__fine { text-align: center; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .signup__error { color: #FF8A80; } }
:root[data-theme="dark"] .signup__error { color: #FF8A80; }
@media (max-width: 480px) {
  .signup { padding: 34px 22px 26px; }
  .signup h2 { font-size: 25px; }
}

/* Footer links: a finger-sized row each, with the same spacing as before */
.footer__nav ul { gap: 0; }
.footer__nav a { display: inline-block; padding-block: 5px; }

/* Footer brand column: the lockup, then the social icons in the footer's
   own text color, never in each platform's brand colors. Each icon has a
   44px tap target; the row's negative margin lines the first glyph up with
   the lockup. Icons: Bootstrap Icons 1.11.3, MIT License,
   (c) 2019-2024 The Bootstrap Authors. */
.footer__grid { padding-bottom: 48px; }
.footer__brand { display: flex; flex-direction: column; gap: 18px; }
.footer__social { display: flex; flex-wrap: wrap; list-style: none; margin: 0 0 0 -12px; padding: 0; }
.footer__social a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 8px; color: var(--muted); }
.footer__social a:hover, .footer__social a:focus-visible { color: var(--ink); }
.footer__social svg { display: block; }
.footer__legal { padding-bottom: 32px; font-size: var(--t-label); color: var(--muted); }
.footer__legal p { margin: 0; padding-top: 20px; border-top: 1px solid var(--rule); }

/* Policy pages: one readable column */
.policy { padding-block: 64px 96px; }
.policy__body { max-width: 720px; display: flex; flex-direction: column; gap: 18px; }
.policy h1 { font-size: var(--t-display); line-height: 1.05; letter-spacing: var(--track-tight); }
.policy .policy__date { font-size: 15px; color: var(--muted); margin-top: -8px; }
.policy h2 { font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; margin-top: 22px; }
.policy p, .policy li { font-size: var(--t-body); line-height: 1.65; color: var(--ink-2); }
.policy ul { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.policy a { color: inherit; font-weight: 700; text-underline-offset: 3px; }

/* A demonstration still to produce: a quiet dark panel in the video's
   place, saying only that the video is coming. What the video shows is a
   comment above each one in the page. */
.media-soon {
  aspect-ratio: var(--ratio, 16 / 9); border-radius: var(--r-lg); margin: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: #1B1B1A; border: 1px solid var(--night-rule); color: var(--warm-gray);
  font-size: 16px; font-weight: 600; letter-spacing: 0.01em;
}
.media-soon__glyph { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; border: 1.5px solid rgb(244 242 236 / 0.28); color: var(--ivory); opacity: 0.75; }
.media-soon__glyph svg { width: 28px; height: 28px; margin-left: 3px; }
/* The round play button over a produced demonstration */
.media-ph__play {
  align-self: center; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  border: 0; background: var(--ivory); color: var(--charcoal); cursor: pointer;
  box-shadow: 0 10px 40px rgb(0 0 0 / 0.45); transition: transform .2s ease;
}
.media-ph__play svg { width: 34px; height: 34px; margin-left: 4px; }
.media-ph__play:hover { transform: scale(1.05); }
.media-ph__play:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
/* A produced demonstration: poster and play button until clicked, the
   browser's own controls while it plays. */
.demo-video {
  position: relative; aspect-ratio: var(--ratio, 16 / 9); border-radius: var(--r-lg); overflow: hidden;
  background: #1B1B1A; border: 1px solid var(--night-rule);
}
.demo-video video { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease; }
.demo-video[data-fading] video { opacity: 0; }
.demo-video__play { position: absolute; inset: 0; margin: auto; }
.demo-video[data-playing] .demo-video__play { display: none; }
.media-label { font-size: 19px; letter-spacing: -0.015em; margin-bottom: 14px; }
@media (max-width: 560px) {
  .media-soon { aspect-ratio: auto; min-height: 220px; }
  .media-ph__play { width: 64px; height: 64px; }
  .media-ph__play svg { width: 26px; height: 26px; }
}

/* How It Works */
.page-plain main { padding-top: var(--header-h); }
.hiw-intro { padding-block: 72px 96px; }
.hiw-intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 64px; align-items: center; }
/* Until the opening still exists, the introduction stands alone */
.hiw-intro__grid--solo { grid-template-columns: minmax(0, 1fr); }
.hiw-intro__grid--solo .hiw-intro__copy { max-width: 820px; }
.hiw-intro__grid--solo h1 { max-width: 20ch; }
.hiw-intro__copy { display: flex; flex-direction: column; gap: 24px; }
.hiw-intro h1 { font-size: var(--t-display); line-height: 1.02; letter-spacing: var(--track-tight); max-width: 16ch; }
.hiw-intro .lede { max-width: 54ch; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin-top: 6px; }
.jump a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--rule-strong); background: var(--bg-alt);
  font-size: 15px; font-weight: 600; text-decoration: none; color: var(--ink);
}
.jump a:hover { border-color: var(--ink); }
@media (max-width: 900px) {
  .hiw-intro { padding-block: 48px 72px; }
  .hiw-intro__grid { grid-template-columns: minmax(0, 1fr); }
}

.demo__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px 64px; align-items: center; }
.demo__copy { display: flex; flex-direction: column; gap: 20px; }
.demo__copy .h2 { font-size: clamp(30px, 3.4vw, 44px); max-width: 18ch; }
.demo__copy p { font-size: var(--t-read); line-height: 1.65; color: var(--ink-2); }
.demo__n { font: 700 var(--t-label)/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink); }
.demo__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 48px; }
.demo__pair .media-soon { --ratio: 4 / 3; }
.demo__wide .demo__copy { max-width: 760px; }
.demo__wide .demo__copy .h2 { max-width: 24ch; }
.demo__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }
@media (max-width: 900px) {
  .demo__grid { grid-template-columns: minmax(0, 1fr); }
  .demo__pair { grid-template-columns: minmax(0, 1fr); margin-top: 36px; }
  .demo__actions .btn { width: 100%; }
}
