/*
 * accentuateai.app
 * Paper and ink, with color reserved for feedback: green, amber and red are
 * the scores the app gives you, and gold is your Golden Voice.
 */

:root {
    --paper: #f6f5f1;
    --panel: #ecebe5;
    --white: #ffffff;
    --ink: #111110;
    --ink-2: #55534d;
    --ink-3: #6a6760;
    --rule: #e0ddd5;
    --good: #17804d;
    --fair: #935b00;
    --poor: #c93a28;
    --gold: #d19a2a;
    --gold-ink: #8a5d0c;

    --sans: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

    --wrap: min(1200px, calc(100% - 64px));
    --radius: 28px;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.55;
    letter-spacing: -0.006em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
}

h1,
h2,
h3,
p,
figure,
ol,
ul {
    margin: 0;
}

ol,
ul {
    padding: 0;
    list-style: none;
}

button {
    font: inherit;
    color: inherit;
}

::selection {
    background: #f3dca9;
    color: var(--ink);
}

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

/* Author display rules would otherwise beat the hidden attribute. */
[hidden] {
    display: none !important;
}

.wrap {
    width: var(--wrap);
    margin: 0 auto;
}

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

.skip-link {
    position: absolute;
    top: -60px;
    left: 16px;
    z-index: 20;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--paper);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 12px;
}

.mono {
    font-family: var(--mono);
    font-feature-settings: "tnum";
    letter-spacing: 0;
}

/* ---------- Buttons and forms ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    padding: 0 26px;
    border: 0;
    border-radius: 999px;
    background: var(--ink);
    color: var(--paper);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.005em;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s var(--ease);
}

.btn:hover {
    background: #2a2a28;
}

.btn:active {
    transform: scale(0.98);
}

.btn:disabled {
    opacity: 0.55;
    cursor: default;
}

.btn-sm {
    height: 40px;
    padding: 0 18px;
    font-size: 14px;
}

.waitlist {
    display: flex;
    gap: 8px;
    width: 100%;
    max-width: 460px;
}

.waitlist input[type="email"] {
    flex: 1;
    min-width: 0;
    height: 52px;
    padding: 0 22px;
    border: 1px solid #d5d2c9;
    border-radius: 999px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
    /* 16px keeps iOS Safari from zooming in on focus. */
    font-size: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.waitlist input[type="email"]::placeholder {
    color: #8f8c84;
}

.waitlist input[type="email"]:focus {
    outline: none;
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(17, 17, 16, 0.08);
}

/* Honeypot: hidden from people, filled in by bots. */
.waitlist .hp {
    display: none;
}

.waitlist-note {
    margin-top: 14px;
    color: var(--ink-3);
    font-size: 14px;
    text-wrap: balance;
}

/* In the hero the note only appears after joining, below the form, without
   moving it off the line of the text beside it. */
.hero-join {
    position: relative;
}

.hero .waitlist-note {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-width: 460px;
    text-align: center;
}

/* ---------- Navigation ---------- */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(246, 245, 241, 0.86);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.site-nav.is-scrolled {
    border-bottom-color: var(--rule);
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: 72px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
    font-size: 15px;
    font-weight: 700;
    font-stretch: 112%;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
}

.brand svg {
    width: 24px;
    height: 24px;
    flex: none;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--ink-2);
    font-size: 15px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: var(--ink);
}

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

.hero {
    padding: 72px 0 0;
}

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

.hero h1 {
    grid-column: 1 / -1;
    font-size: clamp(50px, 7.6vw, 112px);
    font-weight: 640;
    font-stretch: 106%;
    line-height: 0.94;
    letter-spacing: -0.048em;
    text-wrap: balance;
}

.lede {
    max-width: 31em;
    color: var(--ink-2);
    font-size: 19px;
    line-height: 1.5;
    letter-spacing: -0.01em;
    text-wrap: pretty;
}

/* ---------- Grader (hero demo) ---------- */

.grader {
    margin-top: 56px;
    padding: 28px 0 0;
    border-top: 1px solid var(--rule);
}

.grader-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: var(--ink-3);
    font-size: 14px;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ink-3);
    transition: background-color 0.3s ease;
}

.grader.is-listening .status-dot {
    background: var(--poor);
    animation: pulse 1s ease-in-out infinite;
}

.grader.is-graded .status-dot {
    background: var(--good);
}

