/*
 * Zero Debt marketing theme stylesheet.
 *
 * Color tokens are copied 1:1 from the mobile app's own design tokens
 * (mobile/constants/colors.ts) so the website and the app read as one
 * brand, not a reskin:
 *   primary (navy)   #0B1F39   primaryLight #E7EFF8   primaryDark #081628
 *   brandGreen       #499647
 *   background       #F8F9FD   surface #FFFFFF   border #ECEEF4
 *   textPrimary      #171A2B   textSecondary #70758B   textMuted #A3A7B5
 *   danger           #EB5757   success #35B987
 * No dark theme here either, matching the mobile app's own v1 scope.
 *
 * Motion: every animation/transition in this file is driven by a handful
 * of shared tokens (--zd-dur-*, --zd-ease) so pacing stays consistent,
 * and everything is switched off in one place for
 * prefers-reduced-motion — see the very bottom of this file.
 */

:root {
    --zd-primary: #0B1F39;
    --zd-primary-light: #E7EFF8;
    --zd-primary-dark: #081628;
    --zd-green: #499647;
    --zd-green-light: #E7F3E6;
    --zd-amber: #F5A623;

    --zd-bg: #F8F9FD;
    --zd-surface: #FFFFFF;
    --zd-border: #ECEEF4;

    --zd-text: #171A2B;
    --zd-text-secondary: #70758B;
    --zd-text-muted: #A3A7B5;
    --zd-text-on-primary: #FFFFFF;

    --zd-danger: #EB5757;
    --zd-success: #35B987;

    --zd-radius-sm: 10px;
    --zd-radius-md: 16px;
    --zd-radius-lg: 24px;
    --zd-radius-xl: 32px;
    --zd-shadow: 0 12px 32px rgba(11, 31, 57, 0.08);
    --zd-shadow-lg: 0 24px 60px rgba(11, 31, 57, 0.16);
    --zd-container: 1120px;
    --zd-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    /* Headings only (see header.php for the Google Fonts <link> this
       depends on) — body copy stays on the fast system stack above. */
    --zd-font-heading: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --zd-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --zd-dur-fast: 0.2s;
    --zd-dur: 0.5s;
    --zd-dur-slow: 0.7s;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--zd-font);
    color: var(--zd-text);
    background: var(--zd-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
    font-family: var(--zd-font-heading);
    line-height: 1.18;
    margin: 0 0 0.5em;
    font-weight: 800;
    letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--zd-text-secondary); }

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

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

.zd-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;
}

.zd-container {
    max-width: var(--zd-container);
    margin: 0 auto;
    padding: 0 20px;
}

.zd-accent { color: var(--zd-green); }

