/* Build It Proper: site styles. Mobile first, no build step. Brand board: Primary Blue #0066FF, Lime #C6FF00,
   Purple #B84DFF, Aqua #00E5E0, Dark #0B0F14, Light #F7F9FC; Sora for headings, Inter for body.
   Contrast rule: lime is a background/accent colour, never text on white. */

/* ------------------------------------------------------------------ tokens */
:root {
    --blue: #0066FF;
    --blue-hover: #0052D6;
    --blue-tint: #EAF2FF;
    --lime: #C6FF00;
    --lime-hover: #B4EC00;
    --purple: #B84DFF;
    --aqua: #00E5E0;
    --dark: #0B0F14;
    --dark-2: #151B23;
    --light: #F7F9FC;
    --white: #FFFFFF;

    --ink: #0B0F14;
    --body: #333C48;
    --muted: #5B6675;
    --line: #E4E8EF;
    --on-dark: #C9D1DC;
    --on-dark-muted: #8D97A5;
    --error: #B42318;
    --error-bg: #FEF3F2;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow: 0 1px 2px rgba(11, 15, 20, .05), 0 10px 30px rgba(11, 15, 20, .06);

    --font-head: "Sora", "Sora Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    --font-body: "Inter", "Inter Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --container: 1200px;
    --header-h: 68px;
}

/* Metric-matched fallbacks so the swap to the web fonts barely moves anything. */
@font-face { font-family: "Inter Fallback"; src: local("Arial"); ascent-override: 90.44%; descent-override: 22.52%; line-gap-override: 0%; size-adjust: 107.12%; }
@font-face { font-family: "Sora Fallback"; src: local("Arial"); size-adjust: 109%; }

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
/* The canvas (below a short page, and the overscroll area) is Dark, to match the header and footer; body stays white. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--dark); }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--body);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--blue-hover); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--ink); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.site-header :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .site-footer :focus-visible,
.newsletter :focus-visible, .about__card :focus-visible, .article__cta :focus-visible { outline-color: var(--lime); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.container--narrow { max-width: 800px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }

.lime { color: var(--lime); }
.sr-only, .screen-reader-text {
    position: absolute !important; 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; left: 12px; top: -100px; z-index: 100; padding: 10px 16px; border-radius: var(--radius-sm);
    background: var(--lime); color: var(--dark); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--dark); }

/* ------------------------------------------------------------------ buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    min-height: 48px; padding: .8em 1.35em; border: 2px solid transparent; border-radius: 12px;
    font-family: var(--font-body); font-size: 1rem; font-weight: 600; line-height: 1.1; text-align: center;
    text-decoration: none; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn__arrow { width: 1.15em; height: 1.15em; flex: none; transition: transform .15s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-hover); color: var(--white); }
.btn--secondary { background: var(--lime); color: var(--dark); }
.btn--secondary:hover { background: var(--lime-hover); color: var(--dark); }
.btn--outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue-tint); color: var(--blue-hover); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .85); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); color: var(--white); }
.btn--sm { min-height: 40px; padding: .55em 1em; font-size: .9375rem; border-radius: var(--radius-sm); }
.btn--lg { min-height: 54px; padding: .9em 1.5em; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { cursor: progress; }

.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--blue); text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: .2em; }
.link-arrow { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.2em; }

/* ------------------------------------------------------------------ tags, eyebrows, icon tiles */
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tag {
    display: inline-flex; align-items: center; padding: .38em .95em; border-radius: 999px;
    font-size: .8125rem; font-weight: 600; line-height: 1.3; white-space: nowrap; text-decoration: none;
}
.tag--sm { font-size: .75rem; padding: .3em .8em; }
.tag--blue { background: var(--blue); color: var(--white); }
.tag--lime { background: var(--lime); color: var(--dark); }
.tag--purple { background: var(--purple); color: var(--dark); }
.tag--aqua { background: var(--aqua); color: var(--dark); }
.tag--outline { border: 1.5px solid currentColor; color: var(--ink); }
a.tag--outline:hover { color: var(--blue); }

.eyebrow {
    display: inline-flex; align-items: flex-start; gap: .6em; margin: 0 0 1rem;
    font-size: .8125rem; font-weight: 600; line-height: 1.6; letter-spacing: .08em; text-transform: uppercase; color: var(--blue);
}
/* Centred on the first line of text, so a wrapped eyebrow keeps its dot beside line one. */
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); flex: none; margin-top: calc(.8em - 4px); }
.eyebrow--dark { color: var(--on-dark); }
.eyebrow--blue { color: var(--white); }

