/* ==========================================================================
   KredExperts — design system
   Typography + palette: eFinExperts (Schibsted Grotesk / Hanken Grotesk)
   Oversized footer mechanism: brandstac (fluid SVG wordmark)
   Canvas 1920 · content 1170 · breakpoints 360/375/768/1024/1440/1920
   ========================================================================== */

/* --- 1. Tokens ---------------------------------------------------------- */

:root {
    /* Type families */
    --font-display: 'Schibsted Grotesk', ui-sans-serif, system-ui, sans-serif;
    --font-body: 'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;

    /* Palette — exact values from efinexperts.com */
    --color-white: #fff;
    --color-surface: #fcfcfe;
    --color-panel: #fff;
    --color-surface-sunk: #f6f7fa;
    --color-ink: #0b235e;
    --color-ink-deep: #031448;
    --color-ink-body: #324263;
    --color-ink-muted: #677287;
    --color-ink-faint: #979fad;
    --color-rule: #e3e6ed;
    --color-rule-strong: #ccd1da;
    --color-rule-invert: #2f4168;
    --color-accent: #54c7fb;
    --color-accent-soft: #cbeeff;
    --color-accent-deep: #0091cb;

    /* Alias used inline by existing markup */
    --paper-2: var(--color-surface-sunk);

    /* Layout — 1234 - (2 x 32) = exactly 1170 of content */
    --wrap-max: 1234px;
    --wrap-pad: 32px;
    --canvas-max: 1920px;

    /* One vertical rhythm for every section — tightened */
    --section-y: clamp(28px, 3.2vh, 56px);
    --nav-h: 76px;

    /* Radii */
    --radius-md: .375rem;
    --radius-lg: .5rem;
    --radius-xl: .75rem;
    --radius-2xl: 1rem;

    /* Elevation — navy-tinted, never grey */
    --shadow-sm: 0 1px 2px rgba(3, 20, 72, .05);
    --shadow-md: 0 4px 16px -4px rgba(3, 20, 72, .10);
    --shadow-lg: 0 24px 48px -20px rgba(3, 20, 72, .22);

    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --- 2. Reset ----------------------------------------------------------- */

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
    /* "proximity", not "mandatory" — snapping assists the one-screen rhythm
       without trapping anyone whose content is taller than their window. */
    scroll-snap-type: y proximity;
}

body {
    margin: 0 auto;
    max-width: var(--canvas-max);
    background: var(--color-surface);
    color: var(--color-ink-body);
    font-family: var(--font-body);
    font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
    line-height: 1.625;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

img {
    height: auto;
}

a {
    color: var(--color-accent-deep);
    text-decoration: none;
}

button {
    font: inherit;
    color: inherit;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

:focus-visible {
    outline: 3px solid var(--color-accent-deep);
    outline-offset: 3px;
    border-radius: 2px;
}

/* --- 3. Typography ------------------------------------------------------ */

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    color: var(--color-ink);
    margin: 0;
    text-wrap: balance;
}

/* Oversized hero, per the brief */
h1 {
    font-size: clamp(3rem, 2rem + 6vw, 7.5rem);
    font-weight: 700;
    line-height: .95;
    letter-spacing: -.035em;
}

h2 {
    font-size: clamp(1.75rem, min(2.9vw, 4.6vh), 3rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -.03em;
}

h3 {
    font-size: clamp(1.375rem, 1.1rem + 1.4vw, 2.25rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.025em;
}

h4 {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -.01em;
}

p {
    margin: 0 0 1.1em;
}

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

strong {
    font-weight: 600;
    color: var(--color-ink);
}

/* Keep text from overpowering: prose never runs long, always centred */
.prose,
.phero__sub,
.lede {
    max-width: 60ch;
    margin-inline: auto;
}

.lede {
    font-size: clamp(1.1875rem, 1.05rem + .55vw, 1.5rem);
    color: var(--color-ink-body);
    line-height: 1.5;
}

.eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: .8125rem;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--color-accent-deep);
    margin-bottom: clamp(.625rem, 1.4vh, 1rem);
}

/* Short accent rule above every eyebrow — the system's signature */
.eyebrow::before {
    content: "";
    display: block;
    width: 28px;
    height: 3px;
    border-radius: 2px;
    background: var(--color-accent);
    margin: 0 auto clamp(.5rem, 1.2vh, .875rem);
}

.eyebrow--left,
.eyebrow--left::before {
    margin-left: 0;
    text-align: left;
}

/* --- 4. Layout ---------------------------------------------------------- */

.wrap {
    width: 100%;
    max-width: var(--wrap-max);
    margin-inline: auto;
    padding-inline: var(--wrap-pad);
}

/* Every section occupies one screen, content optically centred.
   min-height (not height) so content is never clipped on short windows. */
section {
    padding-block: var(--section-y);
    min-height: calc(100svh - var(--nav-h));
    display: grid;
    align-content: center;
    scroll-snap-align: start;
}

@supports not (height: 100svh) {
    section {
        min-height: calc(100vh - var(--nav-h));
    }
}

/* Legal / long-form pages must never be stretched into screen-sized blocks */
.page--doc section {
    min-height: 0;
    display: block;
    scroll-snap-align: none;
}

/* Centred headings — the brief's default */
.section-head {
    text-align: center;
    max-width: 46rem;
    margin: 0 auto clamp(18px, 2.4vh, 34px);
}

.section-head p {
    margin-top: clamp(.5rem, 1.2vh, .875rem);
    font-size: clamp(.9375rem, .9rem + .25vw, 1.0625rem);
    color: var(--color-ink-body);
}

.band--sunk {
    background: var(--color-surface-sunk);
}

.band--ink {
    background: var(--color-ink-deep);
    color: rgba(255, 255, 255, .78);
}

.band--ink h2,
.band--ink h3 {
    color: #fff;
}

/* Grids — equal-height rows so nothing is ever ragged */
.grid {
    display: grid;
    gap: clamp(14px, 1.9vh, 30px);
    grid-auto-rows: 1fr;
}

.grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Image + text split */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 4vw, 72px);
    align-items: center;
}

