/* ==========================================================================
   Crackers Wither Storm Mod - Main Stylesheet
   Design seed: S09 Gaming Utility
   Palette: Void #120a24 / Plum #1e1138 / Storm Violet #9d5cff /
            Beam Magenta #e052ff / Command Amber #ffb13b / Frost #f3eeff
   ========================================================================== */

/* ---------- Fonts (self-hosted Poppins) ---------- */
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --void: #120a24;
  --void-deep: #0c0619;
  --plum: #1e1138;
  --plum-2: #2a1850;
  --plum-3: #3a2270;
  --violet: #9d5cff;
  --violet-soft: #b98bff;
  --magenta: #e052ff;
  --amber: #ffb13b;
  --amber-deep: #e8921a;
  --grass: #43845a;
  --text: #f3eeff;
  --muted: #b9aed6;
  --line: rgba(157, 92, 255, 0.28);
  --line-strong: rgba(157, 92, 255, 0.55);

  --font: "Poppins", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --notch: 16px;
  --notch-sm: 10px;
  --header-h: 76px;
  --container: 1200px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--void);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(157, 92, 255, 0.22), transparent 70%),
    radial-gradient(700px 500px at -10% 40%, rgba(224, 82, 255, 0.08), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--void);
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--violet-soft); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--amber); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 1.8rem); }
h3 { font-size: clamp(1.12rem, 1.6vw, 1.3rem); font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
code { font-family: var(--font); font-weight: 600; font-size: .92em; color: var(--amber); background: rgba(255, 177, 59, 0.1); padding: .08em .4em; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--amber); color: #1b0f00; padding: 10px 16px; font-weight: 700; }
.skip-link:focus { top: 12px; color: #1b0f00; }

/* ---------- Pixel marker (section signature) ---------- */
.px-mark { display: inline-flex; gap: 5px; margin-bottom: 18px; }
.px-mark i { width: 12px; height: 12px; background: var(--violet); display: block; }
.px-mark i:nth-child(1) { background: var(--amber); }
.px-mark i:nth-child(3) { background: var(--magenta); }

/* ---------- Buttons ---------- */
.btn {
  --cut: var(--notch-sm);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 26px;
  border: 0;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), filter .25s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--amber); color: #1b0f00; }
.btn-primary:hover { background: #ffc566; color: #1b0f00; filter: drop-shadow(0 0 0 transparent); }
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { background: rgba(157, 92, 255, 0.14); color: var(--text); box-shadow: inset 0 0 0 2px var(--line-strong); }
.btn-ghost:hover { background: rgba(157, 92, 255, 0.28); color: var(--text); }
.btn-lg { min-height: 62px; padding: 16px 34px; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* ---------- Notched panel (sharp card system) ---------- */
.panel {
  position: relative;
  isolation: isolate;
  --cut: var(--notch);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  background: linear-gradient(140deg, rgba(157, 92, 255, .7), rgba(224, 82, 255, .12) 45%, rgba(157, 92, 255, .45));
}
.panel::before {
  content: "";
  position: absolute;
  inset: 1.5px;
  z-index: -1;
  background: linear-gradient(180deg, var(--plum-2), var(--plum));
  clip-path: inherit;
}

/* ---------- Header ---------- */
.site-header-bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(18, 10, 36, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header-bar.is-scrolled { background: rgba(12, 6, 25, 0.94); border-color: var(--line); box-shadow: 0 12px 30px rgba(0, 0, 0, .45); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-weight: 800; letter-spacing: -0.01em; line-height: 1.1; flex: none; }
.brand:hover { color: var(--text); }
.brand img { width: 42px; height: 42px; transition: transform .4s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand span { font-size: 1.02rem; }
.brand small { display: block; font-size: .72rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.main-nav a.nav-link { position: relative; display: block; padding: 10px 12px; color: var(--muted); font-weight: 500; font-size: .94rem; }
.main-nav a.nav-link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 3px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav a.nav-link:hover, .main-nav a.nav-link.is-active { color: var(--text); }
.main-nav a.nav-link:hover::after, .main-nav a.nav-link.is-active::after { transform: scaleX(1); }
.nav-cta { margin-left: 14px; min-height: 46px; padding: 10px 20px; font-size: .95rem; }
.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: rgba(157, 92, 255, .16); cursor: pointer; place-items: center; }
.nav-toggle span { display: block; width: 22px; height: 3px; background: var(--text); margin: 4px auto; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

main { padding-top: var(--header-h); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--muted); font-size: 1.06rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .px-mark { justify-content: center; }
.section--slab {
  background: linear-gradient(180deg, rgba(42, 24, 80, .55), rgba(30, 17, 56, .35));
  clip-path: polygon(0 36px, 100% 0, 100% calc(100% - 36px), 0 100%);
  padding-block: clamp(96px, 12vw, 150px);
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 90px) clamp(60px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(28px, 5vw, 70px); }
.hero-chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; margin-bottom: 22px; background: rgba(255, 177, 59, .1); color: var(--amber); font-size: .88rem; font-weight: 600; box-shadow: inset 3px 0 0 var(--amber); }
.hero h1 { margin-bottom: 20px; text-wrap: balance; }
.hero-title-shadow { text-shadow: 4px 4px 0 var(--plum-3); }
.hero-lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hud { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 580px; }
.hud li { padding: 12px 14px; background: rgba(12, 6, 25, .6); box-shadow: inset 0 0 0 1px var(--line); }
.hud strong { display: block; font-size: 1.02rem; font-weight: 700; color: var(--text); line-height: 1.3; }
.hud span { font-size: .8rem; color: var(--muted); }

.hero-stage { position: relative; aspect-ratio: 1 / 1; max-width: 560px; margin-left: auto; width: 100%; }
.hero-frame { position: absolute; inset: 0; --cut: 34px; padding: 2px; }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 32px 100%, 0 calc(100% - 32px)); animation: stage-breathe 9s ease-in-out infinite; }
.hero-stage::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--line-strong); z-index: -1; clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px)); }
.hero-beam { position: absolute; left: 50%; top: 22%; width: 34%; height: 60%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(224, 82, 255, .45), transparent); filter: blur(10px); mix-blend-mode: screen; animation: beam-pulse 3.6s ease-in-out infinite; pointer-events: none; }

