/* =========================================================
   Organic Web — AI-first redesign
   Design tokens
   ========================================================= */
:root {
  --bg: #070B0A;
  --bg-2: #0A0F0E;
  --elev: #0E1513;
  --surface: #121A18;
  --surface-2: #16201D;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --text: #EAF3EF;
  --muted: #93A69E;
  --muted-2: #6E817A;

  --brand: #34E2A0;      /* organic emerald */
  --teal: #5EEAD4;       /* mint/teal */
  --indigo: #8B7BFB;     /* electric AI indigo */
  --indigo-2: #C4B5FD;
  --amber: #FFC56B;

  --grad: linear-gradient(100deg, #34E2A0 0%, #5EEAD4 45%, #8B7BFB 100%);
  --grad-soft: linear-gradient(135deg, rgba(52,226,160,.18), rgba(139,123,251,.18));

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -28px rgba(0,0,0,.8);
  --ring: 0 0 0 3px rgba(52, 226, 160, .35);

  --maxw: 1160px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

/* =========================================================
   Base
   ========================================================= */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--font-mono); font-size: .82em; letter-spacing: .02em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--surface); color: var(--text); padding: 10px 16px; border-radius: 10px; border: 1px solid var(--border);
}
.skip-link:focus { left: 16px; }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }

/* =========================================================
   Aurora + cursor glow
   ========================================================= */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; filter: blur(80px); opacity: .55; }
