/* ============================================================
   Wheebuy Spreadsheet — independent beginner guide
   Design DNA: bento control-desk + decision toolbox
   Fonts: Bricolage Grotesque (display) + Inter (body) + Space Mono (labels)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --orange: #FF5001;          /* brand accent (icons/borders/top-accents) */
  --orange-deep: #D93D00;     /* text-safe button fill */
  --orange-soft: #FF7334;
  --gold: #B7791F;            /* text-safe amber */
  --gold-bright: #EDAF41;
  --green: #12996A;           /* accent */
  --green-text: #0A7350;      /* text-safe green */

  --c-bg: #FFF8F2;
  --c-surface: #FFFFFF;
  --c-surface-2: #FFF1E6;
  --c-ink: #1C1206;
  --c-text: #4A3A2B;
  --c-muted: #6B5A48;
  --c-border: #F1DEC9;
  --c-primary: var(--orange);
  --c-btn: var(--orange-deep);
  --c-btn-hover: var(--orange);
  --c-on-primary: #FFFFFF;

  --shadow-sm: 0 1px 2px rgba(28,18,6,.06), 0 1px 3px rgba(28,18,6,.05);
  --shadow-md: 0 6px 16px rgba(180,70,10,.10), 0 2px 6px rgba(28,18,6,.06);
  --shadow-lg: 0 18px 40px rgba(180,70,10,.14), 0 6px 14px rgba(28,18,6,.08);

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --maxw: 1160px;
  --gap: clamp(56px, 8vw, 104px);

  --ff-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --ff-mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

html[data-theme="dark"] {
  --orange: #FF7A3D;
  --orange-deep: #FF7A3D;
  --orange-soft: #FF9764;
  --gold: #F5B841;
  --gold-bright: #F5B841;
  --green: #34D399;
  --green-text: #52D6A0;

  --c-bg: #150D06;
  --c-surface: #241811;
  --c-surface-2: #2E1F14;
  --c-ink: #F8EADD;
  --c-text: #E7D7C6;
  --c-muted: #C0AB97;
  --c-border: #3A281B;
  --c-primary: #FF7A3D;
  --c-btn: #FF6321;
  --c-btn-hover: #FF7A3D;
  --c-on-primary: #1A0F06;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 8px 20px rgba(0,0,0,.45);
  --shadow-lg: 0 20px 44px rgba(0,0,0,.55);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--ff-body);
  background: var(--c-bg);
  color: var(--c-text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 { font-family: var(--ff-display); color: var(--c-ink); line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { color: var(--c-text); }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--orange); color: #fff; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(18px, 4vw, 34px); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--orange-deep); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0; z-index: 200; font-weight: 700; }
.skip:focus { left: 0; }

/* mono kicker label = spreadsheet-cell motif */
.kicker {
  font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange-deep); font-weight: 700; display: inline-flex; align-items: center; gap: 8px;
}
.kicker::before { content: ""; width: 22px; height: 12px; border: 1.5px dashed var(--orange); border-radius: 3px; display: inline-block; }
html[data-theme="dark"] .kicker { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--ff-body); font-weight: 700; font-size: .98rem; line-height: 1;
  padding: 14px 22px; min-height: 48px; border-radius: 13px; border: 2px solid transparent;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  text-align: center;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--c-btn); color: var(--c-on-primary); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--c-btn-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--c-ink); border-color: var(--c-border); }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange-deep); transform: translateY(-2px); }
