/* Flintdawn Marketing. One stylesheet for every page.
   Colors are checked for contrast by tests/check.mjs: change them there too. */

@font-face {
    font-family: "Outfit";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/assets/fonts/outfit-latin-400-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Outfit";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/assets/fonts/outfit-latin-700-normal.woff2") format("woff2");
}

:root {
    color-scheme: light;

    /* Flint: the dark areas (top bar, first screen, closing band, footer). */
    --ink: #0D1626;
    --ink-2: #17243B;
    --ink-3: #2A3B58;
    --on-ink: #FFFFFF;
    --on-ink-2: #C7D2E2;
    --ink-line: #3A4A66;

    /* The light page. */
    --paper: #FFFFFF;
    --mist: #F2F5F9;
    --line: #D5DCE6;
    --line-strong: #5F6E84;
    --text: #0E1A2B;
    --text-2: #3B485A;

    /* Dawn: the color of the main action, the free check. */
    --dawn: #FFB020;
    --dawn-hi: #FFC555;
    --dawn-edge: #9A5B00;
    --dawn-ink: #1F1400;
    --dawn-wash: #FFF4DC;
    --ember: #FF8A5B;

    /* Go: the color of "Start now", and of nothing else. */
    --go: #2CCB86;
    --go-hi: #5BDCA5;
    --go-edge: #0B6B3A;
    --go-ink: #03200F;

    --link: #1743BF;
    --ok: #12683A;
    --ok-wash: #E7F6EC;
    --err: #B3261E;
    --err-wash: #FDECEA;
    --focus: #1743BF;
    --focus-on-ink: #FFD98A;

    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 18px 40px -22px rgba(13, 22, 38, 0.45);
    --wrap: 70rem;
    --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: 5.5rem;
    scroll-padding-bottom: 5rem;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--paper);
}

h1,
h2,
h3,
h4 {
    margin: 0 0 0.5em;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.005em;
    text-wrap: balance;
}

p {
    margin: 0 0 1em;
}

a {
    color: var(--link);
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

a:hover {
    text-decoration-thickness: 2px;
}

strong {
    font-weight: 700;
}

[hidden] {
    display: none !important;
}

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
    border-radius: 4px;
}

.on-ink {
    color: var(--on-ink);
}

.on-ink a {
    color: var(--on-ink);
}

.on-ink :focus-visible,
.on-ink:focus-visible {
    outline-color: var(--focus-on-ink);
}

main:focus {
    outline: none;
}

.wrap {
    width: min(100% - 2.5rem, var(--wrap));
    margin-inline: auto;
}

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

.skip-link {
    position: absolute;
    left: 1rem;
    top: -6rem;
    z-index: 100;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    background: var(--dawn);
    color: var(--dawn-ink);
    font-weight: 700;
}

.skip-link:focus {
    top: 1rem;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.65rem 1.4rem;
    border: 2px solid transparent;
    border-radius: 12px;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-primary,
.on-ink .btn-primary {
    background: var(--dawn);
    border-color: var(--dawn-edge);
    color: var(--dawn-ink);
}

.btn-primary:hover {
    background: var(--dawn-hi);
}

.btn-outline {
    background: var(--paper);
    border-color: var(--text);
    color: var(--text);
}

.btn-outline:hover {
    background: var(--mist);
}

/* "Start now": a solid green button, on light and dark areas alike. */
.btn-go,
.on-ink .btn-go {
    background: var(--go);
    border-color: var(--go-edge);
    color: var(--go-ink);
}

.btn-go:hover {
    background: var(--go-hi);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    min-height: 2.75rem;
    padding: 0.5rem 1rem;
}

.btn[disabled] {
    cursor: progress;
    opacity: 0.75;
}

/* ---------- Top bar ---------- */

.site-header {
    background: var(--ink);
    border-bottom: 1px solid var(--ink-line);
}

@media (min-width: 56.25em) {
    .site-header {
        position: sticky;
        top: 0;
        z-index: 20;
    }
}

.header-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding-block: 0.4rem;
    font-size: 1.3125rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none;
}