.split__body {
    text-align: center;
}

/* --- 5. Image slots ----------------------------------------------------- */
/* Each slot holds a real image element with width/height attributes, so dropping
   in assets causes zero reflow. The dashed frame self-documents the required
   filename and dimensions until a file resolves. */

.imgslot {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    background: linear-gradient(150deg, var(--color-accent-soft), var(--color-surface-sunk));
    box-shadow: var(--shadow-md);
}

.imgslot::after {
    content: attr(data-slot);
    position: absolute;
    inset: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    border: 2px dashed rgba(3, 20, 72, .28);
    border-radius: var(--radius-xl);
    font-family: var(--font-body);
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--color-ink);
    background: rgba(252, 252, 254, .55);
    pointer-events: none;
}

/* Once a real file loads, the annotation is suppressed */
.imgslot.is-filled::after {
    display: none;
}

.imgslot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.imgslot--16x9 {
    aspect-ratio: 16 / 9;
}

.imgslot--4x3 {
    aspect-ratio: 4 / 3;
}

.imgslot--1x1 {
    aspect-ratio: 1 / 1;
}

.imgslot--3x4 {
    aspect-ratio: 3 / 4;
}

/* --- 6. Buttons --------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .8125rem 1.5rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: .9375rem;
    font-weight: 600;
    letter-spacing: -.005em;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s var(--ease), color .2s var(--ease),
        border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}

.btn-primary {
    background: var(--color-ink);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--color-ink-deep);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-ghost {
    background: transparent;
    color: var(--color-ink);
    border-color: var(--color-rule-strong);
}

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

.btn-invert {
    background: var(--color-accent);
    color: var(--color-ink-deep);
}

.btn-invert:hover {
    background: #fff;
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

/* --- 7. Navigation ------------------------------------------------------ */

.nav {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(252, 252, 254, .88);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--color-rule);
}

.nav.is-scrolled {
    box-shadow: var(--shadow-md);
    border-bottom-color: transparent;
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: var(--nav-h);
}

.nav__logo {
    display: inline-flex;
    align-items: center;
    gap: .625rem;
    font-family: var(--font-display);
    font-size: 1.3125rem;
    font-weight: 700;
    letter-spacing: -.03em;
    color: var(--color-ink);
    flex-shrink: 0;
}

.nav__logo span:not(.nav__mark) {
    color: var(--color-accent-deep);
}

.nav__logo-img {
    height: 32px;
    width: auto;
    display: block;
}

/* The mark: a navy tile with a rising accent bar */
.nav__mark {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: var(--color-ink);
    flex-shrink: 0;
    overflow: hidden;
}

.nav__mark::before,
.nav__mark::after {
    content: "";
    position: absolute;
    bottom: 8px;
    width: 4px;
    border-radius: 2px;
    background: var(--color-accent);
}

.nav__mark::before {
    left: 8px;
    height: 7px;
    opacity: .55;
}

.nav__mark::after {
    left: 15px;
    height: 14px;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 1.8vw, 2rem);
}

.nav__links a:not(.btn) {
    position: relative;
    font-size: .9375rem;
    font-weight: 500;
    color: var(--color-ink-body);
    padding-block: .375rem;
    transition: color .18s var(--ease);
}

.nav__links a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s var(--ease);
}

.nav__links a:not(.btn):hover,
.nav__links a.is-active {
    color: var(--color-ink);
}

.nav__links a:not(.btn):hover::after,
.nav__links a.is-active::after {
    transform: scaleX(1);
}

/* The CTA lives twice in the markup — one for the bar, one for the drawer */
.nav__links .btn {
    display: none;
}

.nav__cta {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-shrink: 0;
}

.nav__toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    line-height: 1;
    background: transparent;
    border: 1px solid var(--color-rule-strong);
    border-radius: var(--radius-lg);
    color: var(--color-ink);
    cursor: pointer;
}