html[data-theme="dark"] .btn--ghost:hover { color: var(--orange); }
.btn--gold { background: transparent; color: var(--gold); border-color: var(--gold-bright); }
.btn--gold:hover { background: var(--gold-bright); color: #2a1c00; transform: translateY(-2px); }
.btn--sm { min-height: 40px; padding: 10px 16px; font-size: .88rem; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ---------- Header / nav ---------- */
.topbar { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--c-bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--c-border); }
.topbar__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand__logo img { height: 42px; width: auto; }
.brand__logo img.brand__logo--light { display: block; }
.brand__logo img.brand__logo--dark { display: none; }
html[data-theme="dark"] .brand__logo img.brand__logo--light { display: none; }
html[data-theme="dark"] .brand__logo img.brand__logo--dark { display: block; }
.brand__tag { font-family: var(--ff-mono); font-size: .55rem; letter-spacing: .13em; text-transform: uppercase; color: var(--orange-deep); font-weight: 700; border-left: 1.5px solid var(--c-border); padding-left: 10px; line-height: 1.25; max-width: 76px; }
html[data-theme="dark"] .brand__tag { color: var(--orange); }
@media (max-width: 420px) { .brand__tag { display: none; } }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font-weight: 600; font-size: .95rem; color: var(--c-text); padding: 9px 13px; border-radius: 10px; transition: background .18s, color .18s; }
.nav a:hover { background: var(--c-surface-2); color: var(--c-ink); }
.nav a[aria-current="page"] { color: var(--orange-deep); background: var(--c-surface-2); }
html[data-theme="dark"] .nav a[aria-current="page"] { color: var(--orange); }

