/* ============================================================
   SAC MAGAZINE — shared design system
   Inherits SAC tone & manner; reframed as an editorial product.
   ============================================================ */

/* ---------- tokens ---------- */
:root{
  --paper:      #0b0b0d;   /* black base */
  --paper-2:    #131317;   /* alt section */
  --paper-3:    #17171c;   /* card */
  --ink:        #f5f5f6;   /* white */
  --ink-2:      #b6b6bd;   /* secondary text */
  --ink-3:      #76767e;   /* muted / meta */
  --line:       rgba(255,255,255,.13);
  --line-2:     rgba(255,255,255,.06);
  --gold:       #c2ff3d;   /* neon green — primary accent */
  --gold-soft:  #d7ff7a;
  --gold-tint:  rgba(194,255,61,.14);
  --acid:       #c2ff3d;   /* neon green (alias) */
  --acid-tint:  rgba(194,255,61,.42);
  --cyan:       #2fe6ff;   /* neon cyan */
  --magenta:    #ff3d9a;   /* neon magenta */
  --violet:     #9b6bff;   /* neon violet */
  --blue:       #0c0c10;   /* hero / CTA block (near-black) */
  --blue-deep:  #08080a;
  --dark:       #060608;   /* footer / code (deepest) */
  --dark-2:     #15151a;

  --maxw: 1280px;          /* page frame */
  --measure: 720px;        /* reading column */

  --serif: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  --sans:  "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  /* --disp = HERO + footer + logo display only (Bebas). Everything else uses Noto. */
  --disp:  "Bebas Neue", "Zen Kaku Gothic New", "Helvetica Neue", Arial, sans-serif;
  --head:  "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  --mono:  "Space Mono", ui-monospace, monospace;

  --r: 4px;                /* base radius */
}

*{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--sans);
  font-size:16px;
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
  font-feature-settings:"palt" 1;
}
img{ max-width:100%; display:block; }
a{ color:inherit; }

/* ---------- shared atoms ---------- */
.dot{ color:var(--gold); }       /* the signature 。 */

.eyebrow{
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--ink-3);
  display:inline-flex;
  align-items:center;
  gap:.7em;
}
.eyebrow::before{
  content:"";
  width:26px; height:1px;
  background:var(--gold);
  display:inline-block;
}
.eyebrow.no-rule::before{ display:none; }

.kicker{
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--ink-3);
}

.wrap{
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 40px;
}

/* section number marker (WORKS / 02) */
.secmark{
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--ink-3);
  display:flex; align-items:center; gap:14px;
  margin-bottom:30px;
}
.secmark::after{
  content:""; flex:1; height:1px; background:var(--line);
}
.secmark b{ color:var(--ink); font-weight:400; }
.secmark .n{ color:var(--gold); }

