/* ==========================================================================
   Packet Clarity — site styles
   Shared by index.php and create-account.php
   ========================================================================== */

/* --------------------------------------------------------------- Tokens -- */
:root {
    --brand:        #2f6fed;
    --brand-strong: #1d4ed8;
    --brand-soft:   #eaf1ff;
    --accent:       #22d3ee;

    --ink:   #0a1020;
    --ink-2: #414c66;
    --ink-3: #6d7891;

    --bg:   #ffffff;
    --bg-2: #f5f7fb;
    --line: #e3e8f1;

    --dark:      #070c18;
    --dark-2:    #0d1626;
    --dark-line: #1c2740;
    --dark-ink:  #eef2f9;
    --dark-ink-2:#9cadc7;

    --ok: #34d399;

    --radius-sm: 10px;
    --radius:    14px;
    --radius-lg: 22px;

    --shadow-sm: 0 1px 2px rgba(10, 16, 32, .06);
    --shadow:    0 14px 34px -14px rgba(10, 16, 32, .20), 0 2px 6px rgba(10, 16, 32, .04);
    --shadow-lg: 0 34px 70px -24px rgba(10, 16, 32, .30);

    --font: "Inter", system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI",
            Roboto, Helvetica, Arial, sans-serif;
    --mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Menlo, Consolas, monospace;

    --shell:  1140px;
    --gutter: 24px;

    --ease: cubic-bezier(.2, .7, .3, 1);
}

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

* { margin: 0; padding: 0; }

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

body {
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink-2);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

ul { list-style: none; }

a { color: var(--brand); }

h1, h2, h3, h4 {
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -.02em;
    font-weight: 700;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.05rem, 1.25rem + 2.8vw, 3.15rem);
    line-height: 1.08;
    letter-spacing: -.035em;
}

h2 { font-size: clamp(1.75rem, 1.15rem + 1.9vw, 2.5rem); }
h3 { font-size: 1.15rem; }

p { text-wrap: pretty; }

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

/* --------------------------------------------------------------- Layout -- */
.container {
    width: 100%;
    max-width: var(--shell);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

section {
    padding-block: clamp(64px, 7.5vw, 108px);
}

.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }

.section-title {
    max-width: 720px;
    margin: 0 auto clamp(40px, 5vw, 64px);
    text-align: center;
}

.section-title p {
    margin-top: 14px;
    font-size: 1.075rem;
    color: var(--ink-3);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brand);
}

/* -------------------------------------------------------------- Buttons -- */
.btn {
    --btn-bg: transparent;
    --btn-fg: var(--ink);
    --btn-bd: transparent;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border: 1px solid var(--btn-bd);
    border-radius: 10px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font: inherit;
    font-size: .975rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .18s var(--ease), background-color .18s var(--ease),
                border-color .18s var(--ease), color .18s var(--ease),
                box-shadow .18s var(--ease);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    --btn-bg: var(--brand);
    --btn-fg: #fff;
    --btn-bd: var(--brand);
    box-shadow: 0 10px 22px -10px rgba(47, 111, 237, .75);
}
.btn-primary:hover {
    --btn-bg: var(--brand-strong);
    --btn-bd: var(--brand-strong);
    box-shadow: 0 14px 26px -10px rgba(47, 111, 237, .85);
}

.btn-outline {
    --btn-fg: var(--brand);
    --btn-bd: rgba(47, 111, 237, .45);
}
.btn-outline:hover {
    --btn-bg: var(--brand-soft);
    --btn-bd: var(--brand);
}

/* On dark backgrounds */
.btn-ghost-light {
    --btn-fg: var(--dark-ink);
    --btn-bd: rgba(255, 255, 255, .22);
    --btn-bg: rgba(255, 255, 255, .04);
}
.btn-ghost-light:hover {
    --btn-bg: rgba(255, 255, 255, .10);
    --btn-bd: rgba(255, 255, 255, .40);
}