.topbar__actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; border: 1px solid var(--c-border); background: var(--c-surface); color: var(--c-ink); cursor: pointer; transition: border-color .18s, color .18s; }
.icon-btn:hover { border-color: var(--orange); color: var(--orange-deep); }
html[data-theme="dark"] .icon-btn:hover { color: var(--orange); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-toggle .moon { display: none; }
html[data-theme="dark"] .theme-toggle .sun { display: none; }
html[data-theme="dark"] .theme-toggle .moon { display: block; }
.nav-toggle { display: none; }

/* mobile sheet */
.mobile-nav { display: none; }
@media (max-width: 900px) {
  .nav, .topbar__actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav { display: block; position: fixed; inset: 66px 0 0 0; z-index: 99; background: var(--c-bg); border-top: 1px solid var(--c-border); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; overflow-y: auto; padding: 18px clamp(18px,4vw,34px) 40px; }
  .mobile-nav[data-open="true"] { opacity: 1; transform: none; pointer-events: auto; }
  .mobile-nav a { display: block; padding: 15px 6px; font-family: var(--ff-display); font-size: 1.35rem; font-weight: 700; color: var(--c-ink); border-bottom: 1px solid var(--c-border); }
  .mobile-nav a[aria-current="page"] { color: var(--orange-deep); }
  .mobile-nav .btn { display: flex; margin-top: 22px; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .mobile-nav { transition: none; } }

/* ---------- Section scaffolding ---------- */
main { display: block; }
.section { padding: var(--gap) 0; }
.section--tint { background: var(--c-surface-2); }
.section-head { max-width: 720px; margin-bottom: clamp(30px, 5vw, 52px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p.lead { margin-top: 14px; font-size: 1.08rem; color: var(--c-muted); }
.eyebrow-row { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }

/* dashed spreadsheet-column divider */
.col-rule { height: 1px; border: 0; border-top: 1.5px dashed var(--c-border); position: relative; margin: 0; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 76px) 0 clamp(48px, 7vw, 92px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(60% 55% at 92% 8%, rgba(255,80,1,.13), transparent 70%),
  repeating-linear-gradient(90deg, transparent 0 46px, rgba(255,80,1,.045) 46px 47px),
  repeating-linear-gradient(0deg, transparent 0 46px, rgba(255,80,1,.045) 46px 47px);
  pointer-events: none; z-index: 0; }
.hero .container { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 76px); align-items: center; }
.hero__copy { min-width: 0; }
.hero__copy .w2c-search, .hero__copy .w2c-chips, .hero__copy .lanes { max-width: 100%; }
.hero h1 { margin: 16px 0 0; }
.hero h1 .hl { color: var(--orange-deep); }
html[data-theme="dark"] .hero h1 .hl { color: var(--orange); }
.hero__sub { margin-top: 18px; font-size: 1.14rem; color: var(--c-text); max-width: 40ch; }

/* two lanes = division of labor */
.lanes { margin-top: 26px; display: grid; gap: 12px; }
.lane { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 14px; border-left: 5px solid var(--lane-c, var(--orange)); box-shadow: var(--shadow-sm); }
.lane--a { --lane-c: var(--green); }
.lane--b { --lane-c: var(--orange); }
.lane__tag { font-family: var(--ff-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--c-muted); }
.lane__t { font-weight: 700; color: var(--c-ink); font-size: 1.02rem; }
.lane__d { font-size: .86rem; color: var(--c-muted); }
.lane__ic { width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; background: color-mix(in srgb, var(--lane-c) 16%, var(--c-surface)); color: var(--lane-c); }
.lane__ic svg { width: 22px; height: 22px; }
.lane__arrow { margin-left: auto; color: var(--lane-c); flex: 0 0 auto; }

.hero__cta { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hero__note { margin-top: 16px; font-size: .82rem; color: var(--c-muted); display: flex; align-items: center; gap: 8px; }
.hero__note svg { width: 15px; height: 15px; color: var(--green); flex: 0 0 auto; }

/* W2C search box */
.w2c-search { display: flex; align-items: center; gap: 8px; background: var(--c-surface); border: 2px solid var(--c-border); border-radius: 16px; padding: 6px 6px 6px 15px; box-shadow: var(--shadow-sm); max-width: 540px; transition: border-color .18s, box-shadow .18s; }
.w2c-search:focus-within { border-color: var(--orange); box-shadow: var(--shadow-md); }
.w2c-search__ic { color: var(--c-muted); flex: 0 0 auto; display: flex; }
.w2c-search__ic svg { width: 20px; height: 20px; }
.w2c-search input { flex: 1 1 auto; min-width: 0; border: 0; background: none; font-family: var(--ff-body); font-size: 1rem; color: var(--c-ink); padding: 11px 4px; }
.w2c-search input::placeholder { color: var(--c-muted); }
.w2c-search input:focus { outline: none; }
.w2c-search .btn { flex: 0 0 auto; }
.hero .w2c-search { margin-top: 24px; }
.w2c-chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.w2c-chips .lbl { font-family: var(--ff-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .09em; color: var(--c-muted); }
.w2c-chips a { font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--c-surface-2); border: 1px solid var(--c-border); color: var(--c-ink); transition: border-color .18s, color .18s; }
.w2c-chips a:hover { border-color: var(--orange); color: var(--orange-deep); }
html[data-theme="dark"] .w2c-chips a:hover { color: var(--orange); }
@media (max-width: 400px) { .w2c-search { padding-left: 12px; } .w2c-search .btn { padding: 12px 14px; } }

/* bento workflow */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; gap: 12px; }
.bento__cell { position: relative; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); overflow: hidden; }
.bento__cell::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--cell-c, var(--orange)); opacity: .9; }
.bento__cell .n { font-family: var(--ff-mono); font-size: .72rem; color: var(--c-muted); font-weight: 700; }
.bento__ic { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: color-mix(in srgb, var(--cell-c, var(--orange)) 15%, var(--c-surface)); color: var(--cell-c, var(--orange)); margin: 10px 0 12px; }
.bento__ic svg { width: 23px; height: 23px; }
.bento__cell h3 { font-size: 1.05rem; }
.bento__cell p { font-size: .84rem; color: var(--c-muted); margin-top: 5px; }
.bento__cell--wide { grid-column: span 2; }
.bento__cell--feat { --cell-c: var(--orange); background: linear-gradient(135deg, color-mix(in srgb, var(--orange) 12%, var(--c-surface)), var(--c-surface)); }
.bento__tag { font-family: var(--ff-mono); font-size: .6rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 700; padding: 3px 8px; border-radius: 6px; display: inline-block; margin-top: 10px; }
.bento__tag--w2c { background: color-mix(in srgb, var(--green) 18%, var(--c-surface)); color: var(--green-text); }
.bento__tag--whee { background: color-mix(in srgb, var(--orange) 16%, var(--c-surface)); color: var(--orange-deep); }
html[data-theme="dark"] .bento__tag--whee { color: var(--orange); }