/* --- 8. Breadcrumb ------------------------------------------------------ */

.breadcrumb {
    border-bottom: 1px solid var(--color-rule);
    background: var(--color-white);
    font-size: .875rem;
    color: var(--color-ink-muted);
}

.breadcrumb .wrap {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding-block: .875rem;
}

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

.breadcrumb a:hover {
    color: var(--color-accent-deep);
}

.breadcrumb span {
    color: var(--color-ink-faint);
}

/* --- 9. Page hero ------------------------------------------------------- */

.phero {
    position: relative;
    padding-block: clamp(56px, 7vw, 104px) clamp(44px, 5vw, 72px);
    text-align: center;
    background:
        radial-gradient(1100px 460px at 50% -12%, var(--color-accent-soft) 0%, transparent 62%),
        var(--color-surface);
    border-bottom: 1px solid var(--color-rule);
}

.phero h1 {
    /* Bounded by viewport height too, so a page hero also fits the first screen
       without scrolling — on a 640px-tall phone as well as a desktop. */
    font-size: clamp(1.875rem, min(6vw, 8.4vh), 5.5rem);
    margin-inline: auto;
}

.phero__sub {
    margin-top: 1.5rem;
    font-size: clamp(1.0625rem, 1rem + .45vw, 1.3125rem);
    color: var(--color-ink-body);
}

/* Full-bleed image hero — occupies exactly one viewport, never more.
   Type is bounded by vh as well as vw, so the content cannot outgrow the screen. */
.hero-media {
    position: relative;
    isolation: isolate;
    text-align: center;
    color: #fff;
    background: var(--color-ink-deep);
    overflow: hidden;
    min-height: calc(100svh - var(--nav-h));
    display: grid;
    align-content: center;
}

/* Progressive enhancement for browsers without svh */
@supports not (height: 100svh) {
    .hero-media {
        min-height: calc(100vh - var(--nav-h));
    }
}

.hero-media__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-media__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* A full-bleed slot carries no card chrome, and annotates quietly behind the scrim */
.hero-media__bg.imgslot {
    border-radius: 0;
    box-shadow: none;
    aspect-ratio: auto;
}

.hero-media__bg.imgslot::after {
    inset: 0;
    border: 0;
    border-radius: 0;
    align-items: flex-end;
    justify-content: flex-end;
    background: none;
    color: rgba(255, 255, 255, .5);
    font-size: .6875rem;
    padding: 14px 18px;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(3, 20, 72, .82) 0%, rgba(3, 20, 72, .62) 45%, rgba(3, 20, 72, .92) 100%);
}

.hero-media .wrap {
    padding-block: clamp(32px, 4.5vh, 64px);
}

.hero-media h1 {
    /* Bounded by viewport height as well as width, so the hero can never
       outgrow one screen however short the window is. */
    font-size: clamp(2.5rem, min(6.4vw, 9.6vh), 5.5rem);
    line-height: .96;
    color: #fff;
    margin-inline: auto;
    max-width: 22ch;
}

.hero-media .eyebrow {
    color: var(--color-accent);
}

.hero-media__sub {
    max-width: 56ch;
    margin: clamp(.875rem, 1.8vh, 1.5rem) auto 0;
    color: rgba(255, 255, 255, .82);
    font-size: clamp(1rem, min(1.15vw, 2.1vh), 1.25rem);
}

.hero-media__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .875rem;
    justify-content: center;
    margin-top: clamp(1.25rem, 2.6vh, 2rem);
}

/* The proof band reuses .hero-media and, being a <section>, is screen-locked
   by the same rule as every other section — it just skips the h1 type scale. */
.hero-media--band .wrap {
    padding-block: var(--section-y);
}

/* Light-stage hero — copy up top, product art filling the fold below it.
   Grid rows (auto + minmax(0,1fr)) let the art claim exactly whatever height
   the copy leaves behind — never a gap, never an overflow — so the whole
   thing still resolves to exactly one screen at any viewport height. */