.brand,
.btn-sm {
    white-space: nowrap;
}

.brand-sub {
    font-weight: 400;
    color: var(--on-ink-2);
}

/* On a narrow phone the top bar shows the short name. The full name is still read out. */
@media (max-width: 26em) {
    .brand-sub {
        display: none;
    }
}

.brand-mark {
    flex: none;
    border-radius: 8px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* "Start now" joins the top bar once there is room. On a phone it sits under the form and in the bottom bar. */
.header-start {
    display: none;
}

@media (min-width: 35em) {
    .header-start {
        display: inline-flex;
    }
}

.nav {
    display: none;
}

/* The page links need a wider screen than the two buttons do. */
@media (min-width: 62em) {
    .nav {
        display: flex;
        gap: 1.75rem;
    }
}

.nav a {
    padding: 0.6rem 0;
    color: var(--on-ink-2);
    text-decoration: none;
}

.nav a:hover {
    color: var(--on-ink);
    text-decoration: underline;
}

.header-back {
    padding: 0.6rem 0;
}

/* ---------- First screen ---------- */

.hero {
    padding-top: clamp(1.75rem, 4vw, 3rem);
    background:
        radial-gradient(120% 75% at 88% 112%, rgba(255, 138, 91, 0.36) 0%, rgba(255, 176, 32, 0.12) 38%, rgba(13, 22, 38, 0) 64%),
        radial-gradient(70% 55% at 0% 0%, rgba(54, 96, 180, 0.24), rgba(13, 22, 38, 0) 62%),
        var(--ink);
}

.hero-grid {
    display: grid;
    gap: 2.25rem;
}

@media (min-width: 60em) {
    .hero-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        gap: 3.5rem;
        align-items: center;
    }
}

.eyebrow {
    margin-bottom: 0.9rem;
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--dawn);
}

.hero h1 {
    margin-bottom: 0.9rem;
    font-size: clamp(2.125rem, 1.2rem + 3.1vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.dawn {
    color: var(--dawn);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .dawn {
        background: linear-gradient(90deg, var(--dawn), var(--ember));
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }
}

@media (forced-colors: active) {
    .dawn {
        background: none;
        color: CanvasText;
    }
}

.lead {
    max-width: 38rem;
    font-size: clamp(1.0625rem, 0.95rem + 0.6vw, 1.1875rem);
    line-height: 1.5;
    color: var(--on-ink-2);
}

.hero-price {
    margin: 1rem 0 0;
    color: var(--on-ink-2);
}

.hero-price strong {
    color: var(--on-ink);
}

/* The line under each free check form: the price on one side, "Start now" on the other. */
.start-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.25rem;
    margin-top: 1rem;
}

.start-row .hero-price {
    margin: 0;
}

/* Same width as the form card above it, so the button lines up with the card's edge. */
.hero .start-row {
    max-width: 38rem;
}

@media (max-width: 30em) {
    .start-row .btn {
        width: 100%;
    }
}

/* Small laptops (wide but short screens): tighten the first screen so the form's button stays in view. */
@media (min-width: 60em) and (max-height: 45em) {
    .hero {
        padding-top: 1.5rem;
    }

    .eyebrow {
        margin-bottom: 0.5rem;
    }

    .hero h1 {
        margin-bottom: 0.6rem;
        font-size: 2.5rem;
    }

    .lead {
        margin-bottom: 0;
        font-size: 1.0625rem;
    }

    .hero .check {
        margin-top: 1rem;
        padding-block: 1rem;
    }

    .hero .check-note {
        margin-bottom: 0.5rem;
    }

    .hero .field {
        margin-bottom: 0.6rem;
    }
}

/* ---------- The free check form ---------- */

.check,
.agree {
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    color: var(--text);
    box-shadow: var(--shadow);
}

.hero .check {
    max-width: 38rem;
    margin-top: 1.4rem;
}

/* Text links inside the form cards. A button there (the PayPal step after agreeing) keeps its own label color. */
.check a:not(.btn),
.agree a:not(.btn) {
    color: var(--link);
}

.check :focus-visible,
.agree :focus-visible,
.on-ink .check :focus-visible {
    outline-color: var(--focus);
}

.check-title {
    margin-bottom: 0.2rem;
    font-size: 1.3125rem;
}

.check-note {
    margin-bottom: 0.8rem;
    font-size: 0.9375rem;
    color: var(--text-2);
}

.field-row {
    display: grid;
    gap: 0 0.9rem;
}

@media (min-width: 35em) {
    .field-row {
        grid-template-columns: 1fr 1fr;
    }
}

.field {
    margin-bottom: 0.85rem;
}

.field-action {
    margin-bottom: 0;
}

@media (min-width: 35em) {
    .field-row-action {
        grid-template-columns: 1fr auto;
    }

    /* Lines the button up with the email box beside it: one label line plus its gap. */
    .field-action {
        margin-top: calc(1.6em + 0.3rem);
    }
}

label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

input[type="text"],
input[type="email"] {
    display: block;
    width: 100%;
    min-height: 3rem;
    padding: 0.55rem 0.8rem;
    border: 2px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--paper);
    color: var(--text);
    font: inherit;
}