.icon-tile { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; flex: none; }
.icon-tile svg { width: 24px; height: 24px; }
.icon-tile--blue { background: var(--blue); color: var(--white); }
.icon-tile--lime { background: var(--lime); color: var(--dark); }
.icon-tile--purple { background: var(--purple); color: var(--dark); }
.icon-tile--aqua { background: var(--aqua); color: var(--dark); }
.icon-tile--dark { background: var(--dark); color: var(--lime); }

/* ------------------------------------------------------------------ logo */
.bip-logo { display: inline-flex; align-items: center; gap: 10px; }
.bip-logo .bip-mark { width: 36px; height: 36px; flex: none; display: block; }
.bip-logo__word { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; letter-spacing: -.035em; line-height: 1; color: var(--ink); white-space: nowrap; }
.bip-logo--dark .bip-logo__word { color: var(--white); }
.bip-logo--img img { display: block; height: 36px; width: auto; }

/* ------------------------------------------------------------------ header */
/* Solid brand Dark: a translucent header over the white body reads as a grey band above the hero. */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--dark);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.admin-bar .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.site-header__brand { display: inline-flex; text-decoration: none; border-radius: 8px; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav__links { display: none; list-style: none; margin: 0; padding: 0; gap: 2px; }
.site-nav__links a { display: block; padding: .5em .85em; border-radius: 8px; color: #E6EAF0; font-size: .9375rem; font-weight: 500; text-decoration: none; }
.site-nav__links a:hover { color: var(--white); background: rgba(255, 255, 255, .07); }
@media (min-width: 720px) { .site-nav__links { display: flex; } .site-nav { gap: 14px; } }
@media (max-width: 359px) { .bip-logo__word { font-size: 1.05rem; } .site-header .btn--sm { padding-inline: .8em; } }

/* ------------------------------------------------------------------ hero */
.hero {
    position: relative; overflow: hidden; overflow: clip; padding: 44px 0 56px;
    background-color: var(--dark);
    background-image:
        radial-gradient(640px 420px at 85% 15%, rgba(0, 102, 255, .22), transparent 65%),
        radial-gradient(520px 360px at -5% 105%, rgba(184, 77, 255, .14), transparent 65%);
    color: var(--on-dark);
}
.hero__inner { display: grid; gap: 40px; align-items: center; }
.hero__copy { min-width: 0; container-type: inline-size; }
/* Sized from its own column too (cqi), so "Done Proper." never breaks onto a fourth line: that line needs 6.72em. */
.hero__title {
    font-size: clamp(2.75rem, 1.55rem + 5.4vw, 5.4rem);               /* fallback for older browsers */
    font-size: min(clamp(2.75rem, 1.55rem + 5.4vw, 5.4rem), 14.5cqi); /* never wider than its column */
    font-weight: 800; line-height: .98; letter-spacing: -.045em; color: var(--white); margin: 0 0 24px;
}
.hero__line { display: block; }
.hero__spark { display: inline-block; width: .5em; height: .5em; margin-left: .04em; vertical-align: top; transform: translateY(-.12em); }
.hero__sub { font-size: 1.125rem; line-height: 1.6; color: #C2CAD6; max-width: 33em; margin: 0 0 28px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 30px; }
.hero__ctas .btn { flex: 1 1 auto; }
.hero__soon { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.hero__soon-label { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); }
.hero__art { width: 100%; max-width: 480px; margin-inline: auto; }
.hero__art svg { display: block; width: 100%; height: auto; overflow: visible; }

@media (min-width: 560px) { .hero__ctas .btn { flex: 0 0 auto; } }
@media (min-width: 960px) {
    .hero { padding: 84px 0 96px; }
    .hero__inner { grid-template-columns: 1.08fr .92fr; gap: 40px; }
    .hero__sub { font-size: 1.1875rem; }
    .hero__art { max-width: 600px; margin-right: -12px; }
}

/* ------------------------------------------------------------------ what's coming */
.coming { padding: 56px 0; background: var(--white); border-bottom: 1px solid var(--line); }
.coming__head { display: grid; gap: 8px; margin-bottom: 28px; }
.coming__title { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); font-weight: 800; letter-spacing: -.035em; margin: 0; }
.coming__head p { margin: 0; color: var(--muted); max-width: 40em; }
.coming__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
.coming-card {
    display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 4px; align-items: start;
    padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--light);
}
.coming-card .icon-tile { grid-row: span 3; }
.coming-card h3 { font-size: 1.0625rem; letter-spacing: -.01em; line-height: 1.3; margin: 2px 0 0; }
.coming-card p { font-size: .9375rem; line-height: 1.5; color: var(--muted); margin: 0; }
.coming-card .tag { justify-self: start; margin-top: 6px; }
@media (min-width: 560px) {
    .coming__grid { grid-template-columns: repeat(2, 1fr); }
    .coming-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px; }
    .coming-card p { flex: 1; }
    .coming-card h3 { margin-top: 6px; }
}
@media (min-width: 900px) { .coming__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .coming__head { grid-template-columns: 1fr 1.3fr; align-items: end; gap: 32px; } .coming { padding: 64px 0; } }
@media (min-width: 1140px) { .coming__grid { grid-template-columns: repeat(5, 1fr); } }
/* Five cards: no orphan or empty cell between the 1-column and 5-column layouts. Written for exactly five cards. */
@media (min-width: 560px) and (max-width: 899px) {
    /* 2 + 2 + 1: the last card spans the row and goes back to the icon-left layout */
    .coming-card:last-child {
        grid-column: 1 / -1;
        display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 4px; align-items: start;
    }
    .coming-card:last-child h3 { margin-top: 2px; }
}
@media (min-width: 900px) and (max-width: 1139px) {
    /* 3 + 2: six tracks; the first three cards span 2 each, the last two span 3 each */
    .coming__grid { grid-template-columns: repeat(6, 1fr); }
    .coming-card { grid-column: span 2; }
    .coming-card:nth-child(n+4) { grid-column: span 3; }
}