@keyframes pulse {
    50% { opacity: 0.25; }
}

.grader-controls {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dots {
    display: flex;
    gap: 6px;
}

.dots button {
    position: relative;
    width: 28px;
    height: 20px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

/* Thin segment that fills while an example is on screen. */
.dots button::before,
.dots button::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 9px;
    height: 2px;
    border-radius: 2px;
    background: var(--rule);
}

.dots button::after {
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: left;
}

.dots button.is-done::after {
    transform: scaleX(1);
}

.dots button.is-current::after {
    animation: fill var(--hold, 6s) linear forwards;
}

.grader.is-paused .dots button.is-current::after {
    animation-play-state: paused;
}

@keyframes fill {
    to { transform: scaleX(1); }
}

.pause {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid var(--rule);
    border-radius: 50%;
    background: var(--white);
    cursor: pointer;
}

.pause svg {
    width: 10px;
    height: 10px;
}

.pause .icon-play,
.grader.is-paused .pause .icon-pause {
    display: none;
}

.grader.is-paused .pause .icon-play {
    display: block;
}

.sentence {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 0.34em;
    margin-top: 30px;
    font-size: clamp(30px, 4.5vw, 62px);
    font-weight: 560;
    font-stretch: 104%;
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.word {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.word-text {
    position: relative;
    color: var(--ink);
    transition: color 0.4s ease;
}

.word-score {
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--ink-3);
    transition: opacity 0.4s ease, transform 0.4s var(--ease);
}

/* The letters for the sound that needs work, underlined in its grade color. */
.word .mark {
    text-decoration-line: underline;
    text-decoration-color: currentColor;
    text-decoration-thickness: max(3px, 0.065em);
    text-decoration-skip-ink: none;
    text-underline-offset: 0.16em;
    transition: color 0.4s ease, text-decoration-color 0.4s ease;
}

.word.is-fair .mark,
.word.is-fair .word-score {
    color: var(--fair);
}

.word.is-poor .mark,
.word.is-poor .word-score {
    color: var(--poor);
}

/* While listening: nothing is scored yet. */
.grader.is-listening .word-text,
.grader.is-listening .word .mark {
    color: #b9b6ad;
}

.grader.is-listening .word-score {
    opacity: 0;
    transform: translateY(-4px);
}

.grader.is-listening .word .mark {
    text-decoration-color: transparent;
}

.breakdown {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr) auto;
    gap: 24px 56px;
    align-items: start;
    margin-top: 44px;
    padding: 32px 0 8px;
    border-top: 1px solid var(--rule);
    transition: opacity 0.45s ease, transform 0.45s var(--ease);
}

.grader.is-listening .breakdown {
    opacity: 0;
    transform: translateY(8px);
}

/* The breakdown follows once every word has been scored. */
.grader.is-graded .breakdown {
    transition-delay: 0.75s;
}

.grader.is-graded .phone-bar i {
    transition-delay: 0.95s;
}

.bd-word {
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.bd-ipa {
    display: block;
    margin-top: 6px;
    color: var(--ink-3);
    font-size: 15px;
}

.phones {
    display: grid;
    grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr));
    gap: 18px;
    max-width: calc(var(--n, 4) * 112px);
}

.phone-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

/* Sounds are named in plain letters (IH, EE), as the app shows them. */
.phone-sym {
    font-size: 18px;
    font-weight: 620;
    letter-spacing: -0.01em;
}

.phone-num {
    color: var(--ink-3);
    font-size: 13px;
}

.phone-bar {
    height: 4px;
    margin-top: 8px;
    border-radius: 4px;
    background: var(--rule);
    overflow: hidden;
}

.phone-bar i {
    display: block;
    height: 100%;
    border-radius: 4px;
    background: var(--good);
    transform-origin: left;
    transition: transform 0.6s var(--ease) 0.15s;
}

.grader.is-listening .phone-bar i {
    transform: scaleX(0);
}

.is-fair .phone-sym,
.is-fair .phone-num { color: var(--fair); }
.is-fair .phone-bar i { background: var(--fair); }
.is-poor .phone-sym,
.is-poor .phone-num { color: var(--poor); }
.is-poor .phone-bar i { background: var(--poor); }

