/*
Theme Name: EA BULL
Theme URI: https://eabull.com/
Author: EA BULL Team
Author URI: https://eabull.com/
Description: ธีมเว็บไซต์ EA BULL ระบบเทรดอัตโนมัติสำหรับ MetaTrader 5 · ดีไซน์ Bull Black (พื้นดำ เหลืองสด ขาวบางช่วง สีแฟลต มุมเหลี่ยม) · มีหน้าสินค้า แพ็กเกจ คู่มือ ทดสอบ เอกสาร บทความ เครื่องคำนวณ Lot/Drawdown และหน้า EA BULL Setup · แก้ทุกข้อความได้ใน Customizer
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eabull
Tags: one-column, custom-logo, custom-menu, landing-page
*/

/* ==========================================================================
   EA BULL · "Bull Black" (approved phase 1 mockup, dev/mockup)
   Flat colours only: no gradients, no shadows, no glow, no blur.
   Tokens and rules: docs/design.md
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --k0: #0B0B0C;
  --k1: #141416;
  --k2: #1A1A1D;
  --k3: #222226;
  --silver: #C8CCD2;

  --accent: #FFCC00;
  --accent-h: #EBBC00;
  --accent-ink: #7A5E00;

  --line-green: #06C755;
  --line-green-h: #05B04B;
  --fb-blue: #1877F2;
  --fb-blue-h: #0F66D8;

  --r-sm: 0; /* owner 29 Oct 2026: square corners everywhere */
  --r-md: 0;
  --cut: 14px;
  --sec: 56px;
  --hd-h: 64px;

  /* Owner chose 29 Oct 2026: modern, Apple-like type. Inter is the open font
     closest to Apple's SF Pro (Latin); Anuphan is a modern loopless Thai face. */
  --f-head: "Inter", "Anuphan", system-ui, sans-serif;
  --f-body: "Inter", "Anuphan", system-ui, sans-serif;
}

/* Surface contexts: dark (default), paper (light bands) and yband (yellow). */
:root, .dark {
  --bg: var(--k0);
  --bg-2: var(--k1);
  --surface: var(--k2);
  --surface-2: var(--k3);
  --fg: #F4F4F5;
  --fg-2: #C9C9CE;
  --muted: #9B9BA3;
  --line: #2E2E33;
  --line-2: #45454C;
  --hl: var(--accent);
  --ok: #3DD68C;
  --bad: #FF6B6B;
  --warn: #FF9F43;
  --info: #5AA9FF;
  --btn2-bg: #F4F4F5;
  --btn2-fg: #0B0B0C;
  --btn2-h: #DCDCE0;
  --us-bg: var(--k3);
}
.paper {
  --bg: #F5F3EE;
  --bg-2: #EBE8E1;
  --surface: #FFFFFF;
  --surface-2: #F5F3EE;
  --fg: #111113;
  --fg-2: #3A3A40;
  --muted: #5F5F66;
  --line: #D9D5CC;
  --line-2: #BDB8AD;
  --hl: var(--accent-ink);
  --ok: #0F6E3D;
  --bad: #C0322B;
  --warn: #954F00;
  --info: #1F5FBF;
  --btn2-bg: #0B0B0C;
  --btn2-fg: #F4F4F5;
  --btn2-h: #2A2A2E;
  --us-bg: var(--k0);
}
.yband {
  --bg: var(--accent);
  --fg: #0B0B0C;
  --fg-2: #1F1F22;
  --muted: #2E2E33;
  --line: #0B0B0C;
  --line-2: #0B0B0C;
  --hl: #0B0B0C;
  --btn2-bg: #0B0B0C;
  --btn2-fg: #F4F4F5;
  --btn2-h: #2A2A2E;
}
.dark, .paper, .yband { color: var(--fg); }

@media (min-width: 900px) {
  :root { --sec: 88px; --hd-h: 76px; }
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--k0);
  color: var(--fg);
  font: 400 16.5px/1.75 var(--f-body);
  text-transform: uppercase; /* English is upper case site-wide; Thai is unaffected */
  overflow-x: clip;
}
.nocaps, input, textarea, select, code { text-transform: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; }
button { font: inherit; color: inherit; text-transform: inherit; }
h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 700;
  line-height: 1.3;
  color: var(--fg);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.18; }
h2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.22; }
h3 { font-size: clamp(19px, 1.8vw, 22px); }
h4 { font-size: 17px; }
.i { width: 22px; height: 22px; flex: none; }
.hl { color: var(--hl); }
.nw { white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--fg-2); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.paper :focus-visible, .yband :focus-visible { outline-color: #0B0B0C; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--k0); padding: 10px 16px; font-weight: 600;
}
.skip:focus { top: 12px; }
.linkish { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; }