/* ------------------------------------------------------------------ section heads */
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-title { font-size: clamp(2rem, 1.35rem + 2.5vw, 3.1rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.04; margin: 0 0 16px; }
.section-lead { font-size: 1.125rem; color: var(--muted); margin: 0; }

/* ------------------------------------------------------------------ free stuff (lead magnets) */
.free { padding: 72px 0; background: var(--light); }
.free--compact { padding: 48px 0 80px; }
/* minmax(0, 1fr): a long nowrap button must not widen the column past a 320px screen; card buttons wrap instead. */
.free__grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
.card .btn { max-width: 100%; white-space: normal; }
@media (min-width: 960px) {
    .free { padding: 104px 0; }
    .free__grid { grid-template-columns: 1.3fr 1fr; }
    .free__grid .card--feature { grid-row: span 2; }
}
.card {
    position: relative; display: flex; flex-direction: column; align-items: flex-start;
    padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
}
.card--feature { border: 2px solid var(--blue); }
@media (min-width: 768px) { .card { padding: 32px; } }
/* 2px border + 31px = 1px border + 32px on the cards beside it, so icon tiles and tags line up. */
@media (min-width: 960px) { .card--feature { padding: 31px 40px 40px; } }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-bottom: 20px; }
.card__kicker { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin: 0 0 6px; }
.card__title { font-size: 1.5rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.15; margin: 0 0 10px; }
.card--feature .card__title { font-size: clamp(1.75rem, 1.35rem + 1.3vw, 2.3rem); font-weight: 800; letter-spacing: -.035em; }
.card__text { color: var(--muted); margin: 0 0 20px; }
.card__cta { margin-top: auto; padding-top: 4px; }
.card__fine { font-size: .8125rem; line-height: 1.5; color: var(--muted); margin: 14px 0 0; }
.ticks { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; font-weight: 500; color: var(--ink); line-height: 1.45; }
.ticks svg { width: 20px; height: 20px; flex: none; padding: 3px; margin-top: 1px; border-radius: 50%; background: var(--lime); color: var(--dark); stroke-width: 3; }