input[aria-invalid="true"] {
    border-color: var(--err);
}

.field-hint,
.field-error {
    margin: 0.3rem 0 0;
    font-size: 0.9375rem;
}

.field-hint {
    color: var(--text-2);
}

.field-error {
    font-weight: 700;
    color: var(--err);
}

.check-small {
    margin: 0.75rem 0 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--text-2);
}

.hp {
    display: none;
}

.form-alert,
.form-done {
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border-left: 5px solid var(--err);
    border-radius: 8px;
    background: var(--err-wash);
    color: var(--text);
}

.form-alert p,
.form-done p {
    margin: 0 0 0.4rem;
}

.form-alert p:last-child,
.form-done p:last-child {
    margin-bottom: 0;
}

.form-done {
    margin: 0;
    border-left-color: var(--ok);
    background: var(--ok-wash);
}

.form-done h2,
.form-done h3 {
    font-size: 1.3125rem;
}

/* ---------- The example answer ---------- */

.answer {
    margin: 0;
}

.answer-window {
    padding: 1.1rem;
    border: 1px solid var(--ink-line);
    border-radius: 20px;
    background: rgba(23, 36, 59, 0.82);
}

.bubble {
    margin: 0;
    padding: 0.8rem 1rem;
    line-height: 1.45;
}

.bubble-q {
    max-width: 88%;
    margin-left: auto;
    border-radius: 16px 16px 4px 16px;
    background: var(--ink-3);
}

.bubble-a {
    margin-top: 0.75rem;
    border-radius: 16px 16px 16px 4px;
    background: var(--paper);
    color: var(--text);
}

.bubble-a p {
    margin-bottom: 0.5rem;
}

.bubble-a ol {
    margin: 0;
    padding-left: 1.3rem;
}

.bubble-a li {
    margin-bottom: 0.4rem;
}

.who {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.bubble-q .who {
    color: var(--on-ink-2);
}

.bubble-a .who {
    color: var(--text-2);
}

.miss {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.75rem 0 0;
    padding: 0.6rem 0.9rem;
    border: 2px dashed var(--dawn);
    border-radius: 12px;
    font-weight: 700;
    color: var(--focus-on-ink);
}

.miss svg {
    flex: none;
}

.answer figcaption {
    margin-top: 0.7rem;
    font-size: 0.9375rem;
    color: var(--on-ink-2);
}

/* ---------- Three facts ---------- */

.facts {
    display: grid;
    gap: 1.25rem;
    margin: 2.5rem 0 0;
    padding: 1.6rem 0 0;
    border-top: 1px solid var(--ink-line);
    list-style: none;
}

@media (min-width: 48em) {
    .facts {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.25rem;
    }
}

.fact {
    color: var(--on-ink-2);
}

.fact strong {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 1.75rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--on-ink);
}

