/* ============================================================
   YUSR CAPITAL — brand system (June 2026)
   Roboto (everything) + Righteous (poster headlines only)
   Navy canvas · Lime pop · Ink on Paper
   ============================================================ */

/* Self-hosted fonts (latin subset) — no render-blocking call to Google.
   Roboto v51 is a variable font: one file covers weights 400–900. */
@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("../fonts/roboto-latin-var-P5vfNz3.woff2") format("woff2");
}
@font-face {
    font-family: "Righteous";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/righteous-latin-RJE1IvN.woff2") format("woff2");
}

:root {
    /* core palette */
    --navy: #051c27;        /* canvas / primary dark */
    --navy-soft: #193a2a;   /* text on lime / deep green accents */
    --lime: #9bee68;        /* buttons, highlights, brandmark */
    --lime-hover: #60d31a;
    --lime-soft: #ddf4ce;
    --green-accent: #49ba04; /* success / text on white */

    /* surfaces & text */
    --paper: #ffffff;
    --paper-2: #f8f8f8;
    --ink: #222222;
    --ink-soft: #5f6368;
    --grey: #848484;

    /* semantic */
    --info: #1bb3f3;
    --caution: #f46528;
    --error: #e5484d;
    --success: #49ba04;

    /* legacy role aliases — keep existing rules recoloured in place */
    --sand: var(--paper-2);
    --sand-deep: var(--lime-soft);
    --green: var(--navy);
    --green-deep: var(--navy);
    --gold: var(--lime);
    --gold-deep: var(--navy-soft);
    --line: #e0e0e0;

    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 18px 40px -18px rgba(5, 28, 39, 0.28);
    --font-display: "Roboto", "Helvetica Neue", Arial, sans-serif;
    --font-body: "Roboto", "Helvetica Neue", Arial, sans-serif;
    --font-poster: "Righteous", "Roboto", sans-serif; /* all-caps marketing posters only */
    --container: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background:
        radial-gradient(1200px 600px at 85% -100px, rgba(155, 238, 104, 0.22), transparent 60%),
        var(--sand);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 0.5em;
    letter-spacing: -0.02em;
}

p { margin: 0 0 1em; }
a { color: var(--green); }
img, svg { display: block; }

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

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

.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    text-align: center;
    border: 1.5px solid transparent;
    border-radius: 999px;
    padding: 12px 26px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }

.btn-primary {
    background: var(--lime);
    color: var(--navy-soft);
    box-shadow: 0 10px 24px -12px rgba(96, 211, 26, 0.55);
}
.btn-primary:hover { background: var(--lime-hover); color: var(--navy-soft); }

.btn-ghost {
    background: transparent;
    color: var(--green);
    border-color: var(--green);
}
.btn-ghost:hover { background: rgba(5, 28, 39, 0.07); }

.btn-lg { padding: 15px 34px; font-size: 16px; }
.btn-block { width: 100%; display: block; }

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

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

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

.brand {
    display: flex;
    align-items: baseline;
    gap: 9px;
    text-decoration: none;
    color: var(--ink);
}
.brand-mark {
    align-self: center;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--green);
    color: var(--gold);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
}
.brand-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 19px;
    letter-spacing: 0.04em;
}
.brand-group {
    font-size: 11px;
    color: var(--ink-soft);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}
.nav-link {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}
.nav-link:hover { color: var(--green); }
.nav-lang {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-soft);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 3px 8px;
}
.nav-cta { padding: 10px 24px; }

.nav-dropdown { position: relative; }
.dropdown-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: -16px;
    min-width: 300px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-panel a {
    display: block;
    padding: 11px 14px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--ink);
}
.dropdown-panel a small {
    display: block;
    font-weight: 400;
    font-size: 12.5px;
    color: var(--ink-soft);
}
.dropdown-panel a:hover { background: var(--sand); }

.nav-toggle-input { display: none; }
.nav-toggle { display: none; }

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

.hero { padding: 72px 0 56px; overflow: hidden; }

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 48px;
    align-items: center;
}

.hero-eyebrow,
.section-eyebrow {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 14px;
}

.hero h1 {
    font-size: clamp(38px, 5.4vw, 84px);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 18px;
}

.hero-subhead {
    font-size: 18px;
    color: var(--ink-soft);
    max-width: 54ch;
    margin-bottom: 28px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-soft);
    margin: 0;
}
.trust-strip span { display: inline-flex; align-items: center; }
.trust-strip span + span::before {
    content: "·";
    margin: 0 10px;
    color: var(--gold-deep);
}