.hero-card {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(1200px 520px at 50% -8%, var(--color-accent-soft) 0%, transparent 60%),
        var(--color-surface);
    overflow: hidden;
    height: calc(100svh - var(--nav-h));
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

@supports not (height: 100svh) {
    .hero-card {
        height: calc(100vh - var(--nav-h));
    }
}

/* The dark rise — wide curve at bottom */
.hero-card__stage {
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: -32%;
    width: 160%;
    height: 75%;
    transform: translateX(-50%);
    border-radius: 50% 50% 0 0;
    background: var(--color-ink-deep);
    overflow: hidden;
}

/* Contour landscape lines flanking dark area */
.hero-card__contour {
    position: absolute;
    bottom: 38%;
    width: clamp(260px, 30vw, 460px);
    height: auto;
    pointer-events: none;
    opacity: 0.65;
}

.hero-card__contour--l {
    left: 2%;
}

.hero-card__contour--r {
    right: 2%;
}

.hero-card__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.hero-card__copy {
    text-align: center;
    max-width: 78rem;
    margin-inline: auto;
    padding-top: clamp(2.75rem, 6vh, 5.5rem);
    z-index: 3;
}

.hero-card__title {
    font-family: var(--font-display);
    font-size: clamp(3rem, min(7.5vw, 8.5vh), 5.5rem);
    font-weight: 800;
    line-height: 1.04;
    color: var(--color-ink);
    letter-spacing: -0.035em;
    text-align: center;
}

.hero-card__exp-graphic {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-inline: 1px;
    color: var(--color-accent-deep);
}

.hero-card__horizons-wrap {
    position: relative;
    display: inline-block;
}

.hero-card__star {
    position: absolute;
    top: -12px;
    right: -32px;
    width: clamp(28px, 3.5vw, 42px);
    height: clamp(28px, 3.5vw, 42px);
    color: var(--color-accent-deep);
}

.hero-card__sub {
    font-family: var(--font-body);
    font-size: clamp(1.1rem, min(1.4vw, 2.2vh), 1.32rem);
    font-weight: 500;
    color: var(--color-ink-body);
    text-align: center;
    margin: clamp(0.75rem, 1.8vh, 1.35rem) auto 0;
    line-height: 1.45;
    max-width: 52ch;
}

.hero-card__underline-wrap {
    position: relative;
    display: inline-block;
    font-weight: 700;
    color: var(--color-ink);
}

.hero-card__wavy-underline {
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 9px;
    color: var(--color-accent-deep);
    overflow: visible;
}

/* Hands/art anchored flush at section bottom */
.hero-card__art {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    pointer-events: none;
    z-index: 2;
    line-height: 0;
    margin: 0;
    padding: 0;
}

.hero-card__figure {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    line-height: 0;
    margin: 0;
    padding: 0;
}

.hero-card__art img {
    display: block;
    height: auto;
    width: clamp(680px, 72vw, 1100px);
    max-width: 95vw;
    max-height: min(65vh, 680px);
    object-fit: contain;
    vertical-align: bottom;
    margin: 0;
    padding: 0;
    filter: drop-shadow(0 30px 40px rgba(3, 20, 72, .38))
        drop-shadow(0 8px 12px rgba(3, 20, 72, .22));
}

/* Actions overlayed centered over the bottom of the section */
.hero-card__actions {
    position: absolute;
    bottom: clamp(14px, 2.5vh, 26px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: max-content;
}

.btn-hero-cta {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    background-color: var(--color-accent-deep);
    padding: 0.85rem 2.85rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 4px 16px rgba(0, 145, 203, 0.35);
}

.btn-hero-cta:hover {
    background-color: var(--color-accent);
    color: var(--color-ink-deep);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(84, 199, 251, 0.45);
}

.hero-card__secondary-link {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 0.2rem;
    transition: color 0.18s ease;
}

.hero-card__secondary-link:hover {
    color: #ffffff;
}

.hero-card__secondary-link .arrow {
    transition: transform 0.18s ease;
}

.hero-card__secondary-link:hover .arrow {
    transform: translateX(3px);
}

/* --- 10. Cross-sell pills ---------------------------------------------- */

.crosssell {
    display: flex;
    flex-wrap: wrap;
    gap: .625rem;
    justify-content: center;
}

.crosssell a {
    display: inline-flex;
    align-items: center;
    padding: .5rem 1.125rem;
    border: 1px solid var(--color-rule-strong);
    border-radius: 999px;
    background: var(--color-white);
    font-size: .875rem;
    font-weight: 500;
    color: var(--color-ink-body);
    transition: border-color .18s var(--ease), color .18s var(--ease), background .18s var(--ease);
}

.crosssell a:hover {
    border-color: var(--color-accent-deep);
    color: var(--color-ink);
    background: var(--color-accent-soft);
}

/* --- 11. Cards ---------------------------------------------------------- */

.card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--color-panel);
    border: 1px solid var(--color-rule);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}

.card:hover {
    transform: translateY(-3px);
    border-color: var(--color-rule-strong);
    box-shadow: var(--shadow-lg);
}

.card .imgslot {
    border-radius: 0;
    box-shadow: none;
}

.card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: clamp(20px, 2vw, 28px);
    text-align: center;
}

.card__body h3 {
    font-size: 1.3125rem;
    letter-spacing: -.02em;
}

.card__body p {
    margin-top: .75rem;
    font-size: 1rem;
    color: var(--color-ink-body);
}

.card__meta {
    margin-top: .875rem;
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--color-ink-faint);
}

/* Pinned to the bottom so every card in a row aligns */
.card__link {
    margin-top: auto;
    padding-top: 1.25rem;
    font-size: .9375rem;
    font-weight: 600;
    color: var(--color-accent-deep);
}

.card__link::after {
    content: " \2192";
    transition: opacity .2s var(--ease);
}

/* --- 12. Stats ---------------------------------------------------------- */