/* ------------------------------------------------------------------ forms */
.bip-form { position: relative; width: 100%; }
.bip-form__hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.bip-form__fields { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field__label { font-size: .875rem; font-weight: 600; color: var(--ink); }
.field__wrap { position: relative; display: block; }
.field__icon { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: #6B7585; pointer-events: none; }
.field__input {
    width: 100%; min-height: 52px; padding: .75em 1em; margin: 0;
    border: 1.5px solid #848E9D; border-radius: 12px;   /* 3.3:1 on white: the field edge must be visible */ background: var(--white); color: var(--ink);
    font-size: 1rem; line-height: 1.3; transition: border-color .15s ease, box-shadow .15s ease;
    -webkit-appearance: none; appearance: none;
}
.field--email .field__input { padding-left: 44px; }
.field__input::placeholder { color: #6B7585; opacity: 1; }   /* 4.7:1 */
.field__input:hover { border-color: var(--muted); }
.field__input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 102, 255, .18); }
.field__input[aria-invalid="true"] { border-color: var(--error); }
.bip-form__submit { display: inline-grid; place-items: center; min-height: 52px; }
.bip-form__submit > * { grid-area: 1 / 1; }
.btn__label { display: inline-flex; align-items: center; justify-content: center; gap: .55em; }
.btn__spinner {
    width: 1.3em; height: 1.3em; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent;
    visibility: hidden;
}
.bip-form__submit.is-busy .btn__label { opacity: 0; }   /* not visibility: the button keeps its accessible name */
.bip-form__submit.is-busy .btn__spinner { visibility: visible; animation: bip-spin .7s linear infinite; }
@keyframes bip-spin { to { transform: rotate(360deg); } }

.bip-form--stack .bip-form__submit { width: 100%; }
@media (min-width: 640px) {
    .bip-form--stack .bip-form__fields { grid-template-columns: 1fr 1fr; }
    .bip-form--stack .bip-form__submit { grid-column: 1 / -1; justify-self: start; width: auto; }
}
/* Row form: the layout follows the form's own width, not the viewport (the newsletter column is narrow at 960-1150px). */
.bip-form--row { container-type: inline-size; }
@container (min-width: 440px) {
    .bip-form--row .bip-form__fields { grid-template-columns: 1fr 1fr; }
    .bip-form--row .bip-form__submit { grid-column: 1 / -1; justify-self: start; }
}
@container (min-width: 580px) {
    .bip-form--row .bip-form__fields { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) auto; align-items: end; }
    .bip-form--row .bip-form__submit { grid-column: auto; }
}

.bip-form__status { margin: 12px 0 0; font-size: .9375rem; font-weight: 500; }
/* Always rendered (an empty <p> is 0px tall): a live region removed from the tree is not reliably announced. */
.bip-form__status:empty { margin: 0; padding: 0; }
.bip-form__status.is-pending {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap;
}
.bip-form__status.is-error { padding: 10px 14px; border-radius: 10px; background: var(--error-bg); color: var(--error); }
.bip-form.is-done .bip-form__fields { display: none; }
.bip-form.is-done .bip-form__status {
    position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap;
}
.bip-form__done {
    display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 14px;
    background: #F5FFD9; border: 1px solid #DCF38F; color: var(--body); text-align: left;
}
.bip-form__done:focus { outline: none; }
.bip-form__done:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.bip-form__done-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--lime); color: var(--dark); flex: none; }
.bip-form__done-icon svg { width: 20px; height: 20px; stroke-width: 3; }
.bip-form .bip-form__done-title { font-family: var(--font-head); font-weight: 700; font-size: 1.125rem; line-height: 1.3; color: var(--ink); margin: 0 0 4px; }
.bip-form .bip-form__done-text { margin: 0; font-size: .9375rem; color: var(--body); }
.bip-form__done-extra { margin: 14px 0 0; }

/* ------------------------------------------------------------------ newsletter */
/* overflow: clip (not just hidden) so focusing the success panel can never scroll the section sideways to its decorative shapes. */
.newsletter { position: relative; overflow: hidden; overflow: clip; padding: 72px 0; background: var(--blue); color: var(--white); }
.newsletter::before, .newsletter::after { content: ""; position: absolute; pointer-events: none; border-radius: 32px; }
.newsletter::before { width: 170px; height: 140px; right: -96px; top: -96px; background: var(--lime); transform: rotate(-12deg); }
.newsletter::after { width: 140px; height: 140px; left: -90px; bottom: -100px; background: var(--purple); border-radius: 50%; }
@media (min-width: 960px) {
    .newsletter::before { width: 260px; height: 220px; right: -90px; top: -110px; }
    .newsletter::after { width: 200px; height: 200px; left: -110px; bottom: -120px; }
}
.newsletter__inner { position: relative; z-index: 1; display: grid; gap: 28px; align-items: center; }
.newsletter .section-title { color: var(--white); }
.newsletter p { color: var(--white); }
.newsletter__copy p:last-child { margin-bottom: 0; font-size: 1.0625rem; max-width: 34em; }
.newsletter .field__label { color: var(--white); }
.newsletter .field__input { border-color: transparent; }
.newsletter .field__input:focus { border-color: var(--dark); box-shadow: 0 0 0 4px rgba(198, 255, 0, .85); }
.newsletter__privacy { margin: 14px 0 0; font-size: .875rem; line-height: 1.5; }
.newsletter__privacy a { color: var(--white); text-decoration: underline; text-underline-offset: .2em; }
.newsletter__form { min-width: 0; }
@media (min-width: 960px) {
    .newsletter { padding: 96px 0; }
    .newsletter__inner { grid-template-columns: 1fr 1.2fr; gap: 56px; }
}