.hero-stats { display: grid; gap: 14px; }
.stat-tile {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 22px;
    box-shadow: var(--shadow);
    transform: rotate(0.4deg);
}
.stat-tile:nth-child(2) { transform: rotate(-0.5deg) translateX(14px); }
.stat-tile:nth-child(3) { transform: rotate(0.3deg); }
.stat-tile strong {
    display: block;
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--green);
}
.stat-tile span { font-size: 13px; color: var(--ink-soft); }

.hero-split { align-items: start; }
.hero-split .hero-copy { padding-top: 24px; }

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

.section { padding: 72px 0; }

.section-title {
    font-size: clamp(28px, 3.6vw, 40px);
    font-weight: 900;
    letter-spacing: -0.025em;
    max-width: 24ch;
    margin-bottom: 36px;
}

/* products */

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.product-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--sand);
    color: var(--green);
    margin-bottom: 14px;
}
.product-icon svg { width: 24px; height: 24px; }
.product-card h3 { font-size: 23px; }
.product-for { color: var(--ink-soft); font-size: 15px; }
.product-stats {
    list-style: none;
    padding: 0;
    margin: 10px 0 18px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.product-stats li {
    font-size: 14.5px;
    font-weight: 500;
    padding-left: 22px;
    position: relative;
}
.product-stats li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--gold-deep);
}
.product-link {
    margin-top: auto;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
}
.product-link:hover span { margin-left: 4px; }
.product-link span { transition: margin 0.15s ease; }

/* how it works */

.steps {
    list-style: none;
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 0;
    margin: 0;
}
.step {
    position: relative;
    padding: 26px 24px 24px;
    border-top: 2px solid var(--green);
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.85), transparent 70%);
}
.step-num {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 500;
    color: var(--gold-deep);
    display: block;
    margin-bottom: 8px;
}
.step h3 { font-size: 19px; }
.step p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

/* why yusr — dark band */

.section-why {
    background:
        radial-gradient(900px 420px at 12% 0%, rgba(155, 238, 104, 0.14), transparent 55%),
        var(--green-deep);
    color: var(--sand);
}
.section-why .section-title { color: var(--paper); }
.section-eyebrow-light { color: var(--gold); }

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.benefit-card {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    padding: 24px 20px;
    background: rgba(255, 255, 255, 0.04);
}
.benefit-index {
    font-family: var(--font-display);
    color: var(--gold);
    font-size: 15px;
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(155, 238, 104, 0.5);
    border-radius: 50%;
    margin-bottom: 14px;
}
.benefit-card h3 { font-size: 17.5px; color: var(--paper); }
.benefit-card p { font-size: 14px; color: rgba(255, 255, 255, 0.75); margin: 0; }

/* social proof */

.section-proof { padding: 48px 0; border-bottom: 1px solid var(--line); }
.proof-label {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 16px;
}
.logo-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 26px;
}
.logo-row:last-child { margin-bottom: 0; }
.logo-chip {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15.5px;
    color: var(--ink-soft);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 20px;
}
.logo-chip-strong { color: var(--green); border-color: rgba(5, 28, 39, 0.35); }
.logo-chip-img { padding: 8px 16px; display: inline-flex; align-items: center; }
.logo-chip-img img { height: 26px; width: auto; max-width: 140px; object-fit: contain; display: block; }

/* who we serve */

.serve-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.serve-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);
    padding: 24px 26px;
}
.serve-card p { font-weight: 500; }
.serve-card a { font-weight: 600; text-decoration: none; }
.serve-built-for { font-weight: 600; margin-bottom: 14px; }
.segment-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.segment-tag {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 500;
}
.serve-cta { margin-top: 8px; }

/* apply band */

.section-apply { background: var(--sand-deep); }
.apply-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

/* ---------------- lead form ---------------- */

.lead-form-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 30px 28px;
    scroll-margin-top: 90px;
}
.lead-form-title { font-size: 24px; margin-bottom: 4px; }
.lead-form-sub { font-size: 14px; color: var(--ink-soft); margin-bottom: 20px; }

.lead-form > div { margin-bottom: 16px; }
.lead-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}
/* Symfony renders a field's help option as .help-text. Left unstyled it inherits
   16px body copy at full ink strength and so outshouts the label above it. */
