/* ==========================================================================
   Javelin MRP - site styles
   ========================================================================== */

:root {
  --green-900: #0a2a1c;
  --green-800: #0f3a27;
  --green-700: #155036;
  --green-600: #1d6a47;
  --lime-500: #8cc63f;
  --logo-light: #c3e07f;
  --logo-mid: #6db34a;
  --logo-dark: #3f8f2f;
  --lime-400: #a6d65f;
  --lime-100: #eef7e1;

  --ink: #14211a;
  --ink-soft: #3f4d45;
  --muted: #6b7a71;
  --line: #e2e8e3;
  --surface: #ffffff;
  --surface-alt: #f5f8f4;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(10, 42, 28, .06), 0 2px 8px rgba(10, 42, 28, .05);
  --shadow-lg: 0 24px 60px -24px rgba(10, 42, 28, .35);

  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--green-600); }
a:hover { color: var(--green-800); }
:focus-visible { outline: 3px solid var(--lime-500); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  color: var(--green-900);
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
h1, h2 { text-wrap: balance; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--alt { background: var(--surface-alt); }
.section--dark { background: var(--green-900); color: #d7e3db; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 14px;
}
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--lime-400); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.1rem; color: var(--ink-soft); }
.section--dark .section-head p { color: #b9cbbf; }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--lime-500); color: var(--green-900);
  padding: 8px 14px; border-radius: var(--radius-sm); z-index: 100; font-weight: 600;
}
.skip-link:focus { left: 8px; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--lime-500); color: var(--green-900); }
.btn--primary:hover { background: var(--lime-400); color: var(--green-900); }
.btn--dark { background: var(--green-800); color: #fff; }
.btn--dark:hover { background: var(--green-700); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { border-color: #fff; color: #fff; }
.btn--outline { border-color: var(--green-800); color: var(--green-800); }
.btn--outline:hover { background: var(--green-800); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header: a floating pill ------------------------------------------------
   The header is fixed, so the hero and page hero pad their tops by 76px to clear it. */
.site-header {
  position: fixed; top: 12px; left: 0; right: 0; z-index: 50;
  padding: 0 12px; pointer-events: none;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  pointer-events: auto; height: 64px; max-width: 1140px; padding: 0 10px 0 22px;
  background: rgba(255, 255, 255, .9); border: 1px solid rgba(10, 42, 28, .08); border-radius: 999px;
  box-shadow: 0 12px 34px -16px rgba(10, 42, 28, .45);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 38px; width: auto; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; margin-bottom: 16px; }
.footer-brand img { width: 36px; height: 36px; }
.footer-brand span { font-family: "Open Sans", var(--font-body); font-size: 1.6rem; color: #fff; line-height: 1; }
.site-footer .footer-brand:hover { color: #fff; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: .95rem;
  padding: 8px 14px; border-radius: 999px;
}
.nav a:hover { color: var(--green-800); background: var(--surface-alt); }
.nav a[aria-current="page"] { color: var(--green-800); font-weight: 600; background: var(--surface-alt); }
.nav .btn { margin-left: 8px; padding: 10px 18px; border-radius: 999px; color: #fff; }
.nav .btn:hover { color: #fff; background: var(--green-700); }

.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--green-900);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-header .container { padding: 0 8px 0 18px; }
  .nav {
    position: absolute; left: 12px; right: 12px; top: 74px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border: 1px solid var(--line); border-radius: 22px;
    box-shadow: var(--shadow-lg); padding: 10px 14px 16px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; border-radius: 12px; }
  .nav .btn { margin: 16px 0 0; }
}
@media (max-width: 640px) {
  .site-header { padding: 0 8px; }
  .nav { left: 8px; right: 8px; }
}

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 70% 60% at 85% 20%, rgba(140,198,63,.18), transparent 60%),
    radial-gradient(ellipse 50% 50% at 0% 100%, rgba(29,106,71,.5), transparent 70%),
    var(--green-900);
  color: #cfdcd3;
  padding: calc(clamp(56px, 8vw, 104px) + 76px) 0 clamp(64px, 9vw, 120px);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent);
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--lime-500); }
.hero .lede { font-size: 1.15rem; max-width: 54ch; color: #c3d3c8; margin-bottom: 32px; }
.hero-points { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .92rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--lime-500); flex: none; }

@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
}

/* Screenshots (hero, and under each module's introduction on the features page) */
.hero-shot, .module-shot { margin: 0; }
.hero-shot img, .module-shot img { height: auto; border-radius: var(--radius-sm); }
.hero-shot img { box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.12); }
.module-shot { margin-top: 28px; }
.module-shot a { display: block; }
.module-shot img { border: 1px solid var(--line); box-shadow: var(--shadow-sm); }

/* Trust strip ------------------------------------------------------------ */
.trust { border-bottom: 1px solid var(--line); padding: 28px 0; }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.trust b { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--green-800); line-height: 1.2; }
.trust span { color: var(--muted); font-size: .9rem; }
.trust-dup { display: none; }
@media (max-width: 720px) { .trust .container { grid-template-columns: repeat(2, 1fr); } }