/* ------------------------------------------------------------------ about */
.about { padding: 72px 0; background: var(--white); }
.about__inner { display: grid; gap: 36px; align-items: center; }
.about__copy p:not(.eyebrow) { font-size: 1.0625rem; max-width: 36em; }
.about__copy .text-link { margin-top: 4px; }
.about__card { position: relative; overflow: hidden; overflow: clip; padding: 30px; border-radius: var(--radius-lg); background: var(--dark); color: var(--on-dark); }
.about__card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 28px; background: var(--lime); transform: rotate(18deg); opacity: .95; }
/* Right padding keeps the kicker clear of the lime corner square on narrow phones. */
.about__card-kicker { position: relative; z-index: 1; margin: 0; padding-right: 72px; text-wrap: balance; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); }
.principles { position: relative; z-index: 1; list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 20px; }
.principles li { display: grid; grid-template-columns: 1.5em 1fr; gap: 14px; line-height: 1.5; }
.principles__n { font-family: var(--font-head); font-weight: 800; color: var(--lime); padding-top: 3px; font-variant-numeric: tabular-nums; }
.principles strong { display: block; font-family: var(--font-head); font-size: 1.125rem; font-weight: 700; letter-spacing: -.01em; color: var(--white); margin-bottom: 2px; }
@media (min-width: 960px) {
    .about { padding: 104px 0; }
    .about__inner { grid-template-columns: 1.1fr .9fr; gap: 64px; }
    .about__card { padding: 40px; }
}

/* ------------------------------------------------------------------ footer */
.site-footer { padding: 56px 0 28px; background: var(--dark); color: #AEB7C4; font-size: .9375rem; }
.site-footer__inner { display: grid; gap: 36px; }
.site-footer a { color: #E6EAF0; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: .2em; }
.site-footer__logo { display: inline-flex; border-radius: 8px; }
.site-footer__logo:hover { text-decoration: none; }
.site-footer__tagline { margin: 20px 0 6px; font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; letter-spacing: -.035em; color: var(--white); }
.site-footer__blurb { max-width: 26em; margin: 0; }
.site-footer__heading { margin: 0 0 12px; font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--white); }
.site-footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__small { font-size: .875rem; line-height: 1.55; margin: 0 0 10px; }
.site-footer__socials { display: flex; gap: 10px; list-style: none; margin: 18px 0 0; padding: 0; }
.site-footer__socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .07); }
.site-footer__socials a:hover { background: var(--lime); color: var(--dark); }
.site-footer__socials svg { width: 22px; height: 22px; }
.site-footer__base {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px;
    margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .09);
    font-size: .8125rem; color: var(--on-dark-muted);
}
.site-footer__base p { margin: 0; }
@media (min-width: 860px) { .site-footer__inner { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; } }

/* ------------------------------------------------------------------ modal */
.modal { width: 100%; max-width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; background: transparent; color: var(--body); overflow: visible; }
.modal::backdrop { background: rgba(11, 15, 20, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal[open] { animation: bip-pop .2s ease-out; }
@keyframes bip-pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal__box { position: relative; max-height: calc(100dvh - 32px); overflow: auto; padding: 30px 22px 24px; border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.modal__box > .icon-tile { vertical-align: middle; margin-right: 10px; }
.modal__box > .tag { vertical-align: middle; }
.modal__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.9rem); font-weight: 800; letter-spacing: -.035em; margin: 18px 0 10px; padding-right: 30px; }
.modal__desc { color: var(--muted); margin: 0 0 22px; }
.modal__close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: var(--radius-sm); background: var(--light); color: var(--ink); cursor: pointer; }
.modal__close:hover { background: var(--line); }
.modal__close svg { width: 20px; height: 20px; }
.modal .bip-form__fields { grid-template-columns: 1fr; }
.modal .bip-form__submit { width: 100%; justify-self: stretch; }
@media (min-width: 520px) { .modal__box { padding: 40px 36px 32px; } }
html:has(dialog[open]) { overflow: hidden; }