.zd-grad-text {
    background: linear-gradient(100deg, var(--zd-primary) 10%, var(--zd-green) 95%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Scroll-reveal utility ---------- */
/* JS (theme.js) toggles .is-visible via IntersectionObserver. Elements
   render fully visible with no JS at all — this is progressive
   enhancement, not a requirement for the content to appear. */

.zd-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity var(--zd-dur-slow) var(--zd-ease), transform var(--zd-dur-slow) var(--zd-ease);
    transition-delay: var(--zd-reveal-delay, 0s);
}
.zd-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.zd-no-js .zd-reveal { opacity: 1; transform: none; }

/* Staggered reveal for repeating grids/lists — nth-child delays so
   cards/steps cascade in rather than popping in all at once. */
.zd-features .zd-feature-card:nth-child(1) { --zd-reveal-delay: 0s; }
.zd-features .zd-feature-card:nth-child(2) { --zd-reveal-delay: 0.06s; }
.zd-features .zd-feature-card:nth-child(3) { --zd-reveal-delay: 0.12s; }
.zd-features .zd-feature-card:nth-child(4) { --zd-reveal-delay: 0.18s; }
.zd-features .zd-feature-card:nth-child(5) { --zd-reveal-delay: 0.24s; }
.zd-features .zd-feature-card:nth-child(6) { --zd-reveal-delay: 0.3s; }
.zd-features .zd-feature-card:nth-child(7) { --zd-reveal-delay: 0.36s; }
.zd-features .zd-feature-card:nth-child(8) { --zd-reveal-delay: 0.42s; }
.zd-features .zd-feature-card:nth-child(9) { --zd-reveal-delay: 0.48s; }
.zd-features .zd-feature-card:nth-child(10) { --zd-reveal-delay: 0.54s; }
.zd-features .zd-feature-card:nth-child(11) { --zd-reveal-delay: 0.6s; }
.zd-features .zd-feature-card:nth-child(12) { --zd-reveal-delay: 0.66s; }
.zd-features .zd-feature-card:nth-child(13) { --zd-reveal-delay: 0.72s; }

.zd-journey__step:nth-child(1) { --zd-reveal-delay: 0s; }
.zd-journey__step:nth-child(2) { --zd-reveal-delay: 0.08s; }
.zd-journey__step:nth-child(3) { --zd-reveal-delay: 0.16s; }
.zd-journey__step:nth-child(4) { --zd-reveal-delay: 0.24s; }
.zd-journey__step:nth-child(5) { --zd-reveal-delay: 0.32s; }

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

.zd-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 15px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform var(--zd-dur-fast) var(--zd-ease),
        box-shadow var(--zd-dur-fast) var(--zd-ease),
        background-color var(--zd-dur-fast) var(--zd-ease),
        border-color var(--zd-dur-fast) var(--zd-ease);
    white-space: nowrap;
}
.zd-btn:hover { transform: translateY(-2px); }
.zd-btn:active { transform: translateY(0); }

.zd-btn--primary {
    background: linear-gradient(135deg, var(--zd-primary), var(--zd-primary-dark));
    color: var(--zd-text-on-primary);
    box-shadow: 0 10px 24px rgba(11, 31, 57, 0.22);
}
.zd-btn--primary:hover {
    box-shadow: 0 14px 32px rgba(11, 31, 57, 0.3);
}

.zd-btn--ghost {
    background: var(--zd-surface);
    color: var(--zd-primary);
    border-color: var(--zd-border);
}
.zd-btn--ghost:hover { border-color: var(--zd-primary); box-shadow: var(--zd-shadow); }

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

.zd-btn--large { padding: 16px 32px; font-size: 16px; }
.zd-btn--small { padding: 9px 18px; font-size: 13px; }

.zd-btn--hero {
    background: #fff;
    color: var(--zd-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.zd-btn--hero:hover { box-shadow: 0 14px 38px rgba(0, 0, 0, 0.32); }

/* ---------- Header ---------- */

.zd-site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(248, 249, 253, 0.82);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: box-shadow var(--zd-dur-fast) ease, border-color var(--zd-dur-fast) ease, background-color var(--zd-dur-fast) ease;
}
.zd-site-header.is-scrolled {
    border-color: var(--zd-border);
    box-shadow: 0 8px 24px rgba(11, 31, 57, 0.06);
    background: rgba(248, 249, 253, 0.96);
}

.zd-site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 72px;
}

.zd-site-header__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--zd-font-heading);
    font-weight: 800;
    font-size: 18px;
    color: var(--zd-text);
    flex-shrink: 0;
}
.zd-site-header__mark { border-radius: 50%; }
.zd-site-header__wordmark { letter-spacing: -0.02em; }

.zd-site-header__nav { margin-left: auto; }
.zd-site-header__menu {
    display: flex;
    align-items: center;
    gap: 28px;
}
.zd-site-header__menu a {
    position: relative;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--zd-text-secondary);
    transition: color var(--zd-dur-fast) ease;
}
.zd-site-header__menu a::after {
    content: "";
    position: absolute;
    left: 0; right: 100%;
    bottom: -4px;
    height: 2px;
    background: var(--zd-green);
    border-radius: 2px;
    transition: right var(--zd-dur-fast) var(--zd-ease);
}
.zd-site-header__menu a:hover { color: var(--zd-primary); }
.zd-site-header__menu a:hover::after { right: 0; }