.sources {
    margin: 1.25rem 0 0;
    padding-bottom: 2.25rem;
    font-size: 0.9375rem;
    color: var(--on-ink-2);
}

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

.section {
    padding-block: clamp(3.25rem, 8vw, 5.5rem);
}

.section-mist {
    background: var(--mist);
}

.section-head {
    max-width: 46rem;
    margin-bottom: 2rem;
}

.section-head-center {
    margin-inline: auto;
    text-align: center;
}

.section h2,
.closing h2 {
    font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.5rem);
    letter-spacing: -0.015em;
}

.section-head p {
    font-size: 1.125rem;
    color: var(--text-2);
}

.nudge-source {
    font-size: 0.9375rem;
}

/* How it works */

.steps {
    display: grid;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 54em) {
    .steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step {
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
}

.step-n {
    display: inline-grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.9rem;
    border: 2px solid var(--dawn-edge);
    border-radius: 50%;
    background: var(--dawn);
    color: var(--dawn-ink);
    font-weight: 700;
}

.step h3 {
    font-size: 1.3125rem;
}

.step p {
    margin: 0;
    color: var(--text-2);
}

.nudge {
    display: grid;
    gap: 1rem;
    align-items: center;
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--mist);
}

.nudge p {
    margin: 0;
}

@media (min-width: 48em) {
    .nudge {
        grid-template-columns: 1fr auto;
        gap: 2rem;
    }
}

/* What you get */

.services {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 56.25em) {
    .services {
        grid-template-columns: 1.35fr 1fr;
    }

    .service-main {
        grid-row: span 2;
    }
}

.service {
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
}

.service-main {
    border: 2px solid var(--ink);
}

.service-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.service-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
    background: var(--ink);
    color: var(--dawn);
}

.service-price {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 700;
    text-align: right;
    color: var(--text-2);
}

.service h3 {
    font-size: 1.375rem;
}

.service > p {
    color: var(--text-2);
}

.ticks,
.crosses {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ticks li,
.crosses li {
    position: relative;
    margin-bottom: 0.6rem;
    padding-left: 1.9rem;
}

.ticks li:last-child,
.crosses li:last-child {
    margin-bottom: 0;
}

.ticks li::before,
.crosses li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.22em;
    width: 1.2rem;
    height: 1.2rem;
    background: no-repeat center / contain;
}

.ticks li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312683A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E");
}

.crosses li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B485A' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E");
}

/* The sample report */

.report-title {
    margin: 2.75rem 0 1rem;
    font-size: 1.375rem;
}

.report {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.report-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    padding: 0.8rem 1.25rem;
    background: var(--ink);
    font-weight: 700;
}

.tag {
    padding: 0.15rem 0.75rem;
    border-radius: 999px;
    background: var(--dawn);
    color: var(--dawn-ink);
    font-size: 0.9375rem;
}

.report-body {
    display: grid;
    gap: 1.5rem;
    padding: 1.25rem;
}

.report-body > * {
    min-width: 0;
}

@media (min-width: 56.25em) {
    .report-body {
        grid-template-columns: 1.3fr 0.7fr;
        gap: 2.25rem;
    }
}

.report h4 {
    margin: 0 0 0.4rem;
    font-size: 0.9375rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-2);
}

.report-big {
    font-size: 1.1875rem;
}

.report-list {
    margin: 0 0 1.1rem;
    padding-left: 1.2rem;
}

.report-note {
    margin: 0;
}