.blob { position: absolute; width: 46vw; height: 46vw; border-radius: 50%; opacity: .5; animation: drift 26s var(--ease) infinite alternate; }
.blob--emerald { background: radial-gradient(circle, #34E2A0, transparent 60%); top: -12%; left: -8%; }
.blob--teal    { background: radial-gradient(circle, #2bd3c4, transparent 60%); top: 30%; right: -14%; animation-delay: -8s; }
.blob--indigo  { background: radial-gradient(circle, #8B7BFB, transparent 60%); bottom: -18%; left: 30%; animation-delay: -16s; }
@keyframes drift { to { transform: translate3d(6%, 8%, 0) scale(1.15); } }

.cursor-glow {
  position: fixed; top: 0; left: 0; width: 380px; height: 380px; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, rgba(52,226,160,.10), transparent 60%);
  transform: translate3d(-50%, -50%, 0); transition: opacity .3s; opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 500; font-size: 15px;
  padding: 11px 20px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s;
  min-height: 44px; white-space: nowrap;
}
.btn--lg { padding: 14px 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: #042016; box-shadow: 0 10px 30px -10px rgba(52,226,160,.6); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -12px rgba(52,226,160,.7); }
.btn--ghost { background: rgba(255,255,255,.03); color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--brand); color: var(--brand); }
.btn:active { transform: translateY(0) scale(.98); }

/* =========================================================
   Nav
   ========================================================= */
.nav { position: sticky; top: 0; z-index: 100; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(7,11,10,.72); backdrop-filter: blur(14px); border-bottom-color: var(--border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.brand__mark { display: grid; place-items: center; }
.brand__name-accent { color: var(--brand); }
.nav__links { display: flex; gap: 28px; }
.nav__links a { color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color .2s; position: relative; }
.nav__links a:hover { color: var(--text); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--grad); transition: width .25s var(--ease); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { display: inline-flex; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav__burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile { display: none; flex-direction: column; gap: 4px; padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height .35s var(--ease), padding .35s; background: rgba(7,11,10,.95); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.nav__mobile a { padding: 14px 4px; color: var(--muted); font-weight: 500; border-bottom: 1px solid var(--border); }
.nav__mobile a:last-child { border: 0; margin: 12px 0; }
.nav.is-open .nav__mobile { max-height: 420px; padding: 8px 24px 16px; }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; padding: clamp(64px, 12vh, 130px) 0 90px; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .85; }
.hero__inner { position: relative; text-align: center; max-width: 880px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 auto 26px;
  font-size: 13px; color: var(--muted); font-weight: 500;
  padding: 7px 14px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,.02);
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(52,226,160,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52,226,160,.6);} 70% { box-shadow: 0 0 0 9px rgba(52,226,160,0);} 100% { box-shadow: 0 0 0 0 rgba(52,226,160,0);} }
@media (prefers-reduced-motion: reduce) { .status-dot { animation: none; } }

.hero__title { font-size: clamp(40px, 7.5vw, 78px); font-weight: 700; margin-bottom: 22px; }
.hero__lede { font-size: clamp(16px, 2vw, 20px); color: var(--muted); max-width: 620px; margin: 0 auto 34px; }
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.hero__trust { display: flex; gap: 36px; justify-content: center; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: 14px; }
.hero__trust .mono { color: var(--brand); font-size: 18px; font-weight: 500; margin-right: 6px; }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__scroll span { width: 1px; height: 30px; background: linear-gradient(var(--brand), transparent); animation: scrolly 2s var(--ease) infinite; }
@keyframes scrolly { 0%,100% { opacity: .3; transform: scaleY(.6);} 50% { opacity: 1; transform: scaleY(1);} }

/* =========================================================
   Marquee
   ========================================================= */
.marquee { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 16px 0; overflow: hidden; background: rgba(255,255,255,.015); }
.marquee__track { display: flex; gap: 26px; width: max-content; animation: marquee 32s linear infinite; font-family: var(--font-display); font-weight: 500; color: var(--muted); white-space: nowrap; }
.marquee__track span:nth-child(even) { color: var(--brand); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* =========================================================
   Sections shared
   ========================================================= */
.section { padding: clamp(64px, 11vh, 120px) 0; position: relative; }
.section__head { max-width: 660px; margin-bottom: 52px; }
.kicker { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.section__title { font-size: clamp(28px, 4.4vw, 46px); margin-bottom: 16px; }
.section__sub { color: var(--muted); font-size: clamp(15px, 1.6vw, 18px); max-width: 60ch; }

/* =========================================================
   Cards / Bento
   ========================================================= */
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover, .card:focus-visible { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.card:hover::before, .card:focus-within::before { opacity: .6; }
.card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: var(--brand); background: var(--grad-soft); border: 1px solid var(--border); margin-bottom: 20px; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card__list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; }
.card__list li { position: relative; padding-left: 20px; font-size: 14px; color: var(--muted); }
.card__list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bento__a { grid-column: span 3; }
.bento__b { grid-column: span 3; }
.bento__c { grid-column: span 6; }
@media (min-width: 900px) {
  .bento__a { grid-column: span 3; grid-row: span 2; }
  .bento__b { grid-column: span 3; }
  .bento__c { grid-column: span 3; }
}

/* =========================================================
   Platform / Orchestrator
   ========================================================= */
.section--platform { background:
  radial-gradient(900px 500px at 80% 10%, rgba(139,123,251,.10), transparent 60%),
  radial-gradient(800px 500px at 10% 90%, rgba(52,226,160,.08), transparent 60%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.platform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 14px; }
.feature-list li { display: flex; align-items: center; gap: 12px; color: var(--text); font-size: 15px; }
.feature-list__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--grad); flex: none; }

.agent-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.agent-chip { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 12.5px; padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); cursor: default; transition: border-color .2s, color .2s, background .2s; }
.agent-chip .dot { width: 8px; height: 8px; border-radius: 50%; }
.agent-chip.is-active { color: var(--text); border-color: var(--border-strong); background: rgba(255,255,255,.04); }

.platform__viz { display: flex; flex-direction: column; align-items: center; }
.orchestrator { width: 100%; max-width: 460px; aspect-ratio: 1; position: relative; }
.orchestrator svg { width: 100%; height: 100%; overflow: visible; }
.orchestrator__hint { color: var(--muted-2); margin-top: 6px; }
.node-label { font-family: var(--font-mono); font-size: 11px; fill: var(--muted); }
.agent-node { cursor: pointer; }
.agent-node circle.halo { transition: opacity .25s; }

/* =========================================================
   Stats + Data viz
   ========================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 28px; }
.stat { background: rgba(255,255,255,.02); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 26px 22px; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 5vw, 52px); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.stat__label { color: var(--muted); font-size: 13.5px; margin-top: 8px; }

.viz-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.viz-card { padding: 26px; }
.viz-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; gap: 12px; }
.viz-card__head h3 { font-size: 17px; }
.pill { padding: 5px 11px; border: 1px solid var(--border); border-radius: 999px; color: var(--brand); white-space: nowrap; }
.bars { width: 100%; height: 180px; }
.bars rect { transition: height .9s var(--ease), y .9s var(--ease); }
.bars__axis { display: flex; justify-content: space-between; color: var(--muted-2); margin-top: 8px; font-size: 11px; }

.donut-wrap { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.donut { width: 140px; height: 140px; flex: none; }
.donut circle { transition: stroke-dashoffset 1.1s var(--ease); }
.donut-legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.donut-legend li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.donut-legend .sw { width: 11px; height: 11px; border-radius: 3px; flex: none; }
.donut-legend b { color: var(--text); font-family: var(--font-mono); }

/* =========================================================
   About
   ========================================================= */
.section--about { background: rgba(255,255,255,.012); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.values { display: grid; gap: 18px; margin-top: 30px; }
.value { display: flex; gap: 16px; align-items: flex-start; }
.value__k { color: var(--brand); font-size: 14px; padding-top: 2px; }
.value strong { font-family: var(--font-display); font-size: 16px; }
.value p { color: var(--muted); font-size: 14px; margin-top: 4px; }

.badge-card { position: relative; border: 1px solid var(--border); border-radius: var(--radius); padding: 38px 30px; text-align: center; background: linear-gradient(180deg, var(--surface), var(--bg-2)); overflow: hidden; }
.badge-card__ring { position: absolute; top: -60px; right: -60px; width: 180px; height: 180px; border-radius: 50%; background: var(--grad-soft); filter: blur(8px); }
.badge-card p.mono { color: var(--muted); letter-spacing: .2em; text-transform: uppercase; }
.badge-card__big { font-family: var(--font-display); font-weight: 700; font-size: 38px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 6px 0; }
.badge-card hr { border: 0; border-top: 1px solid var(--border); margin: 22px 0; }
.badge-card__quote { font-family: var(--font-display); font-size: 16px; color: var(--text); }

/* =========================================================
   Steps
   ========================================================= */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; background: rgba(255,255,255,.015); position: relative; transition: transform .3s var(--ease), border-color .3s; }
.step:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.step__n { display: inline-block; font-size: 13px; color: var(--brand); margin-bottom: 16px; padding: 5px 10px; border: 1px solid var(--border); border-radius: 8px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }

/* =========================================================
   Contact
   ========================================================= */
.section--contact { background:
  radial-gradient(800px 480px at 85% 20%, rgba(52,226,160,.10), transparent 60%);
  border-top: 1px solid var(--border); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact__direct { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact__direct li { display: flex; align-items: baseline; gap: 14px; font-size: 16px; }
.contact__direct .mono { color: var(--muted-2); min-width: 56px; text-transform: uppercase; letter-spacing: .12em; }
.contact__direct a { color: var(--brand); transition: opacity .2s; }
.contact__direct a:hover { opacity: .8; }

.contact__form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; color: var(--muted); font-weight: 500; }
.field input, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 13px 15px; color: var(--text); font-family: var(--font-body); font-size: 15px; resize: vertical; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(52,226,160,.15); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff7a7a; }
.field__err { color: #ff9b9b; font-size: 12.5px; min-height: 1em; }
.form-note { font-size: 14px; color: var(--brand); min-height: 1.2em; text-align: center; }

/* =========================================================
   Footer
   ========================================================= */
.footer { border-top: 1px solid var(--border); padding: 56px 0 40px; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: center; }
.footer__tag { color: var(--muted); margin-top: 10px; font-size: 14px; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a { color: var(--muted); font-size: 14px; transition: color .2s; }
.footer__links a:hover { color: var(--text); }
.footer__meta { color: var(--muted-2); width: 100%; padding-top: 22px; border-top: 1px solid var(--border); margin-top: 8px; }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .platform__grid, .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 36px; }
  .viz-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile { display: flex; }
  .bento__a, .bento__b, .bento__c { grid-column: 1 / -1; grid-row: auto; }
  .bento { grid-template-columns: 1fr; }
  .hero__trust { gap: 22px; }
}
@media (max-width: 460px) {
  .steps, .stats { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
}

/* =========================================================
   Articles Hub — teaser on homepage + listing page
   ========================================================= */
.hub-hero { padding: clamp(80px, 14vh, 140px) 0 56px; text-align: center; }
.hub-hero__title { font-size: clamp(36px, 6vw, 64px); margin-bottom: 18px; }
.hub-hero__sub { color: var(--muted); font-size: clamp(15px, 1.8vw, 19px); max-width: 560px; margin: 0 auto 36px; }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 48px; }
.filter-btn { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; padding: 7px 15px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); background: none; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.filter-btn:hover, .filter-btn.is-active { border-color: var(--brand); color: var(--brand); background: rgba(52,226,160,.06); }

.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
  text-decoration: none; color: inherit; position: relative; overflow: hidden;
}
.article-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s; pointer-events: none; }
.article-card:hover, .article-card:focus-visible { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.article-card:hover::before { opacity: .5; }
.article-card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; padding: 0; }
.article-feat-visual { background: linear-gradient(135deg, rgba(52,226,160,.06), rgba(139,123,251,.08)); display: grid; place-items: center; border-radius: var(--radius) 0 0 var(--radius); min-height: 220px; border-right: 1px solid var(--border); }
.article-feat-body { display: flex; flex-direction: column; gap: 12px; padding: 34px; }
.article-feat-tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border: 1px solid rgba(52,226,160,.3); border-radius: 999px; background: rgba(52,226,160,.06); font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); width: fit-content; }
.article-card__cat { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .15em; text-transform: uppercase; color: var(--brand); }
.article-card__title { font-family: var(--font-display); font-size: 18px; font-weight: 600; line-height: 1.2; color: var(--text); }
.article-card--featured .article-card__title { font-size: 24px; }
.article-card__excerpt { color: var(--muted); font-size: 14px; line-height: 1.6; flex: 1; }
.article-card__meta { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted-2); margin-top: auto; }
.article-card__meta .sep { opacity: .4; }
.article-card__read { color: var(--brand); font-family: var(--font-display); font-size: 14px; font-weight: 500; margin-top: 4px; }

/* Newsletter strip */
.newsletter-strip { background: rgba(255,255,255,.02); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 40px; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; margin-top: 52px; }
.newsletter-strip__copy { flex: 1; min-width: 200px; }
.newsletter-strip__copy h3 { font-size: 20px; margin-bottom: 7px; }
.newsletter-strip__copy p { color: var(--muted); font-size: 14px; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; flex: 1; }
.newsletter-form input { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 16px; color: var(--text); font-size: 14.5px; flex: 1; min-width: 180px; font-family: var(--font-body); }
.newsletter-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(52,226,160,.15); }