/* Cards & grids ---------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #cfe3c0; color: inherit; }
.card p { color: var(--ink-soft); margin-bottom: 0; }
.card .more { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--green-600); font-size: .92rem; }

.icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--lime-100); color: var(--green-700);
  margin-bottom: 18px;
}
.icon svg { width: 24px; height: 24px; }
.section--dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); box-shadow: none; }
.section--dark .card p { color: #b9cbbf; }
.section--dark .icon { background: rgba(140,198,63,.15); color: var(--lime-400); }

/* Process / flow --------------------------------------------------------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; position: relative; }
.flow-step { position: relative; padding: 0 12px; text-align: center; }
.flow-step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; margin: 0 auto 16px;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--lime-500); color: var(--green-900);
  font-family: var(--font-head); font-weight: 800; font-size: 1.1rem;
  position: relative; z-index: 1;
}
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; top: 26px; left: calc(50% + 30px); right: calc(-50% + 30px);
  height: 2px; background: rgba(140,198,63,.35);
}
.flow-step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.flow-step p { font-size: .92rem; color: #b9cbbf; margin: 0; }
@media (max-width: 880px) {
  .flow { grid-template-columns: 1fr; gap: 28px; }
  .flow-step { display: grid; grid-template-columns: 52px 1fr; gap: 0 16px; text-align: left; padding: 0; }
  .flow-step::before { margin: 0; grid-row: span 2; }
  .flow-step::after { display: none; }
}

/* Split feature block ---------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }

.checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; color: var(--ink-soft); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--lime-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23155036' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center/14px no-repeat;
}
.checklist strong { color: var(--ink); }

.panel {
  background: linear-gradient(160deg, var(--green-800), var(--green-900));
  border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); color: #cfdcd3;
  box-shadow: var(--shadow-lg);
}
.panel h3 { color: #fff; }
.panel .checklist li { color: #cfdcd3; }
.panel .checklist strong { color: #fff; }
.panel .checklist li::before { background-color: rgba(140,198,63,.2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23a6d65f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E"); }

/* Page hero (inner pages) ------------------------------------------------ */
.page-hero {
  background:
    radial-gradient(ellipse 60% 80% at 90% 0%, rgba(140,198,63,.16), transparent 60%),
    var(--green-900);
  color: #c3d3c8;
  padding: calc(clamp(56px, 7vw, 88px) + 76px) 0 clamp(56px, 7vw, 88px);
}
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.2rem); max-width: 18ch; }
.page-hero p { font-size: 1.15rem; max-width: 60ch; margin: 0; }

/* In-page module nav (features): a second floating pill that sticks under the header */
.subnav { position: sticky; top: 88px; z-index: 40; margin-top: 16px; padding: 0 12px; pointer-events: none; }
.subnav .container {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  pointer-events: auto; height: 52px; max-width: 1140px; padding: 0 8px;
  overflow-x: auto; scrollbar-width: none;
  background: rgba(255, 255, 255, .9); border: 1px solid rgba(10, 42, 28, .08); border-radius: 999px;
  box-shadow: 0 12px 34px -16px rgba(10, 42, 28, .45);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
}
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a {
  white-space: nowrap; color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: .95rem;
  padding: 8px 14px; border-radius: 999px;
}
.subnav a:hover { color: var(--green-800); background: var(--surface-alt); }
@media (max-width: 980px) { .subnav .container { justify-content: flex-start; } }
@media (max-width: 640px) { .subnav { padding: 0 8px; } }

.module { scroll-margin-top: 156px; }
.module + .module { border-top: 1px solid var(--line); }
.module-tag { display: inline-flex; align-items: center; gap: 10px; }
.module-tag .icon { margin: 0; }

/* CTA band --------------------------------------------------------------- */
.cta {
  background:
    radial-gradient(ellipse 60% 120% at 100% 50%, rgba(140,198,63,.22), transparent 60%),
    var(--green-800);
  color: #cfdcd3; border-radius: calc(var(--radius) + 6px);
  padding: clamp(36px, 5vw, 64px);
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.cta h2 { color: #fff; margin-bottom: 10px; }
.cta p { margin: 0; font-size: 1.08rem; }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; } }

/* Notice / announcement -------------------------------------------------- */
.notice {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--lime-100); border: 1px solid #d6eabc; border-radius: var(--radius);
  padding: 20px 24px; color: var(--green-900);
}
.notice svg { width: 24px; height: 24px; flex: none; color: var(--green-600); margin-top: 2px; }
.notice p { margin: 0; }