.table-scroll {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

caption {
    padding-bottom: 0.4rem;
    text-align: left;
    color: var(--text-2);
}

th,
td {
    padding: 0.55rem 0.5rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

thead th {
    border-bottom: 2px solid var(--line-strong);
}

tbody th {
    font-weight: 400;
}

th.c,
td.c {
    text-align: center;
}

@media (max-width: 30em) {
    table {
        font-size: 0.875rem;
    }

    th,
    td {
        padding: 0.5rem 0.3rem;
    }
}

td.yes {
    font-weight: 700;
    color: var(--ok);
}

td.no {
    color: var(--text-2);
}

.report figcaption {
    padding: 0.9rem 1.25rem;
    border-top: 1px solid var(--line);
    background: var(--dawn-wash);
    font-size: 0.9375rem;
}

/* Price */

.price-card {
    max-width: 46rem;
    margin-inline: auto;
    padding: clamp(1.25rem, 4vw, 2.5rem);
    border: 2px solid var(--ink);
    border-radius: 20px;
    background: var(--paper);
    box-shadow: var(--shadow);
}

.price-label {
    margin-bottom: 0.25rem;
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-2);
}

.price-amount {
    margin-bottom: 0;
    font-size: clamp(3rem, 2rem + 5vw, 4.25rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.035em;
}

.price-per {
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--text-2);
}

.price-lines {
    margin: 1.4rem 0;
    padding: 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.price-lines li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--line);
}

.price-lines li span:last-child {
    flex: none;
    font-weight: 700;
}

.price-total {
    font-weight: 700;
}

.promise {
    margin: 1.4rem 0;
    padding: 1rem 1.1rem;
    border-left: 5px solid var(--dawn-edge);
    border-radius: 10px;
    background: var(--dawn-wash);
}

.price-actions {
    display: grid;
    gap: 0.75rem;
}

@media (min-width: 35em) {
    .price-actions {
        grid-template-columns: 1fr 1fr;
    }
}

.price-small {
    margin: 1rem 0 0;
    font-size: 0.9375rem;
    color: var(--text-2);
}

.duo {
    display: grid;
    gap: 1.25rem;
    max-width: 46rem;
    margin: 1.5rem auto 0;
}

@media (min-width: 48em) {
    .duo {
        grid-template-columns: 1fr 1fr;
    }
}

.duo-card {
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--mist);
}

.duo-card h3 {
    font-size: 1.25rem;
}

.duo-note {
    margin: 1rem 0 0;
    font-size: 0.9375rem;
    color: var(--text-2);
}

/* Questions */

.faq {
    max-width: 50rem;
    border-top: 1px solid var(--line-strong);
}

.faq details {
    border-bottom: 1px solid var(--line-strong);
}

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 3.5rem;
    padding: 0.9rem 0.25rem;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    list-style: none;
    cursor: pointer;
}

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

.chevron {
    flex: none;
}

@media (prefers-reduced-motion: no-preference) {
    .chevron {
        transition: transform 0.15s ease;
    }
}

.faq details[open] .chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-width: 44rem;
    padding: 0 0.25rem 1.1rem;
    color: var(--text-2);
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* Closing band */

.closing {
    padding-block: clamp(3.25rem, 8vw, 5.5rem);
    background:
        radial-gradient(110% 80% at 10% 115%, rgba(255, 138, 91, 0.3) 0%, rgba(255, 176, 32, 0.1) 40%, rgba(13, 22, 38, 0) 66%),
        var(--ink);
}

.closing-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 56.25em) {
    .closing-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3.5rem;
        align-items: center;
    }
}

.closing-points {
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

.closing-points li {
    position: relative;
    margin-bottom: 0.5rem;
    padding-left: 1.9rem;
}

.closing-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.22em;
    width: 1.2rem;
    height: 1.2rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFB020' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") no-repeat center / contain;
}

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

.site-footer {
    padding-block: 2.5rem;
    border-top: 1px solid var(--ink-line);
    background: var(--ink);
    color: var(--on-ink-2);
    font-size: 0.9375rem;
}

.footer-top {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 48em) {
    .footer-top {
        grid-template-columns: 1.5fr 1fr;
        gap: 3rem;
    }
}