.zd-site-header__cta { flex-shrink: 0; }

.zd-site-header__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--zd-border);
    background: var(--zd-surface);
    cursor: pointer;
}
.zd-site-header__toggle-bar {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: var(--zd-text);
    border-radius: 2px;
    transition: transform var(--zd-dur-fast) ease, opacity var(--zd-dur-fast) ease;
}
.zd-site-header__toggle[aria-expanded="true"] .zd-site-header__toggle-bar:nth-child(2) {
    transform: translateY(6px) rotate(45deg);
}
.zd-site-header__toggle[aria-expanded="true"] .zd-site-header__toggle-bar:nth-child(3) { opacity: 0; }
.zd-site-header__toggle[aria-expanded="true"] .zd-site-header__toggle-bar:nth-child(4) {
    transform: translateY(-6px) rotate(-45deg);
}

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

.zd-section { padding: 88px 0; position: relative; }
.zd-section--tint { background: var(--zd-surface); }
.zd-section--admin-content { padding-bottom: 0; }

.zd-section__title {
    font-size: clamp(27px, 3.4vw, 38px);
    text-align: center;
    margin-bottom: 14px;
    color: var(--zd-text);
}
.zd-section__title::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    margin: 18px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--zd-primary), var(--zd-green));
}
.zd-section__lead {
    max-width: 760px;
    margin: 0 auto 1.1em;
    text-align: center;
    font-size: 17px;
}
.zd-section__note {
    max-width: 760px;
    margin: 32px auto 0;
    text-align: center;
    font-size: 13.5px;
    color: var(--zd-text-muted);
}

.zd-prose :is(h1, h2, h3) { color: var(--zd-text); }
.zd-prose p { color: var(--zd-text-secondary); }

/* ---------- Hero slider ---------- */
/* The homepage leads with this: a full-bleed, five-slide hero carousel
   (Zara / Hardship support / Manage Your Money / Merge & Save /
   Debt-Free Journey) directly under the header — the slider IS the
   hero, not a separate element below it. Each slide is its own
   on-brand gradient; when an admin has uploaded a background photo for
   a slide (Appearance > Customize), the same gradient is laid on top
   of it at reduced opacity via an inline style (see front-page.php),
   so a photo still reads as Zero Debt-branded and the white text stays
   readable either way. */

@keyframes zd-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}
@keyframes zd-drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-16px, 20px) scale(1.08); }
}

.zd-eyebrow {
    display: inline-block;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 12.5px;
    color: var(--zd-green);
    margin-bottom: 14px;
}
.zd-eyebrow--center { display: block; text-align: center; }