/* Contact ---------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: 12px 14px; border: 1px solid #cdd6d0; border-radius: var(--radius-sm); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(140,198,63,.3); }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact-list .icon { width: 44px; height: 44px; margin: 0; }
.contact-list b { display: block; font-family: var(--font-head); color: var(--green-900); }
.contact-list a, .contact-list span { color: var(--ink-soft); text-decoration: none; }
.contact-list a:hover { color: var(--green-700); text-decoration: underline; }

/* Timeline (about) ------------------------------------------------------- */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 28px 28px; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--lime-500); box-shadow: 0 0 0 4px var(--lime-100); }
.timeline b { display: block; font-family: var(--font-head); color: var(--green-800); }
.timeline p { color: var(--ink-soft); margin: 0; }

/* FAQ -------------------------------------------------------------------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 22px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-family: var(--font-head); font-weight: 700; color: var(--green-900);
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--green-600); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details { scroll-margin-top: 100px; }
.faq-body { color: var(--ink-soft); padding-bottom: 20px; }
.faq-body p { margin: 0 0 12px; }
.faq-body p:last-child { margin-bottom: 0; }

.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 4px 0 16px; }
.spec-grid > div { background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; }
.spec-grid h4 { font-size: 1rem; margin: 0 0 12px; color: var(--ink); }
.spec-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .94rem; }
.spec-grid li b { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 640px) { .spec-grid { grid-template-columns: 1fr; } }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--green-900); color: #9fb3a6; padding: 64px 0 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; gap: 32px; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #b9cbbf; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }

/* Utilities -------------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.lead { font-size: 1.12rem; color: var(--ink-soft); }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, a.card { transition: none; }
}

/* Legal / long-form pages ------------------------------------------------ */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.legal-toc { position: sticky; top: 100px; font-size: .9rem; }
.legal-toc b { display: block; font-family: var(--font-head); color: var(--green-900); margin-bottom: 10px; }
.legal-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--muted); }
.legal-toc a { color: var(--ink-soft); text-decoration: none; }
.legal-toc a:hover { color: var(--green-700); text-decoration: underline; }
@media (max-width: 880px) {
  .legal { grid-template-columns: 1fr; }
  .legal-toc { position: static; background: var(--surface-alt); border-radius: var(--radius-sm); padding: 18px 20px; }
}

.prose { max-width: 72ch; }
.prose section { scroll-margin-top: 100px; }
.prose section + section { margin-top: 40px; }
.prose h2 { font-size: 1.4rem; margin-bottom: 12px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 22px; margin: 0 0 1em; display: grid; gap: 8px; }
.prose strong { color: var(--ink); }

.table-wrap { overflow-x: auto; margin: 0 0 1em; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--surface-alt); font-family: var(--font-head); color: var(--green-900); }
.prose tr:last-child td { border-bottom: 0; }
.prose td { color: var(--ink-soft); }

/* What's new ------------------------------------------------------------- */
.wn-page { padding-top: clamp(40px, 5vw, 64px); }
.wn-controls {
  display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 16px 24px; align-items: end;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-sm); margin-bottom: 40px;
}
.wn-summary { grid-column: 1 / -1; margin: 0; font-weight: 600; color: var(--ink); }
.wn-controls .form-note { grid-column: 1 / -1; }
@media (max-width: 640px) { .wn-controls { grid-template-columns: 1fr; } }

.wn-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.wn-side { position: sticky; top: 100px; max-height: calc(100vh - 124px); overflow-y: auto; font-size: .9rem; }
.wn-side b { display: block; font-family: var(--font-head); color: var(--ink); margin-bottom: 10px; }
.wn-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.wn-side a {
  display: flex; justify-content: space-between; gap: 12px; padding: 6px 10px;
  border-radius: var(--radius-sm); color: var(--ink-soft); text-decoration: none;
}
.wn-side a:hover { background: var(--surface-alt); color: var(--green-700); }
.wn-side span { color: var(--muted); font-size: .8rem; font-weight: 600; }
@media (max-width: 880px) {
  .wn-layout { grid-template-columns: 1fr; }
  .wn-side { position: static; max-height: none; }
  .wn-side ul { display: flex; flex-wrap: wrap; gap: 8px; }
  .wn-side a { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
}

.wn-group { scroll-margin-top: 100px; padding: 0 0 36px; }
.wn-group + .wn-group { border-top: 1px solid var(--line); padding-top: 32px; }
.wn-group h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 14px; }
.wn-count {
  font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: 0; text-transform: none;
  color: var(--green-700); background: var(--lime-100); padding: 3px 10px; border-radius: 999px;
}
.wn-release + .wn-release { margin-top: 20px; }
.wn-release h3 {
  font-family: var(--font-body); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green-600); margin: 0 0 4px;
}
.wn-list { list-style: none; margin: 0; padding: 0; }
.wn-list li { position: relative; padding: 11px 0 11px 22px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.wn-list li:last-child { border-bottom: 0; }
.wn-list li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 8px; height: 8px; border-radius: 50%; background: var(--lime-500); }
.wn-sec { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.wn-empty { padding: 48px 0; text-align: center; color: var(--muted); }