.stat {
    text-align: center;
    padding: clamp(20px, 2vw, 28px);
    border: 1px solid var(--color-rule);
    border-radius: var(--radius-2xl);
    background: var(--color-panel);
}

.stat__num {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 1.5rem + 2vw, 3.5rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.04em;
    color: var(--color-ink);
}

.stat__label {
    display: block;
    margin-top: .625rem;
    font-size: .875rem;
    color: var(--color-ink-muted);
}

.band--ink .stat {
    background: rgba(255, 255, 255, .04);
    border-color: var(--color-rule-invert);
}

.band--ink .stat__num {
    color: #fff;
}

.band--ink .stat__label {
    color: rgba(255, 255, 255, .66);
}

/* --- 13. FAQ accordion -------------------------------------------------- */

.faq-group {
    max-width: 56rem;
    margin-inline: auto;
}

.faq-group h3 {
    text-align: center;
    margin-bottom: clamp(28px, 3vw, 44px);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: .875rem;
}

.faq-item {
    background: var(--color-panel);
    border: 1px solid var(--color-rule);
    border-radius: var(--radius-xl);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.faq-item:hover {
    border-color: var(--color-rule-strong);
}

.faq-item[open] {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
}

.faq-item summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.125rem clamp(18px, 2vw, 26px);
    cursor: pointer;
    list-style: none;
    font-family: var(--font-display);
    font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.35;
    color: var(--color-ink);
}

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

.faq-item summary::after {
    content: "+";
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--color-accent-soft);
    color: var(--color-ink);
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1;
    transition: transform .24s var(--ease), background .2s var(--ease);
}

.faq-item[open] summary::after {
    content: "\2212";
    background: var(--color-accent);
}

.faq-item p {
    padding: 0 clamp(18px, 2vw, 26px) 1.375rem;
    margin: 0;
    max-width: 68ch;
    font-size: 1.0625rem;
    color: var(--color-ink-body);
}

/* The business variant needs no decoration of its own: it always sits under a
   "Business Loans" heading, and a coloured side border is the most recognisable
   tell of a generated interface. Kept as a hook for future use. */

/* --- 14. CTA band ------------------------------------------------------- */

.cta-band {
    background: var(--color-ink-deep);
    color: rgba(255, 255, 255, .8);
    text-align: center;
}

.cta-band h2 {
    color: #fff;
    max-width: 24ch;
    margin-inline: auto;
}

.cta-band p {
    max-width: 52ch;
    margin: 1.25rem auto 0;
}

.cta-band__row {
    display: flex;
    flex-wrap: wrap;
    gap: .875rem;
    justify-content: center;
    margin-top: 2rem;
}

.cta-band .btn-primary {
    background: var(--color-accent);
    color: var(--color-ink-deep);
}

.cta-band .btn-primary:hover {
    background: #fff;
}

/* --- 15. Footer — oversized, brandstac mechanism ----------------------- */

footer {
    background: var(--color-ink-deep);
    color: rgba(255, 255, 255, .72);
    font-size: .9375rem;
}

/* Oversized CTA opening the footer */
.footer__cta {
    display: block;
    padding-block: clamp(56px, 8vw, 104px) clamp(48px, 7vw, 88px);
    border-bottom: 1px solid var(--color-rule-invert);
    text-align: center;
}

.footer__cta a {
    display: inline-block;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 1.2rem + 6.4vw, 7rem);
    font-weight: 700;
    line-height: .96;
    letter-spacing: -.04em;
    color: #fff;
    transition: color .22s var(--ease);
}

.footer__cta a:hover {
    color: var(--color-accent);
}

.footer__cta a::after {
    content: " \2197";
    color: var(--color-accent);
}

.footer__top {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(32px, 4vw, 64px);
    justify-content: space-between;
    padding-block: clamp(44px, 5vw, 72px);
}

.footer__brand {
    flex-shrink: 0;
    max-width: 24ch;
}

.footer__brand p {
    margin: .875rem 0 0;
    font-size: .875rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, .55);
}

.footer__logo {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -.03em;
    color: #fff;
    flex-shrink: 0;
}

.footer__logo span {
    color: var(--color-accent);
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(4, minmax(140px, auto));
    gap: clamp(24px, 3vw, 56px);
}

.footer__links h4 {
    color: #fff;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .14em;
    margin-bottom: 1rem;
}

.footer__links ul {
    display: flex;
    flex-direction: column;
    gap: .625rem;
}

.footer__links a {
    color: rgba(255, 255, 255, .68);
    font-size: .9375rem;
    transition: color .18s var(--ease);
}

.footer__links a:hover {
    color: var(--color-accent);
}

/* The full-bleed wordmark: textLength + lengthAdjust makes it fluid at any width */
.footer__mark {
    padding-block: clamp(16px, 2vw, 28px) clamp(20px, 2.5vw, 32px);
}

.footer__mark svg {
    width: 100%;
    height: auto;
    color: #fff;
    user-select: none;
}

