/* expendio website (www.expendio.co.uk). Brand board: docs/BRAND.md. Plain CSS, no build step. */
:root {
    --navy: #071B3D;
    --blue: #0A84FF;
    --teal: #00E6B8;
    --link: #0062CC;
    --mist: #F2F6FA;
    --surface: #FFFFFF;
    --text: #071B3D;
    --muted: #4A5B78;
    --on-navy-muted: #C9D6EA;
    --border: #DCE4EE;
    --radius: 16px;
    --max: 68rem;
    color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0; background: var(--mist); color: var(--text);
    font: 400 1rem/1.6 Inter, "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}
a { color: var(--link); text-underline-offset: 2px; }
img { max-width: 100%; }
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--surface); padding: .5rem 1rem; border-radius: 8px; z-index: 10; }

/* Header and the wordmark: the symbol stands in for the "e" */
.site-header { background: var(--navy); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.1rem; }
.brand { display: inline-flex; align-items: center; color: #FFFFFF; text-decoration: none; }
.brand__wordmark { font-weight: 700; font-size: 1.6rem; letter-spacing: -0.04em; line-height: 1; white-space: nowrap; }
.brand__symbol { width: .77em; height: .74em; vertical-align: -.055em; margin-right: .022em; }
.header-link {
    color: #FFFFFF; text-decoration: none; font-weight: 500; padding: .55rem 1.1rem; border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .35);
}
.header-link:hover, .header-link:focus-visible { background: rgba(255, 255, 255, .1); }

/* Hero: navy, with the blue and teal ribbon beneath */
.hero { background: var(--navy); color: #FFFFFF; padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem); }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; margin: 0 0 1.25rem; max-width: 14ch; }
.hero h1 .accent { color: var(--teal); }
.hero p { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--on-navy-muted); max-width: 38rem; margin: 0 0 2rem; }
.ribbon { display: flex; height: 6px; }
.ribbon span:first-child { flex: 62; background: var(--blue); }
.ribbon span:last-child { flex: 38; background: var(--teal); }

.badge {
    display: inline-block; font-size: .9rem; font-weight: 500; color: var(--navy); background: var(--teal);
    border-radius: 999px; padding: .3rem .9rem; margin-bottom: 1.5rem;
}
.button {
    display: inline-block; background: #FFFFFF; color: var(--navy); font-weight: 600; text-decoration: none;
    padding: .85rem 1.5rem; border-radius: 12px;
}
.button:hover, .button:focus-visible { background: var(--mist); }
.hero .small { font-size: .95rem; margin: 1rem 0 0; }
.hero .small a { color: #FFFFFF; }

/* Pillars */
.pillars { padding: clamp(3rem, 7vw, 5rem) 0; }
.pillars h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 600; letter-spacing: -0.02em; margin: 0 0 2rem; }
.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; }
.card h3 { font-size: 1.25rem; font-weight: 600; margin: 0 0 .6rem; }
.card p { color: var(--muted); margin: 0; }
.card__mark { display: block; width: 2.5rem; height: 4px; border-radius: 2px; background: var(--blue); margin-bottom: 1.25rem; }
.card:nth-child(2) .card__mark { background: var(--teal); }
.card:nth-child(3) .card__mark { background: var(--navy); }

/* Plain pages: privacy, terms, not found */
.page { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.page h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); font-weight: 600; letter-spacing: -0.03em; margin: 0 0 1rem; }
.page .lead { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.page .card { max-width: 44rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 2rem 0 2.5rem; color: var(--muted); font-size: .95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; gap: 1.25rem; }
.site-footer a { color: var(--muted); }
.site-footer strong { color: var(--navy); }