/* The coaching line: "We heard EH here. Try it with IH." */
.heard {
    margin-top: 24px;
    color: var(--ink-2);
    font-size: 17px;
}

.snd {
    display: inline-block;
    padding: 0 8px;
    border-radius: 8px;
    font-weight: 650;
    line-height: 1.45;
}

.snd.is-poor {
    background: rgba(201, 58, 40, 0.1);
    color: var(--poor);
}

.snd.is-good {
    background: rgba(23, 128, 77, 0.1);
    color: var(--good);
}

/* The word spelled the way you said it, and the way to say it. */
.said {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 40px;
    margin: 16px 0 0;
}

.said dt {
    color: var(--ink-3);
    font-size: 13px;
}

.said dd {
    margin: 2px 0 0;
    font-size: 24px;
    font-weight: 620;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.said b {
    font-weight: inherit;
}

.said .is-poor { color: var(--poor); }
.said .is-good { color: var(--good); }

.bd-score {
    text-align: right;
}

.bd-score-num {
    display: block;
    font-size: 64px;
    font-weight: 600;
    line-height: 0.9;
    letter-spacing: -0.05em;
}

.bd-score-label {
    display: block;
    margin-top: 8px;
    color: var(--ink-3);
    font-size: 14px;
}

/* ---------- Statement ---------- */

.statement {
    padding: 176px 0;
}

.statement p {
    max-width: 22em;
    font-size: clamp(30px, 3.9vw, 52px);
    font-weight: 540;
    font-stretch: 104%;
    line-height: 1.12;
    letter-spacing: -0.035em;
    text-wrap: pretty;
}

/* Words darken as the statement scrolls into view, like being read aloud. */
.statement .sw {
    color: var(--ink);
    transition: color 0.25s linear;
}

.js .statement .sw {
    color: #c9c6bd;
}

.js .statement .sw.is-read {
    color: var(--ink);
}

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

.section {
    padding: 128px 0;
    border-top: 1px solid var(--rule);
}

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 24px 64px;
    align-items: end;
}

.section h2 {
    max-width: 13em;
    font-size: clamp(36px, 4.6vw, 64px);
    font-weight: 620;
    font-stretch: 104%;
    line-height: 1;
    letter-spacing: -0.042em;
    text-wrap: balance;
}

.section-lede {
    max-width: 30em;
    padding-bottom: 6px;
    color: var(--ink-2);
    font-size: 18px;
    text-wrap: pretty;
}

/* ---------- Device ---------- */
/* A plain phone frame around a screenshot. Everything scales with --w, its width.
 * Kept generic: Apple's marketing guidelines don't allow drawing details unique
 * to iPhone, such as the Dynamic Island. */

.device {
    --w: 280px;
    position: relative;
    width: var(--w);
    padding: calc(var(--w) * 0.03);
    border-radius: calc(var(--w) * 0.16);
    background: #0c0c0b;
    box-shadow:
        inset 0 0 0 1px #3a3935,
        0 calc(var(--w) * 0.12) calc(var(--w) * 0.24) calc(var(--w) * -0.1) rgba(17, 17, 16, 0.4);
}

.device img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: calc(var(--w) * 0.13);
}

/* ---------- Feedback ---------- */

.feedback {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 48px 72px;
    align-items: center;
    margin-top: 72px;
}

.feedback-shots {
    position: relative;
    container-type: inline-size;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius);
    background: var(--panel);
    overflow: hidden;
}

.feedback-shots .device {
    --w: 41cqw;
    position: absolute;
}

/* The word's feedback, and every sound in it a little higher. */
.feedback-shots .is-left {
    top: 15cqw;
    left: 6.5cqw;
}

.feedback-shots .is-right {
    top: 7cqw;
    right: 6.5cqw;
}

.facts {
    display: grid;
    gap: 30px;
}

.fact {
    padding-top: 22px;
    border-top: 1px solid var(--rule);
}