.btn-light {
    --btn-bg: #fff;
    --btn-fg: var(--ink);
    --btn-bd: #fff;
    box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .6);
}
.btn-light:hover { --btn-bg: #eef2f9; --btn-bd: #eef2f9; }

.btn-block { width: 100%; }

/* --------------------------------------------------------------- Header -- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 12, 24, .78);
    border-bottom: 1px solid var(--dark-line);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 68px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-ink);
    font-size: 1.075rem;
    font-weight: 700;
    letter-spacing: -.02em;
    text-decoration: none;
}

.logo-mark {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: linear-gradient(140deg, var(--brand), var(--accent));
    color: #04121d;
    box-shadow: 0 6px 16px -8px rgba(34, 211, 238, .9);
}
.logo-mark svg { width: 18px; height: 18px; }

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav a {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 8px;
    color: var(--dark-ink-2);
    font-size: .95rem;
    font-weight: 500;
    text-decoration: none;
    transition: color .18s var(--ease), background-color .18s var(--ease);
}

.site-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .07);
}

.site-nav .btn { margin-left: 10px; padding: 9px 18px; }
.site-nav .btn:hover { background: rgba(255, 255, 255, .10); }

/* CSS-only mobile menu */
.nav-toggle { display: none; }

.nav-burger {
    display: none;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--dark-line);
    border-radius: 10px;
    color: var(--dark-ink);
    background: rgba(255, 255, 255, .04);
    cursor: pointer;
}
.nav-burger svg { width: 20px; height: 20px; }

/* ----------------------------------------------------------------- Hero -- */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(64px, 8vw, 112px) clamp(72px, 9vw, 120px);
    background: var(--dark);
    color: var(--dark-ink-2);
}

/* dot grid + accent glows */
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.hero::before {
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .13) 1px, transparent 0);
    background-size: 30px 30px;
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 78%);
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 78%);
    opacity: .55;
}

.hero::after {
    background:
        radial-gradient(600px 320px at 12% -5%, rgba(47, 111, 237, .38), transparent 70%),
        radial-gradient(520px 300px at 88% 8%, rgba(34, 211, 238, .22), transparent 70%);
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: clamp(40px, 5vw, 72px);
}

.hero h1 { color: #fff; }

.hero h1 .grad {
    background: linear-gradient(96deg, #7cc4ff 10%, var(--accent) 60%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    max-width: 56ch;
    margin-top: 22px;
    font-size: 1.075rem;
    color: var(--dark-ink-2);
}

.hero-lead + .hero-lead { margin-top: 14px; }

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 15px 7px 11px;
    border: 1px solid var(--dark-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    color: var(--dark-ink);
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .01em;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 0 4px rgba(52, 211, 153, .18);
    animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: .35; }
}

/* Stat strip below hero copy */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px;
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid var(--dark-line);
}

.hero-stats dt {
    font-family: var(--mono);
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: -.02em;
}

.hero-stats dd {
    margin-top: 4px;
    font-size: .78rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink-3);
}

/* Hero chart card */
.hero-visual {
    position: relative;
    border: 1px solid var(--dark-line);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(23, 34, 56, .92), rgba(10, 17, 31, .92));
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.hero-visual-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 18px;
    border-bottom: 1px solid var(--dark-line);
    background: rgba(255, 255, 255, .03);
}

.hero-visual-bar strong {
    color: var(--dark-ink);
    font-size: .88rem;
    font-weight: 600;
}

.hero-visual-bar span {
    font-family: var(--mono);
    font-size: .74rem;
    color: var(--ink-3);
}

.hero-visual-body { padding: 20px 18px 18px; }

.hero-visual svg { width: 100%; height: auto; }

.hero-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 16px;
    font-size: .78rem;
    color: var(--dark-ink-2);
}