.lead-form .help-text {
    font-size: 13px;
    color: var(--ink-soft);
    margin-top: 6px;
}
.lead-form input,
.lead-form select {
    width: 100%;
    font-family: var(--font-body);
    /* 16px is a hard floor, not a design choice: iOS Safari zooms the whole page
       when a focused field is smaller, which throws the form off screen mid-entry.
       Applied at every width because iPadOS does it too, above our 920px break. */
    font-size: 16px;
    color: var(--ink);
    background: var(--sand);
    border: 1.5px solid transparent;
    border-radius: 10px;
    padding: 12px 14px;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.lead-form input:focus,
.lead-form select:focus {
    outline: none;
    border-color: var(--green);
    background: var(--paper);
}
/* match the "Which product?" select to the surrounding inputs */
.lead-form select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 40px;
    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 1l5 5 5-5' stroke='%235f6368' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}
.lead-form select:focus {
    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 1l5 5 5-5' stroke='%23051c27' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}
.lead-form ul {
    list-style: none;
    padding: 0;
    margin: 6px 0 0;
    font-size: 13px;
    color: #a4392b;
}
.form-note { font-size: 13px; color: var(--ink-soft); margin: 12px 0 0; text-align: center; }
.form-alert {
    background: #fbeeec;
    border: 1px solid rgba(164, 57, 43, 0.3);
    color: #a4392b;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
}

/* honeypot — hide from humans, keep in DOM for bots */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-success { text-align: center; padding: 28px 6px; }
.form-success-mark {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--green);
    color: var(--gold);
    font-size: 24px;
    margin-bottom: 14px;
}
.form-success h3 { font-size: 22px; }
.form-success p { color: var(--ink-soft); margin: 0; }

/* ---------------- FAQ ---------------- */

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0 22px;
}
.faq-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    padding: 18px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-marker {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    position: relative;
}
.faq-marker::before,
.faq-marker::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    background: var(--gold-deep);
    transition: transform 0.2s ease;
}
.faq-marker::before { width: 14px; height: 2px; }
.faq-marker::after { width: 2px; height: 14px; }
.faq-item[open] .faq-marker::after { transform: rotate(90deg); }
.faq-item p { color: var(--ink-soft); font-size: 15px; margin: 0 0 18px; max-width: 64ch; }

/* cross-link */

.section-crosslink { padding: 0 0 72px; }
.crosslink {
    text-align: center;
    font-size: 16px;
    color: var(--ink-soft);
}
.crosslink a { font-weight: 600; margin-left: 6px; }

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

.site-footer {
    background: var(--green-deep);
    color: rgba(255, 255, 255, 0.8);
    padding: 56px 0 24px;
    margin-top: 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-brand .brand-mark { margin-bottom: 12px; }
.footer-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.04em;
    color: var(--paper);
    margin-bottom: 6px;
}
.footer-tagline { font-size: 14px; margin-bottom: 12px; }
.footer-legal { font-size: 12.5px; color: rgba(255, 255, 255, 0.55); }
.footer-col h4 {
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    margin: 0 0 14px;
}
.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14.5px;
    margin-bottom: 9px;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom { padding-top: 20px; font-size: 12.5px; color: rgba(255, 255, 255, 0.5); }

/* ---------------- reveal animation ---------------- */

@media (prefers-reduced-motion: no-preference) {
    .hero-copy > * {
        animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    }
    .hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
    .hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
    .hero-copy > *:nth-child(4) { animation-delay: 0.24s; }
    .hero-copy > *:nth-child(5) { animation-delay: 0.32s; }
    .hero-stats .stat-tile, .hero-form { animation: rise 0.8s 0.25s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
}
@keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

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

@media (max-width: 920px) {
    .hero-inner { grid-template-columns: 1fr; gap: 36px; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); }
    .stat-tile, .stat-tile:nth-child(2), .stat-tile:nth-child(3) { transform: none; }
    .benefit-grid { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr; }
    .apply-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .hero { padding: 44px 0 40px; }
    .section { padding: 52px 0; }
    .product-grid, .serve-grid, .benefit-grid, .hero-stats { grid-template-columns: 1fr; }
    .brand-group { display: none; }

    /* The desktop clamp bottoms out at 38px, which eats five lines and most of a
       320px screen before the subhead. Only ever smaller than the base rule:
       at 719px this still resolves to the same 38px, so the breakpoint is seamless. */
    .hero h1 { font-size: clamp(30px, 9vw, 38px); }

    /* WCAG 2.5.8 — every tap target at least 44px tall on a touch layout.
       inline-flex, not flex, so links that sit inside a sentence stay inline. */
    .product-link,
    .serve-card a,
    .crosslink a,
    .legal-contact a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }
    .brand { min-height: 44px; }
    .footer-col a {
        display: flex;
        align-items: center;
        min-height: 44px;
        /* the 44px row now does the spacing the margin used to */
        margin-bottom: 0;
    }

    /* mobile nav */
    .nav-toggle {
        display: flex;
        flex-direction: column;
        /* 44px box around the same 22x16 bars — the burger is the only way to
           reach the nav on touch, so it has to clear the tap-target minimum. */
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
        gap: 5px;
        cursor: pointer;
        padding: 8px;
    }
    .nav-toggle span {
        width: 22px;
        height: 2px;
        background: var(--ink);
        transition: transform 0.2s ease, opacity 0.2s ease;
    }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        padding: 14px 20px 20px;
        box-shadow: var(--shadow);
    }
    .nav-toggle-input:checked ~ .site-nav { display: flex; }
    .nav-toggle-input:checked ~ .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle-input:checked ~ .nav-toggle span:nth-child(2) { opacity: 0; }
    .nav-toggle-input:checked ~ .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .nav-link {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 0;
        font-size: 16px;
    }
    .dropdown-panel {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--sand);
        margin-top: 6px;
    }
    .nav-lang { align-self: flex-start; }
    .nav-cta { margin-top: 10px; }
}