/* ---------- Chips / definition trio ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.defcard { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.defcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.defcard__ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; margin-bottom: 14px; }
.defcard__ic svg { width: 24px; height: 24px; }
.ic-orange { background: color-mix(in srgb, var(--orange) 15%, var(--c-surface)); color: var(--orange-deep); }
.ic-green { background: color-mix(in srgb, var(--green) 16%, var(--c-surface)); color: var(--green-text); }
.ic-gold { background: color-mix(in srgb, var(--gold-bright) 22%, var(--c-surface)); color: var(--gold); }
html[data-theme="dark"] .ic-orange { color: var(--orange); }
.defcard h3 { margin-bottom: 6px; }
.defcard p { font-size: .92rem; color: var(--c-muted); }

/* ---------- Flow map ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; }
.flow__step { position: relative; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 22px 18px; box-shadow: var(--shadow-sm); }
.flow__step .step-n { font-family: var(--ff-mono); font-weight: 700; font-size: .74rem; color: #fff; background: var(--orange-deep); width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; margin-bottom: 12px; }
html[data-theme="dark"] .flow__step .step-n { color: #1a0f06; background: var(--orange); }
.flow__step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.flow__step p { font-size: .85rem; color: var(--c-muted); }
.flow__step .who { display: inline-block; margin-top: 10px; font-family: var(--ff-mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.who--w2c { background: color-mix(in srgb, var(--green) 18%, var(--c-surface)); color: var(--green-text); }
.who--whee { background: color-mix(in srgb, var(--orange) 18%, var(--c-surface)); color: var(--orange-deep); }
html[data-theme="dark"] .who--whee { color: var(--orange); }

/* ---------- Platform picker (signature) ---------- */
.platforms { display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); gap: 18px; }
.plat { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; border-top: 5px solid var(--plat-c, var(--orange)); transition: transform .2s, box-shadow .2s; }
.plat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plat--taobao { --plat-c: #FF5001; }
.plat--1688 { --plat-c: #FF7A00; }
.plat--weidian { --plat-c: #E4007F; }
.plat--yupoo { --plat-c: #2AA9E0; }
.plat__badge { font-family: var(--ff-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--plat-c); }
.plat h3 { margin: 8px 0 4px; font-size: 1.35rem; }
.plat__for { font-size: .88rem; color: var(--c-muted); min-height: 40px; }
.plat ul.checks { margin: 16px 0 18px; display: grid; gap: 9px; }
.plat ul.checks li { display: flex; gap: 9px; font-size: .9rem; color: var(--c-text); align-items: flex-start; }
.plat ul.checks li svg { width: 17px; height: 17px; color: var(--green); flex: 0 0 auto; margin-top: 3px; }
.plat .btn { margin-top: auto; }

/* ---------- Category bento ---------- */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 8px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--orange); }
.cat__top { display: flex; align-items: center; justify-content: space-between; }
.cat__ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: color-mix(in srgb, var(--orange) 13%, var(--c-surface)); color: var(--orange-deep); }
html[data-theme="dark"] .cat__ic { color: var(--orange); }
.cat__ic svg { width: 22px; height: 22px; }
.cat__label { font-family: var(--ff-mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); }
.cat h3 { font-size: 1.06rem; }
.cat p { font-size: .82rem; color: var(--c-muted); flex: 1; }
.cat__go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .84rem; color: var(--orange-deep); }
html[data-theme="dark"] .cat__go { color: var(--orange); }
.cat__go svg { width: 15px; height: 15px; }

/* ---------- Mistake matrix (signature) ---------- */
.matrix { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.mrow { display: grid; grid-template-columns: 46px 1fr; gap: 15px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.mrow__ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--orange) 14%, var(--c-surface)); color: var(--orange-deep); }
html[data-theme="dark"] .mrow__ic { color: var(--orange); }
.mrow__ic svg { width: 24px; height: 24px; }
.mrow h3 { font-size: 1.02rem; margin-bottom: 5px; }
.mrow .bad, .mrow .good { font-size: .87rem; display: flex; gap: 8px; align-items: flex-start; margin-top: 6px; }
.mrow .bad svg { color: #C2410C; }
.mrow .good svg { color: var(--green-text); }
.mrow .bad svg, .mrow .good svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 3px; }
html[data-theme="dark"] .mrow .bad svg { color: #FB923C; }

/* ---------- Trust band ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust__item { text-align: left; padding: 22px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.trust__item .tic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, var(--green) 15%, var(--c-surface)); color: var(--green-text); margin-bottom: 13px; }
.trust__item .tic svg { width: 25px; height: 25px; }
.trust__item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.trust__item p { font-size: .87rem; color: var(--c-muted); }

/* ---------- Callout / disclosure ---------- */
.callout { background: var(--c-surface-2); border: 1px solid var(--c-border); border-left: 5px solid var(--gold-bright); border-radius: 14px; padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; }
.callout svg { width: 22px; height: 22px; color: var(--gold); flex: 0 0 auto; margin-top: 2px; }
.callout p { font-size: .92rem; color: var(--c-text); }
.callout strong { color: var(--c-ink); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.qa { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 14px; overflow: hidden; }
.qa__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 19px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--ff-display); font-weight: 700; font-size: 1.04rem; color: var(--c-ink); }
.qa__q .chev { flex: 0 0 auto; transition: transform .25s; color: var(--orange-deep); }
html[data-theme="dark"] .qa__q .chev { color: var(--orange); }
.qa__q[aria-expanded="true"] .chev { transform: rotate(180deg); }
.qa__a { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height .28s ease, padding .28s ease; }
.qa__a p { font-size: .94rem; color: var(--c-text); padding-bottom: 4px; }
.qa__a p + p { margin-top: 10px; }
.qa[data-open="true"] .qa__a { padding: 0 20px 20px; max-height: 600px; }
@media (prefers-reduced-motion: reduce) { .qa__a, .qa__q .chev { transition: none; } }