.zd-hero-slider {
    position: relative;
    overflow: hidden;
    background: var(--zd-primary);
}
.zd-slider__viewport { overflow: hidden; position: relative; }
.zd-slider__track {
    display: flex;
    transition: transform var(--zd-dur-slow) var(--zd-ease);
    will-change: transform;
}
.zd-slide {
    flex: 0 0 100%;
    min-width: 100%;
    min-height: 640px;
    display: flex;
    align-items: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.zd-slide::after {
    /* A soft vignette along the bottom so the dots/arrows stay legible
       whether the slide is a flat gradient or an admin-uploaded photo. */
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(1100px 420px at 50% 130%, rgba(0, 0, 0, 0.3), transparent 60%);
    pointer-events: none;
}
.zd-slide--zara {
    background-image: linear-gradient(130deg, #0B1F39 0%, #142C4F 55%, #1E3A24 140%);
}
.zd-slide--journey {
    background-image: linear-gradient(130deg, #0E2A1C 0%, #1F4A2E 55%, #0B1F39 140%);
}
.zd-slide--hardship {
    background-image: linear-gradient(130deg, #2B1B0B 0%, #3A2A12 45%, #0B1F39 140%);
}
.zd-slide--money {
    background-image: linear-gradient(130deg, #0B2E46 0%, #14425C 55%, #0B1F39 140%);
}
.zd-slide--consolidate {
    background-image: linear-gradient(130deg, #123023 0%, #1B5E3F 55%, #0B1F39 140%);
}
.zd-slide__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 48px;
    padding: 64px 8px;
}
.zd-slide__kicker {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 14px;
}
.zd-slide__title {
    color: #fff;
    font-size: clamp(32px, 4.2vw, 48px);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.zd-slide__lead {
    color: rgba(255, 255, 255, 0.84);
    font-size: 17px;
    max-width: 540px;
    margin-bottom: 0;
}
.zd-slide__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}
.zd-slide__art {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.zd-slide__art::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 70%);
    filter: blur(6px);
    animation: zd-drift 16s var(--zd-ease) infinite alternate;
}
.zd-slide__icon {
    position: relative;
    z-index: 1;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: zd-float 6s ease-in-out infinite;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}
.zd-slide__icon svg { width: 84px; height: 84px; }

.zd-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform var(--zd-dur-fast) ease, background-color var(--zd-dur-fast) ease;
    z-index: 2;
}
.zd-slider__arrow:hover { background: rgba(255, 255, 255, 0.3); transform: translateY(-50%) scale(1.08); }
.zd-slider__arrow--prev { left: 20px; }
.zd-slider__arrow--next { right: 20px; }

.zd-slider__dots {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.zd-slider__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0;
    transition: background-color var(--zd-dur-fast) ease, transform var(--zd-dur-fast) ease;
}
.zd-slider__dot:hover { transform: scale(1.2); }
.zd-slider__dot.is-active { background: #fff; width: 26px; border-radius: 999px; }

/* ---------- Features ---------- */

.zd-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.zd-feature-card {
    background: var(--zd-surface);
    border: 1px solid var(--zd-border);
    border-radius: var(--zd-radius-md);
    padding: 26px 24px;
    box-shadow: var(--zd-shadow);
    transition: transform var(--zd-dur-fast) var(--zd-ease), box-shadow var(--zd-dur-fast) var(--zd-ease), border-color var(--zd-dur-fast) var(--zd-ease);
}
.zd-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--zd-shadow-lg);
    border-color: rgba(73, 150, 71, 0.35);
}
.zd-section--tint .zd-feature-card { background: var(--zd-bg); }
.zd-feature-card h3 {
    font-size: 17px;
    margin: 14px 0 8px;
}
.zd-feature-card p {
    font-size: 14.5px;
    margin: 0;
}
.zd-feature-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--zd-primary-light);
    color: var(--zd-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--zd-dur-fast) var(--zd-ease);
}
.zd-feature-card__icon svg { width: 24px; height: 24px; }
.zd-feature-card:hover .zd-feature-card__icon { transform: scale(1.1) rotate(-4deg); }
.zd-feature-card__icon--zara {
    background: var(--zd-primary);
    color: #fff;
}
.zd-feature-card__icon--navy {
    background: var(--zd-primary-light);
    color: var(--zd-primary);
}
.zd-feature-card__icon--green {
    background: var(--zd-green-light);
    color: var(--zd-green);
}
.zd-feature-card__icon--amber {
    background: rgba(245, 166, 35, 0.15);
    color: var(--zd-amber);
}

/* ---------- Journey ---------- */

.zd-section--journey { background: var(--zd-surface); position: relative; }
.zd-journey {
    max-width: 820px;
    margin: 44px auto 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}
.zd-journey::before {
    content: "";
    position: absolute;
    left: 19px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: linear-gradient(var(--zd-border), var(--zd-border));
    background: repeating-linear-gradient(to bottom, var(--zd-border) 0 6px, transparent 6px 12px);
}
.zd-journey__step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 18px 0;
    position: relative;
}
.zd-journey__num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--zd-primary), var(--zd-green));
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 6px 16px rgba(11, 31, 57, 0.22);
}
.zd-journey__step h3 {
    font-size: 18px;
    margin-bottom: 6px;
}
.zd-journey__step p {
    font-size: 15px;
    margin: 0;
}
.zd-journey__step strong { color: var(--zd-text); }

