/*
  One stylesheet, no build step, no external font or CSS requests: the whole
  point of a static marketing site is that it paints on the first round trip.

  Palette comes from the mark itself — cobalt #1974D2 for the waveform, navy
  #102A43 for the transcript lines — so the site and the app read as one product.
*/

:root {
    --ink: #102a43;
    --ink-soft: #486581;
    --ink-faint: #7089a2;
    --cobalt: #1974d2;
    --cobalt-dark: #14589f;
    --navy: #0a1f33;
    --surface: #ffffff;
    --wash: #f3f7fb;
    --line: #dbe4ee;
    --line-soft: #eaf0f6;
    --radius: 12px;
    --container: 1120px;
    --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--surface);
    color: var(--ink);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0;
}

p {
    margin: 0;
}

a {
    color: var(--cobalt-dark);
}

a:hover {
    color: var(--cobalt);
}

img,
svg {
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* Keyboard users get to the content without tabbing the whole nav. */
.skip {
    position: absolute;
    left: -9999px;
}

.skip:focus {
    left: 12px;
    top: 12px;
    z-index: 10;
    background: #fff;
    padding: 10px 16px;
    border-radius: 8px;
}

/* ---------------------------------------------------------------- header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 5;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line-soft);
}

.site-header .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
    flex-shrink: 0;
}

/* 32px is the floor for the mark: below it the transcript lines merge. */
.brand img {
    height: 32px;
    width: auto;
}

.brand span {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 22px;
    margin-left: auto;
    font-size: 15px;
}

.site-nav a {
    color: var(--ink-soft);
    text-decoration: none;
    font-weight: 500;
}

.site-nav a:hover {
    color: var(--ink);
}

/* ---------------------------------------------------------------- buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--cobalt);
    border-color: var(--cobalt);
    color: #fff;
}

.btn-primary:hover {
    background: var(--cobalt-dark);
    border-color: var(--cobalt-dark);
    color: #fff;
}

.btn-ghost {
    border-color: var(--line);
    color: var(--ink);
    background: #fff;
}

.btn-ghost:hover {
    border-color: var(--ink-faint);
    color: var(--ink);
}

.btn-on-dark {
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
    background: transparent;
}

.btn-on-dark:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 15px;
}

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

.hero {
    background:
        radial-gradient(
            900px 420px at 82% -8%,
            rgba(25, 116, 210, 0.45),
            transparent 70%
        ),
        linear-gradient(165deg, #0d2a44 0%, #0a1f33 100%);
    background-color: var(--navy);
    color: #fff;
    padding: 88px 0 96px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 56px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8fc4f5;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 700;
}

.hero-lede {
    margin-top: 20px;
    font-size: clamp(17px, 2vw, 19px);
    color: #c3d5e6;
    max-width: 34em;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero-note {
    margin-top: 20px;
    font-size: 14px;
    color: #93aec7;
}

/* ------------------------------------------------- the message card mock */

.mock {
    background: #fff;
    color: var(--ink);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(4, 17, 30, 0.45);
    overflow: hidden;
}

.mock-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px;
    background: var(--wash);
    border-bottom: 1px solid var(--line-soft);
    font-size: 13px;
    color: var(--ink-soft);
}

.mock-body {
    padding: 20px 22px 24px;
}

.mock-from {
    font-weight: 600;
    font-size: 17px;
}

.mock-meta {
    font-size: 13px;
    color: var(--ink-faint);
    margin-top: 2px;
}

.mock-summary {
    margin-top: 16px;
    padding: 14px 16px;
    background: rgba(25, 116, 210, 0.07);
    border-left: 3px solid var(--cobalt);
    border-radius: 0 8px 8px 0;
    font-size: 16px;
}

.mock-player {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 13px;
    color: var(--ink-soft);
}

.mock-play {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--cobalt);
    flex-shrink: 0;
    position: relative;
}

.mock-play::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    border-left: 8px solid #fff;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.mock-wave {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    height: 22px;
    min-width: 0;
}

/* Fixed-width bars spread across whatever room is left: flex:1 bars turn into
   squares on a wide screen, which stops reading as a waveform. */
.mock-wave i {
    display: block;
    flex: 0 0 4px;
    background: #b9d5f1;
    border-radius: 2px;
}