.footer__legal {
    border-top: 1px solid var(--color-rule-invert);
    padding-block: clamp(24px, 3vw, 36px);
    font-size: .8125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .55);
}

.footer__legal p {
    max-width: 92ch;
    margin-bottom: .625rem;
}

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

/* --- 16. Reveal --------------------------------------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* --- 17. Utilities ------------------------------------------------------ */

.center {
    text-align: center;
}

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

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 100;
    padding: .75rem 1.25rem;
    background: var(--color-ink);
    color: #fff;
    border-radius: var(--radius-lg);
    font-size: .9375rem;
    font-weight: 600;
}

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

/* Placeholder marker for unverified commercial claims */
.placeholder {
    background: var(--color-accent-soft);
    border-bottom: 2px dotted var(--color-accent-deep);
    color: var(--color-ink);
    padding: 0 .25em;
    border-radius: 3px;
    font-style: normal;
}

/* --- 18. EMI calculator ------------------------------------------------- */

.emi {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(20px, 2.4vw, 40px);
    align-items: stretch;
    max-width: 1000px;
    margin-inline: auto;
}

.emi__panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--color-panel);
    border: 1px solid var(--color-rule);
    border-radius: var(--radius-2xl);
    padding: clamp(16px, 2.4vh, 30px);
    box-shadow: var(--shadow-sm);
}

/* One control: label + numeric field, then the slider */
.emi__field + .emi__field {
    margin-top: clamp(14px, 2.4vh, 26px);
}

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

.emi__label {
    font-family: var(--font-body);
    font-size: .9375rem;
    font-weight: 500;
    color: var(--color-ink-body);
}

.emi__value {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .4375rem .75rem;
    background: var(--color-accent-soft);
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-ink);
    transition: border-color .18s var(--ease), background .18s var(--ease);
}

.emi__value:focus-within {
    border-color: var(--color-accent-deep);
    background: var(--color-white);
}

.emi__value input {
    width: 7ch;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    color: inherit;
    text-align: right;
    -moz-appearance: textfield;
}

.emi__value input::-webkit-outer-spin-button,
.emi__value input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.emi__value input:focus {
    outline: none;
}

.emi__value--unit input {
    width: 4ch;
}

/* Slider — navy track, accent thumb */
.emi__range {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    height: 6px;
    margin: 0;
    border-radius: 999px;
    background: var(--color-rule);
    cursor: pointer;
}

.emi__range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-ink);
    border: 4px solid var(--color-accent);
    box-shadow: var(--shadow-sm);
    cursor: grab;
    transition: transform .16s var(--ease), box-shadow .16s var(--ease);
}

.emi__range::-webkit-slider-thumb:hover {
    transform: scale(1.14);
    box-shadow: 0 0 0 7px rgba(84, 199, 251, .22);
}

.emi__range:active::-webkit-slider-thumb {
    cursor: grabbing;
    transform: scale(1.06);
}

.emi__range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-ink);
    border: 4px solid var(--color-accent);
    cursor: grab;
}

.emi__range::-moz-range-track {
    height: 6px;
    border-radius: 999px;
    background: var(--color-rule);
}

.emi__hint {
    margin-top: .5rem;
    font-size: .8125rem;
    color: var(--color-ink-faint);
}

/* Result side — navy panel */
.emi__result {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(.625rem, 1.6vh, 1.125rem);
    background: var(--color-ink-deep);
    border-color: transparent;
    color: rgba(255, 255, 255, .72);
    text-align: center;
}

.emi__emi {
    font-family: var(--font-body);
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--color-accent);
}

.emi__emi strong {
    display: block;
    margin-top: .5rem;
    font-family: var(--font-display);
    font-size: clamp(2rem, 1.2rem + 2.2vw, 3rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.035em;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

/* Donut — principal vs interest */
.emi__donut {
    width: clamp(104px, 17vh, 170px);
    height: auto;
    transform: rotate(-90deg);
}

.emi__donut circle {
    fill: none;
    stroke-width: 16;
    transition: stroke-dasharray .5s var(--ease);
}

.emi__breakdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: clamp(.3125rem, .8vh, .5rem);
    margin-top: 0;
}

.emi__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: .9375rem;
    padding-bottom: clamp(.3125rem, .8vh, .5rem);
    border-bottom: 1px solid var(--color-rule-invert);
}

.emi__row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.emi__row dt {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.emi__row dd {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 600;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.emi__swatch {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex-shrink: 0;
}

.emi__note {
    max-width: 62ch;
    margin: clamp(18px, 2vw, 26px) auto 0;
    text-align: center;
    font-size: .8125rem;
    line-height: 1.55;
    color: var(--color-ink-muted);
}

/* --- 19. Forms ---------------------------------------------------------- */
/* Used by contact.html. Fields sit on the panel white so the form reads as one
   object against the sunk band behind it. */

.form {
    max-width: 46rem;
    margin-inline: auto;
    text-align: left;
}

.form__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(14px, 1.6vw, 22px);
}

.form__field--wide {
    grid-column: 1 / -1;
}

.form__label {
    display: block;
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--color-ink);
    margin-bottom: .45rem;
}