/* =========================================================
   Article page — individual post
   ========================================================= */
.article-page-wrap { max-width: 820px; margin: 0 auto; padding: 0 24px; }

.breadcrumb { display: flex; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); padding: clamp(22px, 4vh, 40px) 0 0; }
.breadcrumb a { color: var(--muted-2); transition: color .2s; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb__sep { opacity: .4; }

.article-header { padding: 28px 0 40px; border-bottom: 1px solid var(--border); }
.article-header__cat { font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); margin-bottom: 16px; }
.article-header__title { font-size: clamp(28px, 5vw, 50px); line-height: 1.06; margin-bottom: 20px; }
.article-header__lede { font-size: clamp(15px, 1.7vw, 18px); color: var(--muted); line-height: 1.65; margin-bottom: 26px; }
.article-meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); }
.article-meta__author { display: flex; align-items: center; gap: 8px; color: var(--text); }
.author-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--grad-soft); border: 1px solid var(--border); display: grid; place-items: center; font-family: var(--font-display); font-size: 11px; font-weight: 700; color: var(--brand); flex: none; }

.article-body { padding: 42px 0; }
.article-body h2 { font-size: clamp(21px, 3vw, 28px); margin: 48px 0 14px; }
.article-body h3 { font-size: clamp(16px, 2.2vw, 20px); margin: 32px 0 10px; color: var(--text); }
.article-body p { color: var(--muted); font-size: clamp(15px, 1.55vw, 17px); line-height: 1.74; margin-bottom: 20px; }
.article-body p:last-child { margin-bottom: 0; }
.article-body a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { opacity: .8; }
/* Buttons inside article content keep their own colors (not the green link style) */
.article-body a.btn { text-decoration: none; }
.article-body a.btn--primary { color: #042016; }
.article-body a.btn--ghost { color: var(--text); }
.article-body a.btn:hover { opacity: 1; }
.article-body ul, .article-body ol { color: var(--muted); font-size: clamp(15px, 1.55vw, 17px); line-height: 1.7; padding-left: 22px; margin-bottom: 22px; display: grid; gap: 8px; }
.article-body li::marker { color: var(--brand); }
.article-body strong { color: var(--text); font-weight: 600; }
.article-body code { font-family: var(--font-mono); background: var(--surface); padding: 2px 7px; border-radius: 5px; font-size: .86em; color: var(--teal); }
.article-body blockquote { border-left: 3px solid var(--brand); padding: 14px 22px; margin: 28px 0; background: rgba(52,226,160,.04); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.article-body blockquote p { color: var(--text); font-size: 17px; font-style: italic; margin: 0; }

.callout { background: linear-gradient(135deg, rgba(52,226,160,.07), rgba(139,123,251,.05)); border: 1px solid rgba(52,226,160,.22); border-radius: var(--radius); padding: 26px 30px; margin: 32px 0; }
.callout__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.callout ul { color: var(--text); margin: 0; padding-left: 18px; font-size: 15px; }
.callout ul li { margin-bottom: 4px; }
.callout ul li::marker { color: var(--brand); }

/* FAQ accordion */
.faq-section { border-top: 1px solid var(--border); padding-top: 44px; margin-top: 44px; }
.faq-section > h2 { font-size: clamp(22px, 3vw, 28px); margin-bottom: 26px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 10px; background: rgba(255,255,255,.01); }
.faq-q { width: 100%; background: none; border: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 22px; color: var(--text); font-family: var(--font-display); font-weight: 600; font-size: 15.5px; text-align: left; cursor: pointer; transition: background .2s; }
.faq-q:hover { background: rgba(255,255,255,.03); }
.faq-q svg { flex: none; transition: transform .3s var(--ease); color: var(--brand); }
.faq-item.is-open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-item.is-open .faq-a { max-height: 400px; }
.faq-a p { color: var(--muted); font-size: 15px; padding: 0 22px 18px; margin: 0; line-height: 1.7; }

/* Author bio */
.author-bio { border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 28px; display: flex; gap: 20px; align-items: flex-start; margin: 40px 0; background: rgba(255,255,255,.01); }
.author-bio__avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--grad-soft); border: 1px solid var(--border); display: grid; place-items: center; font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--brand); flex: none; }
.author-bio__body {}
.author-bio__name { font-family: var(--font-display); font-weight: 600; font-size: 16px; margin-bottom: 3px; }
.author-bio__role { font-family: var(--font-mono); font-size: 12px; color: var(--brand); margin-bottom: 10px; }
.author-bio__text { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* Related articles */
.related-section { border-top: 1px solid var(--border); padding-top: 42px; margin-top: 42px; }
.related-section h2 { font-size: 22px; margin-bottom: 22px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* Article CTA */
.article-cta { background: linear-gradient(135deg, rgba(52,226,160,.08), rgba(139,123,251,.07)); border: 1px solid rgba(52,226,160,.18); border-radius: var(--radius); padding: 36px 40px; text-align: center; margin: 40px 0; }
.article-cta h3 { font-size: 23px; margin-bottom: 10px; }
.article-cta p { color: var(--muted); font-size: 15px; margin-bottom: 22px; max-width: 52ch; margin-left: auto; margin-right: auto; }

/* Tags */
.tag-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--border); }
.tag { font-family: var(--font-mono); font-size: 11.5px; padding: 5px 12px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); text-decoration: none; transition: border-color .2s, color .2s; cursor: default; }
.tag:hover { border-color: var(--brand); color: var(--brand); }

/* Responsive articles */
@media (max-width: 980px) {
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .article-card--featured { grid-template-columns: 1fr; }
  .article-feat-visual { border-radius: var(--radius) var(--radius) 0 0; border-right: 0; border-bottom: 1px solid var(--border); min-height: 160px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .articles-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .newsletter-strip { flex-direction: column; align-items: stretch; padding: 24px; }
  .article-feat-body { padding: 24px; }
  .article-cta { padding: 26px 22px; }
}
