/* ==========================================================================
   Mapank — mapank.in
   Design system. One stylesheet, no framework, no build step.

   Register: modern product. Confident, precise, uncluttered.
   Deliberately NOT the visual language of coaching sites — no gradients,
   no badges, no urgency devices. The credibility comes from restraint.

   Visual identity is built from the product's own data: the hero curve is
   real JoSAA 2026 closing-rank data, not decoration.
   ========================================================================== */

/* --- type ----------------------------------------------------------------- */
@font-face { font-family: 'Jakarta-fallback'; src: local('Segoe UI'), local('Roboto'), local('Helvetica Neue'); size-adjust: 104%; ascent-override: 96%; }

:root {
  /* ink */
  --ink:        #0B1023;
  --ink-700:    #2C3552;
  --ink-500:    #59637F;
  --ink-400:    #8A93AD;

  /* surfaces */
  --surface:    #FFFFFF;
  --surface-2:  #F6F7FB;
  --surface-3:  #EFF1F8;
  --deep:       #0B1023;
  --deep-2:     #151C38;

  /* lines */
  --line:       #E4E8F2;
  --line-2:     #D3D9E8;

  /* brand */
  --primary:      #4338CA;
  --primary-600:  #5145E0;
  --primary-300:  #A9A2F5;
  --primary-100:  #ECEBFE;
  --primary-050:  #F5F4FF;

  --accent:       #B45309;
  --accent-100:   #FEF1DE;
  --accent-050:   #FFF9EF;

  --positive:     #0D7A6E;
  --positive-100: #DFF3F0;
  --positive-050: #F0F9F8;

  --danger:       #B3261E;

  /* extended palette — each hue has a job, none are decorative
     indigo = brand · teal = data and evidence · amber = attention and timing
     violet = people and guidance · rose = risk and near misses */
  --teal:       #0F766E;
  --teal-100:   #D6F0EC;
  --violet:     #7A3FCC;
  --violet-100: #F0E8FC;
  --violet-050: #FAF6FF;
  --rose:       #B4315C;
  --rose-100:   #FCE4EC;
  --rose-050:   #FFF5F8;

  /* geometry */
  --wrap: 1140px;
  --read: 700px;
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 18px;

  --shadow-sm: 0 1px 2px rgba(11,16,35,.05);
  --shadow:    0 2px 4px rgba(11,16,35,.04), 0 12px 28px -12px rgba(11,16,35,.14);
  --shadow-lg: 0 4px 8px rgba(11,16,35,.05), 0 24px 48px -16px rgba(11,16,35,.18);

  --sans: 'Plus Jakarta Sans', 'Jakarta-fallback', -apple-system, BlinkMacSystemFont,
          'Segoe UI', Roboto, 'Noto Sans', sans-serif;

  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* --- reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
  color: var(--ink-700);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.14;
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -.025em;
}
h1 { font-size: clamp(2.35rem, 1.4rem + 3.6vw, 4rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem); margin-top: 2em; letter-spacing: -.022em; }
h3 { font-size: 1.16rem; margin-top: 1.9em; font-weight: 700; letter-spacing: -.012em; }
p  { margin: 0 0 1.15em; }
ul, ol { margin: 0 0 1.15em; padding-left: 1.25em; }
li { margin-bottom: .5em; }
strong { color: var(--ink); font-weight: 700; }
em { font-style: italic; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }

a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .15s var(--ease); }
a:hover { color: var(--primary-600); }

::selection { background: var(--primary-100); color: var(--ink); }

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