/* ------------------------------------------------------------------ inner pages */
.page-hero { padding: 56px 0 52px; background: var(--dark); color: var(--on-dark); }
.page-hero__title { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.03; color: var(--white); margin: 0 0 16px; }
.page-hero__sub { font-size: 1.125rem; color: #C2CAD6; max-width: 40em; margin: 0; }
.page-hero--center { text-align: center; }
.page-hero--center .page-hero__sub { margin-inline: auto; }
.page-hero--tall { padding: 88px 0 96px; }
.hero__ctas--center { justify-content: center; margin: 30px 0 0; }
.error-code { margin: 0 0 6px; font-family: var(--font-head); font-size: clamp(5rem, 3rem + 8vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px var(--lime); }
@supports not (-webkit-text-stroke: 2px red) { .error-code { color: var(--lime); } }
@media (min-width: 960px) { .page-hero { padding: 80px 0 72px; } }

.result-notice { padding: 14px 0; background: var(--lime); color: var(--dark); }
.result-notice.is-error { background: #FEE4E2; color: #7A271A; }
.result-notice__inner { display: flex; gap: 12px; align-items: center; }
.result-notice__icon svg { width: 22px; height: 22px; display: block; }
.result-notice p { margin: 0; }

/* posts */
.posts { padding: 56px 0 88px; background: var(--light); }
.posts__grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .posts__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .posts__grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.post-card__media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; }
.post-card__title { font-size: 1.3rem; margin: 0; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a:hover { color: var(--blue); }
.post-card__excerpt { margin: 0; font-size: .9375rem; color: var(--muted); }
.post-card__meta { margin: auto 0 0; font-size: .8125rem; color: var(--muted); }
.empty { max-width: 560px; margin: 0 auto; padding: 32px 0; text-align: center; }
.empty p { color: var(--muted); }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination .page-numbers { padding: .5em .95em; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); color: var(--ink); text-decoration: none; }
.pagination .page-numbers.current { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* article */
.article__crumbs { margin: 0 0 16px; font-size: .875rem; color: var(--on-dark-muted); }
.article__crumbs a { color: var(--on-dark); }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; font-size: .9375rem; color: #AEB7C4; }
.article__media { padding-top: 32px; }
.article__media img { display: block; width: 100%; border-radius: var(--radius); }
.article__tags { margin: 8px 0 0; }
.article__cta { margin: 48px 0; padding: 28px; border-radius: var(--radius-lg); background: var(--blue); color: var(--white); }
.article__cta-title { margin: 0 0 8px; font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; color: var(--white); }
.article__cta p { color: var(--white); }
.article__cta .field__label { color: var(--white); }
.article__cta .field__input { border-color: transparent; }
@media (min-width: 768px) { .article__cta { padding: 36px; } }
.article__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 24px 0 72px; border-top: 1px solid var(--line); font-weight: 600; }
.article__nav a { text-decoration: none; }
.article__nav-next { margin-left: auto; text-align: right; }

.prose { padding: 48px 0 24px; font-size: 1.125rem; line-height: 1.75; color: #2B3440; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.75rem; letter-spacing: -.03em; margin: 2em 0 .6em; }
.prose h3 { font-size: 1.375rem; margin: 1.7em 0 .5em; }
.prose a { color: var(--blue); text-decoration-thickness: .08em; text-underline-offset: .18em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--blue); }
.prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--lime); font-size: 1.25rem; color: var(--ink); }
.prose code { font-size: .88em; padding: .1em .35em; border-radius: 6px; background: #EEF2F8; color: var(--ink); }
.prose pre { overflow: auto; padding: 20px; border-radius: 14px; background: var(--dark); color: #E6EAF0; font-size: .9rem; line-height: 1.6; }
.prose pre code { padding: 0; background: none; color: inherit; }
.prose img { border-radius: 14px; }
.prose figure { margin: 2em 0; }
.prose figcaption, .prose .wp-caption-text { margin-top: 8px; font-size: .875rem; color: var(--muted); }
.prose hr { margin: 2.5em 0; border: 0; border-top: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.prose th, .prose td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.prose .alignleft { float: left; margin: .3em 1.5em 1em 0; }
.prose .alignright { float: right; margin: .3em 0 1em 1.5em; }
.prose .aligncenter { display: block; margin-inline: auto; }

/* ------------------------------------------------------------------ motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .bip-form__submit.is-busy .btn__spinner { animation-duration: 1.4s !important; animation-iteration-count: infinite !important; }
    .btn:hover .btn__arrow { transform: none; }
}