.form__req {
    color: var(--color-accent-deep);
}

.form input[type="text"],
.form input[type="tel"],
.form input[type="email"],
.form input[type="number"],
.form select,
.form textarea {
    width: 100%;
    font: inherit;
    font-size: 1rem;
    color: var(--color-ink);
    background: var(--color-panel);
    border: 1px solid var(--color-rule-strong);
    border-radius: var(--radius-md);
    padding: .8rem .9rem;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.form textarea {
    min-height: 7.5rem;
    resize: vertical;
}

.form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%230b235e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .95rem center;
    padding-right: 2.4rem;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
    outline: none;
    border-color: var(--color-accent-deep);
    box-shadow: 0 0 0 3px var(--color-accent-soft);
}

.form__hint {
    margin: .4rem 0 0;
    font-size: .8125rem;
    line-height: 1.5;
    color: var(--color-ink-muted);
}

.form__consent {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    font-size: .875rem;
    line-height: 1.55;
    color: var(--color-ink-body);
}

.form__consent input[type="checkbox"] {
    flex-shrink: 0;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: .18rem;
    accent-color: var(--color-accent-deep);
}

.form__actions {
    margin-top: clamp(18px, 2.2vw, 28px);
    text-align: center;
}

.form__note {
    max-width: 60ch;
    margin: clamp(14px, 1.6vw, 20px) auto 0;
    text-align: center;
    font-size: .8125rem;
    line-height: 1.55;
    color: var(--color-ink-muted);
}

/* --- 20. Prose, spec lists & contact tiles ------------------------------ */

/* Long-form legal copy. Left-aligned and measure-capped — the centred
   treatment used elsewhere is unreadable at this length. */
.doc {
    max-width: 46rem;
    margin-inline: auto;
    text-align: left;
}

.doc h2 {
    font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
    margin: clamp(34px, 4vw, 54px) 0 .7rem;
}

.doc h2:first-child {
    margin-top: 0;
}

.doc h3 {
    font-size: clamp(1.0625rem, 1rem + .5vw, 1.25rem);
    margin: clamp(20px, 2.4vw, 30px) 0 .5rem;
}

.doc p,
.doc li {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-ink-body);
}

.doc ul,
.doc ol {
    margin: 0 0 1.1em;
    padding-left: 1.25rem;
    list-style: disc;
}

.doc ol {
    list-style: decimal;
}

.doc li {
    margin-bottom: .45rem;
}

.doc__meta {
    font-size: .8125rem;
    color: var(--color-ink-muted);
    padding-bottom: clamp(18px, 2vw, 26px);
    border-bottom: 1px solid var(--color-rule);
    margin-bottom: clamp(24px, 3vw, 38px);
}

/* Ticked criteria / document checklists on the loan pages */
.speclist {
    display: grid;
    gap: .7rem;
    text-align: left;
    max-width: 34rem;
}

.speclist li {
    position: relative;
    padding-left: 1.85rem;
    font-size: .9375rem;
    line-height: 1.55;
    color: var(--color-ink-body);
}

.speclist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .34em;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    background: var(--color-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='9' viewBox='0 0 11 9' fill='none'%3E%3Cpath d='M1 4.6 3.9 7.5 10 1.4' stroke='%230091cb' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat;
}

.band--ink .speclist li {
    color: rgba(255, 255, 255, .78);
}

/* Two-up criteria columns on wide screens */
.speclist--cols {
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(24px, 3vw, 48px);
}

/* Contact channel tiles */
.tile {
    background: var(--color-panel);
    border: 1px solid var(--color-rule);
    border-radius: var(--radius-xl);
    padding: clamp(20px, 2.4vw, 30px);
    text-align: left;
    box-shadow: var(--shadow-sm);
}

.tile h3 {
    font-size: 1.125rem;
    margin-bottom: .4rem;
}

.tile p {
    font-size: .9375rem;
    line-height: 1.6;
    color: var(--color-ink-body);
    margin-bottom: .5rem;
}

.tile a {
    font-weight: 600;
    font-size: .9375rem;
}

/* Rate/tenure figures on the loan detail pages. Reuses .stat's rhythm but
   allows a longer value string than a two-digit step number. */
.stat--fig .stat__num {
    font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.25rem);
    letter-spacing: -.02em;
}

/* --- 21. Motion & hover ------------------------------------------------- */

/* Card imagery lifts and eases in on hover */
.card .imgslot img,
.card .imgslot {
    transition: transform .5s var(--ease);
}

.card:hover .imgslot img {
    transform: scale(1.045);
}

.card__link {
    transition: color .2s var(--ease);
}

.card__link::after {
    display: inline-block;
    transition: transform .24s var(--ease);
}

.card:hover .card__link::after {
    transform: translateX(5px);
}