/* --- layout --------------------------------------------------------------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.read { max-width: var(--read); }
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--tint { background: var(--surface-2); border-block: 1px solid var(--line); }
.section--wash {
  background: var(--primary-050); border-block: 1px solid var(--primary-100);
  position: relative; overflow: hidden;
}
.section--wash::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(67,56,202,.13) 1px, transparent 0);
  background-size: 22px 22px; opacity: .6;
}
.section--wash > .wrap { position: relative; }
.center { text-align: center; }
@media (max-width: 640px) { .section { padding: 56px 0; } .wrap { padding: 0 18px; } }

/* --- header --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-word {
  font-size: 1.3rem; font-weight: 800; letter-spacing: -.035em; color: var(--ink);
}
.brand-word i { font-style: normal; color: var(--primary); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink-500); text-decoration: none; font-size: .9rem; font-weight: 600;
  padding: 8px 12px; border-radius: var(--r-sm); transition: background .15s var(--ease), color .15s var(--ease);
}
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--primary); background: var(--primary-050); }

.nav-toggle {
  display: none; margin-left: auto; align-items: center; gap: 7px;
  background: none; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: 8px 13px; font: inherit; font-size: .86rem; font-weight: 600;
  color: var(--ink); cursor: pointer;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 18px 18px; display: none; box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 12px; font-size: .98rem; }
}

/* --- hero ----------------------------------------------------------------- */
.hero { padding: 88px 0 40px; position: relative; }
.hero h1 { max-width: 16ch; margin-bottom: .38em; }
.hero .lede {
  font-size: clamp(1.06rem, 1rem + .35vw, 1.24rem);
  max-width: 56ch; color: var(--ink-500); line-height: 1.55;
}
.hero--center { text-align: center; }
.hero--center h1, .hero--center .lede { margin-left: auto; margin-right: auto; }
.hero--center .btn-row { justify-content: center; }
@media (max-width: 640px) { .hero { padding: 52px 0 28px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--primary); background: var(--primary-050);
  border: 1px solid var(--primary-100);
  padding: 6px 13px; border-radius: 100px; margin-bottom: 22px;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary);
}

/* --- hero backdrop -------------------------------------------------------- */
.hero--home { position: relative; overflow: hidden; }
.hero--home::before {
  content: ""; position: absolute; inset: -10% -10% auto -10%; height: 640px; z-index: 0;
  background:
    radial-gradient(560px 300px at 12% 6%,  rgba(67,56,202,.11), transparent 68%),
    radial-gradient(520px 300px at 88% 2%,  rgba(15,118,110,.10), transparent 66%),
    radial-gradient(420px 260px at 62% 34%, rgba(217,119,6,.07),  transparent 70%);
  pointer-events: none;
}
.hero--home::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(11,16,35,.07) 1px, transparent 0);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
}
.hero--home > .wrap { position: relative; z-index: 1; }

/* --- per-page accent -----------------------------------------------------
   Each page picks a hue so it has its own identity while staying in family.
   The hue drives the hero wash, the eyebrow and the heading rule. ---------- */
.tinted { position: relative; overflow: hidden; }
.tinted::before {
  content: ""; position: absolute; inset: -28% -10% auto -10%; height: 460px; z-index: 0;
  background:
    radial-gradient(520px 260px at 16% 0%,  var(--wash-1), transparent 70%),
    radial-gradient(460px 250px at 84% 12%, var(--wash-2), transparent 70%);
  pointer-events: none;
}
.tinted::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(11,16,35,.06) 1px, transparent 0);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}
.tinted > .wrap { position: relative; z-index: 1; }

.t-indigo { --wash-1: rgba(67,56,202,.14);  --wash-2: rgba(15,118,110,.08); }
.t-teal   { --wash-1: rgba(15,118,110,.15); --wash-2: rgba(67,56,202,.08); }
.t-violet { --wash-1: rgba(122,63,204,.14); --wash-2: rgba(180,49,92,.07); }
.t-amber  { --wash-1: rgba(180,83,9,.13);   --wash-2: rgba(217,119,6,.08); }
.t-rose   { --wash-1: rgba(180,49,92,.13);  --wash-2: rgba(122,63,204,.07); }

.eyebrow--teal   { color: var(--teal);    background: var(--positive-050); border-color: var(--teal-100); }
.eyebrow--violet { color: var(--violet);  background: var(--violet-050);   border-color: var(--violet-100); }
.eyebrow--amber  { color: var(--accent);  background: var(--accent-050);   border-color: #F6E4C4; }
.eyebrow--rose   { color: var(--rose);    background: var(--rose-050);     border-color: var(--rose-100); }
.eyebrow--teal::before   { background: var(--teal); }
.eyebrow--violet::before { background: var(--violet); }
.eyebrow--amber::before  { background: var(--accent); }
.eyebrow--rose::before   { background: var(--rose); }

/* a short coloured rule above every section heading */
.read h2::before, .wrap > h2::before {
  content: ""; display: block; width: 38px; height: 4px; border-radius: 3px;
  background: var(--primary); margin-bottom: 16px;
}
.t-teal   .read h2::before, .t-teal   .wrap > h2::before { background: var(--teal); }
.t-violet .read h2::before, .t-violet .wrap > h2::before { background: var(--violet); }
.t-amber  .read h2::before, .t-amber  .wrap > h2::before { background: var(--accent); }
.t-rose   .read h2::before, .t-rose   .wrap > h2::before { background: var(--rose); }
.band h2::before, .center::before { display: none !important; }

/* restored-from-storage notice on the Prep-o-meter */
.pm-restored {
  display: inline-flex; align-items: center; gap: 8px; margin: 1.4em 0 0;
  font-size: .88rem; font-weight: 600; color: var(--teal);
  background: var(--positive-050); border: 1px solid var(--teal-100);
  padding: 9px 15px; border-radius: 100px;
}
.pm-restored::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }

/* --- route motif divider -------------------------------------------------- */
.route { display: block; width: 100%; height: 34px; margin: 0; color: var(--primary-300); }
.route svg { width: 100%; height: 100%; display: block; }

/* --- hero data visual ----------------------------------------------------- */
.hero-viz {
  margin-top: 44px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--shadow); overflow: hidden;
}
.hero-viz__head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px;
  padding: 18px 22px 0;
}
.hero-viz__head h3 { margin: 0; font-size: .98rem; font-weight: 700; }
.hero-viz__head span { font-size: .8rem; color: var(--ink-400); }
.hero-viz svg { width: 100%; height: auto; display: block; }

/* --- stat band ------------------------------------------------------------ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat {
  padding: 24px 22px; border-radius: var(--r); border: 1px solid var(--line);
  background: var(--surface); position: relative; overflow: hidden;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.stat::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: currentColor; }
.stat:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.stat b {
  display: block; font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.25rem); font-weight: 800;
  color: currentColor; letter-spacing: -.035em; font-variant-numeric: tabular-nums; line-height: 1.05;
}
.stat span { display: block; font-size: .82rem; color: var(--ink-500); margin-top: 7px; font-weight: 600; }
.stat--a { color: var(--primary);  background: var(--primary-050);  border-color: var(--primary-100); }
.stat--b { color: var(--teal);     background: var(--positive-050); border-color: var(--teal-100); }
.stat--c { color: var(--violet);   background: var(--violet-050);   border-color: var(--violet-100); }
.stat--d { color: var(--accent);   background: var(--accent-050);   border-color: #F6E4C4; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* --- buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 10px;
  font-weight: 700; font-size: .95rem; letter-spacing: -.008em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .12s var(--ease), background .15s var(--ease),
              border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--primary-600); color: #fff; box-shadow: var(--shadow); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink-400); color: var(--ink); background: var(--surface-2); }
.btn--light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.24); }
.btn--light:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: .95rem; text-decoration: none;
}
.arrow-link::after { content: "→"; transition: transform .15s var(--ease); }
.arrow-link:hover::after { transform: translateX(3px); }

/* --- cards ---------------------------------------------------------------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; box-shadow: var(--shadow-sm);
  transition: box-shadow .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.card:hover { box-shadow: var(--shadow); border-color: var(--line-2); transform: translateY(-2px); }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card--flat { box-shadow: none; }
.card--flat:hover { transform: none; box-shadow: none; border-color: var(--line); }

/* tip cards — a coloured left rule instead of another flat box */
.card--tip { border-left-width: 4px; border-left-style: solid; }
.card--tip-v { border-left-color: var(--violet);  background: var(--violet-050); }
.card--tip-t { border-left-color: var(--teal);    background: var(--positive-050); }
.card--tip-a { border-left-color: var(--accent);  background: var(--accent-050); }
.card--tip h3 { color: var(--ink); }