.bossbar { position: absolute; left: 7%; right: 7%; top: 6%; z-index: 3; text-align: center; }
.bossbar-name { display: block; font-weight: 700; font-size: .92rem; color: var(--text); text-shadow: 0 2px 0 #000; margin-bottom: 6px; }
.bossbar-track { height: 14px; background: rgba(12, 6, 25, .85); box-shadow: inset 0 0 0 2px rgba(243, 238, 255, .35); padding: 3px; }
.bossbar-fill { height: 100%; width: 72%; background: repeating-linear-gradient(90deg, var(--magenta) 0 22px, #c43ae6 22px 24px); animation: boss-grow 6s var(--ease) infinite; transform-origin: left; }
.bossbar-phase { display: block; margin-top: 6px; font-size: .78rem; color: var(--muted); }

.float-cube { position: absolute; width: 46px; height: 46px; z-index: 2; animation: float-y 6s ease-in-out infinite; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .5)); }
.float-cube.c1 { left: -14px; top: 38%; animation-delay: -1s; }
.float-cube.c2 { right: -10px; top: 20%; width: 34px; height: 34px; animation-delay: -3s; }
.float-cube.c3 { right: 12%; bottom: -12px; width: 56px; height: 56px; animation-delay: -2s; }
.hero-label { position: absolute; z-index: 3; left: -20px; bottom: 14%; padding: 10px 14px; background: var(--void-deep); box-shadow: inset 0 0 0 1px var(--line-strong); font-size: .82rem; color: var(--muted); animation: float-y 7s ease-in-out infinite; }
.hero-label strong { display: block; color: var(--amber); font-size: .95rem; }

@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes beam-pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes boss-grow { 0% { transform: scaleX(.18); } 70%, 100% { transform: scaleX(1); } }
@keyframes stage-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.about-visual { position: relative; }
.about-visual img { width: 100%; clip-path: polygon(0 24px, 24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%); }
.about-visual::after { content: ""; position: absolute; width: 40%; height: 40%; right: -14px; bottom: -14px; border-right: 6px solid var(--amber); border-bottom: 6px solid var(--amber); pointer-events: none; }
.about-visual::before { content: ""; position: absolute; width: 30%; height: 30%; left: -14px; top: -14px; border-left: 6px solid var(--violet); border-top: 6px solid var(--violet); pointer-events: none; }
.about-copy p { color: var(--muted); }
.about-copy p strong { color: var(--text); }
.slot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.slot {
  padding: 14px 16px;
  background: var(--void-deep);
  box-shadow: inset 3px 3px 0 rgba(0, 0, 0, .55), inset -3px -3px 0 rgba(157, 92, 255, .22);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.slot:hover { transform: translateY(-2px); box-shadow: inset 3px 3px 0 rgba(0, 0, 0, .55), inset -3px -3px 0 rgba(255, 177, 59, .5); }
.slot span { display: block; font-size: .8rem; color: var(--muted); }
.slot strong { font-size: 1rem; color: var(--text); font-weight: 700; }

/* ---------- Features (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(210px, auto); gap: 16px; }
.feature { padding: 28px 26px; transition: transform .3s var(--ease); }
.feature:hover { transform: translateY(-6px); }
.feature:hover::before { background: linear-gradient(180deg, var(--plum-3), var(--plum)); }
.feature p { color: var(--muted); margin: 0; font-size: .96rem; }
.feature .icon { width: 52px; height: 52px; margin-bottom: 18px; display: grid; place-items: center; background: rgba(157, 92, 255, .18); box-shadow: inset 0 0 0 1px var(--line-strong); }
.feature .icon svg { width: 28px; height: 28px; }
.feature--wide { grid-column: span 2; }
.feature--tall { grid-row: span 2; grid-column: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 440px; }
.feature--tall::after {
  content: "";
  position: absolute;
  inset: 1.5px;
  z-index: -1;
  background: url("../images/hero-visual.webp") center 30% / cover no-repeat;
  opacity: .5;
  -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 85%);
  mask-image: linear-gradient(180deg, #000 20%, transparent 85%);
  clip-path: inherit;
}
.feature--tall h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.feature--amber .icon { background: rgba(255, 177, 59, .16); box-shadow: inset 0 0 0 1px rgba(255, 177, 59, .6); }

/* ---------- How it works (phase track) ---------- */
.track-shell { position: relative; }
.track { position: relative; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: step; }
.track-shell::before { content: ""; position: absolute; left: 0; right: 0; top: 29px; height: 8px; background: var(--void-deep); box-shadow: inset 0 0 0 1px var(--line); }
.track-fill { position: absolute; z-index: 0; left: 0; top: 29px; height: 8px; width: 100%; background: repeating-linear-gradient(90deg, var(--magenta) 0 26px, var(--violet) 26px 30px); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease) .2s; }
.track-shell.is-visible .track-fill { transform: scaleX(1); }
.track li { position: relative; }
.track-node { position: relative; z-index: 1; width: 66px; height: 66px; display: grid; place-items: center; background: var(--plum-2); box-shadow: inset 0 0 0 3px var(--violet); font-weight: 800; font-size: 1.4rem; margin-bottom: 22px; transform: rotate(45deg); }
.track-node b { transform: rotate(-45deg); }
.track li:last-child .track-node { background: var(--amber); color: #1b0f00; box-shadow: inset 0 0 0 3px #ffd89a; }
.track h3 { margin-bottom: 8px; }
.track p { color: var(--muted); font-size: .96rem; margin: 0; }
.track-note { margin-top: 40px; padding: 18px 22px; background: rgba(12, 6, 25, .6); box-shadow: inset 4px 0 0 var(--magenta); color: var(--muted); max-width: 820px; }
.track-note strong { color: var(--text); }

/* ---------- Compatibility ---------- */
.compat-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 22px; align-items: start; }
.table-wrap { overflow-x: auto; }
.hud-table { padding: 8px; }
.hud-table table { width: 100%; border-collapse: collapse; min-width: 560px; }
.hud-table th, .hud-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: .95rem; vertical-align: top; }
.hud-table th { color: var(--muted); font-weight: 600; font-size: .85rem; }
.hud-table tr:last-child td { border-bottom: 0; }
.hud-table tbody tr { transition: background-color .2s var(--ease); }
.hud-table tbody tr:hover { background: rgba(157, 92, 255, .1); }
.pill { display: inline-block; padding: 3px 10px; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.pill--amber { background: rgba(255, 177, 59, .16); color: var(--amber); }
.pill--violet { background: rgba(157, 92, 255, .2); color: var(--violet-soft); }
.pill--magenta { background: rgba(224, 82, 255, .16); color: #f0a3ff; }
.edition-stack { display: grid; gap: 14px; }
.edition { padding: 20px 22px; }
.edition h3 { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 1.1rem; margin-bottom: 6px; }
.edition p { margin: 0; color: var(--muted); font-size: .93rem; }
.compat-footnote { margin: 12px 0 0; padding: 0 16px 10px; color: var(--muted); font-size: .9rem; }
.prose a.btn, .prose a.btn:hover { text-decoration: none; color: #1b0f00; }

/* ---------- Installation (terminal) ---------- */
.install-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 22px; align-items: start; }
.terminal { background: var(--void-deep); box-shadow: inset 0 0 0 1px var(--line-strong); }
.terminal-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--plum-2); }
.terminal-bar i { width: 11px; height: 11px; display: block; background: var(--magenta); }
.terminal-bar i:nth-child(2) { background: var(--amber); }
.terminal-bar i:nth-child(3) { background: var(--violet); }
.terminal-bar span { margin-left: 8px; font-size: .84rem; color: var(--muted); }
.install-steps { list-style: none; margin: 0; padding: 10px 0; counter-reset: inst; }
.install-steps li { counter-increment: inst; display: grid; grid-template-columns: 54px 1fr; gap: 12px; padding: 16px 22px; border-bottom: 1px dashed var(--line); transition: background-color .2s var(--ease); }
.install-steps li:last-child { border-bottom: 0; }
.install-steps li:hover { background: rgba(157, 92, 255, .08); }
.install-steps li::before { content: counter(inst, decimal-leading-zero); font-weight: 800; color: var(--amber); font-size: 1.15rem; }
.install-steps h3 { font-size: 1.04rem; margin-bottom: 4px; }
.install-steps p { margin: 0; color: var(--muted); font-size: .94rem; }
.req-card { padding: 26px 24px; }
.req-card h3 { margin-bottom: 14px; }
.req-list { list-style: none; padding: 0; margin: 0 0 22px; }
.req-list li { position: relative; padding: 10px 0 10px 26px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .94rem; }
.req-list li::before { content: ""; position: absolute; left: 0; top: 17px; width: 10px; height: 10px; background: var(--amber); }
.req-list li strong { color: var(--text); }