.footer-top p {
    max-width: 34rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--on-ink);
}

.footer-links {
    display: grid;
    gap: 0.1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a {
    display: inline-block;
    padding: 0.4rem 0;
}

.footer-bottom {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--ink-line);
}

.footer-bottom p {
    margin-bottom: 0.4rem;
}

/* ---------- Bar at the bottom of a phone screen ---------- */

.sticky-cta {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.6rem 1.25rem calc(0.6rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--ink-line);
    background: var(--ink);
    font-weight: 700;
    line-height: 1.25;
}

/* On a phone the bar is the two buttons side by side. The question joins them when there is room. */
.sticky-text {
    display: none;
}

.sticky-actions {
    display: flex;
    flex: 1;
    gap: 0.6rem;
}

.sticky-actions .btn {
    flex: 1;
}

@media (min-width: 40em) {
    .sticky-text {
        display: inline;
    }

    .sticky-actions,
    .sticky-actions .btn {
        flex: none;
    }
}

@media (min-width: 56.25em), (max-height: 30em) {
    .sticky-cta {
        display: none;
    }
}

@media (max-width: 56.24em) and (min-height: 30.01em) {
    body.has-sticky {
        padding-bottom: 4.25rem;
    }
}

/* ---------- Text pages: agreement, terms, privacy, accessibility ---------- */

.page-head {
    padding-block: clamp(2rem, 5vw, 3.25rem);
    background: var(--ink);
}

.page-head .wrap,
.prose {
    max-width: 46rem;
}

.page-head h1 {
    margin-bottom: 0.4rem;
    font-size: clamp(2rem, 1.3rem + 2.8vw, 3rem);
    letter-spacing: -0.02em;
}

.page-head p {
    margin: 0;
    font-size: 1.125rem;
    color: var(--on-ink-2);
}

.page-head .page-meta {
    margin-top: 0.5rem;
    font-size: 1rem;
}

.prose {
    padding-block: 2.5rem 4rem;
}

.prose h2 {
    margin-top: 2.25rem;
    font-size: 1.5rem;
}

.prose h3 {
    margin-top: 1.5rem;
    font-size: 1.1875rem;
}

.prose ul,
.prose ol {
    margin: 0 0 1rem;
    padding-left: 1.4rem;
}

.prose li {
    margin-bottom: 0.45rem;
}

.short {
    margin-bottom: 2rem;
    padding: 1.25rem 1.4rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--mist);
}

.short h2 {
    margin-top: 0;
    font-size: 1.3125rem;
}

.short p:last-child {
    margin-bottom: 0;
}

/* The agreement form */

.agree {
    margin-top: 1.25rem;
    border: 2px solid var(--ink);
}

.boxes {
    margin: 1.25rem 0 0;
    padding: 0;
    border: 0;
}

.boxes legend {
    padding: 0;
    font-weight: 700;
}

.box {
    display: grid;
    grid-template-columns: 1.75rem 1fr;
    gap: 0 0.75rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
}

.box input {
    width: 1.5rem;
    height: 1.5rem;
    margin: 0.15rem 0 0;
    accent-color: var(--ink);
}

.box label {
    margin: 0;
    font-weight: 400;
}

.box .field-error {
    grid-column: 2;
}

.agree-links,
.agree-notice {
    margin: 1rem 0;
}

.prose > .no-print {
    margin-top: 1.5rem;
}

/* ---------- Motion and printing ---------- */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}

@media print {
    .site-header,
    .site-footer,
    .sticky-cta,
    .skip-link,
    .no-print,
    .agree button {
        display: none !important;
    }

    body {
        font-size: 11pt;
    }

    .page-head {
        padding: 0 0 1rem;
        background: none;
        color: #000;
    }

    .page-head p {
        color: #000;
    }

    .prose {
        max-width: none;
        padding: 0;
    }

    a {
        color: #000;
    }
}