.stat {
    transition: transform .24s var(--ease), border-color .24s var(--ease), box-shadow .24s var(--ease);
}

.stat:hover {
    transform: translateY(-3px);
    border-color: var(--color-rule-strong);
    box-shadow: var(--shadow-md);
}

.crosssell a {
    transition: border-color .18s var(--ease), color .18s var(--ease),
        background .18s var(--ease), transform .18s var(--ease);
}

.crosssell a:hover {
    transform: translateY(-2px);
}

.footer__links a {
    display: inline-block;
    transition: color .18s var(--ease), transform .18s var(--ease);
}

.footer__links a:hover {
    transform: translateX(3px);
}

.footer__mark svg {
    transition: opacity .4s var(--ease);
}

.faq-item summary:hover::after {
    background: var(--color-accent);
}

/* Staggered reveal within a grid */
.reveal {
    transition-delay: var(--reveal-delay, 0ms);
}

/* Card imagery is bound to viewport HEIGHT, not just aspect ratio. This is what
   lets a two-row grid stay inside one screen on a 768px-tall laptop. */
.grid--2 .imgslot {
    aspect-ratio: auto;
    height: clamp(130px, 24vh, 300px);
}

.grid--3 .imgslot,
.grid--4 .imgslot {
    aspect-ratio: auto;
    height: clamp(78px, 11.9vh, 175px);
}

/* Dense product grids run two rows inside one screen, so their cards are
   compact by design. The 2-up path cards keep the roomier treatment. */
.grid--3 .card__body,
.grid--4 .card__body {
    padding: clamp(12px, 1.6vh, 20px);
}

.grid--3 .card__body h3,
.grid--4 .card__body h3 {
    font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
}

.grid--3 .card__body p,
.grid--4 .card__body p {
    margin-top: .4375rem;
    font-size: .9375rem;
    line-height: 1.45;
}

.grid--3 .card__link,
.grid--4 .card__link {
    padding-top: .875rem;
    font-size: .875rem;
}

/* --- 22. Responsive ----------------------------------------------------- */

/* Tablet landscape and below — nav collapses to a drawer.
   The one-screen-per-section promise is a desktop (>=1025px) guarantee: once
   grids and the calculator stack, fitting a screen would need type too small
   to read, so sections flow naturally instead. */
@media (max-width: 1024px) {
    html {
        scroll-snap-type: none;
    }

    section {
        min-height: 0;
        display: block;
    }

    .nav__toggle {
        display: inline-flex;
    }

    .nav__cta .btn {
        display: none;
    }

    .nav__links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: .5rem var(--wrap-pad) 1.5rem;
        background: var(--color-white);
        border-bottom: 1px solid var(--color-rule);
        box-shadow: var(--shadow-lg);
        max-height: calc(100vh - var(--nav-h));
        overflow-y: auto;
        display: none;
    }

    .nav__links.is-open {
        display: flex;
    }

    .nav__links a:not(.btn) {
        padding-block: .9375rem;
        border-bottom: 1px solid var(--color-rule);
        font-size: 1.0625rem;
    }

    .nav__links a:not(.btn)::after {
        display: none;
    }

    .nav__links .btn {
        display: inline-flex;
        margin-top: 1.25rem;
    }

    .split {
        grid-template-columns: 1fr;
    }

    .grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .emi {
        grid-template-columns: 1fr;
    }
}

/* Tablet portrait */
@media (max-width: 768px) {
    :root {
        --wrap-pad: 20px;
        /* Sections flow here rather than filling a screen, so the rhythm switches
           back to width-based — kept tight to match the desktop spacing. */
        --section-y: clamp(32px, 5vw, 48px);
    }

    .grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__links {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 24px;
    }

    .footer__top {
        flex-direction: column;
    }
}

/* Phones — 375 (iOS) down to 360 (Android) */
@media (max-width: 640px) {
    /* Single-column sections cannot fit one screen, so snapping would only fight
       the user. The one-screen rhythm is a desktop/tablet promise. */
    html {
        scroll-snap-type: none;
    }

    section {
        min-height: 0;
    }

    .grid--2,
    .grid--3,
    .grid--4 {
        grid-template-columns: 1fr;
    }

    /* Equal-height rows are meaningless in a single column */
    .grid {
        grid-auto-rows: auto;
    }

    .form__grid,
    .speclist--cols {
        grid-template-columns: 1fr;
    }

    .hero-media__actions .btn,
    .cta-band__row .btn {
        width: 100%;
    }
}

@media (max-width: 380px) {
    .nav__logo {
        font-size: 1.1875rem;
    }

    .footer__links {
        grid-template-columns: 1fr;
    }
}

/* --- 23. Reduced motion & print ---------------------------------------- */

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

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

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media print {
    .nav,
    .footer__cta,
    .footer__mark,
    .cta-band {
        display: none;
    }

    body {
        background: #fff;
        color: #000;
    }

    .faq-item p {
        display: block !important;
    }
}