.hero-legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.swatch {
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

/* ---------------------------------------------------------------- Cards -- */
.card {
    position: relative;
    padding: 30px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
    box-shadow: var(--shadow-sm);
    transition: transform .22s var(--ease), box-shadow .22s var(--ease),
                border-color .22s var(--ease);
}

.card-hover:hover {
    transform: translateY(-4px);
    border-color: rgba(47, 111, 237, .35);
    box-shadow: var(--shadow);
}

.card h3 { margin-bottom: 10px; }
.card p  { color: var(--ink-3); font-size: .975rem; }

.icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 20px;
    border: 1px solid rgba(47, 111, 237, .22);
    border-radius: 12px;
    background: linear-gradient(160deg, var(--brand-soft), #fff);
    color: var(--brand);
}
.icon svg { width: 22px; height: 22px; }

/* ------------------------------------------------------------- Features -- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 22px;
}

/* ---------------------------------------------------------------- Story -- */
.story {
    max-width: 760px;
    margin-inline: auto;
}

.story p {
    font-size: 1.075rem;
    color: var(--ink-2);
}

.story p + p { margin-top: 20px; }

.story p:first-of-type {
    padding-left: 22px;
    border-left: 3px solid var(--brand);
    font-size: 1.15rem;
    color: var(--ink);
}

/* -------------------------------------------------------------- Pricing -- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    align-items: stretch;
    gap: 22px;
}

.plan {
    display: flex;
    flex-direction: column;
    padding: 34px 30px;
}

.plan-name {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.price {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin: 14px 0 4px;
    font-size: 2.85rem;
    font-weight: 700;
    letter-spacing: -.04em;
    color: var(--ink);
}

.price span {
    font-size: .92rem;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--ink-3);
}

.plan-features {
    display: grid;
    gap: 12px;
    margin: 26px 0 30px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.plan-features li {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 11px;
    align-items: start;
    font-size: .95rem;
    color: var(--ink-2);
}

.plan-features svg {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    color: var(--brand);
    flex: none;
}

.plan .btn { margin-top: auto; }

.plan-popular {
    border-color: rgba(47, 111, 237, .5);
    box-shadow: var(--shadow);
}

.plan-popular::before {
    content: "";
    position: absolute;
    inset: -1px -1px auto;
    height: 3px;
    border-radius: var(--radius) var(--radius) 0 0;
    background: linear-gradient(90deg, var(--brand), var(--accent));
}

.badge {
    position: absolute;
    top: -13px;
    left: 30px;
    padding: 5px 13px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    box-shadow: 0 8px 18px -8px rgba(47, 111, 237, .9);
}

/* ---------------------------------------------------------------- Specs -- */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 22px;
    align-items: start;
}

.specs-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 16px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--line);
}

.specs-card h3 svg { width: 20px; height: 20px; color: var(--brand); }

.spec-list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: .95rem;
    color: var(--ink-3);
}

.spec-list li:last-child { border-bottom: none; padding-bottom: 0; }

.spec-list b {
    font-family: var(--mono);
    font-size: .9rem;
    font-weight: 600;
    color: var(--ink);
    text-align: right;
}

/* Endpoint chips */
.endpoints {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr));
    gap: 8px;
    margin-top: 20px;
}

.endpoints li {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--bg);
    font-family: var(--mono);
    font-size: .8rem;
    color: var(--ink-2);
}

.endpoints .dot { flex: none; animation: none; }

.endpoints .more {
    justify-content: center;
    border-style: dashed;
    color: var(--ink-3);
}

/* ------------------------------------------------------------- Download -- */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    gap: 22px;
    max-width: 760px;
    margin-inline: auto;
}

.download-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 34px 28px;
}

.download-card .icon { margin-bottom: 18px; }
.download-card p { margin-bottom: 22px; }
.download-card .btn { margin-top: auto; }

/* --------------------------------------------------------- Reports promo -- */
.reports-promo {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 52px);
    align-items: center;
    padding: clamp(28px, 4vw, 44px);
}

.reports-promo-copy h3 {
    margin-bottom: 14px;
    font-size: clamp(1.3rem, 1rem + 1.1vw, 1.7rem);
}

.reports-promo-copy p {
    color: var(--ink-3);
    font-size: 1rem;
}

.reports-promo-copy p + p { margin-top: 12px; }

.reports-promo .hero-buttons { margin-top: 26px; }