/* ---------- News ---------- */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.newscard { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px; transition: transform .2s, box-shadow .2s; }
.newscard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.newscard time { font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .06em; color: var(--orange-deep); font-weight: 700; }
html[data-theme="dark"] .newscard time { color: var(--orange); }
.newscard h3 { font-size: 1.08rem; }
.newscard p { font-size: .88rem; color: var(--c-muted); flex: 1; }
.newscard .means { font-size: .82rem; background: var(--c-surface-2); border-radius: 9px; padding: 10px 12px; color: var(--c-text); }
.newscard .means b { color: var(--green-text); font-family: var(--ff-mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; display: block; margin-bottom: 3px; }
a.newscard { color: inherit; text-decoration: none; }
.newscard__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.newscard__cat { font-family: var(--ff-mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--green-text); }
.newscard__read { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .85rem; color: var(--orange-deep); margin-top: auto; }
html[data-theme="dark"] .newscard__read { color: var(--orange); }
.newscard__read svg { width: 15px; height: 15px; transition: transform .18s; }
.newscard:hover .newscard__read svg { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .newscard__read svg { transition: none; } }

/* Why-us feature block (Basics) */
.why-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.why-stat { background: var(--c-surface); border: 1px solid var(--c-border); border-top: 4px solid var(--orange); border-radius: var(--radius); padding: 26px 20px; text-align: center; box-shadow: var(--shadow-sm); }
.why-stat b { display: block; font-family: var(--ff-display); font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.3rem); color: var(--orange-deep); line-height: 1.05; letter-spacing: -.02em; }
html[data-theme="dark"] .why-stat b { color: var(--orange); }
.why-stat span { display: block; margin-top: 9px; font-size: .9rem; color: var(--c-muted); }
.why-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .why-benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .why-stats, .why-benefits { grid-template-columns: 1fr; } }

/* Learn hub groups */
.learn-group { margin-bottom: 44px; }
.learn-group__h { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1.5px dashed var(--c-border); }

/* "what this means" block on article pages */
.means-block { background: color-mix(in srgb, var(--green) 8%, var(--c-surface-2)); border: 1px solid var(--c-border); border-left: 5px solid var(--green); border-radius: 14px; padding: 18px 20px; margin-top: 28px; }
.means-block b { display: block; font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green-text); margin-bottom: 6px; }
.means-block p { font-size: 1rem; color: var(--c-text); }

/* ---------- Related guides ---------- */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.related a { display: flex; align-items: center; gap: 11px; padding: 15px 16px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 13px; font-weight: 600; font-size: .92rem; color: var(--c-ink); transition: border-color .18s, transform .18s; }
.related a:hover { border-color: var(--orange); transform: translateX(3px); }
.related a svg { width: 18px; height: 18px; color: var(--orange-deep); flex: 0 0 auto; }
html[data-theme="dark"] .related a svg { color: var(--orange); }