/* ---------- Use cases ---------- */
.usecase-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.usecase { position: relative; padding: 0 0 24px; background: var(--plum); box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease); overflow: hidden; }
.usecase:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: inset 0 0 0 1px var(--violet); }
.usecase-top { height: 86px; margin-bottom: 20px; display: flex; align-items: flex-end; padding: 0 22px 14px; background: repeating-linear-gradient(-45deg, rgba(157, 92, 255, .28) 0 14px, rgba(157, 92, 255, .12) 14px 28px); }
.usecase:nth-child(2) .usecase-top { background: repeating-linear-gradient(-45deg, rgba(224, 82, 255, .26) 0 14px, rgba(224, 82, 255, .1) 14px 28px); }
.usecase:nth-child(3) .usecase-top { background: repeating-linear-gradient(-45deg, rgba(255, 177, 59, .24) 0 14px, rgba(255, 177, 59, .08) 14px 28px); }
.usecase:nth-child(4) .usecase-top { background: repeating-linear-gradient(-45deg, rgba(67, 132, 90, .35) 0 14px, rgba(67, 132, 90, .12) 14px 28px); }
.usecase-top svg { width: 40px; height: 40px; }
.usecase h3, .usecase p { padding-inline: 22px; }
.usecase p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------- Download zone ---------- */
.download-zone {
  position: relative;
  padding-block: clamp(90px, 12vw, 150px);
  background:
    radial-gradient(600px 400px at 20% 50%, rgba(224, 82, 255, .25), transparent 70%),
    linear-gradient(120deg, #2c1558 0%, #1d0f3a 60%, #150a2b 100%);
  clip-path: polygon(0 48px, 100% 0, 100% calc(100% - 48px), 0 100%);
}
.download-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.download-visual img { width: 100%; max-width: 440px; margin-inline: auto; animation: float-y 7s ease-in-out infinite; -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); mask-image: radial-gradient(closest-side, #000 62%, transparent 100%); }
.download-copy > p { color: var(--muted); font-size: 1.05rem; }
.spec-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 26px 0 30px; padding: 0; }
.spec-list div { padding: 12px 16px; background: rgba(12, 6, 25, .55); box-shadow: inset 0 0 0 1px var(--line); }
.spec-list dt { font-size: .8rem; color: var(--muted); }
.spec-list dd { margin: 0; font-weight: 700; color: var(--text); overflow-wrap: anywhere; }
.download-note { margin-top: 18px; font-size: .88rem; color: var(--muted); max-width: 600px; }

/* ---------- Safety notice ---------- */
.notice { display: grid; grid-template-columns: auto 1fr; gap: 26px; padding: clamp(26px, 4vw, 44px); background: linear-gradient(90deg, rgba(255, 177, 59, .12), rgba(30, 17, 56, .6) 55%); box-shadow: inset 6px 0 0 var(--amber), inset 0 0 0 1px rgba(255, 177, 59, .3); }
.notice-icon { width: 64px; height: 64px; display: grid; place-items: center; background: var(--amber); color: #1b0f00; }
.notice-icon svg { width: 34px; height: 34px; }
.notice h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.notice > div > p { color: var(--muted); }
.check-grid { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 26px; }
.check-grid li { position: relative; padding-left: 30px; color: var(--muted); font-size: .95rem; }
.check-grid li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 10px; border-left: 3px solid var(--amber); border-bottom: 3px solid var(--amber); transform: rotate(-45deg); }

/* ---------- Pros / Cons (versus) ---------- */
.versus { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; }
.vs-card { padding: 30px 28px; }
.vs-card h3 { font-size: 1.4rem; display: flex; align-items: center; gap: 12px; }
.vs-card h3 i { width: 16px; height: 16px; display: block; }
.vs-card--pros h3 i { background: var(--amber); }
.vs-card--cons h3 i { background: var(--magenta); }
.vs-card ul { list-style: none; padding: 0; margin: 0; }
.vs-card li { padding: 12px 0 12px 32px; position: relative; border-top: 1px solid var(--line); color: var(--muted); font-size: .96rem; }
.vs-card li strong { color: var(--text); }
.vs-card--pros li::before { content: "+"; position: absolute; left: 0; top: 9px; width: 20px; text-align: center; font-weight: 800; color: var(--amber); font-size: 1.2rem; }
.vs-card--cons li::before { content: "\2212"; position: absolute; left: 0; top: 9px; width: 20px; text-align: center; font-weight: 800; color: var(--magenta); font-size: 1.2rem; }
.vs-badge { align-self: center; width: 70px; height: 70px; display: grid; place-items: center; background: var(--plum-3); transform: rotate(45deg); box-shadow: inset 0 0 0 3px var(--violet); }
.vs-badge span { transform: rotate(-45deg); font-weight: 800; font-size: 1.2rem; }

/* ---------- Release info ---------- */
.release-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 60px); align-items: start; }
.release-board { padding: 26px; }
.release-board dl { margin: 0; display: grid; gap: 0; }
.release-board dl div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.release-board dl div:last-child { border-bottom: 0; }
.release-board dt { color: var(--muted); font-size: .9rem; }
.release-board dd { margin: 0; font-weight: 600; }
.timeline { list-style: none; margin: 96px 0 0; padding: 0 0 0 34px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 4px; background: linear-gradient(var(--violet), var(--magenta), var(--amber)); }
.timeline li { position: relative; padding-bottom: 26px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -32px; top: 6px; width: 18px; height: 18px; background: var(--void); box-shadow: inset 0 0 0 4px var(--violet); transform: rotate(45deg); }
.timeline li:last-child::before { box-shadow: inset 0 0 0 4px var(--amber); }
.timeline h3 { margin-bottom: 4px; }
.timeline p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Troubleshooting ---------- */
.fix-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fix-card { padding: 24px 24px 26px; background: var(--plum); box-shadow: inset 0 3px 0 var(--magenta), inset 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.fix-card:hover { transform: translateY(-4px); box-shadow: inset 0 3px 0 var(--amber), inset 0 0 0 1px var(--line-strong); }
.fix-card h3 { font-size: 1.06rem; display: flex; gap: 10px; align-items: flex-start; }
.fix-card h3 svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.fix-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.fix-card p + p { margin-top: 8px; }
.fix-card .fix-label { color: var(--amber); font-weight: 700; }
.section-cta { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.section-cta p { margin: 0; color: var(--muted); }

/* ---------- Post cards (guides preview + blog) ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card { display: flex; flex-direction: column; background: var(--plum); box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease); height: 100%; }
.post-card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--violet); }
.post-card-media { display: block; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), 0 100%); }
.post-card-media img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-body { padding: 18px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card-body h3 { font-size: 1.12rem; margin-bottom: 8px; }
.post-card-body h3 a { color: var(--text); }
.post-card-body h3 a:hover { color: var(--amber); }
.post-card-body p { color: var(--muted); font-size: .93rem; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: .82rem; color: var(--muted); margin-bottom: 10px; }
.read-link { margin-top: auto; font-weight: 700; color: var(--amber); display: inline-flex; gap: 8px; align-items: center; }
.read-link::after { content: ""; width: 18px; height: 3px; background: currentColor; transition: width .3s var(--ease); }
.read-link:hover::after { width: 30px; }

/* ---------- FAQ (mode-select tabs + notched accordion) ---------- */
.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-side p { color: var(--muted); }
.faq-tabs { display: grid; gap: 10px; margin-top: 24px; }
.faq-tab {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; padding: 16px 18px; border: 0; cursor: pointer; text-align: left;
  background: rgba(12, 6, 25, .6); box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 600; color: var(--muted);
  transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.faq-tab small { font-weight: 500; font-size: .8rem; }
.faq-tab:hover { color: var(--text); transform: translateX(4px); }
.faq-tab[aria-selected="true"] { background: var(--plum-2); color: var(--text); box-shadow: inset 5px 0 0 var(--amber), inset 0 0 0 1px var(--line-strong); }
.faq-panel[hidden] { display: none; }
.faq-panel h3.faq-cat { font-size: 1.3rem; margin-bottom: 16px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { --cut: 12px; background: var(--plum); clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s var(--ease), background-color .25s var(--ease); }
.faq-item.is-open { background: var(--plum-2); box-shadow: inset 0 0 0 1px var(--line-strong), inset 4px 0 0 var(--magenta); }
.faq-q { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; width: 100%; padding: 16px 18px; border: 0; background: transparent; cursor: pointer; text-align: left; font-weight: 600; font-size: 1rem; color: var(--text); line-height: 1.4; }
.faq-num { font-weight: 800; font-size: .82rem; color: var(--violet-soft); min-width: 30px; }
.faq-icon { position: relative; width: 30px; height: 30px; background: rgba(157, 92, 255, .2); transition: background-color .25s var(--ease), transform .35s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 3px; background: var(--text); transform: translate(-50%, -50%); transition: transform .35s var(--ease); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .faq-icon { background: var(--amber); transform: rotate(180deg); }
.faq-item.is-open .faq-icon::before, .faq-item.is-open .faq-icon::after { background: #1b0f00; }
.faq-item.is-open .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 22px 20px 62px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer-inner { position: relative; margin-top: clamp(40px, 6vw, 80px); background: var(--void-deep); }
.site-footer-inner::before { content: ""; display: block; height: 12px; background: repeating-linear-gradient(90deg, var(--violet) 0 12px, transparent 12px 24px, var(--magenta) 24px 36px, transparent 36px 48px, var(--amber) 48px 60px, transparent 60px 72px); opacity: .7; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 36px; padding-block: 56px 40px; }
.footer-brand p { color: var(--muted); font-size: .94rem; max-width: 380px; margin-top: 16px; }
.footer-email { display: inline-block; margin-top: 4px; padding: 8px 12px; background: rgba(157, 92, 255, .12); color: var(--text); font-weight: 600; font-size: .92rem; user-select: all; overflow-wrap: anywhere; }
.footer-col h2 { font-size: 1rem; font-weight: 700; margin-bottom: 14px; letter-spacing: 0; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: .94rem; display: inline-block; transition: color .2s var(--ease), transform .2s var(--ease); }
.footer-col a:hover { color: var(--amber); transform: translateX(4px); text-decoration: none; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 20px; text-align: center; font-size: .9rem; color: var(--muted); }
.footer-bottom a { color: var(--text); text-decoration: none; font-weight: 600; }
.footer-bottom a:hover { color: var(--amber); }
.site-footer-inner a { text-decoration: none; }

/* ---------- Scroll to top ---------- */
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 50px; height: 50px; border: 0; cursor: pointer; background: var(--violet); color: #fff; display: grid; place-items: center; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background-color .2s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--amber); color: #1b0f00; }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Inner page hero ---------- */
.page-hero { padding-block: clamp(46px, 7vw, 86px) clamp(36px, 5vw, 56px); position: relative; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); max-width: 900px; text-wrap: balance; }
.page-hero .lead { color: var(--muted); font-size: 1.08rem; max-width: 720px; margin: 0; }
.breadcrumb { margin-bottom: 20px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; font-size: .88rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--violet); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--amber); }
.chip { display: inline-block; padding: 4px 12px; font-size: .8rem; font-weight: 600; background: rgba(157, 92, 255, .2); color: var(--violet-soft); }

/* ---------- Blog listing ---------- */
.blog-featured { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; background: var(--plum); box-shadow: inset 0 0 0 1px var(--line-strong); margin-bottom: 30px; transition: box-shadow .3s var(--ease); }
.blog-featured:hover { box-shadow: inset 0 0 0 1px var(--amber); }
.blog-featured .post-card-media { clip-path: polygon(0 0, 100% 0, calc(100% - 40px) 100%, 0 100%); }
.blog-featured .post-card-media img { height: 100%; }
.blog-featured .post-card-body { padding: clamp(24px, 4vw, 44px); justify-content: center; }
.blog-featured h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.blog-featured h2 a { color: var(--text); }
.blog-featured h2 a:hover { color: var(--amber); }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

/* ---------- Article ---------- */
.post-hero-img { margin-top: 30px; clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px)); }
.post-hero-img img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 5vw, 56px); align-items: start; padding-bottom: 40px; }
.prose { font-size: 1.04rem; max-width: 76ch; }
.prose > p:first-of-type { font-size: 1.14rem; color: var(--text); }
.prose p, .prose li { color: #d9d0ef; }
.prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); margin-top: 1.8em; padding-left: 20px; position: relative; }
.prose h2::before { content: ""; position: absolute; left: 0; top: .3em; width: 8px; height: .8em; background: var(--amber); }
.prose h3 { margin-top: 1.5em; color: var(--violet-soft); }
.prose ul li, .prose ol li { margin-bottom: .45em; }
.prose ul { list-style: square; }
.prose ul li::marker { color: var(--amber); }
.prose ol li::marker { color: var(--amber); font-weight: 700; }
.prose a { color: var(--amber); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { color: var(--violet-soft); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .95rem; min-width: 480px; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--text); background: var(--plum-2); }
.callout { margin: 1.6em 0; padding: 18px 22px; background: rgba(157, 92, 255, .12); box-shadow: inset 4px 0 0 var(--violet); }
.callout p:last-child { margin: 0; }
.callout--amber { background: rgba(255, 177, 59, .1); box-shadow: inset 4px 0 0 var(--amber); }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.side-card { padding: 24px 22px; }
.side-card h2 { font-size: 1.08rem; margin-bottom: 12px; letter-spacing: 0; }
.side-card p { color: var(--muted); font-size: .92rem; }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links li { border-top: 1px solid var(--line); }
.side-links a { display: block; padding: 10px 0; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.side-links a:hover { color: var(--amber); }
.related { padding-block: clamp(40px, 6vw, 70px); }
.related h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }

/* ---------- Supporting pages ---------- */
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 5vw, 56px); align-items: start; padding-bottom: 40px; }
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 10px 0 30px; }
.info-card { padding: 24px; }
.info-card h2, .info-card h3 { font-size: 1.1rem; margin-bottom: 8px; padding: 0; }
.info-card h2::before { display: none; }
.info-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.email-plain { display: inline-block; margin-top: 10px; padding: 10px 14px; background: var(--void-deep); color: var(--amber); font-weight: 700; font-size: 1.05rem; user-select: all; overflow-wrap: anywhere; }
.updated { color: var(--muted); font-size: .9rem; margin-top: 14px; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="left"] { transform: translateX(-34px); }
.js [data-reveal="right"] { transform: translateX(34px); }
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav a.nav-link { padding: 10px 8px; font-size: .88rem; }
  .brand small { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature--tall { grid-row: auto; min-height: 340px; }
  .usecase-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .nav-toggle { display: grid; }
  .main-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 20px 24px; background: rgba(12, 6, 25, .98);
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .35s var(--ease), opacity .35s var(--ease), visibility .35s;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: stretch; }
  .main-nav a.nav-link { padding: 14px 4px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .main-nav a.nav-link::after { left: 4px; right: auto; width: 40px; bottom: 8px; }
  .nav-cta { margin: 18px 0 0; }
  .hero-grid, .about-grid, .compat-grid, .install-grid, .download-grid, .release-grid, .faq-layout, .post-layout, .page-layout, .blog-featured { grid-template-columns: minmax(0, 1fr); }
  .hero-stage { margin: 10px auto 0; max-width: 480px; }
  .about-visual { max-width: 520px; }
  .track { grid-template-columns: 1fr 1fr; gap: 34px 22px; }
  .track-shell::before, .track-fill { display: none; }
  .fix-grid, .guide-grid, .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .versus { grid-template-columns: minmax(0, 1fr); }
  .vs-badge { justify-self: center; width: 56px; height: 56px; }
  .faq-side, .sidebar { position: static; }
  .timeline { margin-top: 0; }
  .download-visual { order: 2; }
  .download-visual img { max-width: 320px; }
  .blog-featured .post-card-media { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), 0 100%); }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .brand img { width: 36px; height: 36px; }
  .brand span { font-size: .92rem; }
  .hud { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-label { left: 6px; }
  .float-cube.c1 { left: 4px; }
  .slot-grid, .spec-list, .check-grid, .info-grid { grid-template-columns: 1fr; }
  .bento, .usecase-row, .fix-grid, .guide-grid, .blog-grid, .track { grid-template-columns: 1fr; }
  .feature--wide, .feature--tall { grid-column: auto; }
  .notice { grid-template-columns: minmax(0, 1fr); }
  .release-board dl div { grid-template-columns: 1fr; gap: 2px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .faq-a p { padding-left: 18px; }
  .install-steps li { grid-template-columns: 40px 1fr; padding-inline: 16px; }
  .section--slab, .download-zone { clip-path: polygon(0 20px, 100% 0, 100% calc(100% - 20px), 0 100%); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .track-fill { transform: scaleX(1); }
}

/* ---------- Inline text link (non-download secondary actions) ---------- */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  padding: 10px 4px;
  border-bottom: 2px solid rgba(157, 92, 255, 0.45);
  transition: color 0.25s ease, border-color 0.25s ease, gap 0.25s ease;
}
.text-link:hover,
.text-link:focus-visible {
  color: var(--amber);
  border-color: var(--amber);
  gap: 12px;
}
.hero-actions { align-items: center; }
.prose .table-scroll { width: 100%; max-width: 100%; overflow-x: auto; margin: 0 0 1.4em; -webkit-overflow-scrolling: touch; }
.prose .table-scroll table { margin: 0; }
@media (max-width: 600px) {
  .prose table { min-width: 0; font-size: .9rem; }
  .prose th, .prose td { padding: 10px 12px; }
}
