/* ============================================================
   OakbrookOne Website — UI Kit styles
   Consumes tokens from ../../colors_and_type.css
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: var(--tracking-tight);
  line-height: 1.08;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }
::-moz-selection { background: var(--ob1-magenta); color: #fff; }
::selection { background: var(--ob1-magenta); color: #fff; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .wrap { padding-inline: 32px; } }
.wrap-narrow { max-width: 1100px; }

.section { padding-block: clamp(4.5rem, 8vw, 7rem); }
.eyebrow {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--ob1-cyan);
}
.accent { color: var(--ob1-magenta); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.18rem); line-height: 1.6; color: var(--fg-muted); }
.balance { text-wrap: balance; }
.tnum { font-variant-numeric: tabular-nums; }
.nowrap-lg { }
@media (min-width:1024px){ .nowrap-lg { white-space: nowrap; } }

/* Backgrounds ------------------------------------------------ */
.bg-navy { background: var(--ob1-navy); color: #fff; }
.bg-navy-deep { background: var(--ob1-navy-deep); color: #fff; }
.bg-navy-surface { background: var(--ob1-navy-surface); color: #fff; }
.bg-cloud { background: var(--ob1-cloud); }
.bg-offwhite { background: var(--ob1-offwhite); }
.bg-white { background: #fff; }

.bg-hero-glow {
  background:
    radial-gradient(ellipse at 85% 90%, rgba(123,91,255,0.42) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 20%, rgba(60,196,244,0.32) 0%, transparent 55%),
    var(--ob1-navy);
}
.bg-navy-glow {
  background:
    radial-gradient(ellipse at 15% 10%, rgba(60,196,244,0.28) 0%, transparent 55%),
    var(--ob1-navy);
}
.text-white { color:#fff; }
.text-w85 { color: rgba(255,255,255,0.85); }
.text-w75 { color: rgba(255,255,255,0.75); }
.text-cyan { color: var(--ob1-cyan); }
.text-muted { color: var(--fg-muted); }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--ob1-navy);
  transition: background .2s, border-color .2s, backdrop-filter .2s;
}
.nav.scrolled {
  background: rgba(9,11,67,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.nav__inner {
  max-width: 1280px; margin-inline: auto;
  height: 80px; padding-inline: 20px;
  display: flex; align-items: center; justify-content: space-between;
}
@media (min-width:768px){ .nav__inner { padding-inline: 32px; } }
.nav__logo { height: 40px; width: auto; }
.nav__links { display: none; align-items: center; gap: 32px; }
@media (min-width:1024px){ .nav__links { display: flex; } }
.nav__link {
  font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.85);
  transition: color .15s; display: inline-flex; align-items: center; gap: 4px;
  background: none; border: none; padding: 0;
}
.nav__link:hover { color: #fff; }
.nav__dd { position: relative; }
.nav__dd-panel {
  position: absolute; left: 50%; top: 100%; margin-top: 12px;
  transform: translateX(-50%);
  width: 280px; background: #fff; border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px -20px rgba(9,11,67,0.45);
  padding: 8px; z-index: 60;
}
.nav__dd-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-radius: 12px;
  font-size: 0.875rem; font-weight: 600; color: var(--ob1-navy);
  transition: background .15s;
}
.nav__dd-item:hover { background: var(--ob1-cloud); }
.nav__dd-item svg { color: var(--ob1-magenta); opacity: 0; transition: opacity .15s; }
.nav__dd-item:hover svg { opacity: 1; }
.nav__burger { display: inline-grid; place-items: center; padding: 8px; color: #fff; background: none; border: none; }
@media (min-width:1024px){ .nav__burger { display: none; } }
.nav__mobile { border-top: 1px solid rgba(255,255,255,0.10); background: var(--ob1-navy); }
.nav__mobile-inner { max-width: 1280px; margin-inline: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 2px; }
.nav__mobile a, .nav__mobile button {
  text-align: left; border: none; background: none;
  color: rgba(255,255,255,0.85); font-size: 0.9rem; font-weight: 500;
  padding: 12px 8px; border-radius: 8px; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__mobile a:hover, .nav__mobile button:hover { background: rgba(255,255,255,0.06); color:#fff; }
.nav__mobile-sub { margin: 4px 0 8px 12px; padding-left: 12px; border-left: 1px solid rgba(255,255,255,0.12); }
.nav__mobile-sub a { color: rgba(255,255,255,0.72); padding: 10px 8px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 1rem; line-height: 1;
  border-radius: 12px; border: none; cursor: pointer;
  transition: background .15s, transform .15s, opacity .15s, box-shadow .15s;
  text-decoration: none;
}
.btn--cta { background: var(--ob1-cyan); color: #fff; padding: 16px 28px; box-shadow: var(--shadow-cta); }
.btn--cta:hover { background: var(--ob1-cyan-hover); transform: translateY(-1px); }
.btn--cta-lg { padding: 18px 30px; }
.btn--ghost-dark { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); padding: 16px 28px; font-weight: 600; }
.btn--ghost-dark:hover { background: rgba(255,255,255,0.06); }
.btn--teal-pill { background: var(--ob1-cyan); color: var(--ob1-navy-deep); padding: 11px 24px; border-radius: 10px; font-size: 0.875rem; font-weight: 600; }
.btn--teal-pill:hover { background: #2fb6e8; }
.btn--block { width: 100%; }

/* ============================================================
   CARDS / SHARED
   ============================================================ */
.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-2xl); padding: 28px;
}
.divider-line { height: 1px; background: var(--border); }

/* eyebrow + heading block */
.head-block h2 { margin-top: 16px; font-size: clamp(1.9rem, 3.4vw, 3rem); color: var(--ob1-navy); }
.head-block .lead { margin-top: 16px; max-width: 640px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease-out, transform .6s ease-out; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity:1; transform:none; transition:none; } }

/* HubRing decoration */
.hubring { position: absolute; border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(circle, transparent 58%, rgba(255,255,255,0.55) 59%, transparent 62%),
    radial-gradient(circle, transparent 68%, rgba(255,255,255,0.35) 69%, transparent 72%),
    radial-gradient(circle, transparent 78%, rgba(255,255,255,0.22) 79%, transparent 82%);
}

/* ============================================================
   HERO (landing)
   ============================================================ */
.hero { position: relative; overflow: hidden; background: var(--ob1-navy); }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(140px); pointer-events: none; }
.hero__grid {
  max-width: 1200px; margin-inline: auto; padding: 56px 20px 80px;
  display: grid; gap: 48px; align-items: center; position: relative;
}
@media (min-width:768px){ .hero__grid { padding: 80px 32px 112px; } }
@media (max-width: 1023px){ .hero__grid { grid-template-columns: minmax(0, 1fr); } }
@media (min-width:1024px){
  .hero__grid { grid-template-columns: 1.1fr 1fr; gap: 64px; }
  /* animation sits in col 1 row 2; calculator spans both rows on the right */
  .hero__anim { grid-column: 1; grid-row: 2; }
  .hero__grid > :nth-child(2) { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}
.hero h1 {
  margin-top: 20px; color: #fff;
  font-size: clamp(2.6rem, 6vw, 4.5rem); line-height: 1.02; letter-spacing: -0.025em; font-weight: 800;
}
.hero__grad-word { background: linear-gradient(90deg, var(--ob1-cyan), var(--ob1-cyan) 40%, var(--ob1-violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { margin-top: 24px; max-width: 36rem; font-size: 1.125rem; line-height: 1.65; color: rgba(255,255,255,0.75); }
.trust-line { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.7); }

/* Trustpilot stars */
.tp-stars { display: inline-flex; gap: 4px; }
.tp-star { display: inline-grid; place-items: center; height: 28px; width: 28px; background: var(--success); }
.tp-star svg { color: #fff; fill: #fff; }

/* ============================================================
   CALCULATOR (glass)
   ============================================================ */
.calc-glass {
  position: relative; border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(255,255,255,0.95));
  box-shadow: 0 0 0 1px rgba(255,255,255,0.5) inset, var(--shadow-lg), 0 0 60px -10px rgba(253,36,242,0.25);
}
.calc-glass::before {
  content:""; position:absolute; inset:-1px; border-radius: inherit; padding:1px;
  background: linear-gradient(135deg, #FD24F2, #7B5BFF 45%, #3CC4F4);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.calc { position: relative; border-radius: 20px; background: #fff; padding: 28px; box-shadow: var(--shadow-lg); }
@media (min-width:768px){ .calc { padding: 36px; } }
.calc__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.calc__label { font-size: 1.125rem; color: var(--ob1-navy); }
.calc__pill { display: inline-flex; align-items: center; gap: 8px; border: 2px solid #7B5BFF; border-radius: 8px; padding: 7px 14px; cursor: pointer; }
.calc__pill span { font-size: 1.25rem; color: var(--ob1-navy); font-weight: 700; }
.calc__pill svg { color: #7B5BFF; }
input.calc__pill { font-size: 1.25rem; color: var(--ob1-navy); font-weight: 700; background: #fff; outline: none; min-width: 0; cursor: text; }
input.calc__pill::-webkit-inner-spin-button, input.calc__pill::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input.calc__pill { -moz-appearance: textfield; }
.range { width: 100%; margin-top: 12px; accent-color: #7B5BFF; height: 6px; }
.calc__result { font-size: 1.0625rem; color: var(--ob1-navy); }
.calc__result .v { color: var(--ob1-cyan); }
.calc__apr { margin-top: 20px; font-size: 1.0625rem; font-weight: 700; color: var(--ob1-navy); }
.calc__note { margin-top: 12px; font-size: 0.9375rem; color: rgba(9,11,67,0.7); }

.safety {
  margin-top: 20px; border-radius: 16px; border: 1px solid var(--border);
  background: #fff; padding: 20px; box-shadow: 0 20px 60px -30px rgba(9,11,67,0.35);
  display: flex; gap: 16px; align-items: flex-start;
}
.safety__icon { display: grid; place-items: center; height: 40px; width: 40px; flex-shrink: 0; border-radius: 12px; background: rgba(60,196,244,0.15); color: var(--ob1-cyan); }
.safety p { font-size: 0.9rem; line-height: 1.6; color: var(--ob1-navy); }
.safety a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ============================================================
   STAT BAND
   ============================================================ */
.stats { display: grid; gap: 40px; margin-top: 48px; }
@media (min-width:640px){ .stats { grid-template-columns: repeat(3,1fr); } }
.stat { text-align: center; }
.stat__num { font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 800; color: var(--ob1-cyan); }
.stat__label { margin-top: 8px; font-size: 0.875rem; color: rgba(255,255,255,0.75); }

/* Representative example */
.repex { border-block: 1px solid var(--border); background: var(--ob1-offwhite); }
.repex p { font-size: 0.9rem; line-height: 1.6; color: rgba(9,11,67,0.85); }

/* ============================================================
   COMPARISON CARDS
   ============================================================ */
.cmp-grid { display: grid; gap: 24px; margin-top: 48px; }
@media (min-width:1024px){ .cmp-grid { grid-template-columns: 1fr 1fr; } }
.cmp { border-radius: 20px; padding: 28px; height: 100%; }
@media (min-width:768px){ .cmp { padding: 32px; } }
.cmp--trad { background: #F3F3F5; }
.cmp--ob1 { position: relative; overflow: hidden; border: 1px solid rgba(123,91,255,0.4); background: var(--ob1-navy); color: #fff; }
.cmp--ob1 .cmp__blob { position: absolute; right: -80px; top: -80px; height: 240px; width: 240px; border-radius: 50%; background: rgba(123,91,255,0.3); filter: blur(48px); }
.cmp__kicker { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--fg-muted); }
.cmp--ob1 .cmp__badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; background: rgba(60,196,244,0.15); padding: 4px 10px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ob1-cyan); }
.cmp h3 { margin-top: 8px; font-size: 1.5rem; font-weight: 700; color: var(--ob1-navy); }
.cmp--ob1 h3 { color: #fff; }
.cmp ul { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.cmp li { display: flex; gap: 12px; color: rgba(9,11,67,0.85); }
.cmp--ob1 li { color: rgba(255,255,255,0.9); }
.cmp li svg { flex-shrink: 0; margin-top: 2px; }
.cmp--trad li svg { color: #FF6B5C; }
.cmp--ob1 li svg { color: var(--ob1-cyan); }
.cmp__pos { position: relative; }

/* ============================================================
   HOW IT WORKS (steps + phone)
   ============================================================ */
.how-grid { margin-top: 56px; display: grid; gap: 48px; align-items: center; }
@media (min-width:1024px){ .how-grid { grid-template-columns: 1fr minmax(0,420px); gap: 64px; } }
.steps { position: relative; display: grid; gap: 24px; }
.steps__line { position: absolute; left: 34px; top: 16px; bottom: 16px; width: 1px;
  background: linear-gradient(to bottom, rgba(253,36,242,0.4), rgba(123,91,255,0.4), rgba(60,196,244,0.4)); display:none; }
@media (min-width:768px){ .steps__line { display: block; } }
.step { position: relative; display: flex; gap: 20px; border-radius: 20px; border: 1px solid var(--border); background: #fff; padding: 24px; }
@media (min-width:768px){ .step { padding: 28px; } }
.step__num {
  flex-shrink: 0; font-family: var(--font-display); font-weight: 800; font-size: 4.5rem; line-height: 1;
  letter-spacing: -0.04em; -webkit-text-stroke: 1.5px var(--ob1-navy); color: transparent;
}
.step__head { display: flex; align-items: center; gap: 8px; }
.step__icon { display: grid; place-items: center; height: 36px; width: 36px; border-radius: 10px; background: rgba(123,91,255,0.10); color: var(--ob1-magenta); }
.step h3 { font-size: 1.25rem; font-weight: 700; color: var(--ob1-navy); }
.step p { margin-top: 12px; font-size: 1rem; line-height: 1.6; color: var(--fg-muted); }
.phone-wrap { position: relative; margin-inline: auto; width: 100%; max-width: 420px; }
.phone-wrap__orb { position: absolute; inset: 0; margin: auto; height: 78%; width: 78%; border-radius: 50%; opacity: 0.7; filter: blur(48px);
  background: radial-gradient(circle at 35% 35%, #FD24F2 0%, #7B5BFF 45%, #3CC4F4 80%, transparent 100%); }
.phone-wrap img { position: relative; z-index: 1; width: 100%; filter: drop-shadow(0 30px 60px rgba(9,11,67,0.35)); }

/* ============================================================
   REVIEWS marquee
   ============================================================ */
.marquee { overflow: hidden; }
.marquee__track { display: flex; width: -moz-max-content; width: max-content; gap: 24px; will-change: transform; }
.review {
  display: flex; flex-direction: column; width: 320px; flex-shrink: 0;
  border-radius: 12px; background: #fff; padding: 24px; box-shadow: 0 10px 30px -20px rgba(9,11,67,0.4);
}
@media (min-width:768px){ .review { width: 360px; } }
.review__top { display: flex; align-items: center; justify-content: space-between; }
.review h3 { margin-top: 16px; font-size: 1.25rem; font-weight: 800; line-height: 1.2; color: var(--ob1-navy); }
.review p { margin-top: 12px; font-size: 0.875rem; line-height: 1.6; color: rgba(9,11,67,0.7);
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review__name { margin-top: auto; padding-top: 24px; font-size: 0.875rem; font-weight: 600; color: var(--ob1-magenta); }
.tp-bar { margin-top: 40px; display: flex; align-items: center; justify-content: center; gap: 12px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { border: 1px solid var(--border); border-radius: 20px; background: #fff; overflow: hidden; }
.faq__item + .faq__item { border-top: 1px solid var(--border); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; text-align: left; background: none; border: none; padding: 20px; }
@media (min-width:768px){ .faq__q { padding: 24px 28px; } }
.faq__q span:first-child { font-size: 1rem; font-weight: 700; color: var(--ob1-navy); }
@media (min-width:768px){ .faq__q span:first-child { font-size: 1.125rem; } }
.faq__toggle { display: grid; place-items: center; height: 36px; width: 36px; flex-shrink: 0; border-radius: 999px; border: 1px solid var(--border); color: var(--ob1-magenta); transition: background .15s, border-color .15s, color .15s; }
.faq__item.open .faq__toggle { background: var(--ob1-magenta); border-color: var(--ob1-magenta); color: #fff; }
.faq__a { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .3s ease, opacity .3s ease; }
.faq__item.open .faq__a { grid-template-rows: 1fr; opacity: 1; }
.faq__a-inner { min-height: 0; }
.faq__a p { padding: 0 20px 24px 20px; font-size: 0.95rem; line-height: 1.6; color: var(--fg-muted); }
@media (min-width:768px){ .faq__a p { padding: 0 28px 24px 28px; } }
.faq__a .rich-text { padding: 0 20px 24px 20px; font-size: 0.95rem; line-height: 1.6; color: var(--fg-muted); }
@media (min-width:768px){ .faq__a .rich-text { padding: 0 28px 24px 28px; } }
.faq__a .rich-text p { padding: 0; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.finalcta { position: relative; overflow: hidden; }
.finalcta__inner { position: relative; text-align: center; padding-block: clamp(5rem,9vw,7rem); }
.finalcta h2 { font-size: clamp(2.25rem, 4vw, 3rem); color: #fff; }
.finalcta__buttons { margin-top: 36px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
@media (min-width:640px){ .finalcta__buttons { flex-direction: row; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ob1-navy-deep); color: #fff; }
.footer__inner { max-width: 1280px; margin-inline: auto; padding: 64px 20px; }
@media (min-width:768px){ .footer__inner { padding: 80px 40px; } }
.footer__top { display: flex; flex-direction: column; gap: 40px; align-items: flex-start; }
@media (min-width:768px){ .footer__top { flex-direction: row; align-items: flex-start; justify-content: space-between; } }
.footer__logo { height: 56px; width: auto; }
.footer__social { display: flex; gap: 16px; }
.footer__social a { display: grid; place-items: center; height: 32px; width: 32px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.4); color: rgba(255,255,255,0.9); transition: color .15s, border-color .15s; }
.footer__social a:hover { color: #fff; border-color: #fff; }
.footer__cols { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 32px; }
@media (min-width:768px){ .footer__cols { grid-template-columns: 1fr 1fr auto; } }
.footer h3 { font-size: 1rem; font-weight: 700; color: #fff; }
.footer ul { list-style: none; margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.footer li a { font-size: 0.875rem; color: rgba(255,255,255,0.85); }
.footer li a:hover { color: #fff; }
.footer__legal { margin-top: 64px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 1.6; color: rgba(255,255,255,0.85); }
.footer__powered { margin-top: 40px; font-size: 0.875rem; font-weight: 600; color: #fff; }

/* ============================================================
   MODAL
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(6,8,47,0.8); backdrop-filter: blur(4px); }
.modal__box { position: relative; width: 100%; max-width: 28rem; border-radius: 20px; background: #fff; padding: 28px; box-shadow: 0 40px 100px -20px rgba(0,0,0,0.5); }
@media (min-width:768px){ .modal__box { padding: 32px; } }
.modal__close { position: absolute; right: 16px; top: 16px; display: grid; place-items: center; height: 32px; width: 32px; border-radius: 999px; border: none; background: none; color: var(--fg-muted); }
.modal__close:hover { background: var(--ob1-cloud); color: var(--ob1-navy); }
.field label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--ob1-navy); }
.field input { margin-top: 6px; width: 100%; border-radius: 10px; border: 1px solid var(--border); background: var(--bg); padding: 10px 14px; font-size: 1rem; color: var(--ob1-navy); outline: none; transition: border-color .15s, box-shadow .15s; }
.field input:focus { border-color: var(--ob1-magenta); box-shadow: 0 0 0 3px rgba(253,36,242,0.15); }

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.sticky-cta { position: fixed; inset-inline: 0; bottom: 0; z-index: 40; border-top: 1px solid var(--border); background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); padding: 12px 16px; transform: translateY(110%); transition: transform .3s; }
.sticky-cta.show { transform: none; }
@media (min-width:768px){ .sticky-cta { display: none; } }
.sticky-cta__note { margin-top: 6px; text-align: center; font-size: 11px; color: var(--fg-muted); }

/* ============================================================
   PAGE HERO (about / blog) + prose
   ============================================================ */
.page-hero { position: relative; overflow: hidden; }
.page-hero__inner { position: relative; text-align: center; padding-block: clamp(5rem, 10vw, 8rem); }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); }
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width:1024px){ .split { grid-template-columns: minmax(0,420px) 1fr; gap: 64px; } }
.split--rev { }
@media (min-width:1024px){ .split--rev { grid-template-columns: 1fr minmax(0,420px); } }
/* Top-align the columns instead of centring them — for splits where the text
   column is much taller than the image (e.g. About → "Who we are"). */
.split--top { align-items: start; }
.split img { width: 100%; border-radius: 24px; }
.who-float::after { content: ''; display: table; clear: both; }
.who-float__img { float: right; width: min(400px, 42%); border-radius: 24px; margin: 4px 0 32px 48px; }
@media (max-width:767px) { .who-float__img { float: none; width: 100%; margin: 0 0 28px; } }
.prose p { font-size: 1.0625rem; line-height: 1.65; color: var(--fg-muted); }
.prose p + p { margin-top: 16px; }
.prose h2, .prose h3 { margin-top: 40px; margin-bottom: 12px; color: var(--ob1-navy); }
.prose h2 + p, .prose h3 + p { margin-top: 0; }
.legal-prose h1 { font-size: clamp(1.75rem,4vw,2.75rem); color: var(--ob1-navy); margin-bottom: 8px; }
.legal-prose h2 { font-size: 1.25rem; margin-top: 48px; margin-bottom: 10px; color: var(--ob1-navy); }
.legal-prose h3 { font-size: 1.0625rem; margin-top: 32px; margin-bottom: 8px; color: var(--ob1-navy); }
.legal-prose p { font-size: 1rem; line-height: 1.7; color: var(--fg-muted); margin-top: 12px; }
.legal-prose ul, .legal-prose ol { margin: 12px 0 12px 1.5rem; }
.legal-prose li { font-size: 1rem; line-height: 1.7; color: var(--fg-muted); margin-top: 6px; }
.legal-prose a { color: var(--ob1-navy); text-decoration: underline; }
.legal-prose a:hover { color: var(--ob1-magenta); }
.legal-prose .last-updated { font-size: 0.875rem; color: var(--fg-muted); margin-bottom: 40px; }

.value-grid { display: grid; gap: 20px; }
@media (min-width:640px){ .value-grid { grid-template-columns: 1fr 1fr; } }
.value-card { border-radius: 20px; border: 1px solid var(--border); background: #fff; padding: 24px; }
.value-card p:first-child { font-size: 1rem; font-weight: 700; color: var(--ob1-navy); }
.value-card p:last-child { margin-top: 8px; font-size: 0.875rem; color: var(--fg-muted); }

.quote-big { position: relative; margin-top: 32px; }
.quote-big .mark { position: absolute; left: -8px; top: -28px; font-size: 4rem; line-height: 1; color: var(--ob1-cyan); }
@media (min-width:768px){ .quote-big .mark { left: -16px; font-size: 5rem; } }
.quote-big p { font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 500; line-height: 1.5; color: #fff; }
.quote-big footer { margin-top: 32px; font-size: 1rem; color: rgba(255,255,255,0.85); }

/* ============================================================
   BLOG
   ============================================================ */
.search { position: relative; max-width: 36rem; margin: 0 auto 32px; }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--fg-muted); pointer-events: none; }
.search input { width: 100%; border-radius: 999px; border: 1px solid var(--border); background: #fff; padding: 12px 48px; font-size: 1rem; color: var(--ob1-navy); box-shadow: 0 1px 2px rgba(9,11,67,0.05); outline: none; }
.search input:focus { border-color: var(--ob1-magenta); box-shadow: 0 0 0 3px rgba(253,36,242,0.18); }
.search__clear { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; height: 28px; width: 28px; border-radius: 999px; border: none; background: none; color: var(--fg-muted); }
.search__clear:hover { background: var(--ob1-cloud); color: var(--ob1-navy); }
.cats { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
@media (min-width:768px){ .cats { gap: 12px; } }
.cat { border: none; background: none; border-radius: 999px; padding: 10px 20px; font-size: 0.875rem; font-weight: 600; color: var(--fg-muted); transition: background .15s, color .15s; }
@media (min-width:768px){ .cat { font-size: 1rem; } }
.cat:hover { color: var(--ob1-navy); }
.cat.active { background: var(--ob1-navy); color: #fff; }
.featured { display: grid; gap: 32px; align-items: center; border-radius: 24px; background: #fff; padding: 24px; border: 1px solid var(--border); box-shadow: 0 1px 2px rgba(9,11,67,0.05); }
@media (min-width:768px){ .featured { grid-template-columns: 1fr 1fr; padding: 40px; } }
.featured__img { position: relative; overflow: hidden; border-radius: 16px; background: var(--ob1-cloud); }
.featured__img img { aspect-ratio: 4/3; width: 100%; -o-object-fit: cover; object-fit: cover; }
.tag { position: absolute; right: 16px; top: 16px; z-index: 2; border-radius: 999px; background: rgba(255,255,255,0.95); padding: 4px 12px; font-size: 0.75rem; font-weight: 600; color: var(--ob1-navy); box-shadow: 0 1px 3px rgba(9,11,67,0.15); }
.featured h2 { margin-top: 16px; font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.15; color: var(--ob1-navy); }
.featured p.excerpt { margin-top: 20px; font-size: 1.0625rem; line-height: 1.6; color: var(--fg-muted); }
.author { margin-top: 24px; display: flex; align-items: center; gap: 12px; }
.author__av { display: grid; place-items: center; height: 40px; width: 40px; border-radius: 999px; background: rgba(123,91,255,0.15); font-size: 0.875rem; font-weight: 700; color: var(--ob1-magenta); }
.author__name { font-size: 0.875rem; font-weight: 600; color: var(--ob1-navy); }
.author__date { font-size: 0.75rem; color: var(--fg-muted); }
.posts { display: grid; gap: 24px; margin-top: 0; }
@media (min-width:768px){ .posts { grid-template-columns: 1fr 1fr; } }
@media (min-width:1024px){ .posts { grid-template-columns: repeat(3,1fr); gap: 32px; } }
.post { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 16px; background: #fff; border: 1px solid var(--border); transition: box-shadow .2s, transform .2s; }
.post:hover { box-shadow: 0 20px 50px -24px rgba(9,11,67,0.35); transform: translateY(-2px); }
.post__img { position: relative; overflow: hidden; }
.post__img img { aspect-ratio: 16/10; width: 100%; -o-object-fit: cover; object-fit: cover; transition: transform .5s; }
.post:hover .post__img img { transform: scale(1.05); }
.post__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.post h3 { font-size: 1.125rem; font-weight: 800; line-height: 1.3; color: var(--ob1-navy); }
@media (min-width:768px){ .post h3 { font-size: 1.25rem; } }
.post p { margin-top: 12px; font-size: 0.875rem; line-height: 1.6; color: var(--fg-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rich-text a { color: var(--ob1-magenta); text-decoration: underline; }
.rich-text a:hover { opacity: 0.8; }

/* Help page */
.help-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width:900px){ .help-grid { grid-template-columns: 1fr 1fr; gap: 0; } }
.help-illus { display: flex; align-items: flex-start; justify-content: center; }
@media (min-width:900px){
  .help-illus { border-left: 1px solid var(--border); padding-left: 56px; min-height: 460px; align-items: center; }
}
.help-illus img { width: 100%; max-width: 320px; }
.help-tiles { display: grid; gap: 20px; }
@media (min-width:640px){ .help-tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width:1024px){ .help-tiles { grid-template-columns: repeat(4,1fr); } }
.help-tile { border-radius: 20px; background: #fff; padding: 24px; border: 1px solid var(--border); box-shadow: 0 10px 30px -18px rgba(9,11,67,0.2); transition: transform .2s, box-shadow .2s; }
.help-tile:hover { transform: translateY(-2px); box-shadow: 0 22px 48px -24px rgba(9,11,67,0.28); }
.help-tile p:first-child { font-size: 1rem; font-weight: 800; color: var(--ob1-navy); }
.help-tile__more { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; font-weight: 600; color: var(--ob1-magenta); }
.help-list { list-style: disc; margin-left: 20px; display: flex; flex-direction: column; gap: 12px; color: var(--ob1-navy); }
.help-list a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; color: var(--ob1-magenta); }

/* Sub-page content cards */
.subpage-cards { display: grid; gap: 20px; }
@media (min-width:640px){ .subpage-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width:1024px){ .subpage-cards { grid-template-columns: repeat(3,1fr); } }
.subpage-card { border-radius: 20px; background: #fff; padding: 28px; border: 1px solid var(--border); box-shadow: 0 10px 30px -18px rgba(9,11,67,0.18); }
.subpage-card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 0.875rem; font-weight: 600; color: var(--ob1-magenta); text-decoration: none; }
.subpage-card__link:hover { text-decoration: underline; }

/* ============================================================
   ANIMATIONS (DebtMerge signature)
   ============================================================ */
@keyframes dm-in { from { opacity: 0; transform: translateY(8px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes dm-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce){
  .dm * { animation: none !important; opacity: 1 !important; stroke-dashoffset: 0 !important; }
}
.dm-stage { height: 320px; overflow: hidden; width: 100%; }