/* colour-led cards — the top rule carries the meaning */
.card--track { position: relative; overflow: hidden; padding-top: 34px; }
.card--track::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; }
.card--track-a::before { background: var(--primary); }
.card--track-b::before { background: var(--accent); }
.card--track-a { background: linear-gradient(180deg, var(--primary-050), #fff 46%); border-color: var(--primary-100); }
.card--track-b { background: linear-gradient(180deg, var(--accent-050), #fff 46%);  border-color: #F6E4C4; }

/* --- icon list ------------------------------------------------------------ */
.beliefs { display: grid; gap: 22px; margin: 1.6em 0 0; }
.belief { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.belief__i {
  width: 44px; height: 44px; border-radius: 12px; display: flex;
  align-items: center; justify-content: center; flex: none;
}
.belief__i svg { width: 21px; height: 21px; }
.belief--v .belief__i { background: var(--violet-100); color: var(--violet); }
.belief--t .belief__i { background: var(--teal-100);   color: var(--teal); }
.belief--i .belief__i { background: var(--primary-100);color: var(--primary); }
.belief--a .belief__i { background: var(--accent-100); color: var(--accent); }
.belief h3 { margin: 2px 0 .35em; font-size: 1.04rem; }
.belief p { margin: 0; font-size: .96rem; }

.track-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .7rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px; margin-bottom: 16px;
}
.track-tag--a { background: var(--primary-050); color: var(--primary); border: 1px solid var(--primary-100); }
.track-tag--b { background: var(--accent-100); color: var(--accent); border: 1px solid #F6DFBC; }

/* --- callouts ------------------------------------------------------------- */
.callout {
  border: 1px solid var(--primary-100); background: var(--primary-050);
  border-left: 3px solid var(--primary); border-radius: 0 var(--r) var(--r) 0;
  padding: 20px 24px; margin: 2em 0;
}
.callout--warn   { border-color: #F6DFBC;            background: var(--accent-050);   border-left-color: var(--accent); }
.callout--teal   { border-color: var(--teal-100);    background: var(--positive-050); border-left-color: var(--teal); }
.callout--violet { border-color: var(--violet-100);  background: var(--violet-050);   border-left-color: var(--violet); }
.callout--rose   { border-color: var(--rose-100);    background: var(--rose-050);     border-left-color: var(--rose); }
.callout p:last-child { margin-bottom: 0; }

/* --- promise list --------------------------------------------------------- */
.promises { list-style: none; padding: 0; margin: 0; }
.promises li { position: relative; padding-left: 34px; margin-bottom: 15px; }
.promises li::before {
  content: ""; position: absolute; left: 0; top: .34em;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--positive-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230D7A6E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.4l3 3 6-6.6'/%3E%3C/svg%3E") center/16px no-repeat;
}
.promises li.no::before {
  background: var(--rose-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23B4315C' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6.4 6.4l7.2 7.2M13.6 6.4l-7.2 7.2'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* --- tables --------------------------------------------------------------- */
.table-scroll {
  overflow-x: auto; margin: 1.8em 0;
  border: 1px solid var(--line); border-radius: var(--r);
  -webkit-overflow-scrolling: touch;
}
table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 540px; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th {
  background: var(--primary-050); color: var(--primary); font-weight: 700;
  font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .12s var(--ease); }
tbody tr:hover { background: var(--surface-2); }

.status { display: inline-block; font-size: .72rem; font-weight: 700; padding: 4px 9px; border-radius: 6px; white-space: nowrap; }
.status--pending { background: var(--accent-100); color: var(--accent); }
.status--confirmed { background: var(--positive-100); color: var(--positive); }

/* --- FAQ ------------------------------------------------------------------ */
details {
  border: 1px solid var(--line); border-radius: var(--r); padding: 0 22px;
  margin-bottom: 10px; background: var(--surface);
  border-left: 4px solid var(--line-2);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease), background .15s var(--ease);
}
details:hover { border-color: var(--line-2); border-left-color: var(--violet); }
details[open] {
  box-shadow: var(--shadow); border-color: var(--violet-100);
  border-left-color: var(--violet); background: var(--violet-050);
}
details[open] summary { color: var(--violet); }
summary {
  cursor: pointer; padding: 18px 0; font-weight: 700; color: var(--ink);
  list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; flex: none; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%237A3FCC' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M4.5 7l4.5 4.5L13.5 7'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .2s var(--ease);
}
details[open] summary::after { transform: rotate(180deg); }
details > *:not(summary) { margin-bottom: 1em; }

/* --- blog ----------------------------------------------------------------- */
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { border-bottom: 1px solid var(--line); padding: 26px 0; margin: 0; }
.post-list li:first-child { padding-top: 0; }
.post-list h3 { margin: 0 0 8px; font-size: 1.28rem; font-weight: 800; letter-spacing: -.02em; }
.post-list h3 a { color: var(--ink); text-decoration: none; }
.post-list h3 a:hover { color: var(--primary); }
.meta { font-size: .8rem; color: var(--teal); margin: 0 0 9px; font-weight: 600; letter-spacing: .02em; }
.post-body { max-width: var(--read); }

/* --- dark band ------------------------------------------------------------ */
.band { background: var(--deep); color: #AFB8D4; padding: 76px 0; position: relative; overflow: hidden; }
.band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(650px 320px at 82% 8%, rgba(81,69,224,.28), transparent 70%);
  pointer-events: none;
}
.band .wrap { position: relative; z-index: 1; }
.band h2 { color: #fff; margin-top: 0; }
.band a:not(.btn) { color: #B8B2FF; }
.band strong { color: #fff; }

/* --- footer --------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface-2); padding: 56px 0 32px; font-size: .9rem; color: var(--ink-500); }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } .footer-grid > :first-child { grid-column: 1 / -1; } }
.site-footer h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink); margin-bottom: 14px; font-weight: 800; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: var(--ink-500); text-decoration: none; }
.site-footer a:hover { color: var(--primary); }
.footer-note { border-top: 1px solid var(--line-2); padding-top: 22px; font-size: .82rem; line-height: 1.6; color: var(--ink-400); }

/* --- founder hero --------------------------------------------------------- */
.founder { padding: 68px 0 56px; border-bottom: 1px solid var(--line); }
.founder__grid {
  display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center;
}
.founder__photo {
  border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2);
  border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 1;
}
.founder__photo img { width: 100%; height: 100%; object-fit: cover; }
.founder__text h1 { margin-bottom: .18em; font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.1rem); }
.founder__role {
  font-size: .95rem; font-weight: 700; color: var(--primary);
  margin: 0 0 1.1em; letter-spacing: -.005em;
}
.founder__text .lede { font-size: 1.06rem; color: var(--ink-500); max-width: 58ch; margin-bottom: 0; }

@media (max-width: 860px) {
  .founder { padding: 44px 0 40px; }
  .founder__grid { grid-template-columns: 1fr; gap: 26px; }
  .founder__photo { width: 168px; }
}

/* --- people --------------------------------------------------------------- */
.person {
  display: grid; grid-template-columns: 148px 1fr; gap: 30px; align-items: start;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; margin: 1.8em 0; box-shadow: var(--shadow-sm);
}
.person__photo {
  width: 148px; height: 148px; border-radius: var(--r); overflow: hidden;
  background: var(--primary-050); border: 1px solid var(--primary-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem; font-weight: 800; color: var(--primary-300); letter-spacing: -.03em;
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__role {
  font-size: .88rem; font-weight: 700; color: var(--primary);
  margin: -.4em 0 1.1em; letter-spacing: -.005em;
}
.person__body p:last-child { margin-bottom: 0; }
@media (max-width: 660px) {
  .person { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .person__photo { width: 104px; height: 104px; font-size: 1.8rem; }
}

/* --- social links --------------------------------------------------------- */
.social { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin: 1.6em 0; }
.social__item {
  display: flex; align-items: center; gap: 13px; text-decoration: none;
  padding: 15px 18px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface); color: var(--ink-500);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease), transform .15s var(--ease);
}
.social__item:hover { border-color: var(--primary-300); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink-500); }
.social__item svg { width: 26px; height: 26px; flex: none; }
.social__item span { display: flex; flex-direction: column; font-size: .82rem; line-height: 1.35; min-width: 0; }
.social__item b { color: var(--ink); font-size: .95rem; font-weight: 700; }
.social__item span { overflow-wrap: anywhere; }

.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--surface);
  transition: transform .15s var(--ease), border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.footer-social a:hover { border-color: var(--primary-300); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.footer-social svg { width: 22px; height: 22px; }

/* --- editorial placeholder (must be removed before launch) ---------------- */
.todo {
  background: var(--rose-050); border: 1px dashed #E39BB2; color: var(--rose);
  padding: 16px 20px; border-radius: var(--r); margin: 1.8em 0; font-size: .9rem;
}
.todo strong { color: var(--rose); }

/* --- utilities ------------------------------------------------------------ */
.muted { color: var(--ink-400); font-size: .92rem; }
.mt0 { margin-top: 0; }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: 12px 18px; z-index: 100; border-radius: var(--r-sm); box-shadow: var(--shadow); }
.skip:focus { left: 12px; top: 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .card:hover { transform: none; }
}