.fact h3 {
    font-size: 20px;
    font-weight: 620;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.fact p {
    margin-top: 8px;
    max-width: 30em;
    color: var(--ink-2);
    font-size: 16px;
    text-wrap: pretty;
}

/* ---------- Research ---------- */

.findings {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px 32px;
    margin-top: 72px;
}

.finding {
    padding-top: 22px;
    border-top: 2px solid var(--ink);
}

.finding h3 {
    font-size: 20px;
    font-weight: 620;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.finding p {
    margin-top: 12px;
    color: var(--ink-2);
    font-size: 15.5px;
    text-wrap: pretty;
}

/* One or two sources under each finding, one per line. */
.finding .cites {
    display: grid;
    justify-items: start;
    gap: 8px;
    margin-top: 16px;
}

.cite {
    color: var(--ink-3);
    font-size: 14px;
    text-decoration: underline;
    text-decoration-color: var(--rule);
    text-underline-offset: 4px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.cite:hover {
    color: var(--ink);
    text-decoration-color: var(--ink);
}

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

.faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
    gap: 24px 64px;
}

.faq details {
    border-top: 1px solid var(--rule);
}

.faq details:last-child {
    border-bottom: 1px solid var(--rule);
}

.faq summary {
    position: relative;
    padding: 24px 48px 24px 0;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.35;
    list-style: none;
    cursor: pointer;
}

.faq summary::-webkit-details-marker {
    display: none;
}

/* Plus that turns into a minus. */
.faq summary::before,
.faq summary::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 4px;
    width: 14px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 0.3s var(--ease);
}

.faq summary::after {
    transform: rotate(90deg);
}

.faq details[open] summary::after {
    transform: rotate(0deg);
}

.faq .answer {
    max-width: 38em;
    padding: 0 48px 26px 0;
    color: var(--ink-2);
}

.faq .answer p + p {
    margin-top: 12px;
}

.faq .answer a,
.doc a:not(.btn) {
    text-decoration: underline;
    text-decoration-color: rgba(17, 17, 16, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s ease;
}

.faq .answer a:hover,
.doc a:not(.btn):hover {
    text-decoration-color: var(--ink);
}

/* ---------- Closing call to action ---------- */

.cta {
    padding: 0 0 128px;
}

.cta-panel {
    display: grid;
    justify-items: center;
    padding: 112px 32px;
    border-radius: 36px;
    background: var(--ink);
    color: var(--paper);
    text-align: center;
}

.cta-panel h2 {
    max-width: 12em;
    font-size: clamp(40px, 6vw, 84px);
    font-weight: 620;
    font-stretch: 104%;
    line-height: 0.98;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.cta-panel > p {
    max-width: 30em;
    margin-top: 22px;
    color: #b3b0a8;
    font-size: 18px;
    text-wrap: balance;
}

.cta-panel .waitlist {
    margin-top: 40px;
}

.cta-panel .waitlist input[type="email"] {
    border-color: #3a3935;
    background: #1c1c1a;
    color: var(--paper);
}

.cta-panel .waitlist input[type="email"]::placeholder {
    color: #85827a;
}

.cta-panel .waitlist input[type="email"]:focus {
    border-color: var(--paper);
    box-shadow: 0 0 0 3px rgba(246, 245, 241, 0.12);
}

.cta-panel .btn {
    background: var(--paper);
    color: var(--ink);
}

.cta-panel .btn:hover {
    background: var(--white);
}

.cta-panel .waitlist-note {
    color: #a3a099;
}

.cta-panel :focus-visible {
    outline-color: var(--paper);
}

/* ---------- Footer ---------- */

.site-footer {
    padding: 56px 0 64px;
    border-top: 1px solid var(--rule);
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 24px 40px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
}

.footer-links a {
    color: var(--ink-2);
    font-size: 15px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a[aria-current="page"] {
    color: var(--ink);
}

.footer-legal {
    margin-top: 32px;
    color: var(--ink-3);
    font-size: 13px;
}

/* ---------- Document pages (privacy, support) ---------- */

.doc {
    width: min(760px, calc(100% - 64px));
    margin: 0 auto;
    padding: 80px 0 128px;
}

.doc h1 {
    font-size: clamp(46px, 6.4vw, 76px);
    font-weight: 640;
    font-stretch: 106%;
    line-height: 0.96;
    letter-spacing: -0.048em;
}

.doc .doc-meta {
    margin-top: 20px;
    color: var(--ink-3);
    font-size: 15px;
}

/* Apple's trademark credit line, once per site, with the legal notices. */
.doc .doc-legal {
    margin-top: 64px;
    color: var(--ink-3);
    font-size: 13px;
}

.doc .doc-lead {
    margin-top: 32px;
    color: var(--ink-2);
    font-size: 19px;
    line-height: 1.55;
    text-wrap: pretty;
}

.doc section {
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid var(--rule);
}

.doc h2 {
    margin-bottom: 18px;
    font-size: 30px;
    font-weight: 620;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.doc h3 {
    margin: 30px 0 8px;
    font-size: 18px;
    font-weight: 620;
    letter-spacing: -0.015em;
}

.doc p,
.doc li {
    color: var(--ink-2);
}

.doc p + p,
.doc ul + p,
.providers + p {
    margin-top: 14px;
}

.doc section > ul,
.summary ul {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding-left: 20px;
    list-style: disc;
}

.doc strong {
    color: var(--ink);
    font-weight: 620;
}

.summary {
    margin-top: 40px;
    padding: 30px 32px 32px;
    border-radius: 24px;
    background: var(--panel);
}

.summary h2 {
    margin-bottom: 4px;
    font-size: 20px;
}

.summary ul {
    margin-top: 12px;
}

.providers {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.provider {
    padding: 24px 26px;
    border-radius: 22px;
    background: var(--panel);
}

.doc .provider h3 {
    margin: 0 0 16px;
}

.provider h3 span {
    display: block;
    margin-top: 2px;
    color: var(--ink-3);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.005em;
}

.provider dl {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px 20px;
    margin: 0;
}

.provider dt {
    color: var(--ink-3);
    font-size: 14px;
}

.provider dd {
    margin: 0;
    color: var(--ink-2);
}

.contact-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    padding: 28px 30px;
    border-radius: 24px;
    background: var(--panel);
}

.contact-card .contact-email {
    color: var(--ink);
    font-size: 20px;
    font-weight: 620;
    letter-spacing: -0.02em;
}

.contact-card .contact-note {
    margin-top: 4px;
    color: var(--ink-3);
    font-size: 15px;
}

.doc .faq {
    margin-top: 8px;
}

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

@media (max-width: 1080px) {
    .findings {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .faq-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 860px) {
    :root {
        --wrap: calc(100% - 40px);
        --radius: 24px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding-top: 40px;
    }

    .hero-top,
    .section-head {
        grid-template-columns: minmax(0, 1fr);
    }

    .grader {
        margin-top: 44px;
    }

    .breakdown {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .breakdown > div:nth-child(2) {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .bd-score-num {
        font-size: 48px;
    }

    .statement {
        padding: 112px 0;
    }

    .section {
        padding: 96px 0;
    }

    .feedback,
    .findings {
        margin-top: 48px;
    }

    .feedback {
        grid-template-columns: minmax(0, 1fr);
    }

    .feedback-shots {
        aspect-ratio: 6 / 5;
    }

    .feedback-shots .device {
        --w: 36cqw;
    }

    .feedback-shots .is-left {
        top: 13cqw;
        left: 10cqw;
    }

    .feedback-shots .is-right {
        top: 6cqw;
        right: 10cqw;
    }

    .cta-panel {
        padding: 80px 24px;
        border-radius: 28px;
    }

    .doc {
        width: calc(100% - 40px);
        padding-top: 48px;
    }
}

@media (max-width: 560px) {
    body {
        font-size: 16px;
    }

    .lede {
        font-size: 18px;
    }

    .waitlist {
        flex-direction: column;
    }

    /* In a column, flex: 1 would override the input's height. */
    .waitlist input[type="email"] {
        flex: none;
    }

    .waitlist .btn {
        width: 100%;
    }

    .grader-head {
        font-size: 13px;
    }

    .sentence {
        gap: 4px 0.3em;
    }

    .word {
        gap: 6px;
    }

    .word-score {
        font-size: 11px;
    }

    .phones {
        gap: 12px;
    }

    .phone-sym {
        font-size: 16px;
    }

    .heard {
        font-size: 16px;
    }

    .said {
        gap: 10px 28px;
    }

    .said dd {
        font-size: 21px;
    }

    .findings {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Two phones would be too small to read: show the feedback alone. */
    .feedback-shots {
        aspect-ratio: 4 / 5;
    }

    .feedback-shots .device {
        --w: 60cqw;
    }

    .feedback-shots .is-left {
        top: 10cqw;
        left: 20cqw;
    }

    .feedback-shots .is-right {
        display: none;
    }

    .provider dl {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
    }

    .provider dd + dt {
        margin-top: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