.reports-promo-list {
    display: grid;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.reports-promo-list li {
    padding: 14px 18px;
    background: var(--bg);
    font-size: .92rem;
    color: var(--ink-3);
}

.reports-promo-list b {
    display: block;
    color: var(--ink);
    font-weight: 600;
}

@media (max-width: 860px) {
    .reports-promo { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------------ CTA -- */
.cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--dark);
    color: var(--dark-ink-2);
    text-align: center;
}

.cta::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(680px 300px at 50% 0%, rgba(47, 111, 237, .40), transparent 70%),
        radial-gradient(520px 280px at 85% 100%, rgba(34, 211, 238, .18), transparent 70%);
}

.cta h2 { color: #fff; }

.cta p {
    max-width: 60ch;
    margin: 18px auto 0;
    font-size: 1.075rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 34px;
}

/* --------------------------------------------------------------- Footer -- */
.site-footer {
    padding-block: clamp(52px, 6vw, 76px) 28px;
    background: var(--dark-2);
    color: var(--dark-ink-2);
    border-top: 1px solid var(--dark-line);
    font-size: .93rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(min(240px, 100%), 1.4fr) repeat(3, minmax(min(140px, 100%), 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.site-footer h3 {
    margin-bottom: 18px;
    color: var(--dark-ink);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { max-width: 34ch; }

.footer-links li + li { margin-top: 11px; }

.footer-links a {
    color: var(--dark-ink-2);
    text-decoration: none;
    transition: color .18s var(--ease);
}

.footer-links a:hover { color: #fff; }

.copyright {
    padding-top: 26px;
    border-top: 1px solid var(--dark-line);
    color: var(--ink-3);
    font-size: .85rem;
    text-align: center;
}

/* ----------------------------------------------------------------- Form -- */
.form-section {
    display: grid;
    place-items: center;
    min-height: calc(100vh - 68px);
    padding-block: clamp(48px, 6vw, 80px);
    background:
        radial-gradient(760px 420px at 50% -10%, rgba(47, 111, 237, .10), transparent 70%),
        var(--bg-2);
}

.form-card {
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--bg);
    box-shadow: var(--shadow);
}

.form-head {
    margin-bottom: 30px;
    text-align: center;
}

.form-head h1 { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.15rem); }
.form-head p  { margin-top: 8px; color: var(--ink-3); }

.form-grid {
    display: grid;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.field label {
    display: block;
    margin-bottom: 7px;
    font-size: .875rem;
    font-weight: 600;
    color: var(--ink);
}

.field input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--bg);
    font: inherit;
    font-size: .975rem;
    color: var(--ink);
    transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.field input::placeholder { color: #a6b0c4; }

.field input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(47, 111, 237, .14);
}

.form-card .btn-block { margin-top: 8px; padding: 13px 22px; }

.form-note {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    text-align: center;
    font-size: .93rem;
    color: var(--ink-3);
}

.form-note a { font-weight: 600; text-decoration: none; }
.form-note a:hover { text-decoration: underline; }

/* --------------------------------------------------------- Entry motion -- */
.reveal {
    animation: rise .7s var(--ease) both;
}
.reveal-2 { animation-delay: .09s; }

@keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------- Responsive -- */
@media (max-width: 980px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
        text-align: center;
    }

    .hero-lead   { margin-inline: auto; }
    .hero-buttons { justify-content: center; }
    .hero-visual { order: 2; }

    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
}

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

    .nav-burger { display: grid; }

    .site-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        display: none;
        padding: 12px var(--gutter) 20px;
        background: rgba(7, 12, 24, .97);
        border-bottom: 1px solid var(--dark-line);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .nav-toggle:checked ~ .site-nav { display: block; }

    .site-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }

    .site-nav a { padding: 12px 14px; font-size: 1rem; }

    .site-nav .btn {
        margin: 10px 0 0;
        width: 100%;
        padding: 12px 18px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 2px;
    }

    .hero-buttons .btn,
    .cta-buttons .btn { flex: 1 1 auto; min-width: 200px; }

    .form-row { grid-template-columns: 1fr; }

    .story p:first-of-type { padding-left: 16px; font-size: 1.075rem; }
}

@media (max-width: 520px) {
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .spec-list li { flex-direction: column; gap: 3px; }
    .spec-list b { text-align: left; }
}

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

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