/* ---------- Download ---------- */

.zd-section--download {
    background:
        linear-gradient(135deg, var(--zd-primary) 0%, var(--zd-primary-dark) 55%, var(--zd-green) 140%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.zd-section--download::before {
    content: "";
    position: absolute;
    width: 420px; height: 420px;
    border-radius: 50%;
    top: -160px; right: -80px;
    background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
}
.zd-download {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}
.zd-download__mark {
    border-radius: 50%;
    background: #fff;
    padding: 6px;
    margin-bottom: 18px;
    animation: zd-float 6s ease-in-out infinite;
}
.zd-download h2 {
    color: #fff;
    font-size: clamp(24px, 3vw, 32px);
}
.zd-download p { color: rgba(255,255,255,0.8); }
.zd-download__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
}
.zd-store-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--zd-radius-sm);
    padding: 10px 20px 10px 16px;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.15;
    transition: transform var(--zd-dur-fast) ease, background-color var(--zd-dur-fast) ease;
}
.zd-store-badge small {
    display: block;
    font-weight: 500;
    font-size: 10.5px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.zd-store-badge:hover { background: rgba(255,255,255,0.18); transform: translateY(-3px); }
.zd-download__soon {
    margin-top: 18px;
    font-size: 13px;
    color: rgba(255,255,255,0.75);
}

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

.zd-site-footer {
    background: var(--zd-primary-dark);
    color: rgba(255,255,255,0.65);
    padding: 40px 0;
}
.zd-site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.zd-site-footer__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: #fff;
}
.zd-site-footer__mark { border-radius: 50%; }
.zd-site-footer__menu {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.zd-site-footer__menu a { font-size: 13.5px; }
.zd-site-footer__menu a:hover { color: #fff; }
.zd-site-footer__legal {
    width: 100%;
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    margin: 10px 0 0;
    text-align: left;
}

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

@media (max-width: 860px) {
    .zd-slide__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 56px 8px 40px; }
    .zd-slide__lead { margin-left: auto; margin-right: auto; }
    .zd-slide__ctas { justify-content: center; }
    .zd-slide__art { order: -1; margin-bottom: 8px; }
    .zd-slide__icon { width: 128px; height: 128px; }
    .zd-slide__icon svg { width: 60px; height: 60px; }
    .zd-slide__art::before { width: 180px; height: 180px; }
}

@media (max-width: 720px) {
    .zd-site-header__toggle { display: flex; }
    .zd-site-header__nav {
        position: fixed;
        inset: 72px 0 auto 0;
        background: var(--zd-surface);
        border-bottom: 1px solid var(--zd-border);
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        transition: transform var(--zd-dur-fast) ease, opacity var(--zd-dur-fast) ease;
        margin-left: 0;
    }
    .zd-site-header__nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .zd-site-header__menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 8px 20px 16px;
    }
    .zd-site-header__menu a {
        display: block;
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid var(--zd-border);
    }
    .zd-site-header__menu a::after { display: none; }
    .zd-site-header__cta { display: none; }

    /* Arrows would overlap the slide copy at this width — swipe + the
       dot indicators remain, which is the standard mobile pattern. */
    .zd-slider__arrow { display: none; }
    .zd-slide__icon { width: 92px; height: 92px; border-radius: 24px; }
    .zd-slide__icon svg { width: 44px; height: 44px; }
    .zd-slide__art::before { width: 150px; height: 150px; }
    .zd-slide { min-height: 0; }
    .zd-slide__inner { padding: 40px 4px 56px; }
}

@media (max-width: 520px) {
    .zd-section { padding: 60px 0; }
    .zd-journey__step { gap: 14px; }
}

/* ---------- Reduced motion ---------- */
/* One switch for everyone who has asked their OS for less motion:
   no float/drift loops, no slide-in transitions (content still shows,
   instantly), no carousel autoplay (handled in JS) and no transform
   transitions on hover. */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}