/* ---------- Big CTA band ---------- */
.ctaband { background: linear-gradient(135deg, var(--orange-deep), var(--orange)); border-radius: var(--radius-lg); padding: clamp(34px, 5vw, 60px); color: #fff; text-align: center; position: relative; overflow: hidden; }
.ctaband::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 38px, rgba(255,255,255,.06) 38px 39px); }
.ctaband > * { position: relative; }
.ctaband h2 { color: #fff; }
.ctaband p { color: rgba(255,255,255,.92); max-width: 560px; margin: 14px auto 26px; }
.ctaband .btn--primary { background: #fff; color: var(--orange-deep); }
.ctaband .btn--primary:hover { background: #FFF1E6; }
.ctaband .btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.ctaband .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.12); color: #fff; }
.ctaband__row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Article / prose pages ---------- */
.prose { max-width: 760px; }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 40px; }
.prose h3 { margin-top: 26px; }
.prose p, .prose li { font-size: 1.02rem; line-height: 1.72; }
.prose ul.bullets { display: grid; gap: 10px; }
.prose ul.bullets li { display: flex; gap: 10px; align-items: flex-start; }
.prose ul.bullets li svg { width: 19px; height: 19px; color: var(--orange-deep); flex: 0 0 auto; margin-top: 3px; }
html[data-theme="dark"] .prose ul.bullets li svg { color: var(--orange); }
.prose ol.steps { counter-reset: s; display: grid; gap: 14px; }
.prose ol.steps li { position: relative; padding-left: 46px; }
.prose ol.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 9px; background: var(--orange-deep); color: #fff; font-family: var(--ff-mono); font-weight: 700; display: grid; place-items: center; font-size: .82rem; }
html[data-theme="dark"] .prose ol.steps li::before { background: var(--orange); color: #1a0f06; }

/* breadcrumb */
.crumbs { font-size: .82rem; color: var(--c-muted); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; font-family: var(--ff-mono); }
.crumbs a { color: var(--orange-deep); }
html[data-theme="dark"] .crumbs a { color: var(--orange); }

/* placeholder module */
.ph { border: 2px dashed var(--c-border); border-radius: var(--radius); padding: 22px; background: var(--c-surface-2); }
.ph__tag { font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); font-weight: 700; display: inline-flex; align-items: center; gap: 7px; margin-bottom: 8px; }
.ph__tag svg { width: 15px; height: 15px; }
.ph p { font-size: .88rem; color: var(--c-muted); }
.ph p + p { margin-top: 6px; }

/* real screenshot figure */
.shot { margin: 12px 0 4px; }
.shot img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--c-border); box-shadow: var(--shadow-md); display: block; }
.shot figcaption { font-family: var(--ff-mono); font-size: .76rem; color: var(--c-muted); margin-top: 10px; line-height: 1.55; }

/* two-col prose layout */
.doc { display: grid; grid-template-columns: 1fr; gap: 40px; }

/* pill row */
.pills { display: flex; flex-wrap: wrap; gap: 9px; }
.pill { font-family: var(--ff-mono); font-size: .74rem; font-weight: 700; padding: 7px 13px; border-radius: 999px; background: var(--c-surface); border: 1px solid var(--c-border); color: var(--c-text); }
.pill--on { background: var(--orange-deep); color: #fff; border-color: var(--orange-deep); }

/* ---------- Footer ---------- */
.footer { background: var(--c-surface); border-top: 1px solid var(--c-border); padding: clamp(44px, 6vw, 72px) 0 34px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand p { font-size: .9rem; color: var(--c-muted); margin-top: 14px; max-width: 34ch; }
.footer h4 { font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); font-weight: 700; margin-bottom: 14px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { font-size: .92rem; color: var(--c-text); transition: color .16s; }
.footer ul a:hover { color: var(--orange-deep); }
html[data-theme="dark"] .footer ul a:hover { color: var(--orange); }
.footer__disc { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--c-border); font-size: .82rem; color: var(--c-muted); display: flex; flex-direction: column; gap: 10px; }
.footer__disc .row { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .flow { grid-template-columns: repeat(2, 1fr); }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .news { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .trio { grid-template-columns: 1fr; }
  .platforms { grid-template-columns: 1fr; }
  .matrix { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cats { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: 1fr; }
  .news { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento__cell--wide { grid-column: span 1; }
  .hero__cta .btn, .ctaband__row .btn { flex: 1 1 100%; }
}
@media (max-width: 380px) {
  .cats { grid-template-columns: 1fr; }
}