.mock-transcript {
    margin-top: 18px;
    font-size: 15px;
    color: var(--ink-soft);
    border-top: 1px solid var(--line-soft);
    padding-top: 16px;
}

.mock-transcript strong {
    display: block;
    font-size: 12px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 6px;
    font-weight: 600;
}

/* ---------------------------------------------------------------- sections */

section {
    padding: 84px 0;
}

section.on-wash {
    background: var(--wash);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}

.section-head {
    max-width: 42em;
    margin-bottom: 48px;
}

.section-head h2 {
    font-size: clamp(27px, 3.4vw, 36px);
    font-weight: 700;
}

.section-head p {
    margin-top: 16px;
    color: var(--ink-soft);
    font-size: 18px;
}

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

.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 28px;
    counter-reset: step;
}

.steps li {
    counter-increment: step;
    position: relative;
    padding-top: 46px;
}

.steps li::before {
    content: counter(step);
    position: absolute;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--cobalt);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.steps h3 {
    font-size: 18px;
    font-weight: 600;
}

.steps p {
    margin-top: 8px;
    color: var(--ink-soft);
    font-size: 16px;
}

/* ---------------------------------------------------------------- cards */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px;
}

/* Four cards across three columns leaves an orphan on its own row, which reads
   as a missing fifth card. Two-up keeps the block square. */
.cards-2 {
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    max-width: 900px;
}

.card h3 {
    font-size: 18px;
    font-weight: 600;
}

.card p {
    margin-top: 10px;
    color: var(--ink-soft);
    font-size: 16px;
}

/* ---------------------------------------------------------------- security */

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: start;
}

.checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 20px;
}

.checklist li {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 14px;
}

.checklist svg {
    width: 22px;
    height: 22px;
    margin-top: 3px;
    color: var(--cobalt);
    flex-shrink: 0;
}

.checklist h3 {
    font-size: 17px;
    font-weight: 600;
}

.checklist p {
    margin-top: 4px;
    color: var(--ink-soft);
    font-size: 16px;
}

/* ---------------------------------------------------------------- faq */

.faq {
    display: grid;
    gap: 0;
    max-width: 46em;
}

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

.faq details:first-of-type {
    border-top: 1px solid var(--line);
}

.faq summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 17px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

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

.faq summary::after {
    content: "+";
    color: var(--cobalt);
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
}

.faq details[open] summary::after {
    content: "\2013";
}

.faq details p {
    margin-top: 12px;
    color: var(--ink-soft);
    font-size: 16px;
    max-width: 44em;
}

/* ---------------------------------------------------------------- contact */

.contact {
    background: var(--navy);
    color: #fff;
    text-align: center;
}

.contact h2 {
    font-size: clamp(27px, 3.4vw, 36px);
    font-weight: 700;
}

.contact p {
    margin: 18px auto 0;
    color: #c3d5e6;
    max-width: 38em;
    font-size: 18px;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 32px;
}

.contact-mail {
    display: inline-block;
    margin-top: 24px;
    font-size: 15px;
    color: #8fc4f5;
}

.contact-mail a {
    color: #fff;
}

/* ---------------------------------------------------------------- footer */

.site-footer {
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 34px 0;
    font-size: 14px;
    color: var(--ink-soft);
}

.site-footer .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 28px;
}

.credit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--ink-soft);
}

.credit:hover {
    color: var(--ink);
}

/* 20px: the Inspired mark is intricate, and at 16 it renders as a blob. */
.credit img {
    height: 20px;
    width: auto;
    opacity: 0.85;
}

.credit strong {
    font-weight: 600;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.footer-links a {
    color: var(--ink-soft);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--ink);
}

/* ---------------------------------------------------------------- prose */

.prose {
    max-width: 44em;
}

.prose h2 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 40px;
}

.prose p,
.prose ul {
    margin-top: 14px;
    color: var(--ink-soft);
}

.prose ul {
    padding-left: 22px;
}

.prose li + li {
    margin-top: 8px;
}

.prose .updated {
    font-size: 14px;
    color: var(--ink-faint);
}

/* ---------------------------------------------------------------- responsive */

@media (max-width: 900px) {
    .hero-grid,
    .split {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .hero {
        padding: 64px 0 72px;
    }

    section {
        padding: 64px 0;
    }
}

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

    * {
        transition: none !important;
    }
}