/* 3. Layout ---------------------------------------------------------------- */
.wrap { width: min(100% - 32px, 1200px); margin-inline: auto; }
@media (min-width: 700px) { .wrap { width: min(100% - 48px, 1200px); } }
@media (min-width: 1100px) { .wrap { width: min(100% - 64px, 1200px); } }
.band { padding: var(--sec) 0; background: var(--bg); color: var(--fg); }
.band--alt { background: var(--bg-2); }
.band--line { border-top: 1px solid var(--line); }
.band--flush { padding-top: 0; } /* follows a band with the same background */
.grid { display: grid; gap: 20px; }
@media (min-width: 700px) {
  .g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.stack > * + * { margin-top: 16px; }
.mt-0 { margin-top: 0 !important; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.center { text-align: center; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* 4. Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--r-sm);
  font: 600 16px/1.2 var(--f-head);
  text-align: center; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn .i { width: 20px; height: 20px; }
.btn--primary { background: var(--accent); color: var(--k0); }
.btn--primary:hover { background: var(--accent-h); }
.btn--light { background: var(--btn2-bg); color: var(--btn2-fg); }
.btn--light:hover { background: var(--btn2-h); }
.btn--dark { background: var(--k0); color: #F4F4F5; }
.btn--dark:hover { background: #2A2A2E; }
.btn--outline { background: transparent; color: var(--fg); border-color: var(--line-2); }
.btn--outline:hover { border-color: var(--fg); background: var(--surface-2); }
.yband .btn--outline:hover { background: var(--accent-h); }
.btn--line { background: var(--line-green); color: #FFFFFF; }
.btn--line:hover { background: var(--line-green-h); }
.btn--openchat { background: #FFFFFF; color: var(--k0); border-color: var(--line-green); }
.btn--openchat .i { color: #05A148; }
.btn--openchat:hover { background: #EDF9F2; }
.btn--fb { background: var(--fb-blue); color: #FFFFFF; }
.btn--fb:hover { background: var(--fb-blue-h); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn--block { width: 100%; }
/* buttons in a group share one width: the widest one sets it (owner 29 Oct 2026) · stacked full width on phones */
.btns { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 12px; width: fit-content; max-width: 100%; }
@media (max-width: 560px) { .btns { grid-auto-flow: row; width: 100%; } }
.tlink {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--hl); font: 600 15.5px/1.4 var(--f-head);
}
.tlink .i { width: 18px; height: 18px; transition: transform .15s; }
.tlink:hover .i { transform: translateX(3px); }

/* 5. Small parts ----------------------------------------------------------- */
.bars { display: inline-flex; align-items: flex-end; gap: 3px; height: .78em; flex: none; transform: translateY(-.04em); }
.bars i { display: block; width: .17em; min-width: 4px; background: var(--accent); }
.bars i:nth-child(1) { height: 42%; }
.bars i:nth-child(2) { height: 70%; }
.bars i:nth-child(3) { height: 100%; }
.yband .bars i { background: var(--k0); }

.cut { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }

.tile {
  display: inline-grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: var(--r-sm);
  background: var(--surface-2); color: var(--hl);
}
.tile .i { width: 22px; height: 22px; }
.tile--accent { background: var(--accent); color: var(--k0); }
.tile--ink { background: var(--k0); color: var(--accent); }
.tile--lg { width: 56px; height: 56px; }
.tile--lg .i { width: 28px; height: 28px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 10px; border-radius: var(--r-sm);
  font: 600 13px/1.6 var(--f-head);
  background: var(--surface-2); color: var(--fg);
  white-space: nowrap;
}
.badge--acc { background: var(--accent); color: var(--k0); }
.badge--ex { background: transparent; color: var(--hl); border: 1px dashed currentColor; }
.wait {
  display: inline-block; padding: 0 8px; border-radius: var(--r-sm);
  border: 1px dashed var(--line-2); color: var(--muted);
  font-size: .9em; line-height: 1.7; text-transform: none; vertical-align: baseline;
}

.checks { list-style: none; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--fg-2); }
.checks .i { width: 20px; height: 20px; margin-top: 4px; color: var(--ok); }
.checks--x .i { color: var(--bad); }
.yband .checks .i { color: var(--k0); }

.note {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-left: 3px solid var(--c, var(--info));
  background: var(--surface); color: var(--fg-2); font-size: 15px; line-height: 1.7;
}
.note .i { color: var(--c, var(--info)); width: 20px; height: 20px; margin-top: 3px; }
.note b { color: var(--fg); }
.note a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.gstep__body a:not([class]), .prep a:not([class]), .stack a:not([class]), .lead a:not([class]), .card p a:not([class]) { color: var(--hl); text-decoration: underline; text-underline-offset: 3px; }
.note--warn { --c: var(--warn); }
.note--info { --c: var(--info); }
.note--tip, .note--ok { --c: var(--ok); }
.note--bad { --c: var(--bad); }

.shot {
  display: grid; place-items: center; align-content: center; gap: 8px; text-align: center;
  aspect-ratio: 16 / 9; padding: 16px;
  border: 1px dashed var(--line-2); border-radius: var(--r-md);
  background: var(--surface-2); color: var(--muted); font-size: 14px;
}
.shot .i { width: 32px; height: 32px; margin: 0 auto; color: var(--line-2); }
.shot b { display: block; color: var(--fg-2); font-weight: 600; }
.shot--tall { aspect-ratio: 9 / 16; max-width: 280px; }
.shot--sq { aspect-ratio: 1; }
.cap { margin-top: 8px; font-size: 13.5px; color: var(--muted); }

/* 6. Header ---------------------------------------------------------------- */
.hd {
  position: sticky; top: 0; z-index: 50;
  background: var(--k0); border-bottom: 1px solid var(--line);
}
.hd__in { display: flex; align-items: center; gap: 20px; height: var(--hd-h); }
.hd__brand { display: flex; align-items: flex-end; gap: 10px; flex: none; } /* lettering sits on the bull's base line (owner 29 Oct 2026) */
.hd__emblem { width: 44px; }
.hd__word { width: 118px; }
@media (min-width: 900px) {
  .hd__emblem { width: 52px; }
  .hd__word { width: 136px; }
}
.nav { margin-left: auto; }
.nav__list { display: flex; list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative; display: flex; align-items: center; gap: 6px;
  height: var(--hd-h); padding: 0 12px;
  background: none; border: 0; cursor: pointer;
  color: #F4F4F5; font: 600 15.5px/1 var(--f-head); white-space: nowrap;
}
.nav__link .i { width: 16px; height: 16px; transition: transform .15s; }
.nav__link:hover { color: var(--accent); }
.nav__link[aria-current]::after,
.has-sub:has([aria-current]) > .nav__link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px;
  height: 3px; background: var(--accent);
}
.has-sub { position: relative; }
.sub {
  display: none; list-style: none; margin: 0; padding: 8px;
  position: absolute; top: 100%; left: 0; min-width: 300px;
  background: var(--k1); border: 1px solid var(--line); border-top: 3px solid var(--accent);
}
.sub--wide { width: 600px; grid-template-columns: 1fr 1fr; gap: 2px; left: auto; right: -160px; }
.sub a { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 8px 12px 8px 8px; border-radius: var(--r-sm); color: #F4F4F5; line-height: 1.5; }
.sub a b { display: block; grid-column: 2; font: 600 15.5px/1.4 var(--f-head); }
.sub a span { display: block; grid-column: 2; font-size: 13.5px; color: var(--muted); }
/* icon tile in front of each dropdown item (owner 29 Oct 2026) */
.sub__ic { grid-row: 1; display: grid; place-items: center; width: 34px; height: 34px; background: var(--k2); border: 1px solid var(--line); color: var(--accent); transition: background-color .15s, color .15s, border-color .15s; }
.sub__ic .i { width: 18px; height: 18px; }
.sub a:has(> span) .sub__ic { grid-row: 1 / span 2; }
.sub a:hover .sub__ic, .sub a[aria-current] .sub__ic { background: var(--accent); border-color: var(--accent); color: var(--k0); }
.sub a b span { display: inline; font: inherit; color: inherit; }
.sub a:hover { background: var(--k3); }
.sub a[aria-current] { background: var(--k3); }
.sub a[aria-current] b { color: var(--accent); }
.nav__foot { display: none; }
.hd__dash {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  height: 42px; padding: 0 16px; border: 1px solid var(--accent); border-radius: var(--r-sm);
  color: var(--accent); font: 600 15px/1 var(--f-head);
  transition: background-color .15s, color .15s;
}
.hd__dash .i { width: 20px; height: 20px; transition: transform .15s; }
.hd__dash:hover { background: var(--accent); color: var(--k0); }
@media (prefers-reduced-motion: no-preference) { .hd__dash:hover .i { transform: translateX(3px); } }
.hd__toggle {
  display: none; place-items: center; width: 46px; height: 46px; flex: none; margin-right: -8px;
  background: none; border: 0; border-radius: 0; color: #fff; cursor: pointer;
}
/* three plain white bars with square ends, no box (owner 29 Oct 2026) */
.hd__toggle .i { width: 30px; height: 30px; stroke-width: 2.4; stroke-linecap: square; }
.hd__toggle:hover, .hd__toggle:focus-visible { color: var(--accent); }
.hd__ico-close { display: none; }
.hd__toggle[aria-expanded="true"] .hd__ico-open { display: none; }
.hd__toggle[aria-expanded="true"] .hd__ico-close { display: block; }

@media (min-width: 1101px) {
  .has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.is-open > .sub { display: block; }
  .has-sub:hover > .sub--wide, .has-sub:focus-within > .sub--wide, .has-sub.is-open > .sub--wide { display: grid; }
  .has-sub:hover > .nav__link .i { transform: rotate(180deg); }
}
@media (max-width: 1100px) {
  .hd__toggle { display: grid; }
  .hd__dash { margin-left: auto; }
  .nav {
    display: none; position: fixed; z-index: 49; inset: var(--hd-h) 0 0 0;
    background: var(--k0); overflow-y: auto; padding: 8px 0 140px;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; width: min(100% - 32px, 640px); margin-inline: auto; }
  .nav__link {
    width: 100%; height: auto; padding: 18px 4px; justify-content: space-between;
    border-bottom: 1px solid var(--line); font-size: 18px;
  }
  .nav__link[aria-current]::after,
  .has-sub:has([aria-current]) > .nav__link::after { left: -12px; right: auto; top: 18px; bottom: 18px; width: 3px; height: auto; }
  .has-sub.is-open > .nav__link .i { transform: rotate(180deg); }
  .sub, .sub--wide {
    position: static; width: auto; min-width: 0; border: 0; background: none;
    padding: 6px 0 12px; grid-template-columns: 1fr;
  }
  .has-sub.is-open > .sub { display: block; }
  .nav__foot { display: grid; gap: 12px; width: min(100% - 32px, 640px); margin: 28px auto 0; }
  .nav__social { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  body.nav-open { overflow: hidden; }
  body.nav-open .fab, body.nav-open .quick, body.nav-open .dock { display: none; }
}
@media (max-width: 900px) {
  .hd__dash { display: none; }
  .hd__toggle { margin-left: auto; }
}

/* 7. Section and page heads ----------------------------------------------- */
.shead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: 36px; }
.shead h2, h2:has(> .bars) { display: flex; align-items: baseline; gap: 14px; }
.shead__text { max-width: 760px; }
.shead__text > p { margin: 12px 0 0; color: var(--fg-2); }
.shead--center { justify-content: center; text-align: center; }
.shead--center h2 { justify-content: center; }
.shead--center .shead__text { margin-inline: auto; }

.phead { padding: 28px 0 52px; background: var(--k0); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .phead { padding: 36px 0 72px; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; margin: 0 0 28px; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--fg-2); }
.crumbs a:hover { color: var(--accent); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.phead__grid { display: grid; gap: 32px; align-items: end; }
@media (min-width: 960px) { .phead__grid { grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 56px; } }
.phead h1 { max-width: 18ch; }
.phead .lead { margin: 18px 0 0; max-width: 62ch; }
.phead .btns { margin-top: 28px; }
.phead__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; font-size: 14px; color: var(--muted); }
.phead__meta span { display: inline-flex; gap: 6px; align-items: center; }
.phead__meta .i { width: 18px; height: 18px; }
.sumbox { padding: 22px 24px; background: var(--k1); border-left: 3px solid var(--accent); }
.sumbox h2 { font-size: 17px; margin-bottom: 12px; color: var(--fg); }
.sumbox__cover { margin: -22px -24px 20px; }
.sumbox__cover img { display: block; width: 100%; height: auto; }
.sumbox ol, .sumbox ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.sumbox li { display: flex; gap: 10px; color: var(--fg-2); font-size: 15px; line-height: 1.6; }
.sumbox li > b:first-child { flex: none; min-width: 24px; color: var(--accent); font-family: var(--f-head); }
.sumbox .flow { display: flex; flex-wrap: wrap; gap: 6px 4px; align-items: center; font: 600 15px/1.5 var(--f-head); color: var(--fg); }
.sumbox .flow .i { width: 16px; height: 16px; color: var(--accent); }

/* 8. Cards ------------------------------------------------------------------ */
.card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-md);
}
.card > .tlink, .card > .btns, .card > .btn { margin-top: auto; }
.card h3 { font-size: 20px; }
.card p { color: var(--fg-2); }
a.card { transition: border-color .15s; }
a.card:hover { border-color: var(--accent); }
.card--flat { background: transparent; }

/* 9. Home ------------------------------------------------------------------- */
.hero { padding: 40px 0 0; text-align: center; background: var(--k0); }
@media (min-width: 900px) { .hero { padding-top: 56px; } }
.hero__emblem { width: min(260px, 62vw); margin: 0 auto; }
.hero { position: relative; overflow: hidden; }
.hero > .wrap { position: relative; z-index: 1; }
.hero__chart { position: absolute; left: 50%; top: 24px; display: flex; align-items: flex-end; gap: 6px; width: min(780px, 100%); height: 250px; padding: 0 12px; transform: translateX(-50%); pointer-events: none; }
.hero__chart i { flex: 1; height: calc(var(--h) * 1%); background: #18181B; transform-origin: bottom; }
.hero__chart i:last-child { background: var(--accent); }
@media (max-width: 700px) { .hero__chart { top: 20px; height: 190px; gap: 4px; } }
@media (min-width: 900px) { .hero__emblem { width: 300px; } }
.hero h1 { margin: 20px auto 0; max-width: 960px; font-size: clamp(34px, 6vw, 66px); }
.hero__tag { margin: 14px 0 0; font: 600 clamp(18px, 2.2vw, 24px)/1.4 var(--f-head); color: var(--accent); }
.hero .lead { max-width: 58ch; margin: 16px auto 0; }
.hero .btns { margin: 30px auto 0; }
.hero__risk { display: flex; gap: 8px; justify-content: center; align-items: flex-start; max-width: 62ch; margin: 18px auto 0; font-size: 14px; line-height: 1.6; color: var(--muted); text-align: left; }
.hero__risk .i { width: 18px; height: 18px; color: var(--warn); margin-top: 2px; }
.hero__risk a { color: var(--fg-2); text-decoration: underline; }
/* pillars: icon tile + words in one bordered bar · platforms: a quiet row of chips (owner redesign 29 Oct 2026) */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 56px; text-align: left; }
.pillar { display: flex; align-items: center; gap: 16px; padding: 22px 24px; background: var(--k1); border: 1px solid var(--line); }
.pillar + .pillar { border-left: 0; }
.pillar__ic { display: grid; place-items: center; flex: none; width: 48px; height: 48px; background: var(--accent); color: var(--k0); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
.pillar__ic .i { width: 24px; height: 24px; }
.pillar b { display: block; font: 700 21px/1.2 var(--f-head); color: var(--fg); }
.pillar div > span { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; margin-top: 40px; } .pillar { padding: 16px 18px; } .pillar + .pillar { border-left: 1px solid var(--line); border-top: 0; } }
.plat { padding: 28px 0 48px; background: var(--k0); }
.plat__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; }
.plat__label { font: 600 14px/1.3 var(--f-head); color: var(--muted); }
.plat__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.plat__list li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; background: var(--k1); border: 1px solid var(--line-2); font: 600 14.5px/1.2 var(--f-head); color: var(--fg); }
.plat__list .i { width: 18px; height: 18px; color: var(--accent); }

/* home: about EA BULL, packages, guide hub, EA basics (owner asked for more content 29 Oct 2026) */
.intro { display: grid; gap: 36px; align-items: start; }
@media (min-width: 960px) { .intro { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; } }
.intro__text p { margin-top: 16px; font-size: 17px; line-height: 1.85; color: var(--fg-2); }
.intro__text h2 + p { margin-top: 22px; }
.intro__text a, .learn a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.intro__facts { padding: 26px 26px 14px; background: var(--k1); border-top: 3px solid var(--accent); --cut: 18px; }
.intro__facts h3 { margin-bottom: 6px; font-size: 18px; }
.facts { margin: 0; }
.facts > div { display: grid; grid-template-columns: minmax(0, 40%) minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.facts > div:first-child { border-top: 0; }
.facts dt { font-size: 14px; line-height: 1.5; color: var(--muted); }
.facts dd { margin: 0; font: 600 15px/1.5 var(--f-head); color: var(--fg); }
.plans { display: grid; gap: 16px; }
@media (min-width: 860px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 24px 24px; background: var(--surface); border: 1px solid var(--line); }
.plan--hot { border-color: var(--accent); }
.plan__flag { position: absolute; top: -1px; right: -1px; padding: 6px 10px; background: var(--accent); color: var(--k0); font: 700 12.5px/1.2 var(--f-head); }
.plan h3 { font-size: 20px; }
.plan__price { margin: 0; color: var(--fg-2); }
.plan__price b { font: 700 36px/1.1 var(--f-head); color: var(--fg); }
.plan__price span { display: block; margin-top: 6px; font-size: 14px; }
.plan--hot .plan__price b { color: var(--accent); }
.plan__tag { margin: 0 0 8px; font-size: 15px; color: var(--fg-2); }
.plan .btn { margin-top: auto; }
.hub { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 700px) { .hub { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hub__item { display: flex; align-items: center; gap: 14px; height: 100%; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); color: var(--fg); text-decoration: none; transition: border-color .15s; }
.hub__item:hover { border-color: var(--accent); }
.hub__text { flex: 1; min-width: 0; }
.hub__text b { display: block; font: 700 16.5px/1.35 var(--f-head); }
.hub__text > span { display: block; margin-top: 3px; font-size: 14.5px; color: var(--fg-2); }
.hub__go { width: 18px; height: 18px; color: var(--muted); transition: transform .15s, color .15s; }
.hub__item:hover .hub__go { color: var(--accent); transform: translateX(3px); }
.learn { max-width: 820px; }
/* home photos: one toned set, square corners with the brand cut, thin frame (owner 29 Oct 2026) */
.photo { margin: 0; overflow: hidden; background: var(--k1); border: 1px solid var(--line); --cut: 18px; clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo--4x3 { aspect-ratio: 4 / 3; }
.photo--wide { aspect-ratio: 8 / 3; margin-bottom: 36px; }
.photo--tall { aspect-ratio: 4 / 5; }
@media (max-width: 700px) { .photo--wide { aspect-ratio: 16 / 9; } }
.intro__side { display: grid; gap: 16px; align-content: start; }
.learn-wrap { display: grid; gap: 32px; }
@media (min-width: 960px) { .learn-wrap { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 56px; align-items: start; } .learn-wrap .photo--tall { position: sticky; top: calc(var(--hd-h) + 32px); } }
.faq__img { margin-top: 28px; }
@media (max-width: 959px) { .faq__img { display: none; } }
.learn h3 { margin-top: 34px; font-size: 21px; }
.learn h3:first-child { margin-top: 0; }
.learn p { margin-top: 12px; font-size: 17px; line-height: 1.85; color: var(--fg-2); }
.learn ul { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.learn li { position: relative; padding-left: 22px; font-size: 16.5px; line-height: 1.7; color: var(--fg-2); }
.learn li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 8px; height: 8px; background: var(--accent); }

/* products as wide rows */
.prods { display: grid; gap: 16px; }
.prow { display: grid; grid-template-columns: 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.prow__ver {
  display: flex; align-items: baseline; gap: 10px; padding: 14px 20px;
  background: var(--accent); color: var(--k0);
}
.prow__ver small { font: 600 14px/1 var(--f-head); }
.prow__ver b { font: 700 32px/1 var(--f-head); }
.prow__body { display: grid; gap: 18px; padding: 22px 20px 24px; }
.prow__title { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.prow__body > div > p { margin-top: 8px; color: var(--fg-2); }
.specs { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.specs li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs li > span:first-child { color: var(--muted); }
.specs li > :last-child { text-align: right; }
.prow__cta { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 760px) {
  .prow { grid-template-columns: 150px minmax(0, 1fr); }
  .prow__ver { flex-direction: column; justify-content: center; align-items: center; gap: 8px; padding: 20px; clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
  .prow__ver b { font-size: 44px; }
  .prow__body { padding: 28px; }
}
@media (min-width: 1100px) {
  .prow__body { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto; align-items: center; gap: 32px; }
  .prow__cta { flex-direction: column; width: 210px; }
  .prow__cta .btn { width: 100%; }
}
/* product cover (1200×630) instead of the version tile */
.prow__cover { display: flex; align-items: center; background: var(--k0); }
.prow__cover img { display: block; width: 100%; height: auto; }
@media (min-width: 760px) { .prow--cover { grid-template-columns: 280px minmax(0, 1fr); } }
@media (min-width: 1100px) { .prow--cover { grid-template-columns: 340px minmax(0, 1fr); } }

/* modes tabs */
.tabs__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.tabs__btn {
  display: grid; gap: 2px; padding: 16px 10px 14px; margin-bottom: -1px;
  background: none; border: 0; border-bottom: 3px solid transparent; cursor: pointer;
  text-align: left; color: var(--fg-2);
}
.tabs__btn b { font: 700 clamp(16px, 1.8vw, 20px)/1.3 var(--f-head); }
.tabs__btn span { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.tabs__btn[aria-selected="true"] { color: var(--fg); border-bottom-color: var(--accent); }
.tabs__btn:hover { color: var(--fg); }
.tabs__panel { padding-top: 32px; }
.mode { display: grid; gap: 28px; }
@media (min-width: 900px) { .mode { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; } }
.mode h3 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 12px; }
.mode p { color: var(--fg-2); }
.spec-tbl { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); }
.spec-tbl th, .spec-tbl td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.spec-tbl th { width: 46%; color: var(--muted); font-weight: 500; }

/* what it can do: 2x2 ruled grid */
.feat { display: grid; border-top: 1px solid var(--line); }
.feat__item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.feat__n { font: 700 40px/1 var(--f-head); color: var(--hl); min-width: 56px; }
.feat__item h3 { margin-bottom: 8px; }
.feat__item p { color: var(--fg-2); }
.feat__item .tlink { margin-top: 12px; }
@media (min-width: 760px) {
  .feat { grid-template-columns: 1fr 1fr; }
  .feat__item { padding: 36px 36px 36px 0; }
  .feat__item:nth-child(even) { padding: 36px 0 36px 36px; border-left: 1px solid var(--line); }
}

/* steps track */
.track { list-style: none; margin: 0; padding: 0 0 0 30px; display: grid; gap: 28px; border-left: 3px solid var(--accent); margin-left: 22px; }
.track li { position: relative; }
.track__n {
  position: absolute; left: -55px; top: 0;
  display: grid; place-items: center; width: 48px; height: 48px;
  background: var(--accent); color: var(--k0); font: 700 19px/1 var(--f-head);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
.track h3 { font-size: 19px; margin: 10px 0 6px; }
.track p { color: var(--fg-2); font-size: 15.5px; line-height: 1.65; }
.track .tlink { margin-top: 10px; font-size: 15px; }
@media (min-width: 1000px) {
  .track { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; padding: 0; margin-left: 0; border-left: 0; border-top: 3px solid var(--accent); margin-top: 26px; }
  .track li { padding: 44px 20px 0 0; }
  .track__n { left: 0; top: -26px; }
  .track h3 { margin-top: 0; }
}

/* compare table */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.tbl { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.6; }
.tbl th, .tbl td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl thead th { background: var(--surface-2); font: 600 15.5px/1.4 var(--f-head); color: var(--fg); }
.tbl tbody th { font-weight: 600; color: var(--fg); }
.tbl td { color: var(--fg-2); }
.tbl .us {
  --fg: #F4F4F5; --fg-2: #C9C9CE; --muted: #9B9BA3; --ok: #3DD68C; --bad: #FF6B6B; --line: #2E2E33;
  background: var(--us-bg); color: var(--fg-2);
}
.tbl thead .us { background: var(--accent); color: var(--k0); }
.yn { display: inline-flex; gap: 8px; align-items: flex-start; }
.yn .i { width: 20px; height: 20px; margin-top: 3px; }
.yn--y .i { color: var(--ok); }
.yn--n .i { color: var(--bad); }
.yn--m .i { color: var(--warn); }
@media (max-width: 640px) {
  .tbl--stack thead { display: none; }
  .tbl--stack, .tbl--stack tbody, .tbl--stack tr, .tbl--stack th, .tbl--stack td { display: block; width: 100%; }
  .tbl--stack tr { border-bottom: 1px solid var(--line); }
  .tbl--stack tbody tr:last-child { border-bottom: 0; }
  .tbl--stack tbody th { padding: 16px 18px 8px; border: 0; font-family: var(--f-head); font-size: 17px; }
  .tbl--stack td { padding: 8px 18px; border: 0; }
  .tbl--stack td:last-child { padding-bottom: 16px; }
  .tbl--stack td::before { content: attr(data-label); display: block; font: 600 13px/1.5 var(--f-head); color: var(--muted); }
  .tbl--stack td.us { margin: 4px 0 0; }
}

/* readiness checklist */
.ready { display: grid; gap: 32px; }
@media (min-width: 960px) { .ready { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: start; } }
.ready__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ready__item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); cursor: pointer; }
.ready__item:has(input:checked) { border-color: var(--accent); }
.ready__item b { display: block; font: 600 16.5px/1.45 var(--f-head); color: var(--fg); }
.ready__item small { display: block; margin-top: 2px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.ready__item a { color: var(--hl); text-decoration: underline; }
.box {
  appearance: none; flex: none; width: 24px; height: 24px; margin: 1px 0 0;
  border: 2px solid var(--line-2); border-radius: 0; background: var(--surface-2); cursor: pointer;
  display: grid; place-items: center;
}
.box::after { content: ""; width: 6px; height: 12px; border: solid var(--k0); border-width: 0 3px 3px 0; transform: rotate(45deg) translate(-1px, -1px); opacity: 0; }
.box:checked { background: var(--accent); border-color: var(--accent); }
.box:checked::after { opacity: 1; }
.ready__meter { padding: 28px; background: var(--k1); border: 1px solid var(--line); border-radius: var(--r-md); }
.paper .ready__meter { background: var(--surface); }
.meter { display: flex; align-items: flex-end; gap: 8px; height: 96px; }
.meter i { flex: 1; background: var(--surface-2); border: 1px solid var(--line); }
.meter i:nth-child(1) { height: 30%; }
.meter i:nth-child(2) { height: 44%; }
.meter i:nth-child(3) { height: 58%; }
.meter i:nth-child(4) { height: 72%; }
.meter i:nth-child(5) { height: 86%; }
.meter i:nth-child(6) { height: 100%; }
.meter i.on { background: var(--accent); border-color: var(--accent); }
.ready__count { margin-top: 18px; font: 700 40px/1 var(--f-head); }
.ready__count small { font-size: 18px; color: var(--muted); }
.ready__status { margin-top: 8px; color: var(--fg-2); }
.ready__done { margin-top: 18px; display: grid; gap: 12px; }

/* faq */
.faq { display: grid; gap: 28px; }
@media (min-width: 960px) { .faq { grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 56px; } .faq__head { position: sticky; top: calc(var(--hd-h) + 32px); align-self: start; } }
.faq__head p { margin-top: 14px; color: var(--fg-2); }
.faq__head .btns { margin-top: 22px; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary {
  display: flex; justify-content: space-between; gap: 20px; align-items: flex-start;
  padding: 20px 0; cursor: pointer; list-style: none;
  font: 600 17.5px/1.5 var(--f-head); color: var(--fg);
}
.qa summary::-webkit-details-marker { display: none; }
.qa__a { padding: 0 40px 22px 0; color: var(--fg-2); }
.qa__a a { color: var(--hl); text-decoration: underline; }

/* risk block */
.riskbox { padding: 28px 24px; background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--warn); border-radius: var(--r-md); }
@media (min-width: 900px) { .riskbox { padding: 40px 44px; } }
.riskbox h2 { display: flex; gap: 14px; align-items: center; font-size: clamp(24px, 3vw, 34px); }
.riskbox h2 .i { width: 34px; height: 34px; color: var(--warn); }
.riskbox__cols { display: grid; gap: 14px 40px; margin-top: 22px; }
@media (min-width: 900px) { .riskbox__cols { grid-template-columns: 1fr 1fr; } }
.riskbox ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.riskbox li { display: flex; gap: 10px; color: var(--fg-2); }
.riskbox li .i { width: 18px; height: 18px; margin-top: 5px; color: var(--warn); }
.riskbox .btns { margin-top: 26px; }

/* posts */
.posts { display: grid; gap: 20px; }
@media (min-width: 700px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color .15s; }
.post:hover { border-color: var(--accent); }
.post__img { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; background: var(--surface-2); color: var(--muted); font-size: 14px; border-bottom: 1px solid var(--line); }
.post__img .i { width: 30px; height: 30px; color: var(--line-2); }
.post__img .badge { position: absolute; left: 12px; top: 12px; }
.post__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 20px; }
.post__meta { font-size: 13.5px; color: var(--muted); }
.post h3 { font-size: 19px; }
.post p { color: var(--fg-2); font-size: 15px; }
.post .tlink { margin-top: auto; padding-top: 6px; }

/* 10. Contact band, footer, dock, fab, cookie, toast ---------------------- */
.contact { padding: var(--sec) 0; background: var(--accent); color: var(--k0); }
.contact__grid { display: grid; gap: 36px; }
@media (min-width: 960px) { .contact__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: start; } }
.contact h2 { color: var(--k0); max-width: 18ch; }
.contact__sub { margin-top: 14px; color: var(--fg-2); max-width: 52ch; }
.chan { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--k0); }
.chan a { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--k0); }
.chan a > span:nth-child(2) { flex: 1; min-width: 0; }
.chan b { display: block; font: 700 17px/1.4 var(--f-head); }
.chan small { display: block; font-size: 14px; color: var(--fg-2); overflow-wrap: anywhere; }
.chan a > .i { width: 22px; height: 22px; transition: transform .15s; }
.chan a:hover > .i { transform: translateX(4px); }
.contact__card { padding: 28px 24px; background: var(--k0); --cut: 22px; }
@media (min-width: 700px) { .contact__card { padding: 34px; } }
.contact__card h3 { font-size: 24px; }
.contact__card > p { margin-top: 8px; color: var(--fg-2); }
.contact__btns { display: grid; gap: 10px; margin-top: 22px; }
.contact__qr { display: flex; gap: 18px; align-items: center; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.contact__qr b { font-family: var(--f-head); }
.contact__qr p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.qr { display: grid; place-items: center; gap: 4px; width: 112px; height: 112px; flex: none; border: 1px dashed var(--line-2); text-align: center; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.qr .i { width: 30px; height: 30px; }
.contact__ask { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.contact__ask > b { display: block; margin-bottom: 12px; font-family: var(--f-head); }
.contact__ask .checks li { font-size: 15px; }

.ft { padding: 64px 0 28px; background: var(--k0); border-top: 1px solid var(--line); color: var(--fg-2); font-size: 15px; }
.ft__top { display: grid; gap: 40px; }
@media (min-width: 960px) { .ft__top { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; } }
.ft__brand img { width: 190px; }
.ft__brand p { margin-top: 16px; max-width: 36ch; }
.ft__social { display: flex; gap: 10px; margin-top: 20px; }
.ft__soc { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: var(--r-sm); color: var(--fg); }
.ft__soc:hover { border-color: var(--accent); color: var(--accent); }
.ft__cols { display: grid; gap: 32px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .ft__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ft h2 { font-size: 16px; margin-bottom: 14px; color: var(--fg); }
.ft ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.ft ul a:hover, .ft__bottom a:hover, .ft__bottom .linkish:hover { color: var(--accent); }
.ft__risk { display: flex; gap: 12px; align-items: flex-start; margin-top: 44px; padding: 16px 18px; background: var(--k1); border-left: 3px solid var(--warn); font-size: 14.5px; line-height: 1.65; }
.ft__risk .i { width: 20px; height: 20px; color: var(--warn); margin-top: 2px; }
.ft__risk a { color: var(--fg); text-decoration: underline; }
.ft__bottom { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.ft__bottom a, .ft__bottom .linkish { color: var(--fg-2); }
.ft__top-link { display: inline-flex; gap: 6px; align-items: center; margin-left: auto; }
.ft__top-link .i { width: 16px; height: 16px; }

.dock { display: none; }
@media (max-width: 900px) {
  /* Owner 29 Oct 2026: black bar, white icons and labels; the current page has a
     yellow label and its icon in a hexagon that rises above the bar. */
  .dock {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 0 4px env(safe-area-inset-bottom);
    background: var(--k0); border-top: 1px solid var(--line-2);
  }
  .dock a {
    display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px;
    min-height: 64px; padding: 8px 2px 10px;
    color: #F4F4F5; font: 600 12.5px/1.2 var(--f-head); text-align: center;
  }
  .dock__ico { position: relative; display: grid; place-items: center; width: 28px; height: 26px; }
  .dock .i { position: relative; z-index: 1; width: 24px; height: 24px; color: #F4F4F5; }
  .dock a[aria-current] { color: var(--accent); }
  .dock a[aria-current] .dock__ico {
    --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    width: 54px; height: 60px; margin-top: -34px;
    background: var(--line-2); clip-path: var(--hex);
  }
  .dock a[aria-current] .dock__ico::before,
  .dock a[aria-current] .dock__ico::after { content: ""; position: absolute; clip-path: var(--hex); }
  .dock a[aria-current] .dock__ico::before { inset: 1px; background: var(--k0); }
  .dock a[aria-current] .dock__ico::after { inset: 3px; background: var(--accent); } /* thin black ring (owner 29 Oct 2026) */
  .dock a[aria-current] .i { color: var(--k0); }
  .ft { padding-bottom: 120px; }
}

.fab {
  position: fixed; right: 18px; bottom: 22px; z-index: 55;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 0;
  background: var(--line-green); color: #FFFFFF; border: 0; cursor: pointer;
}
.fab:hover { background: var(--line-green-h); }
.fab .i { width: 28px; height: 28px; }
.quick {
  position: fixed; right: 18px; bottom: 92px; z-index: 56;
  width: min(340px, calc(100vw - 36px)); padding: 18px;
  background: var(--k1); border: 1px solid var(--line-2); border-top: 3px solid var(--line-green);
}
.quick[hidden] { display: none; }
.quick__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.quick__head b { font: 700 17px/1.4 var(--f-head); }
.quick__x, .cookie__x { display: grid; place-items: center; width: 36px; height: 36px; background: none; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; color: var(--fg); flex: none; }
.quick__x .i, .cookie__x .i { width: 18px; height: 18px; }
.quick > p { margin: 6px 0 14px; font-size: 14.5px; color: var(--muted); }
.quick__btns { display: grid; gap: 10px; }
.quick__go { display: inline-flex; gap: 6px; align-items: center; margin-top: 14px; color: var(--accent); font: 600 15px/1.4 var(--f-head); }
.quick__go .i { width: 18px; height: 18px; }
/* where the bottom bar shows, its LINE slot replaces the floating button (owner 29 Oct 2026) */
@media (max-width: 900px) {
  .fab, .quick { display: none !important; }
}

.cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: 70;
  width: min(440px, calc(100vw - 40px)); max-height: calc(100vh - 40px); overflow-y: auto;
  padding: 20px; background: var(--k1); border: 1px solid var(--line-2); border-top: 3px solid var(--accent);
  font-size: 15px; line-height: 1.65;
}
.cookie[hidden] { display: none; }
.cookie__head { display: flex; gap: 12px; align-items: center; }
.cookie__head h2 { flex: 1; font-size: 19px; }
.cookie__view { margin-top: 14px; }
.cookie__view p { color: var(--fg-2); }
.cookie__more { display: inline-block; margin-top: 6px; color: var(--accent); text-decoration: underline; font-size: 14.5px; }
.cookie__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cookie__btns .btn { flex: 1 1 auto; }
.cookie__note { margin-top: 12px; font-size: 13.5px; color: var(--muted) !important; }
.ckrow { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ckrow b { font-family: var(--f-head); }
.ckrow p { margin: 2px 0 0; font-size: 14px; }
.ckrow__lock { flex: none; font: 600 13px/1.6 var(--f-head); color: var(--ok); white-space: nowrap; }
.switch { position: relative; flex: none; width: 50px; height: 28px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; background: var(--k3); border: 1px solid var(--line-2); border-radius: 0; transition: background-color .15s; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 0; background: var(--fg-2); transition: transform .15s, background-color .15s; }
.switch input:checked + span { background: var(--accent); border-color: var(--accent); }
.switch input:checked + span::after { transform: translateX(22px); background: var(--k0); }
.switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 900px) {
  .cookie { left: 0; right: 0; bottom: 0; width: auto; max-height: 85vh; border-left: 0; border-right: 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); }
}

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 90; transform: translate(-50%, 16px);
  max-width: calc(100vw - 32px); padding: 12px 18px;
  background: #F4F4F5; color: var(--k0); border-left: 4px solid var(--accent);
  font: 600 15px/1.5 var(--f-head); opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 900px) { .toast { bottom: calc(90px + env(safe-area-inset-bottom)); } }

/* 12. Sub pages: stats, guide steps, long documents ------------------------ */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.stat > span:first-child { font-size: 14px; color: var(--muted); line-height: 1.5; }
.stat b { font: 700 clamp(19px, 2vw, 24px)/1.3 var(--f-head); color: var(--fg); }
.stat .wait { align-self: flex-start; }

.prep { display: grid; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.prep > h3 { padding: 18px 20px; border-bottom: 1px solid var(--line); font-size: 18px; display: flex; gap: 10px; align-items: center; }
.prep > h3 .i { color: var(--hl); }
.prep dl { margin: 0; }
.prep dl > div { display: grid; grid-template-columns: minmax(110px, .7fr) minmax(0, 1.3fr); gap: 12px; padding: 13px 20px; border-bottom: 1px solid var(--line); font-size: 15px; }
.prep dl > div:last-child { border-bottom: 0; }
.prep dt { color: var(--muted); }
.prep dd { margin: 0; color: var(--fg-2); }
.prep > .note { border-radius: 0 0 var(--r-md) var(--r-md); }
.gstep .prep > h3 { margin: 0; font-size: 18px; }

.guide { display: grid; gap: 32px; }
@media (min-width: 1000px) { .guide { grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; } }
.rail { display: none; }
@media (min-width: 1000px) {
  .rail { display: block; position: sticky; top: calc(var(--hd-h) + 24px); }
  .rail h2 { font-size: 15px; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
  .rail ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
  .rail a { display: flex; gap: 12px; align-items: baseline; padding: 9px 0 9px 16px; margin-left: -1px; border-left: 3px solid transparent; color: var(--fg-2); font-size: 15px; line-height: 1.5; }
  .rail a b { font: 700 14px/1.5 var(--f-head); color: var(--muted); min-width: 22px; }
  .rail a:hover { color: var(--fg); border-left-color: var(--line-2); }
  .rail a:hover b { color: var(--hl); }
}
.gsteps { list-style: none; margin: 0; padding: 0; }
.gstep { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 32px 0; border-top: 1px solid var(--line); }
.gstep:first-child { border-top: 0; padding-top: 0; }
.gstep__n {
  display: grid; place-items: center; width: 44px; height: 44px;
  background: var(--accent); color: var(--k0); font: 700 18px/1 var(--f-head);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
@media (min-width: 700px) { .gstep { grid-template-columns: 56px minmax(0, 1fr); gap: 24px; } .gstep__n { width: 56px; height: 56px; font-size: 22px; } }
.gstep h3 { margin: 6px 0 10px; font-size: clamp(20px, 2.2vw, 24px); }
.gstep__body > p, .gstep__body li { color: var(--fg-2); }
.gstep__body ul, .gstep__body ol { padding-left: 1.25em; display: grid; gap: 6px; margin: 0 0 1em; }
.gstep__body .shot, .gstep__body .note, .gstep__body .apps { margin-top: 18px; }
.apps { display: grid; gap: 12px; }
@media (min-width: 700px) { .apps { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.app { display: flex; flex-direction: column; gap: 10px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.app__head { display: flex; gap: 12px; align-items: center; }
.app__head b { display: block; font: 700 17px/1.4 var(--f-head); }
.app__head small { display: block; font-size: 13.5px; color: var(--muted); }
.app p { font-size: 14.5px; color: var(--fg-2); }
.app .btn { margin-top: auto; }

.related { display: grid; gap: 12px; }
@media (min-width: 700px) { .related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .related { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color .15s; }
.rel:hover { border-color: var(--accent); }
.rel b { display: block; font: 700 17px/1.4 var(--f-head); color: var(--fg); }
.rel small { display: block; font-size: 14px; color: var(--muted); line-height: 1.5; }
.rel > .i { color: var(--hl); }

/* long documents and guide longform: .doclay > .toc + .doc */
.doclay { display: grid; gap: 28px; }
@media (min-width: 1000px) { .doclay { grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; } }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.toc summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; cursor: pointer; list-style: none; font: 600 16px/1.4 var(--f-head); color: var(--fg); }
.toc summary::-webkit-details-marker { display: none; }
.toc summary .i { width: 18px; height: 18px; transition: transform .15s; }
.toc[open] summary .i { transform: rotate(180deg); }
.toc ol { list-style: none; margin: 0; padding: 4px 18px 16px; display: grid; gap: 2px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 6px 0; font-size: 14.5px; line-height: 1.5; color: var(--fg-2); }
.toc a::before { content: counter(toc, decimal-leading-zero); font: 700 13px/1.6 var(--f-head); color: var(--muted); }
.toc a:hover { color: var(--hl); }
@media (min-width: 1000px) { .toc { position: sticky; top: calc(var(--hd-h) + 24px); } }
.doc { padding: clamp(22px, 4vw, 48px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--fg-2); overflow-wrap: break-word; }
.doc > :first-child { margin-top: 0; }
.doc h2 { margin: 2.1em 0 .6em; font-size: clamp(22px, 2.6vw, 30px); scroll-margin-top: calc(var(--hd-h) + 20px); }
.doc h3 { margin: 1.6em 0 .5em; font-size: clamp(18px, 2vw, 21px); }
.doc p, .doc li { color: var(--fg-2); }
.doc ul, .doc ol { padding-left: 1.3em; display: grid; gap: 6px; margin: 0 0 1em; }
.doc a:not(.btn):not(.rel) { color: var(--hl); text-decoration: underline; text-underline-offset: 3px; }
.doc .note, .doc .tbl-wrap, .doc .shot, .doc .stats, .doc .related, .doc .checks, .doc .calc { margin: 1.4em 0; }
.doc .lead { color: var(--fg); }
.doc .note { background: var(--surface-2); }
.doc .gsteps { display: block; padding-left: 0; margin: 1.4em 0; }
.doc .gstep h3 { margin: 6px 0 10px; }
.doc .track { padding-left: 30px; }
@media (min-width: 1000px) { .doc .track { padding-left: 0; } }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.doc__date { font-size: 14px; color: var(--muted); }
@media (min-width: 1000px) { .doc .related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 13. Pricing: joined plan columns ----------------------------------------- */
.plans { display: grid; gap: 16px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; } }
.plan { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
@media (min-width: 900px) { .plan { border: 0; border-radius: 0; border-left: 1px solid var(--line); } .plan:first-child { border-left: 0; } }
.plan__head { padding: 24px 24px 20px; border-bottom: 1px solid var(--line); }
.plan--pick .plan__head { background: var(--accent); color: var(--k0); border-bottom-color: var(--accent); }
.plan--pick .plan__head h3, .plan--pick .plan__head p, .plan--pick .plan__price { color: var(--k0); }
.plan--pick .plan__head .wait { color: #2E2E33; border-color: #0B0B0C; }
.plan__flag { display: inline-block; margin-bottom: 10px; padding: 2px 10px; background: var(--k0); color: var(--accent); font: 600 13px/1.6 var(--f-head); border-radius: var(--r-sm); }
.plan__head h3 { font-size: 24px; }
.plan__head p { margin-top: 6px; font-size: 15px; color: var(--fg-2); }
.plan__price { margin-top: 14px; font: 700 30px/1.2 var(--f-head); }
.plan__body { display: flex; flex-direction: column; gap: 18px; flex: 1; padding: 22px 24px 26px; }
.plan__body .checks li { font-size: 15.5px; }
.plan__body .btn { margin-top: auto; }

/* 14. Calculators ----------------------------------------------------------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; background: var(--k1); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--fg); }
.paper .calc { background: var(--surface); }
@media (min-width: 900px) { .calc { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.calc__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 24px; } /* minmax(0): a long dropdown label must not widen the calculator inside an article */
@media (min-width: 700px) { .calc__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.calc__in h3 { grid-column: 1 / -1; display: flex; gap: 12px; align-items: center; font-size: 20px; }
.field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font: 600 14.5px/1.4 var(--f-head); color: var(--fg); }
.field small { font-size: 13px; color: var(--muted); }
.field input, .field select {
  width: 100%; height: 48px; padding: 0 14px;
  background: var(--surface-2); color: var(--fg); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  font: 600 17px/1 var(--f-head);
}
.field input:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.field input[readonly] { color: var(--muted); }
/* select box (owner 29 Oct 2026: arrow too close to the edge, list looked unfinished)
   .sel > select is the no-JS fallback; main.js adds .sel__btn + .sel__list and hides the select */
.sel { position: relative; }
.sel > select { appearance: none; -webkit-appearance: none; padding-right: 64px; cursor: pointer; }
.sel.is-on > select { display: none; }
.sel__arrow { position: absolute; top: 0; right: 0; bottom: 0; display: grid; place-items: center; width: 48px; border-left: 1px solid var(--line-2); color: var(--hl); pointer-events: none; }
.sel__arrow .i { width: 20px; height: 20px; transition: transform .2s; }
/* same height and type as the number fields beside it (owner 29 Oct 2026) · the detail line shows in the list only */
.sel__btn {
  position: relative; display: flex; align-items: center; width: 100%; height: 48px; padding: 0 62px 0 14px;
  background: var(--surface-2); color: var(--fg); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  text-align: left; text-transform: none; cursor: pointer; transition: border-color .15s;
}
.sel__btn .sel__val { display: block; overflow: hidden; }
.sel__btn .sel__val b { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 600 17px/1.3 var(--f-head); }
.sel__btn .sel__val small { display: none; }
.sel__btn:hover { border-color: var(--fg-2); }
.sel__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.sel__btn[aria-expanded="true"] { border-color: var(--accent); }
.sel__btn[aria-expanded="true"] .sel__arrow { border-left-color: var(--accent); }
.sel__btn[aria-expanded="true"] .sel__arrow .i { transform: rotate(180deg); }
.sel__val, .sel__opt > span { display: grid; gap: 2px; min-width: 0; }
.sel__val b, .sel__opt b { font: 600 16px/1.4 var(--f-head); color: var(--fg); }
.sel__val small, .sel__opt small { font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.sel__list {
  position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; right: 0; max-height: 340px; overflow-y: auto;
  margin: 0; padding: 0; list-style: none; background: var(--surface); border: 1px solid var(--accent); text-transform: none;
}
.sel--up .sel__list { top: auto; bottom: calc(100% + 6px); }
.sel__opt { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px 12px 13px; border-left: 3px solid transparent; cursor: pointer; }
.sel__opt + .sel__opt { border-top: 1px solid var(--line); }
.sel__opt.is-active { background: var(--surface-2); border-left-color: var(--accent); }
.sel__opt .i { width: 20px; height: 20px; color: var(--hl); visibility: hidden; }
.sel__opt[aria-selected="true"] .i { visibility: visible; }
@media (prefers-reduced-motion: reduce) { .sel__arrow .i, .sel__btn { transition: none; } }
.calc__out { display: grid; align-content: start; gap: 18px; padding: 24px; background: var(--k0); color: #F4F4F5; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .calc__out { border-top: 0; border-left: 1px solid var(--line); } }
.out span { display: block; font-size: 14px; color: #9B9BA3; }
.out b { display: block; margin-top: 4px; font: 700 clamp(28px, 3.4vw, 40px)/1.15 var(--f-head); color: var(--accent); }
.out--sm b { font-size: 22px; color: #F4F4F5; }
.ddbar { height: 14px; background: var(--k3); border: 1px solid #2E2E33; }
.ddbar i { display: block; height: 100%; background: var(--accent); }

/* 15. /go: one narrow card stacked top to bottom on every screen (owner 29 Oct 2026) */
.go-page { background: var(--k0); }
.go { padding: 20px 0 36px; }
@media (min-width: 700px) { .go { padding: 48px 0 64px; } }
.gocard { width: min(100% - 24px, 520px); margin-inline: auto; padding: 32px 20px 26px; background: var(--k1); border: 1px solid var(--line); --cut: 22px; }
@media (min-width: 560px) { .gocard { padding: 40px 36px 30px; } }
.gocard__brand { text-align: center; }
.gocard__brand img:first-child { width: 132px; margin: 0 auto; }
.gocard__brand .go-word { width: 184px; margin: 12px auto 0; }
.gocard__brand h1 { margin-top: 14px; font-size: 21px; color: var(--accent); }
.gocard__brand p { margin-top: 6px; font-size: 15px; color: var(--fg-2); }
.gocard__sec { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.gocard__h { font-size: 18px; text-align: center; }
.gocard__h::after { content: ""; display: block; width: 36px; height: 3px; margin: 10px auto 0; background: var(--accent); }
.gocard__sub { margin-top: 10px; font-size: 14.5px; color: var(--fg-2); text-align: center; }
.gocard__stack { display: grid; gap: 10px; margin-top: 16px; }
.gosteps { list-style: none; margin: 18px 0 0; padding: 0; }
.gostep { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 20px 0; border-top: 1px solid var(--line); }
.gostep:first-child { border-top: 0; padding-top: 4px; }
.gostep__n { display: grid; place-items: center; width: 34px; height: 34px; background: var(--accent); color: var(--k0); font: 700 16px/1 var(--f-head); clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%); }
.gostep h3 { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 17px; margin-top: 4px; }
.gostep p { margin-top: 4px; font-size: 14.5px; color: var(--fg-2); }
.gostep__act { display: grid; gap: 8px; margin-top: 12px; }
.gotiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.gotile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; background: var(--k2); border: 1px solid var(--line); border-radius: var(--r-sm); text-align: center; font: 600 14px/1.35 var(--f-head); color: var(--fg); }
.gotile .i { color: var(--accent); }
.gotile:hover { border-color: var(--accent); }
.dlcards { display: grid; gap: 10px; margin-top: 12px; }
.dlcard { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px; background: var(--k2); border: 1px solid var(--line); border-radius: var(--r-sm); }
.dlcard__ver { display: grid; place-items: center; height: 60px; background: var(--accent); color: var(--k0); font: 700 19px/1 var(--f-head); }
.dlcard b { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font: 700 16px/1.4 var(--f-head); }
.dlcard .row { margin-top: 8px; gap: 8px; }
/* card with the product cover: full-width image, version tag and download button on top of it */
.dlcard--cover { display: block; padding: 0; overflow: hidden; container-type: inline-size; }
.dlcard__media { position: relative; background: var(--k0); }
.dlcard__media img { display: block; width: 100%; height: auto; }
.dlcard__tag { position: absolute; top: 12px; left: 12px; padding: 7px 10px; background: var(--accent); color: var(--k0); font: 700 15px/1 var(--f-head); }
.dlcard__dl { position: absolute; right: 12px; bottom: 12px; }
.dlcard__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 16px; padding: 12px 14px; }
@media (min-width: 640px) {
  .dlcard__tag { top: 16px; left: 16px; padding: 8px 12px; font-size: 17px; }
  .dlcard__dl { right: 16px; bottom: 16px; }
}
/* narrow card: the button would cover "BULL" on the cover → smaller, bottom-left over the floor */
@container (max-width: 419px) {
  .dlcard__tag { top: 8px; left: 8px; padding: 6px 8px; font-size: 13px; }
  .dlcard__dl { right: auto; left: 8px; bottom: 8px; min-height: 0; padding: 7px 10px; font-size: 13px; gap: 6px; }
  .dlcard__dl .i { width: 16px; height: 16px; }
}
.golinks { display: grid; gap: 8px; margin-top: 16px; }
.golink { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 14px; background: var(--k2); border: 1px solid var(--line); color: var(--fg); font: 600 15.5px/1.35 var(--f-head); text-decoration: none; }
.golink .i { width: 20px; height: 20px; color: var(--accent); }
.golink span { flex: 1; }
.golink .golink__go { width: 18px; height: 18px; color: var(--muted); transition: transform .15s, color .15s; }
.golink:hover { border-color: var(--accent); }
.golink:hover .golink__go { color: var(--accent); transform: translateX(3px); }
.gocard__social { margin-top: 26px; }
.gocard__social > * { justify-content: center; }
.go__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 22px; font-size: 13.5px; color: var(--muted); }
.go__legal a, .go__legal .linkish { color: var(--fg-2); text-decoration: underline; }

/* 16. Articles, single article, search, 404 ------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); font: 600 14.5px/1 var(--f-head); color: var(--fg-2); }
.chip:hover { border-color: var(--fg); color: var(--fg); }
.chip[aria-current] { background: var(--accent); border-color: var(--accent); color: var(--k0); }
.more { display: flex; justify-content: center; margin-top: 32px; }
.readbar { position: fixed; left: 0; right: 0; top: 0; z-index: 80; height: 3px; background: transparent; }
.readbar i { display: block; height: 100%; width: 0; background: var(--accent); }
.art-cover { margin-top: 28px; }
.art-cover .shot { aspect-ratio: 1200 / 630; }
.artlay { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; } /* minmax(0) keeps a wide table scrolling inside .table-wrap instead of widening the page */
@media (min-width: 1000px) { .artlay { grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; } }
.share { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-top: 20px; border-top: 1px solid var(--line); }
.share b { font-family: var(--f-head); color: var(--fg); margin-right: 6px; }
.author { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--surface-2); border-radius: var(--r-md); }
.author .tile { width: 56px; height: 56px; }
.author b { display: block; font: 700 17px/1.4 var(--f-head); color: var(--fg); }
.series { padding: 20px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r-md); }
.series ol { margin: 10px 0 0; }
.searchbox { display: flex; max-width: 560px; }
.searchbox input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; background: var(--k2); color: #F4F4F5; border: 1px solid var(--line-2); border-right: 0; border-radius: var(--r-sm) 0 0 var(--r-sm); font: 500 16px/1 var(--f-body); }
.searchbox .btn { border-radius: 0 var(--r-sm) var(--r-sm) 0; min-height: 52px; }
.e404 { padding: 48px 0 var(--sec); text-align: center; }
.e404__n { font: 700 clamp(110px, 22vw, 220px)/1 var(--f-head); color: var(--accent); }
.e404 h1 { margin-top: 8px; font-size: clamp(28px, 4vw, 44px); }
.e404 > .wrap > p { max-width: 52ch; margin: 14px auto 0; color: var(--fg-2); }
.e404 .searchbox { margin: 28px auto 0; }
.e404 .btns { margin: 22px auto 0; }
.quicklinks { display: grid; gap: 10px; max-width: 900px; margin: 40px auto 0; text-align: left; }
@media (min-width: 700px) { .quicklinks { grid-template-columns: 1fr 1fr; } }

/* 18. Seed content classes (dev/content-spec.md) ---------------------------
   Page and article HTML is imported into the editor, so it keeps the class
   names the content filters, FAQ schema and check-content.php rely on. Here
   they take the Bull Black look of the mockup components. */
.callout {
  margin: 1.4em 0; padding: 14px 16px 14px 18px;
  background: var(--surface-2); border-left: 3px solid var(--c, var(--info));
  color: var(--fg-2); font-size: 15.5px; line-height: 1.7;
}
.callout > :last-child { margin-bottom: 0; }
.callout strong { color: var(--fg); }
.callout a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.callout--warn { --c: var(--warn); }
.callout--info { --c: var(--info); }
.callout--tip { --c: var(--ok); }

.checklist, .crosslist { list-style: none; padding-left: 0 !important; display: grid; gap: 10px; }
.checklist li, .crosslist li { position: relative; padding-left: 30px; }
.checklist li::before, .crosslist li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px;
  background: var(--ok);
  -webkit-mask: var(--mk) center / 20px 20px no-repeat; mask: var(--mk) center / 20px 20px no-repeat;
  --mk: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.crosslist li::before {
  background: var(--bad);
  --mk: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6.5 6.5l11 11M17.5 6.5l-11 11'/%3E%3C/svg%3E");
}

.guide-steps { list-style: none; padding-left: 0 !important; margin: 1.4em 0; counter-reset: gs; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 !important; }
.guide-steps > li { counter-increment: gs; position: relative; padding: 18px 0 18px 64px; border-top: 1px solid var(--line); }
.guide-steps > li:first-child { border-top: 0; padding-top: 4px; }
.guide-steps > li::before {
  content: counter(gs, decimal-leading-zero); position: absolute; left: 0; top: 18px;
  display: grid; place-items: center; width: 44px; height: 44px;
  background: var(--accent); color: var(--k0); font: 700 17px/1 var(--f-head);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
.guide-steps > li:first-child::before { top: 4px; }
.guide-steps h3 { margin: 6px 0 6px !important; font-size: 18px; }
.guide-steps p { margin-bottom: .4em; }

.table-wrap { margin: 1.4em 0; overflow-x: auto; border: 1px solid var(--line); background: var(--surface); }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.data-table th, .data-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.data-table thead th { background: var(--surface-2); font: 600 15px/1.4 var(--f-head); color: var(--fg); }
.data-table tbody th { color: var(--fg); font-weight: 600; }
.data-table td { color: var(--fg-2); }
@media (max-width: 640px) {
  .table-wrap--stack { border: 0; background: none; overflow: visible; }
  .table-wrap--stack .data-table thead { display: none; }
  .table-wrap--stack .data-table, .table-wrap--stack .data-table tbody,
  .table-wrap--stack .data-table tr, .table-wrap--stack .data-table th,
  .table-wrap--stack .data-table td { display: block; width: 100%; }
  .table-wrap--stack .data-table tr { margin-bottom: 10px; border: 1px solid var(--line); background: var(--surface); }
  .table-wrap--stack .data-table th, .table-wrap--stack .data-table td { border: 0; padding: 8px 14px; }
  .table-wrap--stack .data-table tr > :first-child { padding-top: 14px; font-family: var(--f-head); font-weight: 600; color: var(--fg); }
  .table-wrap--stack .data-table tr > :last-child { padding-bottom: 14px; }
  .table-wrap--stack .data-table td[data-label]::before { content: attr(data-label); display: block; font: 600 13px/1.5 var(--f-head); color: var(--muted); }
}

.faq-block { margin: 1.4em 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; justify-content: space-between; gap: 20px; align-items: flex-start;
  padding: 18px 0; cursor: pointer; list-style: none;
  font: 600 17px/1.5 var(--f-head); color: var(--fg);
}
.faq-item summary::-webkit-details-marker { display: none; }
/* FAQ toggle used site-wide (home .qa and page .faq-item): square box, plus becomes minus when open (owner 29 Oct 2026) */
.faq-plus { position: relative; flex: none; display: block; width: 30px; height: 30px; margin-top: -1px; background: var(--surface); border: 1px solid var(--line-2); transition: background-color .15s, border-color .15s; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--fg); transition: transform .2s ease, background-color .15s; }
.faq-plus::after { transform: rotate(90deg); }
summary:hover .faq-plus { border-color: var(--accent); }
details[open] > summary .faq-plus { background: var(--accent); border-color: var(--accent); }
details[open] > summary .faq-plus::before, details[open] > summary .faq-plus::after { background: #0B0B0C; }
details[open] > summary .faq-plus::after { transform: rotate(90deg) scaleX(0); }
.faq-answer { padding: 0 38px 18px 0; color: var(--fg-2); }
.faq-answer > :last-child { margin-bottom: 0; }

.related-links { margin: 2em 0 0; }
.related-links h2 { font-size: clamp(20px, 2.2vw, 24px) !important; margin: 0 0 14px !important; }
.related-links ul { list-style: none; padding-left: 0 !important; display: grid; gap: 10px !important; }
@media (min-width: 700px) { .related-links ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.related-links li a {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  padding: 14px 16px; background: var(--surface-2); border: 1px solid var(--line);
  color: var(--fg) !important; text-decoration: none !important; font: 600 15.5px/1.45 var(--f-head);
}
.related-links li a::after { content: "\2192"; color: var(--hl); }
.related-links li a:hover { border-color: var(--accent); }

.xref { padding-left: 14px; border-left: 2px solid var(--accent); color: var(--fg-2); font-size: 15px; }
.doc-meta, .doc-ack { font-size: 14px; color: var(--muted); }
.cookie-reopen { background: none; border: 0; padding: 0; color: var(--hl); text-decoration: underline; cursor: pointer; font: inherit; }
.rt-h3 { margin: 1.2em 0 .4em; font: 700 19px/1.4 var(--f-head); color: var(--fg); }
.rt-list { padding-left: 1.3em; display: grid; gap: 6px; }

/* 19. WordPress ------------------------------------------------------------- */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: static !important; width: auto; height: auto; clip: auto; }
.admin-bar .hd { top: 32px; }
@media (max-width: 782px) { .admin-bar .hd { top: 46px; } }
.alignwide, .alignfull { max-width: 100%; }
.wp-caption, figure { margin: 1.4em 0; max-width: 100%; }
.wp-caption-text, figcaption { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.doc img { border: 1px solid var(--line); }
.eab-photo img { display: block; width: 100%; height: auto; } /* article photos (inc/setup.php eab_seed_photos) · colours as shot, square corners */
.admin-hint { display: inline-block; padding: 2px 8px; border: 1px dashed var(--warn); color: var(--warn); font-size: 13px; }

/* 20. Lightbox, load more, active TOC (assets/js/main.js) ------------------- */
.lb { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 56px 16px; background: rgba(11, 11, 12, .94); visibility: hidden; opacity: 0; transition: opacity .15s, visibility .15s; }
.lb.is-open { visibility: visible; opacity: 1; }
.lb figure { margin: 0; max-width: min(1100px, 100%); }
.lb img { max-height: calc(100vh - 160px); width: auto; margin: 0 auto; border: 1px solid #45454C; }
.lb figcaption { margin-top: 10px; text-align: center; color: #C9C9CE; font-size: 14px; }
.lb button { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; background: var(--k1); color: #F4F4F5; border: 1px solid #45454C; cursor: pointer; }
.lb .icon { width: 20px; height: 20px; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.load-more { display: flex; justify-content: center; margin-top: 32px; }
.load-more-btn.is-loading { opacity: .7; pointer-events: none; }
.toc a.is-active, .longform-toc a.is-active { color: var(--hl); }
.share-copy.is-copied { border-color: var(--ok); }

/* 20. Motion (owner 29 Oct 2026): hero chart, heading bars, cards one by one, step track.
   Hidden start states only apply with .js and when the visitor allows motion; main.js adds .is-in on scroll. */
@media (prefers-reduced-motion: no-preference) {
  .hero__emblem { animation: eab-rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero__chart i { animation: eab-wave 3.4s ease-in-out infinite alternate; animation-delay: calc(var(--d) * -1s); }
  @keyframes eab-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
  @keyframes eab-wave { from { transform: scaleY(.7); } to { transform: scaleY(1); } }

  .js .shead .bars i { transform: scaleY(0); transform-origin: bottom; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
  .js .shead.is-in .bars i { transform: scaleY(1); }
  .js .shead.is-in .bars i:nth-child(2) { transition-delay: .12s; }
  .js .shead.is-in .bars i:nth-child(3) { transition-delay: .24s; }

  .js [data-reveal] > * { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in > * { opacity: 1; transform: none; }

  .js .track { position: relative; border-left-color: transparent; }
  .js .track::before { content: ""; position: absolute; left: -3px; top: 0; bottom: 0; width: 3px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform 1.2s cubic-bezier(.4, 0, .2, 1); }
  .js .track.is-in::before { transform: scaleY(1); }
  .js .track .track__n { opacity: 0; transform: scale(.4); transition: opacity .25s ease, transform .4s cubic-bezier(.3, 1.6, .5, 1); transition-delay: calc(var(--i, 0) * 160ms + .2s); }
  .js .track.is-in .track__n { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 1000px) {
  .js .track { border-top-color: transparent; }
  .js .track::before { left: 0; right: 0; top: -3px; bottom: auto; width: auto; height: 3px; transform: scaleX(0); transform-origin: left; }
  .js .track.is-in::before { transform: scaleX(1); }
}