/* ---------------- admin ---------------- */

.admin-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}
.admin-actions { display: flex; gap: 10px; }
.admin-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}
.admin-filters select,
.admin-filters input {
    font-family: var(--font-body);
    font-size: 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 12px;
}
.admin-table-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.admin-table tbody tr:last-child td { border-bottom: none; }
.badge { font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 10px; }
.badge-sent { background: #e3f1e7; color: #1d6b3a; }
.badge-pending { background: #fdf3dd; color: #8a6116; }
.badge-failed { background: #fbeeec; color: #a4392b; }
.badge-skipped { background: var(--sand-deep); color: var(--ink-soft); }
.admin-pagination { display: flex; gap: 8px; margin-top: 20px; }
.admin-pagination a, .page-current { padding: 6px 12px; border-radius: 8px; text-decoration: none; }
.page-current { background: var(--green); color: var(--gold); }

/* ---------------- brand mark image ---------------- */

.brand-mark-img { width: 34px; height: 34px; border-radius: 10px; align-self: center; }
.footer-brand .brand-mark-img { margin-bottom: 12px; }

/* ---------------- serve illustrations ---------------- */

.serve-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 48px;
    align-items: center;
}
.serve-grid-stacked { grid-template-columns: 1fr; }
/* The <picture> must not become the grid item — display:contents keeps the <img>
   itself the child of .serve-layout, so the sizing and the mobile `order` below
   still apply to the image. */
.illustration-wrap { display: contents; }

.serve-illustration {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
@media (max-width: 920px) {
    .serve-layout { grid-template-columns: 1fr; gap: 32px; }
    .serve-illustration { order: -1; }
}

.form-success-banner {
    background: #e3f1e7;
    border: 1px solid rgba(29, 107, 58, 0.3);
    color: #1d6b3a;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
}

/* ============================================================
   Legal pages (Privacy Policy / Terms of Use)
   Single white card floating on the navy canvas.
   ============================================================ */
.legal {
    background: var(--navy);
    padding: 56px 12px;
}
.legal-card {
    max-width: 720px;
    margin: 0 auto;
    background: var(--paper);
    color: var(--ink);
    border-radius: 32px;
    padding: 48px;
}
.legal-updated {
    display: inline-block;
    background: var(--lime-soft);
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 999px;
    margin: 0 0 16px;
}
.legal-title {
    font-weight: 900;
    font-size: clamp(34px, 5vw, 52px);
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0 0 8px;
    color: var(--ink);
}
.legal-section + .legal-section {
    border-top: 1px solid var(--line);
    margin-top: 32px;
    padding-top: 32px;
}
.legal-section h2 {
    font-weight: 700;
    font-size: 21px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 28px 0 12px;
    color: var(--ink);
}
.legal-section:first-of-type h2 { margin-top: 24px; }
.legal-card p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    margin: 0 0 14px;
}
.legal-card ul {
    margin: 0 0 14px;
    padding-left: 22px;
}
.legal-card li {
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    margin-bottom: 8px;
}
.legal-card a {
    color: var(--green-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.legal-card a:hover { color: var(--lime-hover); }
.legal-contact { list-style: none; padding-left: 0; }

@media (max-width: 600px) {
    .legal { padding: 24px 12px; }
    .legal-card { padding: 28px 22px; border-radius: 24px; }
}