/* pill button */
.btn{
  display:inline-flex; align-items:center; gap:14px;
  font-family:var(--mono);
  font-size:12px; letter-spacing:.12em; text-transform:uppercase;
  padding:15px 28px;
  border-radius:100px;
  border:1px solid var(--ink);
  background:transparent; color:var(--ink);
  cursor:pointer; text-decoration:none;
  transition:.25s ease;
}
.btn .arr{ transition:transform .25s ease; }
.btn:hover{ background:var(--ink); color:var(--paper); }
.btn:hover .arr{ transform:translateX(4px); }
.btn.gold{
  border-color:transparent;
  background:linear-gradient(180deg,#c9b07a,#b1944f);
  color:#fff;
  box-shadow:0 10px 30px -12px rgba(177,148,79,.7);
}
.btn.gold:hover{ filter:brightness(1.05); background:linear-gradient(180deg,#cdb47f,#a98a45); }

/* ---------- header ---------- */
.mag-header{
  position:sticky; top:0; z-index:50;
  background:rgba(11,11,13,.92);
  border-bottom:1px solid var(--line-2);
}
.mag-header .bar{
  max-width:var(--maxw); margin:0 auto;
  padding:0 40px; height:120px;
  display:flex; align-items:center; justify-content:space-between;
}
.brand{ display:flex; align-items:baseline; gap:10px; text-decoration:none; }
.brand .b1{ font-family:var(--disp); font-weight:900; font-size:20px; letter-spacing:-.02em; }
.brand .b2{
  font-family:var(--mono); font-size:10px; letter-spacing:.3em;
  text-transform:uppercase; color:var(--ink-3);
  border-left:1px solid var(--line); padding-left:10px;
}
.mag-nav{ display:flex; align-items:center; gap:44px; }
.mag-nav a{
  font-family:var(--mono); font-size:19px; letter-spacing:.14em;
  text-transform:uppercase; text-decoration:none; color:var(--ink-2);
  transition:.2s;
}
.mag-nav a:hover{ color:var(--ink); }
.mag-nav a.back{ color:var(--gold); display:inline-flex; gap:6px; align-items:center; }
.mag-nav .menu-btn{ display:none; }

/* breadcrumb */
.crumb{
  font-family:var(--mono); font-size:11px; letter-spacing:.12em;
  text-transform:uppercase; color:var(--ink-3);
  display:flex; gap:10px; align-items:center;
}
.crumb a{ text-decoration:none; color:var(--ink-3); }
.crumb a:hover{ color:var(--ink); }
.crumb .sep{ color:var(--line); }
.crumb .cur{ color:var(--ink); }

/* ---------- footer ---------- */
.mag-footer{ background:var(--dark); color:var(--paper); margin-top:120px; }
.mag-footer .marquee{
  overflow:hidden; border-bottom:1px solid rgba(255,255,255,.08);
  padding:30px 0; display:flex;
}
.mag-footer .marquee .mqt{
  flex:0 0 auto; width:max-content; white-space:nowrap;
  font-family:var(--disp); font-weight:800; font-size:40px;
  letter-spacing:-.01em; color:rgba(255,255,255,.10);
  animation:mq 60s linear infinite; will-change:transform;
}
.mag-footer .marquee b{ color:var(--gold); font-weight:800; }
@keyframes mq{ from{transform:translateX(0)} to{transform:translateX(-50%)} }
.mag-footer .cols{
  max-width:var(--maxw); margin:0 auto; padding:64px 40px 40px;
  display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:30px;
}
.mag-footer h4{
  font-family:var(--disp); font-weight:900; font-size:22px; margin:0 0 18px;
}
.mag-footer .lead-sm{ color:rgba(255,255,255,.55); font-size:13px; max-width:34ch; line-height:1.9; }
.mag-footer ul{ list-style:none; padding:0; margin:0; }
.mag-footer li{ margin:0 0 11px; }
.mag-footer .col h5{
  font-family:var(--mono); font-size:11px; letter-spacing:.2em; text-transform:uppercase;
  color:var(--gold); margin:0 0 16px; font-weight:400;
}
.mag-footer a{ color:rgba(255,255,255,.7); text-decoration:none; font-size:13px; }
.mag-footer a:hover{ color:#fff; }
.mag-footer .legal{
  max-width:var(--maxw); margin:0 auto; padding:24px 40px 48px;
  display:flex; justify-content:center; gap:20px;
  border-top:1px solid rgba(255,255,255,.08);
  font-family:var(--mono); font-size:11px; letter-spacing:.08em;
  color:rgba(255,255,255,.4);
}

/* ============================================================
   ARTICLE BODY — the reading column & module rhythm
   ============================================================ */
.article{ max-width:var(--maxw); margin:0 auto; padding:0 40px; }

/* every module sits on the reading measure unless full-bleed */
.module{ max-width:var(--measure); margin-left:auto; margin-right:auto; }
.module + .module{ margin-top:44px; }

/* ---------- M: Lead ---------- */
.m-lead{
  font-size:19px; line-height:2.05; color:var(--ink-2);
  border-left:2px solid var(--gold);
  padding-left:26px;
}
body.editorial .m-lead{ font-family:var(--serif); font-size:20px; }

/* ---------- M: Rich text ---------- */
.m-rich{ font-size:16.5px; line-height:2.0; color:var(--ink); }
body.editorial .m-rich{ font-family:var(--serif); font-size:17.5px; line-height:2.15; }
.m-rich p{ margin:0 0 1.6em; }
.m-rich a{ color:var(--ink); text-decoration:underline; text-decoration-color:var(--gold); text-underline-offset:3px; }
.m-rich strong{ font-weight:700; background:linear-gradient(transparent 62%, var(--gold-tint) 62%); }
.m-rich em{ font-style:normal; color:var(--gold); }
.m-rich ul,.m-rich ol{ margin:0 0 1.6em; padding-left:1.4em; }
.m-rich li{ margin:.4em 0; }

/* ---------- M: Heading ---------- */
.m-heading{ margin-top:64px; }
.m-heading .h-eye{ font-family:var(--mono); font-size:11px; letter-spacing:.2em; color:var(--gold); text-transform:uppercase; }
.m-heading h2{
  font-family:var(--sans); font-weight:700;
  font-size:30px; line-height:1.45; letter-spacing:.01em;
  margin:.5em 0 0; padding-bottom:.5em;
}
body.editorial .m-heading h2{ font-weight:600; }
.m-heading.line h2{ border-bottom:1px solid var(--line); }
.m-heading h3{ font-family:var(--sans); font-weight:700; font-size:21px; margin:0; }
.m-h3{ margin-top:40px; }

/* ---------- M: Image ---------- */
.m-image figure{ margin:0; }
.m-image.bleed{ max-width:var(--maxw); }
.m-image.full{ max-width:1080px; }
.m-image figcaption{
  font-family:var(--mono); font-size:11px; letter-spacing:.06em;
  color:var(--ink-3); margin-top:12px; padding-left:2px;
}
.m-image figcaption b{ color:var(--ink-2); font-weight:400; }

/* striped placeholder */
.ph{
  position:relative; width:100%; aspect-ratio:16/9;
  background:
    repeating-linear-gradient(135deg, rgba(26,24,19,.05) 0 1px, transparent 1px 11px),
    linear-gradient(135deg, var(--paper-2), var(--paper-3));
  border:1px solid var(--line);
  border-radius:var(--r);
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
.ph .tag{
  font-family:var(--mono); font-size:11px; letter-spacing:.16em;
  text-transform:uppercase; color:var(--ink-3);
  background:var(--paper); padding:7px 14px; border:1px solid var(--line);
  border-radius:100px;
}
.ph.tall{ aspect-ratio:4/5; }
.ph.wide{ aspect-ratio:21/9; }
.ph.sq{ aspect-ratio:1/1; }
.ph.dark{
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 1px, transparent 1px 11px),
    linear-gradient(135deg,#23201a,#16140f);
  border-color:rgba(255,255,255,.1);
}
.ph.dark .tag{ background:rgba(0,0,0,.4); color:rgba(255,255,255,.7); border-color:rgba(255,255,255,.12); }
/* real image fills the placeholder when present */
.ph > img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }

/* ---------- M: Image gallery ---------- */
.m-gallery{ max-width:1080px; }
.m-gallery .g{ display:grid; gap:14px; }
.m-gallery .g.g2{ grid-template-columns:1fr 1fr; }
.m-gallery .g.g3{ grid-template-columns:repeat(3,1fr); }
.m-gallery figcaption{ font-family:var(--mono); font-size:11px; color:var(--ink-3); margin-top:12px; }

/* ---------- M: Quote ---------- */
.m-quote{ text-align:center; padding:30px 0; }
.m-quote .mark{ font-family:var(--head); font-weight:900; font-size:64px; line-height:.6; color:var(--gold); }
.m-quote blockquote{
  margin:18px auto 0; max-width:760px;
  font-family:var(--serif); font-weight:500;
  font-size:28px; line-height:1.7; letter-spacing:.01em;
}
body.practical .m-quote blockquote{ font-family:var(--sans); font-weight:500; font-size:25px; }
.m-quote cite{
  display:block; margin-top:22px; font-style:normal;
  font-family:var(--mono); font-size:12px; letter-spacing:.12em; color:var(--ink-3);
}

/* ---------- M: Point Box ---------- */
.m-point{
  background:var(--paper-3);
  border:1px solid var(--line);
  border-top:3px solid var(--gold);
  border-radius:var(--r);
  padding:30px 34px;
}
.m-point .pt-head{
  display:flex; align-items:center; gap:12px; margin-bottom:16px;
}
.m-point .pt-head .ic{
  width:30px; height:30px; border-radius:50%;
  background:var(--gold-tint); color:var(--gold);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--mono); font-weight:700; font-size:14px; flex:none;
}
.m-point .pt-head h4{ margin:0; font-size:16px; font-weight:700; }
.m-point .pt-head .lbl{ font-family:var(--mono); font-size:10px; letter-spacing:.2em; color:var(--gold); text-transform:uppercase; }
.m-point ul{ margin:0; padding:0; list-style:none; }
.m-point li{ position:relative; padding-left:24px; margin:.55em 0; font-size:15.5px; line-height:1.8; }
.m-point li::before{ content:""; position:absolute; left:4px; top:.7em; width:7px; height:7px; background:var(--gold); border-radius:50%; }

/* ---------- M: Step list ---------- */
.m-steps{ counter-reset:step; }
.m-steps .step{
  display:grid; grid-template-columns:auto 1fr; gap:22px;
  padding:22px 0; border-bottom:1px solid var(--line);
  position:relative; counter-increment:step;
}
.m-steps .step:last-child{ border-bottom:0; }
.m-steps .num{
  font-family:var(--head); font-weight:900; font-size:14px;
  width:42px; height:42px; border-radius:50%;
  border:1px solid var(--ink); color:var(--ink);
  display:flex; align-items:center; justify-content:center; flex:none;
}
.m-steps .step h4{ margin:6px 0 8px; font-size:18px; font-weight:700; }
.m-steps .step p{ margin:0; color:var(--ink-2); font-size:15px; line-height:1.85; }

/* ---------- M: Checklist ---------- */
.m-check{
  background:var(--paper-3); border:1px solid var(--line); border-radius:var(--r);
  padding:28px 32px;
}
.m-check .ck-head{ display:flex; justify-content:space-between; align-items:baseline; margin-bottom:18px; }
.m-check .ck-head h4{ margin:0; font-size:16px; font-weight:700; }
.m-check .ck-head .lbl{ font-family:var(--mono); font-size:10px; letter-spacing:.2em; color:var(--gold); text-transform:uppercase; }
.m-check ul{ list-style:none; margin:0; padding:0; }
.m-check li{ display:flex; gap:14px; padding:12px 0; border-bottom:1px dashed var(--line); font-size:15.5px; align-items:flex-start; }
.m-check li:last-child{ border-bottom:0; }
.m-check .box{
  width:22px; height:22px; flex:none; border:1.5px solid var(--gold); border-radius:5px;
  display:flex; align-items:center; justify-content:center; margin-top:1px;
}
.m-check .box svg{ width:13px; height:13px; stroke:var(--gold); }

/* ---------- M: Comparison table ---------- */
.m-table{ max-width:980px; }
.m-table .scroll{ overflow-x:auto; border:1px solid var(--line); border-radius:var(--r); }
.m-table table{ width:100%; border-collapse:collapse; min-width:640px; font-size:14.5px; }
.m-table th,.m-table td{ padding:16px 18px; text-align:left; border-bottom:1px solid var(--line); vertical-align:top; }
.m-table thead th{
  background:var(--ink); color:var(--paper); font-weight:600; font-size:13px;
  letter-spacing:.04em; position:sticky; top:0;
}
.m-table thead th:first-child{ background:var(--dark-2); }
.m-table tbody th{ font-weight:700; background:var(--paper-3); }
.m-table tbody tr:nth-child(even) td,.m-table tbody tr:nth-child(even) th{ background:color-mix(in srgb,var(--paper-3) 60%, var(--paper)); }
.m-table .best{ color:var(--gold); font-weight:700; }
.m-table .yes{ color:#5a8a4f; font-weight:700; }
.m-table .no{ color:var(--ink-3); }
.m-table tbody tr.hl th,.m-table tbody tr.hl td{ box-shadow:inset 3px 0 0 var(--gold); }

/* ---------- M: FAQ ---------- */
.m-faq details{ border-bottom:1px solid var(--line); }
.m-faq details:first-child{ border-top:1px solid var(--line); }
.m-faq summary{
  list-style:none; cursor:pointer; padding:22px 44px 22px 36px;
  position:relative; font-weight:700; font-size:16.5px; line-height:1.6;
}
.m-faq summary::-webkit-details-marker{ display:none; }
.m-faq summary .q{ position:absolute; left:0; top:22px; font-family:var(--head); font-weight:900; color:var(--gold); }
.m-faq summary .pm{ position:absolute; right:6px; top:24px; width:16px; height:16px; }
.m-faq summary .pm::before,.m-faq summary .pm::after{ content:""; position:absolute; background:var(--ink); transition:.25s; }
.m-faq summary .pm::before{ left:0; top:7px; width:16px; height:2px; }
.m-faq summary .pm::after{ left:7px; top:0; width:2px; height:16px; }
.m-faq details[open] summary .pm::after{ transform:rotate(90deg); opacity:0; }
.m-faq .a{ padding:0 36px 24px; color:var(--ink-2); font-size:15px; line-height:1.95; display:flex; gap:14px; }
.m-faq .a .a-ic{ font-family:var(--head); font-weight:900; color:var(--ink-3); flex:none; }

/* ---------- M: Prompt box ---------- */
.m-prompt{
  background:var(--dark); color:#e9e4d8; border-radius:8px; overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
}
.m-prompt .pr-head{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 18px; border-bottom:1px solid rgba(255,255,255,.08);
  background:var(--dark-2);
}
.m-prompt .pr-head .left{ display:flex; align-items:center; gap:10px; font-family:var(--mono); font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--gold-soft); }
.m-prompt .pr-head .dots{ display:flex; gap:6px; }
.m-prompt .pr-head .dots i{ width:9px; height:9px; border-radius:50%; background:rgba(255,255,255,.18); }
.m-prompt .copy{
  font-family:var(--mono); font-size:11px; letter-spacing:.1em; text-transform:uppercase;
  color:#e9e4d8; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.14);
  padding:7px 14px; border-radius:100px; cursor:pointer; display:flex; gap:8px; align-items:center;
  transition:.2s;
}
.m-prompt .copy:hover{ background:rgba(255,255,255,.14); }
.m-prompt .copy.done{ color:var(--gold-soft); border-color:var(--gold); }
.m-prompt pre{
  margin:0; padding:24px; font-family:var(--mono); font-size:13.5px; line-height:1.95;
  white-space:pre-wrap; word-break:break-word;
}
.m-prompt pre .v{ color:var(--gold-soft); }
.m-prompt .pr-note{ padding:0 24px 20px; font-family:var(--mono); font-size:11px; color:rgba(255,255,255,.4); }

/* ---------- M: CTA box ---------- */
.m-cta{ max-width:980px; }
.m-cta .box{
  background:var(--paper-3); border:1px solid var(--line); border-radius:8px;
  padding:48px 52px; display:grid; grid-template-columns:1fr auto; gap:40px; align-items:center;
}
.m-cta .ct-eye{ font-family:var(--mono); font-size:11px; letter-spacing:.2em; color:var(--gold); text-transform:uppercase; }
.m-cta h3{ font-family:var(--sans); font-weight:700; font-size:24px; margin:12px 0 10px; line-height:1.5; }
.m-cta p{ margin:0; color:var(--ink-2); font-size:14.5px; max-width:46ch; }

/* ---------- M: Author profile ---------- */
.m-author{ max-width:980px; }
.m-author .box{
  border-top:1px solid var(--ink); padding-top:30px;
  display:grid; grid-template-columns:96px 1fr; gap:26px; align-items:start;
}
.m-author .ava{ width:96px; height:96px; border-radius:50%; overflow:hidden; border:1px solid var(--line); }
.m-author .ava .ph{ aspect-ratio:1/1; border:0; border-radius:0; }
.m-author .a-eye{ font-family:var(--mono); font-size:10px; letter-spacing:.2em; color:var(--gold); text-transform:uppercase; }
.m-author h4{ margin:8px 0 2px; font-size:19px; font-weight:700; }
.m-author .role{ font-family:var(--mono); font-size:12px; color:var(--ink-3); margin-bottom:12px; }
.m-author p{ margin:0; color:var(--ink-2); font-size:14.5px; line-height:1.9; }
.m-author .socials{ display:flex; gap:18px; margin-top:14px; }
.m-author .socials a{ font-family:var(--mono); font-size:11px; letter-spacing:.1em; color:var(--ink-3); text-decoration:none; }
.m-author .socials a:hover{ color:var(--gold); }

/* ---------- M: Related articles ---------- */
.m-related{ max-width:var(--maxw); margin-top:90px; }
.m-related .grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.rel-card{ text-decoration:none; color:inherit; display:block; }
.rel-card .thumb{ position:relative; margin-bottom:14px; }
.rel-card .cat{ position:absolute; left:12px; top:12px; font-family:var(--mono); font-size:10px; letter-spacing:.1em; text-transform:uppercase; background:var(--paper); padding:5px 10px; border-radius:100px; }
.rel-card h4{ margin:0 0 8px; font-size:16px; font-weight:700; line-height:1.55; }
.rel-card:hover h4{ color:var(--gold); }
.rel-card .meta{ font-family:var(--mono); font-size:11px; color:var(--ink-3); letter-spacing:.06em; }

/* ============================================================
   responsive
   ============================================================ */
@media (max-width:860px){
  .wrap,.article,.mag-header .bar,.mag-footer .cols,.mag-footer .legal{ padding-left:22px; padding-right:22px; }
  .mag-nav a:not(.back){ display:none; }
  /* SP: ヘッダーはPC(120px)より抑えめに（連動して scrollprog も調整） */
  .mag-header .bar{ height:96px; }
  .scrollprog{ top:95px; }
  .mag-footer .cols{ grid-template-columns:1fr 1fr; gap:28px 30px; }
  /* SP: ブランド+リード文は全幅にして読みやすく（リンク列だけ2カラム） */
  .mag-footer .col:first-child{ grid-column:1 / -1; }
  .mag-footer .lead-sm{ max-width:none; font-size:14px; line-height:1.85; color:rgba(255,255,255,.72); }
  .m-related .grid{ grid-template-columns:1fr; }
  .m-cta .box{ grid-template-columns:1fr; padding:34px 28px; }
  .m-gallery .g.g3{ grid-template-columns:1fr 1fr; }
  .m-author .box{ grid-template-columns:1fr; }
  .m-author .ava{ width:72px; height:72px; }
  .module{ max-width:100%; }
  .m-image.bleed,.m-image.full,.m-gallery,.m-table,.m-cta,.m-author{ max-width:100%; }
  .secmark{ margin-bottom:22px; }
  .mag-footer .marquee .mqt{ font-size:30px; }
}

/* ============================================================
   AI NOW MAGAZINE — Sound Ethics-inspired editorial system
   ============================================================ */
/* headings */
.m-heading h2{ font-family:var(--head); font-weight:700; letter-spacing:-.015em; }
.m-heading h3{ font-family:var(--head); font-weight:700; }
.m-heading .h-eye{ color:var(--ink); }

/* the punctuation dot → live spring-green */
.dot{ color:var(--acid); }

/* primary button: spring-green pill, charcoal ink */
.btn.gold{ background:var(--acid); color:var(--ink); box-shadow:none; border-color:transparent; }
.btn.gold:hover{ background:var(--ink); color:#fff; filter:none; }

/* green highlighter on body strong */
.m-rich strong{ background:linear-gradient(transparent 56%, var(--acid-tint) 56%); }

/* green ticks / pops */
.eyebrow::before{ background:var(--acid); }
.m-point{ border-top-color:var(--acid); }
.m-point .pt-head .ic{ background:var(--acid-tint); color:#2f6e12; }
.m-check .box{ border-color:var(--acid); }
.m-check .box svg{ stroke:#2f6e12; }
.mag-footer .marquee b{ background:linear-gradient(90deg,#c2ff3d,#2fe6ff,#ff3d9a,#9b6bff,#c2ff3d); background-size:200% 100%; -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; color:transparent; animation:huesweep 7s linear infinite; }
.mag-footer .col h5{ color:var(--acid); }
.m-prompt .pr-head .left{ color:var(--acid); }
.m-prompt pre .v{ color:var(--acid); }
.m-prompt .copy.done{ color:var(--acid); border-color:var(--acid); }

/* brand lockup — "live signal" mark (concentric rings + core) + wordmark */
.brand{ display:flex; align-items:center; gap:22px; text-decoration:none; }
.brandmark{ width:64px; height:64px; position:relative; flex:none; }
.brandmark .core{ position:absolute; top:50%; left:50%; width:18px; height:18px; margin:-9px 0 0 -9px; border-radius:50%; background:var(--acid); }
.brandmark .ring{ position:absolute; top:50%; left:50%; border:3.4px solid var(--acid); border-radius:50%; }
.brandmark .ring.r1{ width:38px; height:38px; margin:-19px 0 0 -19px; opacity:.6; }
.brandmark .ring.r2{ width:62px; height:62px; margin:-31px 0 0 -31px; opacity:.3; }
.brandtype{ display:flex; flex-direction:column; line-height:1; gap:6px; }
.brandtype .b1{ font-family:var(--disp); font-weight:700; font-size:32px; letter-spacing:-.01em; color:var(--ink); border:0; padding:0; }
.brandtype .b2{ font-family:var(--mono); font-size:16px; letter-spacing:.32em; text-transform:uppercase; color:var(--ink-3); border:0; padding:0; }

/* ============================================================
   NEON DARK MODE — fixes + dynamic titles
   ============================================================ */
/* neon pills/buttons need dark text */
.btn.gold{ color:#0b0b0d; }
.btn.gold:hover{ background:#fff; color:#0b0b0d; }

/* strong = neon text on dark (not a highlighter) */
.m-rich strong{ background:none; color:var(--acid); }

/* secondary neon accents for variety */
.m-heading .h-eye{ color:var(--cyan); }
.m-quote .mark{ color:var(--magenta); }
.m-point .pt-head .ic{ background:rgba(194,255,61,.16); color:var(--acid); }
.m-check .box svg{ stroke:var(--acid); }
.m-table .yes{ color:var(--acid); }

/* brandmark live-core pulse */
@media (prefers-reduced-motion:no-preference){ .brandmark .core{ animation:livepulse 1.6s ease-in-out infinite; } }

/* live-dot pulse on heroes only */
@media (prefers-reduced-motion:no-preference){
  .a-hero .dot, .pagehead .dot, .hero-c .dot{ animation:livepulse 1.8s ease-in-out infinite; }
}
@keyframes livepulse{ 0%,100%{ opacity:1; } 50%{ opacity:.4; } }

/* animated neon-gradient masthead type */
.bigtype{
  background:linear-gradient(100deg,#c2ff3d 0%,#2fe6ff 34%,#ff3d9a 68%,#c2ff3d 100%);
  background-size:300% 100%;
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent;
}
@media (prefers-reduced-motion:no-preference){ .bigtype{ animation:huesweep 9s linear infinite; } }
@keyframes huesweep{ to{ background-position:300% 0; } }

/* hero entrance */
@media (prefers-reduced-motion:no-preference){
  .a-hero h1{ animation:rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .a-hero .deck{ animation:rise .7s .08s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes rise{ from{ opacity:0; transform:translateY(18px); } to{ opacity:1; transform:none; } }

/* ============================================================
   LIGHT BAND — white sections inside the dark page
   token-flip so every child module inverts cleanly
   ============================================================ */
.invert-light{
  --paper:#ffffff;
  --paper-2:#f2f2ef;
  --paper-3:#f7f7f4;
  --ink:#101013;
  --ink-2:#46464c;
  --ink-3:#85858b;
  --line:rgba(16,16,19,.14);
  --line-2:rgba(16,16,19,.07);
  --gold:#101013;              /* thin accents → ink on white */
  --gold-tint:rgba(16,16,19,.05);
  background:#ffffff;
  color:#101013;
}
/* readable accent forms on white */
.invert-light .dot{ color:#54c40a; }
.invert-light .m-rich strong{ background:linear-gradient(transparent 56%, var(--acid-tint) 56%); color:inherit; }
.invert-light .m-heading .h-eye{ color:#0e9c57; }
.invert-light .secmark .n{ color:#0e9c57; }
.invert-light .card .cat,
.invert-light .rel-card .cat{ color:#0e9c57; }
.invert-light .btn{ border-color:#101013; color:#101013; }
.invert-light .btn:hover{ background:#101013; color:#fff; }
.invert-light .btn.gold{ background:var(--acid); color:#101013; border-color:transparent; }
.invert-light .btn.gold:hover{ background:#101013; color:#fff; }

/* full-bleed helper: white spans the viewport, content stays in wrap */
.bleed-bg{ position:relative; }
.bleed-bg::before{ content:""; position:absolute; top:0; bottom:0; left:50%; transform:translateX(-50%); width:100vw; background:inherit; z-index:0; }
.bleed-bg > *{ position:relative; z-index:1; }

/* ============================================================
   header scroll-progress (multicolor) + footer re-think
   ============================================================ */
.scrollprog{
  position:fixed; top:119px; left:0; height:3px; width:0; z-index:55;
  background:linear-gradient(90deg,#c2ff3d,#2fe6ff,#ff3d9a,#9b6bff,#c2ff3d);
  background-size:200% 100%; animation:huesweep 6s linear infinite;
  transition:width .12s linear; pointer-events:none;
}

.mag-footer{ margin-top:100px; overflow:hidden; }
.mag-footer .cols{ grid-template-columns:1.7fr 1fr 1fr 1fr; gap:40px; padding:74px 40px 30px; align-items:start; }
.mag-footer h4{ display:flex; align-items:center; gap:10px; font-size:24px; letter-spacing:-.01em; color:#fff; }
.mag-footer h4 .tile{ width:30px; height:30px; border-radius:8px; background:var(--acid); color:#0b0b0d; display:flex; align-items:center; justify-content:center; font-family:var(--disp); font-weight:700; font-size:15px; letter-spacing:-.05em; }
/* big outlined wordmark strip */
/* ---- Let's talk: full-bleed neon-green CTA band (shared) ---- */
.quietcta{ background:var(--acid); padding:0 40px; }
.quietcta .in{ max-width:1120px; margin:0 auto; padding:96px 56px; text-align:center; }
.quietcta .eyebrow{ justify-content:center; color:rgba(11,11,13,.66); }
.quietcta .eyebrow::before{ background:#0b0b0d; }
.quietcta h2{ font-family:var(--head); font-weight:700; font-size:clamp(28px,4.4vw,52px); line-height:1.26; letter-spacing:-.01em; margin:18px 0 14px; color:#0b0b0d; }
.quietcta .dot{ color:#0b0b0d; }
.quietcta p{ font-size:15.5px; line-height:1.85; margin:0 0 32px; color:rgba(11,11,13,.74); }
.quietcta .btn.gold{ font-size:13px; padding:18px 42px; background:#0b0b0d; color:#fff; box-shadow:none; }
.quietcta .btn.gold:hover{ background:#fff; color:#0b0b0d; }
/* band sits flush against the ticker when it is the last section */
body.has-cta-band .mag-footer{ margin-top:0; }

body{ overflow-x:clip; }
.mag-footer h4 .brandmark{ width:26px; height:26px; }
.foot-word{
  width:100%; margin:0; padding:6px 40px 32px; text-align:center;
  font-family:var(--disp); font-weight:400; font-size:calc((100vw - 70px) / 9.4);
  line-height:.9; letter-spacing:.02em; white-space:nowrap; overflow:hidden;
  color:transparent; -webkit-text-stroke:1px rgba(255,255,255,.2);
}
.foot-word .g{
  -webkit-text-stroke:0; background:linear-gradient(90deg,#c2ff3d,#2fe6ff,#ff3d9a,#9b6bff,#c2ff3d);
  background-size:200% 100%; -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; animation:huesweep 8s linear infinite;
}
@media (max-width:860px){
  .foot-word{ -webkit-text-stroke-width:.6px; padding-left:22px; padding-right:22px; }
}
