/* Technologiate public site.
   Light, calm pages with navy and teal. Fonts and the five brand colours can be changed in Dashboard > Settings > Branding.
   Motion: small and purposeful (hero flow animation, gentle reveals, hover lifts). All of it switches off for
   visitors who ask for reduced motion. */
:root {
  /* Studio Light. Colours can be changed in Dashboard > Settings > Branding (app/fonts.php writes them over these). */
  --paper: #f7f7f3;         /* warm off-white page */
  --surface: #ffffff;
  --ink: #0f1e3d;           /* navy: headings, main buttons */
  --navy: #0f1e3d;
  --teal-deep: #00806b;     /* teal that is readable as small text on white */
  --teal: #00a88a;          /* main accent: icons, ticks, highlights */
  --mint: #00d4aa;          /* bright teal, only on dark backgrounds */
  --leaf: #44bb88;          /* the logo green */
  --amber: #f5a524;         /* the action colour: the buttons that matter, automations, "new" */
  --amber-2: #f27d26;       /* end of the action gradient */
  --violet: #6c5ce7;        /* members */
  --blue: #2f6fe4;          /* help, Outlook */
  --red: #e03c31;
  --yt: #ff0033;
  --glow: var(--teal);
  /* The logo tile, reused for icon tiles and step numbers: logo green blending into teal */
  --tile-a: var(--leaf);
  --tile-b: var(--teal);
  --tile: linear-gradient(135deg, var(--tile-a), var(--tile-b));
  --bridge: linear-gradient(120deg, var(--leaf), var(--teal));

  --text: color-mix(in srgb, var(--ink) 78%, #fff);
  --muted: color-mix(in srgb, var(--ink) 58%, #fff);
  --line: color-mix(in srgb, var(--ink) 10%, transparent);
  --line-strong: color-mix(in srgb, var(--ink) 20%, transparent);
  --mist: color-mix(in srgb, var(--teal) 6%, var(--paper));
  --teal-soft: color-mix(in srgb, var(--teal) 10%, #fff);
  --amber-soft: color-mix(in srgb, var(--amber) 14%, #fff);
  --violet-soft: color-mix(in srgb, var(--violet) 10%, #fff);
  --blue-soft: color-mix(in srgb, var(--blue) 9%, #fff);
  --navy-2: color-mix(in srgb, var(--navy) 88%, #fff);
  --night-text: #e8edf8;
  --night-muted: #9aa6c2;
  --night-line: rgba(232, 240, 255, .1);

  --display: "Geist", "Segoe UI", system-ui, sans-serif;
  --body: "Geist", "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, Consolas, monospace;
  --display-weight: 600;
  --h-scale: 1;
  --track: 1;

  --wrap: 1200px;
  --gutter: clamp(16px, 4.5vw, 48px);
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(15, 30, 61, .04), 0 10px 26px -16px rgba(15, 30, 61, .28);
  --shadow-lg: 0 2px 4px rgba(15, 30, 61, .04), 0 30px 60px -30px rgba(15, 30, 61, .4);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; font-size: calc(100% * var(--text-scale, 1)); }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.0625rem/1.65 var(--body); font-feature-settings: "ss01", "cv11"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, video, iframe { max-width: 100%; display: block; }
img, video { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2.5px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.ic { width: 20px; height: 20px; flex: none; }
code { font-family: var(--mono); font-size: .86em; background: color-mix(in srgb, var(--ink) 6%, #fff); border: 1px solid var(--line); padding: .1em .4em; border-radius: 6px; word-break: break-word; }
pre { overflow-x: auto; background: var(--navy); color: var(--night-text); padding: 16px 18px; border-radius: 12px; font-size: .9rem; }
pre code { background: none; border: 0; padding: 0; color: inherit; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: var(--display-weight); color: var(--ink); margin: 0; text-wrap: balance; line-height: 1.1; letter-spacing: calc(-.025em * var(--track)); }
h1 { font-size: calc(clamp(2.15rem, 5.2vw, 3.9rem) * var(--h-scale)); line-height: 1.06; letter-spacing: calc(-.035em * var(--track)); }
h2 { font-size: calc(clamp(1.7rem, 3.4vw, 2.6rem) * var(--h-scale)); letter-spacing: calc(-.03em * var(--track)); }
h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.25; letter-spacing: calc(-.015em * var(--track)); }
p { margin: 0; }
.lead { font-size: clamp(1.08rem, 1.45vw, 1.24rem); line-height: 1.6; color: var(--text); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.hl { font-style: normal; color: inherit; background: url("../img/swash.svg") no-repeat 0 96% / 100% .3em; padding-bottom: .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* The swash (the logo's brush crossbar) draws itself under highlighted words once, on load */
.js-motion .hl { animation: swash .8s .25s cubic-bezier(.3, .7, .2, 1) both; }
@keyframes swash { from { background-size: 0% .3em; } to { background-size: 100% .3em; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 .76rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); }
.eyebrow::before { content: ""; width: 22px; height: 7px; background: url("../img/swash.svg") no-repeat center / 100% 100%; }
.dark .eyebrow { color: var(--mint); }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap.narrow { width: min(100% - 2 * var(--gutter), 800px); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section.tight { padding-block: clamp(40px, 6vw, 72px); }
.section.flush-top { padding-top: 0; }
.section.mist { background: var(--mist); }
.section.lined { border-top: 1px solid var(--line); }
.section.dark, .dark { background: var(--navy); color: var(--night-text); }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark .lead, .dark p { color: var(--night-text); }
.head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 44px); max-width: 760px; }
.head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 32px; margin-bottom: clamp(28px, 4vw, 44px); }
.head-row .head { margin: 0; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1.5px solid transparent; background: var(--navy); color: #fff; font: 700 .98rem/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; white-space: nowrap; }
.btn .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:hover .ic:last-child { transform: translateX(2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--teal); color: var(--navy); }
.btn-primary:hover { background: color-mix(in srgb, var(--teal) 88%, #fff); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: #fff; border-color: var(--ink); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost-light:hover { background: rgba(255,255,255,.08); }
.btn-mint { background: var(--mint); color: var(--navy); }
.btn-yt { background: #ff0033; color: #fff; }
.btn-yt:hover { background: #e0002d; }
.btn-light { background: #fff; color: var(--navy); }
.btn-sm { min-height: 40px; padding: 0 15px; font-size: .9rem; border-radius: 10px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); text-decoration: none; }
.text-link .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.text-link:hover { color: var(--teal-deep); }
.text-link:hover .ic { transform: translateX(3px); }
.dark .text-link { color: #fff; }
.linkish { background: none; border: 0; padding: 0; color: var(--teal-deep); font: inherit; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.linkish:hover { text-decoration: underline; text-underline-offset: 3px; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 26px; }

/* ---------- Logo motion: the T writes itself (crossbar, then stem) ---------- */
.logo-mark.is-drawing .tg-draw-bar, .logo-mark.is-drawing .tg-draw-stem { stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.js-motion .logo-mark.is-drawing .tg-draw-bar { animation: tgdraw .45s .35s cubic-bezier(.3, .7, .3, 1) both; }
.js-motion .logo-mark.is-drawing .tg-draw-stem { animation: tgdraw .5s .75s cubic-bezier(.3, .7, .3, 1) both; }
.js-motion .logo-mark.is-drawing { animation: tgpop .45s cubic-bezier(.2, .9, .3, 1.3) both; }
@keyframes tgdraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes tgpop { from { transform: scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
.hero-mark { display: inline-flex; align-items: center; gap: 12px; }
.hero-mark .eyebrow::before { display: none; }
.hero-mark .logo-mark { filter: drop-shadow(0 6px 12px rgba(47, 168, 120, .3)); }
/* Guide cards without a video image: the logo tile on navy with the topic name */
.gthumb .gph { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 70% 30%, rgba(88, 209, 155, .22), transparent 60%), var(--navy); }
.gthumb .gph .logo-mark { width: 30%; height: auto; opacity: .95; }

/* ---------- Announcement bar ---------- */
.ann-off .announce { display: none; }
.announce { background: var(--navy); color: var(--night-text); font-size: .92rem; }
.announce-in { display: flex; align-items: center; gap: 12px; min-height: 42px; padding-block: 6px; }
.announce p { flex: 1; min-width: 0; }
.announce a { color: var(--tile-a); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.announce a:hover { text-decoration: underline; }
.announce a .ic { width: 15px; height: 15px; }
.announce-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--tile-a); box-shadow: 0 0 0 0 rgba(88, 209, 155, .6); animation: dotpulse 2.4s ease-out infinite; }
@keyframes dotpulse { 0% { box-shadow: 0 0 0 0 rgba(88, 209, 155, .6); } 70%, 100% { box-shadow: 0 0 0 9px rgba(88, 209, 155, 0); } }
.announce-x { flex: none; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: var(--night-muted); cursor: pointer; display: grid; place-items: center; }
.announce-x:hover { background: rgba(255, 255, 255, .08); color: #fff; }

/* ---------- Header ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--teal), var(--glow)); z-index: 70; pointer-events: none; }
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
body.scrolled .site-header { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 24px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 1.2rem/1 var(--display); }
.brand svg, .brand img { display: block; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav-links a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 13px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: .98rem; color: var(--text); transition: background .2s, color .2s; }
.nav-links a:not(.btn):hover { background: color-mix(in srgb, var(--ink) 5%, transparent); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); background: var(--teal-soft); }
.nav-links .nav-member { color: var(--teal-deep); }
.nav-links .nav-sub { margin-left: 8px; }
.nav-links .btn { color: #fff; padding: 0 14px; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px var(--gutter) 22px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .22s var(--ease); max-height: calc(100vh - 70px); overflow-y: auto; }
  .nav.open .nav-links { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: 14px 12px; font-size: 1.05rem; }
  .nav-links .nav-sub { margin: 10px 0 0; }
  .nav-links .btn { width: 100%; min-height: 50px; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(600px 380px at 85% 20%, color-mix(in srgb, var(--teal) 22%, transparent), transparent 70%),
  radial-gradient(500px 320px at 5% 90%, color-mix(in srgb, var(--glow) 14%, transparent), transparent 70%); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--ink) 12%, transparent) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 75%); -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.5), transparent 75%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy h1 { margin: 18px 0 20px; }
.hero-search { display: flex; align-items: center; gap: 10px; margin-top: 28px; max-width: 540px; padding: 6px 6px 6px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: box-shadow .2s, border-color .2s; }
.hero-search:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 22%, transparent); }
.hero-search .ic { color: var(--muted); width: 18px; }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 10px 0; font-size: 1rem; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* Animated flow card */
.flowcard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 18px; max-width: 460px; justify-self: center; width: 100%; animation: floaty 7s ease-in-out infinite; }
.fc-top { display: flex; align-items: center; gap: 12px; padding: 2px 4px 14px; font: 700 .85rem/1 var(--display); color: var(--muted); }
.fc-dots { display: inline-flex; gap: 5px; } .fc-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.fc-run { margin-left: auto; padding: 7px 12px; border-radius: 8px; background: var(--navy); color: #fff; font-size: .75rem; }
.fc-steps { display: grid; }
.fc-step { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); animation: fcStep 6s var(--ease) infinite; }
.fc-step small { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.fc-step b { display: block; font: 700 .95rem/1.25 var(--display); color: var(--ink); }
.fc-ic { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--navy); color: var(--teal); }
.fc-ic .ic { width: 18px; height: 18px; }
.fc-ok { margin-left: auto; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: var(--navy); opacity: 0; transform: scale(.5); animation: fcOk 6s var(--ease) infinite; }
.fc-ok .ic { width: 14px; height: 14px; }
.fc-line { position: relative; height: 26px; width: 2px; margin-left: 32px; background: var(--line-strong); overflow: hidden; }
.fc-pulse { position: absolute; left: -1px; top: -10px; width: 4px; height: 10px; border-radius: 4px; background: var(--teal); animation: fcPulse 6s linear infinite; }
.s2, .s2 .fc-ok { animation-delay: 1.3s; } .s3, .s3 .fc-ok { animation-delay: 2.6s; }
.fc-line:nth-of-type(2) .fc-pulse { animation-delay: .65s; } .fc-line:nth-of-type(4) .fc-pulse { animation-delay: 1.95s; }
.fc-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 9px 13px; border-radius: 10px; background: var(--teal-soft); color: var(--teal-deep); font-weight: 700; font-size: .86rem; }
.fc-badge .ic { width: 16px; height: 16px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes fcStep { 0%, 4% { border-color: var(--line); background: var(--paper); } 10%, 70% { border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 14%, transparent); } 85%, 100% { border-color: var(--line); background: var(--paper); box-shadow: none; } }
@keyframes fcOk { 0%, 8% { opacity: 0; transform: scale(.5); } 14%, 74% { opacity: 1; transform: scale(1); } 86%, 100% { opacity: 0; transform: scale(.5); } }
@keyframes fcPulse { 0% { top: -10px; } 18%, 100% { top: 30px; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: clamp(40px, 6vw, 64px); border-radius: var(--r-lg); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.stat { background: #fff; padding: 20px 22px; display: grid; gap: 4px; }
.stat strong { font: 800 clamp(1.5rem, 2.8vw, 2.1rem)/1 var(--display); color: var(--ink); letter-spacing: -.03em; }
.stat > span { color: var(--muted); font-size: .92rem; }
.panel .stats { grid-template-columns: 1fr 1fr; margin-top: 16px; }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Guide cards ---------- */
.ggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.ggrid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .ggrid.three { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); } }
.gcard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: inherit; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.gcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--teal) 45%, var(--line)); }
.gthumb { position: relative; aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.gthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gcard:hover .gthumb img { transform: scale(1.04); }
.gplay { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; display: grid; place-items: center; background: rgba(15, 30, 61, .72); color: #fff; backdrop-filter: blur(4px); opacity: 0; transform: scale(.8); transition: all .25s var(--ease); }
.gplay svg { width: 22px; height: 22px; margin-left: 3px; }
.gcard:hover .gplay { opacity: 1; transform: scale(1); }
.gdur { position: absolute; right: 8px; bottom: 8px; padding: 3px 7px; border-radius: 6px; background: rgba(0, 0, 0, .78); color: #fff; font: 600 .76rem/1.2 var(--body); }
.glock { position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 99px; background: var(--teal); color: var(--navy); font: 700 .74rem/1.2 var(--body); }
.glock.inline { position: static; margin-left: 8px; vertical-align: middle; }
.glock .ic { width: 13px; height: 13px; }
.gbody { display: grid; gap: 8px; padding: 16px 18px 20px; }
.gbody h3 { font-size: 1.04rem; line-height: 1.32; }
.gbody p { color: var(--muted); font-size: .95rem; }
.gtopic { display: inline-flex; align-items: center; gap: 6px; font: 700 .72rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--teal-deep); text-decoration: none; }
.gtopic .ic { width: 15px; height: 15px; }
.gcard.big .gbody { padding: 22px 24px 26px; }
.gcard.big h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.latest { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 22px; }
.latest-list { display: grid; gap: 14px; }
.latest-list .gcard { flex-direction: row; }
.latest-list .gthumb { width: 42%; flex: none; aspect-ratio: 16 / 10; }
.latest-list .gbody { padding: 12px 16px; align-content: center; }
.latest-list h3 { font-size: .98rem; }
@media (max-width: 900px) { .latest { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .latest-list .gcard { flex-direction: column; } .latest-list .gthumb { width: 100%; } }

/* Topics */
.topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.tcard { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.tcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--teal) 50%, var(--line)); }
.tcard-body { display: grid; gap: 2px; min-width: 0; }
.tcard strong { font: 700 1.02rem/1.2 var(--display); color: var(--ink); }
.tcard small { color: var(--muted); font-size: .88rem; line-height: 1.35; }
.tcount { margin-left: auto; min-width: 34px; height: 30px; padding: 0 8px; display: grid; place-items: center; border-radius: 8px; background: var(--mist); color: var(--teal-deep); font: 800 .88rem/1 var(--display); }
.tile-ic { flex: none; width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--tile); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.25); transition: transform .35s cubic-bezier(.2, .9, .3, 1.4); }
.tile-ic .ic { width: 21px; height: 21px; }
.tile-ic.big { width: 60px; height: 60px; border-radius: 16px; }

/* Why */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-item { display: grid; gap: 12px; align-content: start; padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.why-item p { color: var(--muted); font-size: .98rem; }
@media (max-width: 1000px) { .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } }

/* ---------- Downloads ---------- */
.dl-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .dl-feature { grid-template-columns: 1fr; } }
.dl-stack { display: grid; gap: 12px; }
.dl-row { display: flex; align-items: center; gap: 16px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s; position: relative; }
.dl-row:hover { border-color: color-mix(in srgb, var(--teal) 50%, var(--line)); box-shadow: var(--shadow); }
.dl-ext { flex: none; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-deep); font: 800 .74rem/1 var(--display); letter-spacing: .04em; }
.dl-row.locked .dl-ext { background: color-mix(in srgb, var(--ink) 7%, #fff); color: var(--muted); }
.dl-body { display: grid; gap: 3px; min-width: 0; flex: 1; }
.dl-body strong { font: 700 1rem/1.3 var(--display); color: var(--ink); }
.dl-body small { color: var(--muted); font-size: .88rem; line-height: 1.4; }
.dl-body a { color: var(--teal-deep); }
.dl-row .btn { flex: none; }
@media (max-width: 560px) { .dl-row { flex-wrap: wrap; } .dl-row .btn { width: 100%; } }
.dl-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .dl-cols { grid-template-columns: 1fr; } }
.dl-col-head { display: grid; gap: 10px; margin-bottom: 18px; }
.dl-col-head h2 { font-size: 1.5rem; }
.tier { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; font: 700 .8rem/1 var(--body); }
.tier .ic { width: 15px; height: 15px; }
.tier.free { background: var(--teal-soft); color: var(--teal-deep); }
.tier.members { background: var(--navy); color: var(--mint); }

/* Member & help boxes */
.mbox { display: flex; gap: 16px; padding: 20px; border-radius: var(--r-lg); background: var(--navy); color: var(--night-text); position: relative; overflow: hidden; }
.mbox::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--teal) 35%, transparent), transparent 70%); pointer-events: none; }
.mbox strong { display: block; font: 800 1.08rem/1.25 var(--display); color: #fff; margin-bottom: 6px; }
.mbox p { font-size: .94rem; color: var(--night-text); }
.mbox a:not(.btn) { color: var(--mint); }
.mbox-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(0, 212, 170, .14); color: var(--mint); }
.mbox-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 14px; position: relative; z-index: 1; }
.mbox .text-link { color: #fff; font-size: .92rem; }
.mbox.in { background: var(--teal-soft); color: var(--ink); }
.mbox.in strong { color: var(--ink); } .mbox.in p { color: var(--text); } .mbox.in a { color: var(--teal-deep); } .mbox.in .mbox-ic { background: var(--teal); color: var(--navy); }
.hbox { display: grid; gap: 14px; padding: 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.hbox strong { display: block; font: 800 1.05rem/1.25 var(--display); color: var(--ink); margin-bottom: 6px; }
.hbox p { color: var(--muted); font-size: .94rem; }
.hbox .btn { justify-self: start; }

/* ---------- Services cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--teal) 45%, var(--line)); }
.card p { color: var(--muted); font-size: .97rem; }
.card-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; color: var(--ink); }
.card-foot .ic { transition: transform .25s var(--ease); }
.card:hover .card-foot .ic { transform: translateX(3px); }
.price { font-weight: 700; font-size: .92rem; }
.price.free { color: var(--teal-deep); }
.dark .card { background: var(--navy-2); border-color: var(--night-line); }
.dark .card h3 { color: #fff; } .dark .card p { color: var(--night-muted); } .dark .card-foot { color: #fff; } .dark .price.free { color: var(--teal); }
.dark .card .tile-ic { background: var(--tile); }
.sponsor-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: linear-gradient(120deg, var(--teal-soft), #fff 70%); border: 1px solid color-mix(in srgb, var(--teal) 30%, var(--line)); }
.sponsor-strip h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); margin-bottom: 8px; }
.sponsor-strip p { color: var(--muted); max-width: 60ch; }

/* ---------- Page hero ---------- */
.page-hero { padding: clamp(28px, 5vw, 56px) 0 clamp(36px, 5vw, 60px); }
.page-hero .intro { display: grid; gap: 16px; max-width: 820px; position: relative; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 22px; padding: 0; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--teal-deep); }
.crumbs [aria-current] { color: var(--ink); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topic-intro .tile-ic { margin-bottom: 6px; }

/* ---------- Filter bar ---------- */
.filterbar { display: grid; gap: 14px; margin-bottom: 28px; }
.searchbox { display: flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); max-width: 560px; transition: border-color .2s, box-shadow .2s; }
.searchbox:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 20%, transparent); }
.searchbox .ic { color: var(--muted); width: 18px; }
.searchbox input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 14px 0; font-size: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .92rem; cursor: pointer; transition: all .2s; }
.chip small { color: var(--muted); font-weight: 700; font-size: .78rem; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip[aria-pressed="true"] small { color: var(--mint); }
.sort { display: flex; gap: 16px; font-size: .92rem; }
.sort a { color: var(--muted); text-decoration: none; font-weight: 600; }
.sort a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.empty-note { padding: 30px; text-align: center; color: var(--muted); }
.gcard.is-hidden { display: none; }

/* ---------- Guide page ---------- */
.guide-hero { padding-bottom: 28px; }
.guide-head { display: grid; gap: 14px; max-width: 900px; position: relative; }
.guide-head .gtopic { justify-self: start; padding: 7px 12px; border-radius: 99px; background: var(--teal-soft); }
.guide-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 4px 0 0; padding: 0; color: var(--muted); font-size: .92rem; }
.guide-meta li { display: inline-flex; align-items: center; gap: 7px; }
.guide-meta .ic { width: 16px; height: 16px; color: var(--teal-deep); }
.guide-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 56px); align-items: start; padding-bottom: clamp(48px, 7vw, 88px); }
@media (max-width: 1020px) { .guide-grid { grid-template-columns: 1fr; } .guide-side { order: 2; } }
.guide-main { display: grid; gap: clamp(28px, 4vw, 40px); min-width: 0; }
.guide-main > h2, .guide-main section > h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 16px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--navy); box-shadow: var(--shadow-lg); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: var(--navy); }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .3s; }
.yt:hover img { transform: scale(1.02); filter: brightness(.92); }
.yt-play { position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%; background: var(--mint); color: var(--navy); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .25s var(--ease); }
.yt-play::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(0, 212, 170, .6); animation: ring 2.4s ease-out infinite; }
.yt-play svg { width: 32px; height: 32px; margin-left: 4px; }
.yt:hover .yt-play { transform: scale(1.08); }
@keyframes ring { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.problem { padding: 20px 22px; border-radius: var(--r); background: var(--teal-soft); border-left: 4px solid var(--teal); display: grid; gap: 8px; }
.problem p { font-size: 1.05rem; color: var(--ink); }
.needs { padding: 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.needs h2 { font-size: 1.25rem !important; margin-bottom: 12px !important; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li .ic { width: 20px; height: 20px; flex: none; margin-top: 3px; padding: 3px; border-radius: 50%; background: var(--teal); color: var(--navy); stroke-width: 3; }
.checklist.big li { font-size: 1.08rem; }
.gsteps-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.gsteps-head h2 { margin: 0 !important; }
.gprogress { font-weight: 700; font-size: .9rem; color: var(--teal-deep); }
.gstep-list { list-style: none; margin: 0; padding: 0; display: grid; }
.gstep { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; position: relative; padding-bottom: 28px; scroll-margin-top: 96px; }
.gstep::before { content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: var(--line); }
.gstep:last-child::before { display: none; }
.gstep-num span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--tile); color: #fff; font: 800 1.1rem/1 var(--display); box-shadow: inset 0 1px 0 rgba(255,255,255,.25); transition: background .3s, color .3s, transform .3s var(--ease); }
.gstep.done .gstep-num span { background: var(--navy); color: var(--tile-a); }
.gstep.is-active .gstep-num span { transform: scale(1.06); box-shadow: 0 0 0 5px color-mix(in srgb, var(--teal) 22%, transparent); }
.gstep-body { padding: 10px 0 0; min-width: 0; }
.gstep-body h3 { font-size: 1.18rem; margin-bottom: 10px; }
.gstep-text { display: grid; gap: 12px; color: var(--text); }
.gstep-text code, .checklist code, .tips code { background: color-mix(in srgb, var(--teal) 9%, #fff); border-color: color-mix(in srgb, var(--teal) 25%, transparent); color: var(--ink); }
.gstep-text ul, .gstep-text ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.gstep-text a { color: var(--teal-deep); }
.gstep.done .gstep-text { color: var(--muted); }
.gstep-tools { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: .88rem; }
.gstep-tools .ic { width: 15px; height: 15px; }
.done-toggle { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; color: var(--muted); font-weight: 600; }
.done-toggle input { width: 17px; height: 17px; accent-color: var(--teal-deep); }
.tips { padding: 22px; border-radius: var(--r-lg); background: #fffbeb; border: 1px solid #fde68a; }
.tips h2 { font-size: 1.25rem !important; margin-bottom: 12px !important; }
.tips ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tips li { display: flex; gap: 12px; }
.tips li .ic { flex: none; color: #d97706; margin-top: 3px; width: 18px; height: 18px; }
.chapters { border: 1px solid var(--line); border-radius: var(--r); background: #fff; padding: 4px 18px; }
.chapters summary { cursor: pointer; font: 700 1rem/1 var(--display); padding: 14px 0; color: var(--ink); }
.chapters ol { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.chapters .linkish { color: var(--text); font-weight: 500; text-align: left; }
.chapters code { color: var(--teal-deep); }
.guide-foot { display: grid; gap: 10px; justify-items: start; padding-top: 18px; border-top: 1px solid var(--line); }
.guide-side { min-width: 0; display: grid; gap: 16px; align-self: stretch; align-content: start; }
.toc { position: sticky; top: 90px; padding: 18px 18px 16px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.toc-h { font: 800 .76rem/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; max-height: calc(100vh - 200px); overflow-y: auto; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 6px 8px; border-radius: 8px; text-decoration: none; font-size: .88rem; line-height: 1.35; color: var(--muted); transition: background .2s, color .2s; }
.toc a::before { content: counter(toc); flex: none; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; background: var(--mist); color: var(--teal-deep); font: 800 .7rem/1 var(--display); }
.toc a:hover { background: var(--paper); color: var(--ink); }
.toc a.active { background: var(--teal-soft); color: var(--ink); font-weight: 600; }
.toc a.done::before { content: "✓"; background: var(--teal); color: var(--navy); }
.toc-bar { height: 4px; border-radius: 4px; background: var(--mist); margin-top: 12px; overflow: hidden; }
.toc-bar span { display: block; height: 100%; width: 0; background: var(--teal); border-radius: 4px; transition: width .4s var(--ease); }
@media (max-width: 1020px) { .toc { display: none; } }
.locked-box { display: grid; gap: 14px; justify-items: center; text-align: center; padding: clamp(28px, 5vw, 48px); border-radius: var(--r-lg); background: #fff; border: 1px dashed var(--line-strong); }
.locked-box .mbox-ic { background: var(--navy); width: 60px; height: 60px; border-radius: 16px; }
.locked-box p { color: var(--muted); max-width: 52ch; }

/* ---------- Prose ---------- */
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(1.35rem, 2.3vw, 1.7rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose a { color: var(--teal-deep); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: .45em; }
.prose img { border-radius: 12px; border: 1px solid var(--line); }
.prose blockquote { margin: 0; padding: 12px 18px; border-left: 4px solid var(--teal); background: var(--teal-soft); border-radius: 0 10px 10px 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .94rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--mist); font-family: var(--display); font-weight: 700; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; }

/* ---------- Panels, features, steps ---------- */
.panel { padding: clamp(20px, 3vw, 28px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.panel h2 { font-size: 1.3rem; }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.features.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .features.three { grid-template-columns: 1fr; } }
.feature { display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.feature p { color: var(--muted); font-size: .97rem; }
.f-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-deep); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: st; }
.step { counter-increment: st; position: relative; display: grid; gap: 10px; align-content: start; padding: 24px 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.step::before { content: counter(st, decimal-leading-zero); font: 800 .95rem/1 var(--display); color: var(--teal-deep); }
.step p { color: var(--muted); font-size: .96rem; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.rules-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); }
@media (max-width: 900px) { .rules-grid { grid-template-columns: 1fr; } }
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--night-line); border-radius: var(--r-lg); overflow: hidden; }
.rules li { display: flex; gap: 18px; padding: 22px 24px; background: var(--navy); }
.rules .num { font: 800 1rem/1.4 var(--display); color: var(--mint); }
.rules h3 { margin-bottom: 6px; }
.rules p { color: var(--night-muted) !important; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--teal) 55%, var(--line)); box-shadow: var(--shadow); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; font: 700 1.02rem/1.35 var(--display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--mist); color: var(--teal-deep); transition: transform .3s var(--ease), background .2s; }
.faq .plus .ic { width: 16px; height: 16px; }
.faq details[open] .plus { transform: rotate(45deg); background: var(--teal); color: var(--navy); }
.faq .answer { padding: 0 20px 20px; color: var(--text); }
.faq .answer > * + * { margin-top: .7em; }

/* ---------- Forms ---------- */
.cta { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; } }
.cta-copy { display: grid; gap: 16px; }
.contact-lines { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.contact-lines li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.contact-lines a { color: var(--ink); font-weight: 700; }
.copy-btn { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: .8rem; cursor: pointer; }
.copy-btn .ic { width: 14px; height: 14px; }
.quick-links { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.quick-links a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; text-decoration: none; }
.quick-links a:hover { color: var(--teal-deep); }
.quick-links .ic { color: var(--teal-deep); }
.form { display: grid; gap: 18px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: .93rem; color: var(--ink); padding: 0; }
.opt { font-weight: 500; color: var(--muted); }
.input { width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 11px; border: 1.5px solid var(--line-strong); background: #fff; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.input:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 20%, transparent); }
textarea.input { min-height: 130px; resize: vertical; }
.input[aria-invalid="true"] { border-color: var(--red); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.checks label { position: relative; cursor: pointer; }
.checks input { position: absolute; opacity: 0; }
.checks span { display: inline-flex; padding: 8px 13px; border-radius: 99px; border: 1.5px solid var(--line-strong); font-size: .9rem; font-weight: 600; transition: all .2s; }
.checks input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.checks input:focus-visible + span { outline: 2.5px solid var(--teal); outline-offset: 2px; }
.form-foot { display: grid; gap: 10px; justify-items: start; }
.form-foot small { color: var(--muted); }
.form-foot small a { color: var(--teal-deep); }
.field-error { color: var(--red); font-size: .9rem; font-weight: 600; }
.recaptcha-note { font-size: .78rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; }
.sent, .notice-inline { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border-radius: var(--r-lg); background: var(--teal-soft); border: 1px solid color-mix(in srgb, var(--teal) 40%, transparent); }
.sent .ic { color: var(--teal-deep); flex: none; }
.sent strong { font: 800 1.1rem/1.3 var(--display); color: var(--ink); display: block; margin-bottom: 4px; }
.notice-inline { padding: 12px 16px; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; }

/* ---------- Members ---------- */
.next-steps { list-style: none; counter-reset: ns; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.next-steps li { counter-increment: ns; display: flex; gap: 14px; align-items: flex-start; }
.next-steps li::before { content: counter(ns); flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--navy); color: var(--mint); font: 800 .95rem/1 var(--display); }
.next-steps.big li { font-size: 1.08rem; padding-top: 4px; }
.member-perks { padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); display: grid; gap: 14px; }
.members-hero.in { background: linear-gradient(180deg, var(--teal-soft), transparent); }

/* ---------- Sponsor ---------- */
.mini-list { display: grid; gap: 12px; }
.mini-list a { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .94rem; line-height: 1.35; }
.mini-list img { width: 120px; flex: none; border-radius: 8px; aspect-ratio: 16 / 9; object-fit: cover; }
.mini-list small { display: block; color: var(--muted); font-weight: 500; margin-top: 3px; }
.rule-note { display: flex; gap: 14px; margin-top: 24px; padding: 20px 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.rule-note > .ic { color: var(--teal-deep); flex: none; margin-top: 3px; }
.rule-note strong { font-family: var(--display); color: var(--ink); }
.rule-note p { color: var(--muted); margin-top: 4px; }
.partners { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.partners li { padding: 18px 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); display: grid; place-items: center; min-height: 80px; }
.partners img { max-height: 40px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.partners li:hover img { filter: none; opacity: 1; }
.partners span { font: 700 1.05rem/1 var(--display); color: var(--ink); }

/* ---------- Old posts ---------- */
.archive-title { font-size: clamp(1.9rem, 4.4vw, 3rem); margin: 10px 0 14px; max-width: 24ch; }
.archive-hero .eyebrow { display: inline-flex; align-items: center; gap: 6px; }
.archive-hero .eyebrow .ic { width: 13px; height: 13px; }
.archive-hero .guide-meta { margin-bottom: 18px; }
.newer { display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: center; margin-bottom: 34px; padding: 18px; border-radius: 20px; background: var(--navy); color: #fff; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.newer:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -26px rgba(15, 30, 61, .6); }
.newer img { width: 160px; height: 90px; object-fit: cover; border-radius: 12px; }
.newer-text { display: grid; gap: 4px; min-width: 0; }
.newer .eyebrow { color: var(--mint); }
.newer strong { font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; color: #fff; }
.newer-text > span:last-child { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .7); font-size: .92rem; }
.old-note { display: flex; align-items: center; gap: 8px; margin-bottom: 28px; padding: 12px 16px; border-radius: 12px; background: var(--mist); color: var(--muted); font-size: .94rem; }
.old-note a { color: var(--teal-deep); }
.archive-prose { max-width: none; font-size: 1.06rem; line-height: 1.75; }
.archive-prose > p:first-of-type { font-size: 1.15rem; color: var(--ink); }
.archive-prose img { border-radius: 14px; border: 1px solid var(--line); }
.archive-prose h2 { margin-top: 2.2em; font-size: 1.5rem; }
.archive-prose h3 { margin-top: 1.8em; }
.archive-prose .guide-video { margin: 0 0 28px; }
.archive-end { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; margin: clamp(36px, 5vw, 56px) 0 clamp(40px, 6vw, 72px); padding-top: 24px; border-top: 1px solid var(--line); }
.archive-author { display: flex; align-items: center; gap: 12px; }
.archive-author .logo-mark { width: 40px; height: 40px; flex: none; }
.archive-author span { display: grid; gap: 2px; }
.archive-author strong { font-weight: 600; }
.archive-author small { color: var(--muted); font-size: .86rem; }
.archive-author small a { color: var(--teal-deep); }
@media (max-width: 560px) { .newer { grid-template-columns: 1fr; } .newer img { width: 100%; height: auto; aspect-ratio: 16 / 9; } }

/* ---------- Brand page ---------- */
.brand-logos { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr; gap: 16px; }
@media (max-width: 900px) { .brand-logos { grid-template-columns: 1fr; } }
.bl { margin: 0; min-height: 220px; display: grid; place-items: center; border-radius: var(--r-lg); border: 1px solid var(--line); position: relative; padding: 30px; }
.bl > svg { max-width: 100%; height: auto; }
.bl.light { background: #fff; } .bl.dark { background: var(--navy); } .bl.mark { background: var(--mist); }
.bl figcaption { position: absolute; left: 16px; bottom: 12px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.bl.dark figcaption { color: var(--night-muted); }
.brand-files { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 12px; margin-top: 22px; }
.donts { padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.donts ul { margin: 14px 0 0; padding-left: 1.2em; display: grid; gap: 8px; color: var(--muted); }
.donts li::marker { color: var(--red); content: "✕  "; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.swatch { position: relative; display: grid; gap: 4px; padding: 0 0 16px; text-align: left; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); cursor: pointer; overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s; }
.swatch:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.swatch .sw { height: 96px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.swatch strong, .swatch code, .swatch small, .swatch em { margin-inline: 16px; }
.swatch strong { font-family: var(--display); color: var(--ink); }
.swatch code { justify-self: start; }
.swatch small { color: var(--muted); }
.swatch em { font-style: normal; color: var(--muted); font-size: .88rem; line-height: 1.4; margin-top: 4px; }
.swatch .copied { position: absolute; top: 10px; right: 10px; padding: 4px 9px; border-radius: 8px; background: var(--navy); color: #fff; font-size: .76rem; font-weight: 700; opacity: 0; transform: translateY(-4px); transition: all .2s; }
.swatch.is-copied .copied { opacity: 1; transform: none; }
.type-specimens { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
@media (max-width: 900px) { .type-specimens { grid-template-columns: 1fr; } }
.spec { padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); display: grid; gap: 12px; }
.spec-name { font-size: .82rem; font-weight: 700; color: var(--teal-deep); text-transform: uppercase; letter-spacing: .08em; }
.spec-big { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; color: var(--ink); letter-spacing: -.03em; }
.spec-body { font-size: 1.25rem; line-height: 1.55; color: var(--ink); }
.overlay-rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.overlay-rules li { display: flex; align-items: center; gap: 10px; }
.overlay-rules .dot { flex: none; width: 14px; height: 14px; border-radius: 4px; }

/* ---------- Ads ---------- */
.ad { margin: 8px 0; padding: 10px 0; min-height: 300px; text-align: center; contain: layout; }
.ad-in_article { min-height: 250px; }
.ad:has(ins[data-ad-status="unfilled"]) { display: none; }
.ad-sidebar { min-height: 600px; margin: 0; }
.ggrid > .ad { grid-column: 1 / -1; min-height: 120px; }
@media (max-width: 1020px) { .ad-sidebar { display: none; } }
.ad-label { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--night-text); padding: clamp(48px, 7vw, 80px) 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-about { display: grid; gap: 16px; align-content: start; max-width: 420px; }
.foot-about p { color: var(--night-muted); font-size: .95rem; }
.foot-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.site-footer .brand { color: #fff; }
.foot-h { font: 800 .76rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--mint); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer ul a { color: var(--night-text); text-decoration: none; font-size: .94rem; overflow-wrap: anywhere; }
.site-footer ul a:hover { color: var(--mint); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--night-line); color: var(--night-muted); font-size: .86rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; }
.foot-links a, .foot-links .linkish { color: var(--night-muted); text-decoration: none; font-weight: 500; }
.foot-links a:hover { color: #fff; }

/* ---------- 404 ---------- */
.notfound { display: grid; gap: 18px; justify-items: center; text-align: center; padding-block: clamp(40px, 8vw, 100px); }
.notfound > * { max-width: 100%; min-width: 0; }
.notfound .hero-search { width: 100%; box-sizing: border-box; }
.notfound .lead { margin-inline: auto; }

/* ---------- Cookie notice ---------- */
.cookie { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; max-width: 380px; display: grid; gap: 14px; padding: 18px 20px; border-radius: var(--r); background: var(--navy); color: var(--night-text); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .5); font-size: .92rem; line-height: 1.5; }
.cookie a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 10px; }
.cookie .btn { background: var(--mint); color: var(--navy); min-height: 40px; }
.cookie .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
@media (max-width: 520px) { .cookie { left: 12px; right: 12px; max-width: none; } }

/* ---------- Gentle reveal (added by site.js, only when motion is allowed) ---------- */
.js-motion .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js-motion .reveal.in { opacity: 1; transform: none; }
.js-motion .why .reveal:nth-child(2), .js-motion .features .reveal:nth-child(2), .js-motion .steps .reveal:nth-child(2), .js-motion .rules .reveal:nth-child(2) { transition-delay: .08s; }
.js-motion .why .reveal:nth-child(3), .js-motion .features .reveal:nth-child(3), .js-motion .steps .reveal:nth-child(3), .js-motion .rules .reveal:nth-child(3) { transition-delay: .16s; }
.js-motion .why .reveal:nth-child(4), .js-motion .features .reveal:nth-child(4), .js-motion .steps .reveal:nth-child(4), .js-motion .rules .reveal:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .fc-ok { opacity: 1; transform: none; }
  .progress { display: none; }
}

/* ---------- Front-end editor (visible only to logged-in team) ---------- */
.ed-bar { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 90; display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px; background: var(--navy); color: #fff; box-shadow: 0 16px 40px -12px rgba(0,0,0,.5); font: 500 .9rem/1 var(--body); }
.ed-bar a, .ed-bar button { display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border-radius: 999px; border: 0; background: transparent; color: #fff; text-decoration: none; cursor: pointer; font: inherit; }
.ed-bar a:hover, .ed-bar button:hover { background: rgba(255,255,255,.1); }
.ed-bar .ic { width: 16px; height: 16px; }
.ed-bar .ed-save { background: var(--mint); color: var(--navy); font-weight: 600; }
.ed-bar .ed-count { font-size: .78rem; color: var(--night-muted); padding: 0 8px; }
body.editing [data-ed] { outline: 1.5px dashed color-mix(in srgb, var(--teal) 55%, transparent); outline-offset: 4px; border-radius: 4px; cursor: text; min-width: 1ch; }
body.editing [data-ed]:hover { outline-color: var(--teal-deep); }
body.editing [data-ed]:focus { outline: 2px solid var(--mint); background: color-mix(in srgb, var(--mint) 8%, transparent); }
body.editing [data-ed].changed { outline-color: #f59e0b; }
.ed-tools { position: absolute; z-index: 95; display: flex; gap: 2px; padding: 4px; border-radius: 12px; background: var(--navy); box-shadow: 0 10px 30px -8px rgba(0,0,0,.5); }
.ed-tools button { width: 34px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: #fff; cursor: pointer; font: 700 .85rem/1 var(--body); }
.ed-tools button:hover { background: rgba(255,255,255,.12); }
.ed-chip { position: absolute; z-index: 20; top: 12px; right: 12px; display: none; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; background: var(--navy); color: #fff !important; font: 600 .8rem/1 var(--body); text-decoration: none; box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); cursor: pointer; }
.ed-chip .ic { width: 14px; height: 14px; }
body.editing [data-edit-url] { position: relative; }
body.editing [data-edit-url] > .ed-chip { display: inline-flex; }
.ed-toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); z-index: 99; padding: 12px 18px; border-radius: 12px; background: var(--navy); color: #fff; font: 500 .95rem/1.3 var(--body); box-shadow: 0 10px 30px -8px rgba(0,0,0,.5); }

/* ---------- Summarize with AI (app/ask_ai.php) ---------- */
.askai { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 24px; padding: 6px 6px 6px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  box-shadow: 0 1px 2px rgba(15, 30, 61, .04), 0 10px 28px -18px rgba(15, 30, 61, .35); max-width: 100%; width: fit-content; align-self: flex-start; }
.askai-label { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; letter-spacing: -.005em; color: var(--ink); white-space: nowrap; padding-right: 4px; }
.askai-spark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--tile); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 4px 10px -4px color-mix(in srgb, var(--tile-b) 80%, transparent); }
.askai-spark .ic { width: 14px; height: 14px; }
.askai-apps { display: inline-flex; flex-wrap: wrap; gap: 4px; padding-left: 14px; border-left: 1px solid var(--line); }
.askai-app { --c: var(--ink); position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 4%, var(--surface)); text-decoration: none;
  transition: background-color .2s, box-shadow .2s, transform .2s var(--ease); }
.askai-app:hover, .askai-app:focus-visible { background: var(--surface); transform: translateY(-2px); box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--c) 55%, transparent), 0 8px 18px -10px color-mix(in srgb, var(--c) 70%, transparent); }
.askai-logo { width: 18px; height: 18px; object-fit: contain; }
.askai-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.askai-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.askai-app::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 4px); padding: 5px 9px; border-radius: 7px; background: var(--ink); color: #fff;
  font-size: .75rem; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; }
.askai-app:hover::after, .askai-app:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.askai-app[data-ai="chatgpt"] { --c: #10a37f; } .askai-app[data-ai="claude"] { --c: #d97757; } .askai-app[data-ai="gemini"] { --c: #4c7cf3; }
.askai-app[data-ai="copilot"] { --c: #0f6cbd; } .askai-app[data-ai="perplexity"] { --c: #1f9aa8; } .askai-app[data-ai="grok"] { --c: #2a2a2a; }
.askai-fix { margin-top: 20px; }
.archive-post .askai { margin-top: 16px; }
@media (max-width: 560px) {
  .askai { border-radius: 20px; padding: 10px 12px; }
  .askai-apps { padding-left: 0; border-left: 0; width: 100%; justify-content: space-between; }
}
@media (hover: none) { .askai-app::after { display: none; } }
@media (prefers-reduced-motion: reduce) { .askai-app:hover { transform: none; } }

/* =====================================================================
   Studio Light layer (2026-09-25): calm editorial look, navy type on warm off-white,
   teal as the main accent bridged to the logo green, amber / violet / blue for jobs.
   ===================================================================== */
h1 { font-size: calc(clamp(2.5rem, 5.8vw, 4.7rem) * var(--h-scale)); line-height: 1; letter-spacing: calc(-.046em * var(--track)); }
h2 { font-size: calc(clamp(1.95rem, 4vw, 3.1rem) * var(--h-scale)); line-height: 1.04; letter-spacing: calc(-.04em * var(--track)); }
h3 { font-weight: 600; letter-spacing: calc(-.02em * var(--track)); }
h2 .hl, h1 .hl { color: var(--teal-deep); }
.hl { background-image: url("../img/swash.svg"); }
.lead { color: var(--text); }
.eyebrow { font: 500 .75rem/1 var(--mono); letter-spacing: .15em; color: var(--teal-deep); }
.eyebrow::before { width: 8px; height: 8px; border-radius: 2.5px; background: var(--bridge); }
.eyebrow.plain::before { display: none; }
.eyebrow.plain { color: var(--muted); }
.eyebrow.amber { color: color-mix(in srgb, var(--amber) 55%, #5a3b00); } .eyebrow.amber::before { background: var(--amber); }
.eyebrow.violet { color: color-mix(in srgb, var(--violet) 45%, #fff); } .eyebrow.violet::before { background: var(--violet); }
.dark .eyebrow { color: var(--mint); }

.btn { min-height: 50px; padding: 0 22px; border-radius: 14px; font: 600 .98rem/1 var(--body); box-shadow: 0 10px 24px -14px rgba(15, 30, 61, .7); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(15, 30, 61, .7); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: color-mix(in srgb, var(--navy) 88%, #fff); }
.btn-ghost, .btn-light, .btn-ghost-light { box-shadow: none; }
.btn-light:hover { box-shadow: 0 14px 28px -16px rgba(0, 0, 0, .5); }
.btn-count { font: 500 .75rem/1 var(--mono); padding: 5px 7px; border-radius: 7px; background: rgba(255, 255, 255, .14); }
.u-link { display: inline-flex; align-items: center; gap: 7px; padding-bottom: 3px; border-bottom: 1.5px solid var(--line-strong); color: var(--ink); font-weight: 600; text-decoration: none; transition: border-color .2s; }
.u-link:hover { border-color: var(--ink); }
.u-link .ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.u-link:hover .ic:last-child { transform: translateX(2px); }
.u-link.light { color: #fff; border-color: rgba(255, 255, 255, .3); } .u-link.light:hover { border-color: #fff; }
.text-link:hover { color: var(--teal-deep); }

/* Header */
.site-header { background: color-mix(in srgb, var(--paper) 88%, transparent); }
body.scrolled .site-header, .site-header { border-bottom-color: var(--line); }
.nav { min-height: 76px; gap: 28px; }
.nav-links { gap: 4px; }
.nav-links a { font-weight: 500; font-size: .96rem; color: var(--text); padding: 9px 12px; }
.nav-links a[aria-current="page"] { background: none; color: var(--ink); box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.nav-links .nav-member { color: var(--violet); }
.nav-links .nav-sub { margin-left: 10px; }
.nav-sub a.nav-subscribe { gap: 8px; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; }
.nav-sub a.nav-subscribe:hover { border-color: var(--line-strong); background: var(--surface); }
.nav-sub a.nav-subscribe .ic { color: var(--yt); }
@media (max-width: 1100px) { .nav-links { inset: 76px 0 auto 0; } .nav-links a[aria-current="page"] { box-shadow: none; background: var(--teal-soft); border-radius: 10px; } }

/* Home hero */
.sl-hero { padding: clamp(48px, 8vw, 96px) 0 clamp(44px, 6vw, 76px); }
.sl-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(36px, 5vw, 60px); align-items: center; }
.sl-hero-copy h1 { margin: 22px 0 0; }
.sl-hero-copy .lead { margin-top: 24px; max-width: 34rem; font-size: clamp(1.08rem, 1.5vw, 1.2rem); }
.sl-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 32px; }
.sl-ticks { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .92rem; }
.sl-ticks li { display: inline-flex; align-items: center; gap: 7px; }
.sl-ticks .ic { color: var(--teal); width: 16px; height: 16px; }
@media (max-width: 960px) { .sl-hero-grid { grid-template-columns: 1fr; } }

/* Hero card (hero_showcase()): one clear statement per kind of work, hairlines instead of boxes, one accent per scene */
@property --acc { syntax: "<color>"; inherits: true; initial-value: #00d4aa; }
.hc { --acc: #00d4aa; transition: --acc .8s ease; position: relative; overflow: hidden; min-width: 0; border-radius: 30px; padding: 30px 32px 28px; color: #e8edf8;
  background: radial-gradient(80% 55% at 100% 0%, color-mix(in srgb, var(--acc) 22%, transparent), transparent 70%), linear-gradient(165deg, #132550, #0d1b3a 75%);
  border: 1px solid rgba(255, 255, 255, .07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 40px 80px -40px rgba(15, 30, 61, .55); }
.hc .ic { width: 18px; height: 18px; }
.hc-tabs { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.hc-tabs button { padding: 0 0 14px; border: 0; background: none; cursor: pointer; color: #8c98b5; font: 500 .9rem/1.2 var(--body); transition: color .25s; min-width: 0; overflow-wrap: anywhere; }
.hc-tabs button:hover { color: #dfe6f5; }
.hc-tabs button[aria-selected="true"] { color: #fff; }
.hc-tabs button:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.hc-bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 20%; transform: translateX(calc(var(--i, 0) * 100%)); transition: transform .5s var(--ease); }
.hc-bar i { display: block; height: 100%; margin: 0 18%; border-radius: 2px; background: var(--acc); transform-origin: left; }
.hc.auto.rotating .hc-bar i { animation: hcfill var(--hc-time, 4.5s) linear both; }
.hc.paused .hc-bar i { animation-play-state: paused; }
@keyframes hcfill { from { transform: scaleX(0); } }
.hc-scenes { display: grid; margin-top: 28px; }
.hc-scene { grid-area: 1 / 1; min-width: 0; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .5s, transform .5s var(--ease), visibility 0s .5s; }
.hc-scene.on { opacity: 1; visibility: visible; transform: none; transition: opacity .5s, transform .5s var(--ease); }
.hc-k { font: 500 .72rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--acc); }
.hc-t { margin: 10px 0 22px; font-size: 1.5rem; line-height: 1.2; font-weight: 600; letter-spacing: -.025em; color: #fff; }
.hc-f { margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; gap: 9px; align-items: flex-start; font-size: .85rem; line-height: 1.45; color: #9aa6c2; }
.hc-f .ic { width: 16px; height: 16px; color: var(--acc); margin-top: 1px; }
.hc-scene > :nth-last-child(2) { margin-bottom: 22px; }
.hc-flow { list-style: none; margin: 0; padding: 0; display: grid; }
.hc-flow li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) 22px; gap: 14px; align-items: center; padding: 12px 0; }
.hc-flow li + li::before { content: ""; position: absolute; left: 19.5px; top: -10px; height: 20px; width: 1px; background: rgba(255, 255, 255, .14); }
.hc-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--acc); background: color-mix(in srgb, var(--acc) 14%, transparent); border: 1px solid color-mix(in srgb, var(--acc) 30%, transparent); }
.hc-flow b, .hc-list b { display: block; font-size: .95rem; font-weight: 600; color: #fff; line-height: 1.3; }
.hc-flow small, .hc-list small { display: block; font-size: .82rem; color: #8c98b5; }
.hc-ok { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #0d1b3a; background: var(--acc); }
.hc-ok .ic { width: 13px; height: 13px; }
.hc.auto .hc-scene.on .hc-ok { animation: hcok .4s var(--ease) both; }
.hc.auto .hc-scene.on li:nth-child(1) .hc-ok { animation-delay: .5s; } .hc.auto .hc-scene.on li:nth-child(2) .hc-ok { animation-delay: 1.1s; } .hc.auto .hc-scene.on li:nth-child(3) .hc-ok { animation-delay: 1.7s; }
@keyframes hcok { from { opacity: 0; transform: scale(.6); } }
.hc-list { list-style: none; margin: 0; padding: 0; }
.hc-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .07); }
.hc-list li:first-child { border-top: 0; padding-top: 4px; }
.hc-list em { font-style: normal; font-size: .82rem; font-weight: 500; color: var(--acc); display: inline-flex; gap: 7px; align-items: center; }
.hc-list em::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }
.hc.auto .hc-scene.on .hc-list em, .hc.auto .hc-scene.on .hc-ai dl div { animation: hcin .5s var(--ease) both; }
.hc.auto .hc-scene.on .hc-list li:nth-child(2) em { animation-delay: .4s; } .hc.auto .hc-scene.on .hc-list li:nth-child(3) em { animation-delay: .8s; }
@keyframes hcin { from { opacity: 0; transform: translateX(6px); } }
.hc-ai { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; align-items: center; }
.hc-doc { position: relative; overflow: hidden; background: #fff; border-radius: 10px; padding: 14px 12px; display: grid; gap: 7px; aspect-ratio: 3 / 4; align-content: start; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .7); }
.hc-doc b { font: 700 .56rem/1 var(--mono); letter-spacing: .14em; color: #0f1e3d; margin-bottom: 4px; }
.hc-doc i { display: block; height: 5px; border-radius: 3px; background: #e4e7ef; }
.hc-doc i.s { width: 60%; } .hc-doc i.r { width: 40%; margin-left: auto; margin-top: 10px; background: #cfd4e2; }
.hc-doc .scan { position: absolute; left: 0; right: 0; top: -30%; height: 30%; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--acc) 30%, transparent)); border-bottom: 2px solid var(--acc); }
.hc.auto .hc-scene.on .hc-doc .scan { animation: hcscan 2s .3s ease-in-out both; }
@keyframes hcscan { to { top: 100%; } }
.hc-ai dl { margin: 0; display: grid; }
.hc-ai dl div { padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .07); }
.hc-ai dl div:first-child { border-top: 0; padding-top: 0; }
.hc.auto .hc-scene.on .hc-ai dl div:nth-child(1) { animation-delay: .8s; } .hc.auto .hc-scene.on .hc-ai dl div:nth-child(2) { animation-delay: 1.2s; } .hc.auto .hc-scene.on .hc-ai dl div:nth-child(3) { animation-delay: 1.6s; }
.hc-ai dt { font-size: .75rem; color: #8c98b5; }
.hc-ai dd { margin: 2px 0 0; font-size: .95rem; font-weight: 600; color: #fff; overflow-wrap: anywhere; }
.hc-tbl { font-size: .88rem; }
.hc-tbl .r { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr) minmax(0, 1fr); gap: 10px; padding: 12px 10px; border-top: 1px solid rgba(255, 255, 255, .07); color: #dfe6f5; border-radius: 10px; }
.hc-tbl .h { border-top: 0; padding-top: 0; font-size: .75rem; color: #8c98b5; }
.hc-tbl .y { color: var(--acc); font-weight: 500; } .hc-tbl .p { color: #f5c46a; font-weight: 500; }
.hc-tbl .new { background: color-mix(in srgb, var(--acc) 12%, transparent); border-top-color: transparent; }
.hc.auto .hc-scene.on .hc-tbl .new { animation: hcrow .6s .5s var(--ease) both; }
@keyframes hcrow { from { opacity: 0; transform: translateY(-6px); } }
.hc-cal { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.hc-cal span { font-size: .75rem; color: #8c98b5; text-align: center; }
.hc-cal i { height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .04); font-style: normal; display: grid; place-items: center; font-size: .82rem; font-weight: 600; }
.hc-cal i.b { background: rgba(255, 255, 255, .1); }
.hc-cal i.new { background: var(--acc); color: #2b1a00; box-shadow: 0 10px 22px -10px var(--acc); }
.hc.auto .hc-scene.on .hc-cal i.new { animation: hcbook .6s .5s var(--ease) both; }
@keyframes hcbook { from { transform: scale(.7); opacity: 0; } }
@media (max-width: 520px) {
  .hc { padding: 22px 20px 20px; border-radius: 24px; }
  .hc-tabs button { font-size: .78rem; }
  .hc-t { font-size: 1.25rem; }
  .hc-ai { grid-template-columns: 84px minmax(0, 1fr); gap: 16px; }
  .hc-cal i { height: 34px; font-size: .7rem; }
}

/* Stats and app strip */
.stats { margin-top: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; gap: 0; }
.stat { background: none; padding: 26px 24px 30px; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; } .stat:last-child { border-right: 0; }
.stat strong { font: 600 clamp(1.9rem, 3.2vw, 2.6rem)/1.05 var(--display); letter-spacing: -.04em; }
.stat strong::after { content: ""; display: block; width: 28px; height: 3px; border-radius: 3px; background: var(--bridge); margin-top: 12px; }
.stat > span { font-size: .9rem; }
@media (max-width: 720px) { .stat { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); } .stats { column-gap: 20px; } .stat strong { font-size: 1.9rem; } }
.sl-apps { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; padding-block: 22px; border-block: 1px solid var(--line); color: var(--text); font-size: .98rem; }

/* Topic rows */
.sl-rows { border-top: 1px solid var(--line); }
.sl-row { display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1.4fr) 100px 24px; gap: 20px; align-items: center; padding: 24px 12px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; transition: background .25s; }
.sl-row:hover { background: var(--surface); }
.sl-no { font: 500 .8rem/1 var(--mono); color: var(--muted); }
.sl-row h3 { display: flex; gap: 14px; align-items: center; font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: -.03em; }
.sl-row h3 i { flex: none; width: 12px; height: 12px; border-radius: 4px; }
.sl-row p { color: var(--text); font-size: .95rem; }
.sl-count { font: 500 .8rem/1 var(--mono); color: var(--muted); text-align: right; }
.sl-ar { color: var(--muted); transition: transform .25s var(--ease), color .25s; }
.sl-row:hover .sl-ar { transform: translateX(4px); color: var(--ink); }
@media (max-width: 860px) { .sl-row { grid-template-columns: 36px minmax(0, 1fr) auto 20px; padding: 18px 0; } .sl-row p { display: none; } }

/* Guide cards */
.gcard { border-radius: var(--r-lg); background: var(--surface); }
.gcard:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(15, 30, 61, .45); border-color: var(--line-strong); }
.gbody { gap: 10px; padding: 18px 20px 22px; }
.gbody h3 { font-size: 1.08rem; font-weight: 600; line-height: 1.32; }
.gtopic { font: 500 .7rem/1 var(--mono); letter-spacing: .12em; color: var(--muted); gap: 7px; }
.gtopic i { width: 8px; height: 8px; border-radius: 2.5px; }
.gmeta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: auto; color: var(--muted); font-size: .84rem; }
.gcard .gbody { flex: 1; align-content: start; }
.gplay { border-radius: 16px; background: rgba(255, 255, 255, .95); color: var(--ink); width: 54px; height: 54px; margin: -27px 0 0 -27px; opacity: 1; transform: none; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); }
.gcard:hover .gplay { transform: scale(1.06); }
.gdur { font: 500 .74rem/1.2 var(--mono); background: rgba(15, 30, 61, .85); }
.glock { background: var(--violet); color: #fff; }

/* Products */
.sl-shop { background: var(--surface); border-block: 1px solid var(--line); }
.prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.prod { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); transition: border-color .25s, transform .3s var(--ease); }
.sl-shop .prod { background: var(--paper); }
.prod:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.prod-pic { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 8; border-radius: 16px; overflow: hidden; background: color-mix(in srgb, var(--c, var(--amber)) 14%, #fff); }
.prod-pic img { width: 100%; height: 100%; object-fit: cover; }
.prod-flow { display: flex; align-items: center; gap: 10px; }
.prod-flow span { width: 46px; height: 46px; border-radius: 13px; background: #fff; display: grid; place-items: center; color: var(--ink); box-shadow: 0 8px 18px -10px rgba(15, 30, 61, .45); }
.prod-flow i { width: 22px; height: 2px; background: rgba(15, 30, 61, .18); }
.prod-badge { position: absolute; left: 12px; top: 12px; padding: 5px 9px; border-radius: 8px; background: var(--amber); color: #3a2600; font: 600 .74rem/1 var(--body); }
.prod h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; }
.prod h3 a { color: inherit; text-decoration: none; }
.prod h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.prod p { color: var(--text); font-size: .94rem; }
.prod-inc { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.prod-inc li { font: 500 .72rem/1 var(--mono); padding: 6px 8px; border-radius: 7px; border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.prod-buy { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.prod-price { font-size: 1.6rem; font-weight: 600; letter-spacing: -.03em; color: var(--ink); }
.prod-price s { font-size: .9rem; color: var(--muted); font-weight: 500; margin-left: 4px; }
.prod-buy .btn { position: relative; z-index: 1; }
.prod .ed-chip { z-index: 2; }

/* Members band */
.sl-members { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: 32px; background: var(--navy); color: var(--night-text); }
.sl-members::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 90px; transform: rotate(18deg); background: color-mix(in srgb, var(--violet) 24%, transparent); pointer-events: none; }
.sl-members h2 { color: #fff; margin-top: 16px; } .sl-members h2 .hl { color: #b9b1ff; background-image: none; }
.sl-mlist { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; color: #c6cde0; }
.sl-mlist li { display: flex; gap: 10px; align-items: flex-start; } .sl-mlist .ic { color: #b9b1ff; margin-top: 4px; }
.sl-key { position: relative; z-index: 1; background: #fff; color: var(--ink); border-radius: 22px; padding: 22px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); min-width: 0; }
.sl-key-url { font: 500 .8rem/1.4 var(--mono); background: var(--violet-soft); color: var(--violet); padding: 12px 14px; border-radius: 12px; overflow-wrap: anywhere; }
.sl-key-ok { display: flex; gap: 10px; align-items: center; margin-top: 16px; font-size: .9rem; color: var(--text); }
.sl-key-ok span { width: 28px; height: 28px; border-radius: 9px; background: var(--teal-soft); color: var(--teal-deep); display: grid; place-items: center; flex: none; }
.sl-key-files { margin-top: 16px; display: grid; gap: 8px; }
.sl-key-files div { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: .9rem; min-width: 0; }
.sl-key-files span { flex: 1; min-width: 0; }
.sl-key-files small { font: 500 .7rem/1 var(--mono); color: var(--muted); }
@media (max-width: 900px) { .sl-members { grid-template-columns: 1fr; } }

/* Services rows and consultation band */
.sl-svc { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; border-top: 1px solid var(--line); }
.sl-svc a { display: flex; gap: 18px; align-items: baseline; padding: 22px 4px; border-bottom: 1px solid var(--line); font-size: 1.15rem; font-weight: 500; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.sl-svc small { font: 500 .75rem/1 var(--mono); color: var(--muted); }
.sl-svc span { flex: 1; }
.sl-svc .ic { color: var(--muted); align-self: center; transition: transform .25s var(--ease), color .25s; }
.sl-svc a:hover .ic { transform: translateX(4px); color: var(--ink); }
@media (max-width: 760px) { .sl-svc { grid-template-columns: 1fr; } }
.sl-consult { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 28px; border-radius: 22px; background: var(--teal-soft); }
.sl-consult strong { display: block; font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.sl-consult span { color: var(--text); }
.sl-sponsor { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-block: 28px; margin-bottom: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); font-size: 1.05rem; color: var(--ink); }

/* Footer (light) */
.site-footer { background: var(--surface); color: var(--text); border-top: 1px solid var(--line); }
.site-footer .brand { color: var(--ink); }
.foot-about p { color: var(--text); }
.foot-h { font: 500 .72rem/1 var(--mono); letter-spacing: .14em; color: var(--muted); }
.site-footer ul a { color: var(--text); }
.site-footer ul a:hover { color: var(--ink); }
.foot-bottom { border-top-color: var(--line); color: var(--muted); }
.foot-links a, .foot-links .linkish { color: var(--muted); }
.foot-links a:hover { color: var(--ink); }
.site-footer .btn-ghost-light { color: var(--ink); border-color: var(--line-strong); }
.site-footer .btn-yt { box-shadow: none; }

/* Other shared pieces in the new palette */
.tile-ic { border-radius: 12px; }
.problem { border-left-color: var(--teal); }
.tips { background: var(--amber-soft); border-color: color-mix(in srgb, var(--amber) 35%, transparent); }
.tips li .ic { color: color-mix(in srgb, var(--amber) 70%, #6b4200); }
.mbox { background: var(--navy); }
.mbox::after { background: radial-gradient(circle, color-mix(in srgb, var(--violet) 45%, transparent), transparent 70%); }
.mbox-ic { background: color-mix(in srgb, var(--violet) 25%, transparent); color: #c9c2ff; }
.mbox a:not(.btn) { color: #c9c2ff; }
.tier.members { background: var(--violet-soft); color: var(--violet); }
.chip[aria-pressed="true"] small { color: var(--mint); }
.yt-play { background: #fff; color: var(--ink); }
.yt-play::before { border-color: rgba(255, 255, 255, .6); }
.progress { background: var(--bridge); }

/* Product page and the "Skip the build" box on guides */
.prod-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.prod-hero .intro { display: grid; gap: 16px; }
.prod-panel { display: grid; gap: 14px; padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.prod-panel .prod-buy { border-top: 0; padding-top: 4px; }
@media (max-width: 900px) { .prod-hero { grid-template-columns: 1fr; } }
.pbox { display: grid; gap: 12px; padding: 20px; border-radius: var(--r-lg); background: var(--amber-soft); border: 1px solid color-mix(in srgb, var(--amber) 35%, transparent); }
.pbox-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--amber); color: #3a2600; }
.pbox strong { display: block; font-size: 1.05rem; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.pbox p { color: var(--text); font-size: .92rem; }
.pbox-name { font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--amber) 60%, transparent); text-underline-offset: 4px; }
.pbox .prod-buy { border-top-color: color-mix(in srgb, var(--amber) 30%, transparent); }
.pbox .prod-price { font-size: 1.3rem; }
.prods { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .prods { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .prods { grid-template-columns: 1fr; } }
.guide-head h1 { font-size: calc(clamp(2rem, 4.2vw, 3.4rem) * var(--h-scale)); line-height: 1.05; letter-spacing: calc(-.04em * var(--track)); }
.archive-title { letter-spacing: -.035em; }
.page-hero h1 { max-width: 20ch; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .cards.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards.three { grid-template-columns: 1fr; } }
.card { border-radius: var(--r-lg); }
.card h3 { font-weight: 600; }
.page-hero h1 { font-size: calc(clamp(2.3rem, 4.8vw, 3.9rem) * var(--h-scale)); }

/* Membership levels (member_tiers(), download rows, guide cards) */
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 720px) { .tiers { grid-template-columns: 1fr; } }
.tier-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.tier-card.top { background: var(--navy); color: var(--night-text); border-color: var(--navy); position: relative; overflow: hidden; }
.tier-card.top::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 44px; transform: rotate(18deg); background: color-mix(in srgb, var(--violet) 30%, transparent); pointer-events: none; }
.tier-card h3 { font-size: 1.4rem; }
.tier-card.top h3 { color: #fff; }
.tier-card p { color: var(--text); font-size: .95rem; flex: 1; }
.tier-card.top p { color: #c6cde0; }
.tier-card .btn { align-self: flex-start; position: relative; z-index: 1; }
.tier-card.top .btn { background: #fff; color: var(--navy); }
.tier-level { display: inline-flex; align-items: center; gap: 6px; font: 500 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--violet); }
.tier-card.top .tier-level { color: #b9b1ff; }
.tier-level .ic { width: 14px; height: 14px; }
.tier-card.mine { box-shadow: 0 0 0 2px var(--violet); }
.tier-you { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--teal-deep); }
.tier-card.top .tier-you { color: var(--mint); }
.tiers-note { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--muted); font-size: .88rem; }
.tiers-note .ic { width: 14px; height: 14px; }
.dl-tier { display: inline-flex; align-items: center; gap: 5px; justify-self: start; font: 500 .68rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--violet); }
.dl-tier .ic { width: 12px; height: 12px; }
.dl-tier.lab { color: color-mix(in srgb, var(--violet) 70%, var(--navy)); }
.dl-row.lab .dl-ext { background: var(--violet-soft); color: var(--violet); }
.glock.lab { background: var(--navy); color: #c9c2ff; }
.sl-levels { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.sl-levels span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); color: #e4e0ff; font-size: .86rem; font-weight: 500; }
.sl-levels span.top { background: color-mix(in srgb, var(--violet) 35%, transparent); border-color: transparent; color: #fff; }
.sl-levels .ic { width: 14px; height: 14px; }
.mbox.in a:not(.btn) { color: var(--teal-deep); }
.eyebrow.violet { color: var(--violet); }
.sl-members .eyebrow.violet, .dark .eyebrow.violet { color: #b9b1ff; }

/* ---------- Guide page, clean (Sep 2026) ----------
   One reading column, hairlines instead of boxes, numbers in mono, the sidebar holds only the steps list.
   Colour: teal for progress and ticks, amber only on tips, violet only on member items. */
.guide-hero { padding-bottom: 18px; }
.guide-head .gtopic { background: none; padding: 0; color: var(--muted); font: 500 .72rem/1 var(--mono); letter-spacing: .12em; }
.guide-head .gtopic .ic { width: 14px; height: 14px; color: var(--teal); }
.guide-grid { grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 5vw, 72px); }
.guide-main { gap: clamp(28px, 4vw, 44px); max-width: 760px; }
.guide-main > h2, .guide-main section > h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 600; letter-spacing: -.03em; margin-bottom: 14px; }
.glabel { display: block; font: 500 .72rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 8px; }
.gwho { padding: 0 0 0 18px; border-left: 2px solid var(--teal); }
.gwho p { font-size: 1.08rem; line-height: 1.6; color: var(--text); }
.video-frame { border-radius: 20px; box-shadow: 0 30px 60px -36px rgba(15, 30, 61, .5); }
.gneeds .checklist { gap: 8px; }
.gneeds .checklist li .ic { background: none; color: var(--teal); padding: 0; margin-top: 4px; width: 18px; height: 18px; }
/* steps */
.gsteps-head { border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 4px; }
.gprogress { font: 500 .78rem/1 var(--mono); letter-spacing: .06em; color: var(--muted); }
.gstep { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.gstep::before { display: none; }
.gstep:last-child { border-bottom: 0; }
.gstep-num span { width: auto; height: auto; padding-top: 4px; border-radius: 0; background: none; box-shadow: none; color: var(--teal-deep); font: 500 .85rem/1 var(--mono); letter-spacing: .08em; transition: color .3s; }
.gstep.done .gstep-num span { background: none; color: var(--muted); text-decoration: line-through; }
.gstep.is-active .gstep-num span { transform: none; box-shadow: none; color: var(--ink); }
.gstep.is-active { position: relative; }
.gstep.is-active::after { content: ""; position: absolute; left: -22px; top: 30px; width: 3px; height: 22px; border-radius: 3px; background: var(--bridge); }
.gstep-body { padding-top: 0; }
.gstep-body h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; letter-spacing: -.02em; }
.gstep-text { color: var(--text); }
.gstep-text code, .checklist code, .tips code { background: color-mix(in srgb, var(--teal) 8%, #fff); border-color: color-mix(in srgb, var(--teal) 22%, transparent); }
.gstep-tools { margin-top: 14px; gap: 6px 18px; font-size: .84rem; }
.gstep-tools .linkish { color: var(--muted); font-weight: 500; }
.gstep-tools .linkish:hover { color: var(--teal-deep); text-decoration: none; }
.done-toggle { color: var(--muted); font-weight: 500; }
.done-toggle input { accent-color: var(--teal); }
.gstep.done h3 { color: var(--muted); }
/* tips */
.tips { padding: 0 0 0 18px; border: 0; border-left: 2px solid var(--amber); background: none; border-radius: 0; }
.tips ul { gap: 10px; }
.tips li .ic { color: color-mix(in srgb, var(--amber) 70%, #6b4200); width: 16px; height: 16px; margin-top: 4px; }
.tips .askai { margin-top: 20px; }
/* chapters */
.chapters { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; padding: 4px 0; }
.chapters summary { font-weight: 600; color: var(--muted); }
/* the end block: files, automation, help */
.gend { display: grid; gap: 22px; padding-top: 28px; border-top: 1px solid var(--line); }
.gend h2 { font-size: 1.25rem; margin-bottom: 12px; }
.gend-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.gend-grid .hbox, .gend-grid .mbox, .gend-grid .pbox { margin: 0; }
.gend-grid .hbox { background: var(--surface); }
.gend-grid .mbox { border-radius: var(--r-lg); }
.gend .dl-stack { gap: 10px; }
.guide-foot { border-top: 0; padding-top: 0; }
/* sidebar: just the steps list */
.guide-side { gap: 20px; }
.toc { top: 96px; padding: 0 0 0 18px; border: 0; border-left: 1px solid var(--line); border-radius: 0; background: none; }
.toc-h { font: 500 .7rem/1 var(--mono); letter-spacing: .14em; color: var(--muted); margin-bottom: 10px; }
.toc a { padding: 5px 6px; font-size: .86rem; color: var(--muted); gap: 9px; border-radius: 6px; }
.toc ol a::before { content: counter(toc, decimal-leading-zero); width: auto; height: auto; background: none; color: var(--muted); font: 500 .7rem/1.5 var(--mono); }
.toc-more a::before { display: none; }
.toc a:hover { background: none; color: var(--ink); }
.toc a.active { background: none; color: var(--ink); font-weight: 600; }
.toc a.active::before { color: var(--teal-deep); }
.toc a.done { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line-strong); }
.toc a.done::before { content: "✓"; background: none; color: var(--teal); }
.toc-bar { height: 3px; background: var(--line); margin-top: 14px; }
.toc-bar span { background: var(--bridge); }
.toc-more { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: .84rem; }
.toc-more a { display: inline-flex; align-items: center; gap: 7px; color: var(--text); text-decoration: none; font-weight: 500; }
.toc-more a:hover { color: var(--ink); }
.toc-more .ic { width: 14px; height: 14px; color: var(--teal); }
.locked-box { border: 1px solid var(--line); background: var(--surface); }
.locked-box .mbox-ic { background: var(--violet-soft); color: var(--violet); }
@media (max-width: 1020px) { .guide-grid { grid-template-columns: 1fr; } .gstep.is-active::after { display: none; } }
@media (max-width: 560px) { .gstep { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 20px 0; } }

/* ---------- Colour scheme pass (Sep 2026): teal identity, amber action ----------
   One action colour on the buttons that matter. Everything else stays navy, teal or quiet. */
.btn-primary, .btn-cta, .prod-buy .btn, .pbox .btn, .sl-consult .btn, .tier-card.top .btn, .locked-box .btn-primary, .sl-hero .btn {
  background: linear-gradient(135deg, var(--amber), var(--amber-2)); color: var(--navy); box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--amber-2) 80%, transparent); }
.btn-primary:hover, .btn-cta:hover, .prod-buy .btn:hover, .pbox .btn:hover, .sl-consult .btn:hover, .tier-card.top .btn:hover, .sl-hero .btn:hover {
  background: linear-gradient(135deg, color-mix(in srgb, var(--amber) 90%, #fff), var(--amber-2)); box-shadow: 0 16px 30px -12px color-mix(in srgb, var(--amber-2) 90%, transparent); }
.btn-primary .btn-count, .sl-hero .btn .btn-count { background: rgba(15, 30, 61, .12); }
.btn-primary .ic, .sl-hero .btn .ic { color: var(--navy); }
.tier-card.top .btn { color: var(--navy); }
.sl-members .btn-light { background: linear-gradient(135deg, var(--amber), var(--amber-2)); color: var(--navy); }
.prod-badge { background: var(--amber); }
.eyebrow.amber { color: #a85d00; }
/* teal identity touches */
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--teal); }
.u-link:hover { border-color: var(--teal); color: var(--teal-deep); }
.sl-row:hover h3 i { transform: scale(1.35); }
.sl-row h3 i { transition: transform .25s var(--ease); }
.faq details[open] { border-color: color-mix(in srgb, var(--teal) 45%, var(--line)); }
.faq .plus { background: var(--teal-soft); color: var(--teal-deep); }
.faq details[open] .plus { background: var(--teal); color: #fff; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); }
.searchbox:focus-within, .input:focus, .hero-search:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 18%, transparent); }
.sl-consult { background: linear-gradient(120deg, var(--teal-soft), color-mix(in srgb, var(--amber) 10%, #fff)); }

/* ---------- Topic pages: the app's own colour sets the accent ---------- */
.topic-page { --topic-soft: color-mix(in srgb, var(--topic) 9%, var(--paper)); }
.topic-hero { background: linear-gradient(180deg, var(--topic-soft), transparent 85%); padding-bottom: 28px; }
.topic-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 64px); align-items: start; position: relative; }
.topic-eb { color: color-mix(in srgb, var(--topic) 70%, var(--ink)); } .topic-eb::before { background: var(--topic); }
.topic-page .hl { color: color-mix(in srgb, var(--topic) 75%, var(--ink)); }
.topic-page .sl-ticks .ic { color: var(--topic); }
.topic-start { display: grid; gap: 10px; padding-top: 8px; }
.topic-start .glabel { color: var(--muted); }
.topic-start-card { display: grid; gap: 10px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s; }
.topic-start-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.topic-start-card strong { font-size: 1.1rem; font-weight: 600; line-height: 1.35; letter-spacing: -.02em; }
.topic-start-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--topic) 14%, #fff); color: color-mix(in srgb, var(--topic) 80%, var(--ink)); }
.topic-start-more { display: inline-flex; align-items: center; gap: 7px; font-size: .88rem; color: var(--text); text-decoration: none; }
.topic-start-more .ic { color: var(--amber-2); width: 14px; height: 14px; }
.topic-start-more:hover { color: var(--ink); }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-chip { display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; transition: border-color .2s, transform .2s var(--ease); }
.topic-chip:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.topic-chip i { width: 9px; height: 9px; border-radius: 3px; }
.topic-chip small { color: var(--muted); font: 500 .75rem/1 var(--mono); }
@media (max-width: 900px) { .topic-head { grid-template-columns: 1fr; } }

/* ---------- Light motion: reveals with stagger, only when the visitor allows motion ---------- */
.js-motion .reveal { opacity: 0; transform: translateY(12px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.js-motion .reveal.in { opacity: 1; transform: none; }
.js-motion .ggrid .reveal:nth-child(2), .js-motion .prods .reveal:nth-child(2), .js-motion .sl-rows .reveal:nth-child(2), .js-motion .cards .reveal:nth-child(2) { transition-delay: .07s; }
.js-motion .ggrid .reveal:nth-child(3), .js-motion .prods .reveal:nth-child(3), .js-motion .sl-rows .reveal:nth-child(3), .js-motion .cards .reveal:nth-child(3) { transition-delay: .14s; }
.js-motion .sl-rows .reveal:nth-child(4) { transition-delay: .21s; } .js-motion .sl-rows .reveal:nth-child(5) { transition-delay: .28s; } .js-motion .sl-rows .reveal:nth-child(6) { transition-delay: .35s; }
.js-motion .sl-hero-copy > * { animation: rise .6s var(--ease) both; }
.js-motion .sl-hero-copy > :nth-child(2) { animation-delay: .06s; } .js-motion .sl-hero-copy > :nth-child(3) { animation-delay: .12s; } .js-motion .sl-hero-copy > :nth-child(4) { animation-delay: .18s; } .js-motion .sl-hero-copy > :nth-child(5) { animation-delay: .24s; }
.js-motion .hc { animation: rise .7s .15s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.btn, .u-link, .gcard, .prod, .sl-row, .tcard, .card, .topic-chip { will-change: auto; }

/* ---------- Membership (public) and Work with me ---------- */
.inside-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.inside-col { padding: 22px 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.inside-col.lab { border-color: color-mix(in srgb, var(--violet) 35%, var(--line)); background: linear-gradient(180deg, color-mix(in srgb, var(--violet) 6%, #fff), #fff); }
.inside-col h3 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; margin: 0 0 12px; }
.inside-col h3 .ic { width: 15px; height: 15px; color: var(--violet); }
.inside-col h3 small { margin-left: auto; font: 500 .75rem/1 var(--mono); color: var(--muted); }
.inside-list { list-style: none; margin: 0; padding: 0; display: grid; }
.inside-list li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.inside-list .dl-ext { flex: none; }
.inside-body { display: grid; gap: 2px; min-width: 0; }
.inside-body strong, .inside-body > a { font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.inside-body > a:hover { color: var(--violet); }
.inside-body small { color: var(--muted); font-size: .85rem; }
.inside-body small a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); }
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.path { display: grid; gap: 12px; align-content: start; padding: clamp(24px, 3vw, 36px); border-radius: 24px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.path:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(10, 30, 40, .35); }
.path h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 0; }
.path p { color: var(--muted); margin: 0; }
.path .btn { justify-self: start; margin-top: 8px; }
.path-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-deep); }
.path-ic .ic { width: 22px; height: 22px; }
.path-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.path-list li { display: flex; gap: 10px; align-items: center; font-size: .97rem; }
.path-list .ic { width: 15px; height: 15px; color: var(--teal-deep); flex: none; }
.path.partner { background: var(--navy); border-color: transparent; color: #fff; }
.path.partner h2, .path.partner .path-list li { color: #fff; }
.path.partner p { color: rgba(255, 255, 255, .72); }
.path.partner .eyebrow { color: var(--amber); }
.path.partner .path-ic { background: rgba(255, 255, 255, .1); color: var(--amber); }
.path.partner .path-list .ic { color: var(--amber); }
.partner-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 28px; color: var(--muted); font-weight: 500; }
.partner-strip .eyebrow { margin-right: 6px; }
@media (max-width: 760px) { .inside-grid, .paths { grid-template-columns: 1fr; } }

/* ---------- Articles (guides without a video) ---------- */
.gph.article { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, color-mix(in srgb, var(--c, var(--teal)) 14%, #fff), color-mix(in srgb, var(--c, var(--teal)) 4%, var(--paper))); color: var(--c, var(--teal)); }
.gph.article .ic { width: 30px; height: 30px; opacity: .9; }
.gkind { position: absolute; right: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 99px; background: #fff; color: var(--navy); font: 600 .72rem/1.2 var(--body); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.gkind .ic { width: 12px; height: 12px; }
.chip.chip-kind { gap: 6px; }
.chip.chip-kind .ic { width: 13px; height: 13px; }
.chip.chip-kind[aria-pressed="true"] { background: var(--navy); color: #fff; }
.dl-import { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 12px 16px; border-radius: 14px; background: color-mix(in srgb, var(--blue) 8%, #fff); border: 1px solid color-mix(in srgb, var(--blue) 25%, var(--line)); font-size: .93rem; color: var(--ink); }
.dl-import .ic { width: 18px; height: 18px; color: var(--blue); flex: none; }
.dl-import a { font-weight: 600; color: var(--blue); }

/* ---------- Guide page, quieter ---------- */
/* UI labels in the steps read as words, not boxes: a light tint, no border */
.guide code, .gneeds code, .gsteps code, .gtips code, .gfaq code { border: 0; background: color-mix(in srgb, var(--teal) 9%, transparent); color: var(--ink); padding: .06em .32em; border-radius: 5px; font-size: .88em; font-weight: 500; }
/* Expressions get their own line so they can be read and copied */
.guide code.expr { display: block; width: fit-content; max-width: 100%; margin: 6px 0; padding: 10px 14px; border-radius: 10px; background: var(--navy); color: #d9f5ec; font-size: .86rem; line-height: 1.5; white-space: pre-wrap; word-break: break-all; overflow-x: auto; }
.gstep-body li > code.expr, .gstep-body p > code.expr:only-child { margin-top: 2px; }
.gsteps-head h2 { font-size: clamp(1.45rem, 2.4vw, 1.75rem); }
.gstep-body ul, .gstep-body ol { padding-left: 1.2em; margin: 8px 0 12px; display: grid; gap: 6px; }
.gstep-body ul { list-style: disc; }
.gstep-body ul li::marker { color: var(--teal-deep); }
.gstep-body p { margin: 0 0 10px; }
.gstep-body p:last-of-type { margin-bottom: 0; }
.gstep-tools { margin-top: 12px; opacity: .85; }
.gstep-tools .linkish, .gstep-tools label, .gstep-tools button { font-size: .82rem; }

/* ---------- Guides list: chips as links, pager ---------- */
a.chip { text-decoration: none; }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--teal)); margin-right: 6px; flex: none; }
.chip[aria-pressed="true"] .chip-dot { background: #fff; }
.searchbox { position: relative; }
.chip-x { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); background: var(--mist); }
.chip-x .ic { width: 14px; height: 14px; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: clamp(32px, 4vw, 48px); padding-top: 22px; border-top: 1px solid var(--line); }
.pager-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); text-decoration: none; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.pager-arrow:hover { border-color: var(--teal); }
.pager-arrow.off { color: var(--muted); opacity: .5; }
.pager-arrow .ic { width: 16px; height: 16px; }
.pager-pages { display: flex; align-items: center; gap: 4px; }
.pager-n { min-width: 38px; height: 38px; padding: 0 8px; display: grid; place-items: center; border-radius: 10px; font: 600 .92rem/1 var(--mono); color: var(--muted); text-decoration: none; }
.pager-n:hover { background: var(--mist); color: var(--ink); }
.pager-n.on { background: var(--navy); color: #fff; }
.pager-gap { color: var(--muted); padding: 0 4px; }
.pager-note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 12px; }
@media (max-width: 640px) { .pager { flex-wrap: wrap; justify-content: center; } .pager-pages { order: 3; width: 100%; justify-content: center; } }
.prod-kind { display: inline-block; margin: 0 0 6px; font: 600 .72rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--teal-deep); }

/* ---------- Phone polish ---------- */
.hl { white-space: nowrap; }
@media (max-width: 640px) {
  .sl-hero-copy h1 { font-size: clamp(2.2rem, 11vw, 2.8rem); }
  .sl-hero-copy .lead { font-size: 1.02rem; }
  .sl-ctas { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 24px; }
  .sl-ctas .btn { justify-content: center; }
  .sl-ctas .u-link { justify-content: center; align-self: center; }
  .sl-ticks { gap: 8px; font-size: .92rem; }
  .eyebrow { letter-spacing: .12em; }
  /* topic rows: number, name with the count underneath, arrow */
  .sl-row { grid-template-columns: 28px minmax(0, 1fr) 20px; gap: 12px; padding: 16px 0; }
  .sl-row h3 { font-size: 1.1rem; gap: 10px; }
  .sl-row h3 i { width: 10px; height: 10px; }
  .sl-count { grid-column: 2; text-align: left; margin-top: -6px; padding-left: 20px; font-size: .74rem; }
  .sl-no { grid-column: 1; grid-row: 1; } .sl-row h3 { grid-column: 2; grid-row: 1; } .sl-count { grid-row: 2; } .sl-ar { grid-column: 3; grid-row: 1 / span 2; }
  .head-row { gap: 8px; }
  .section { padding-block: clamp(40px, 10vw, 56px); }
  .sl-consult { padding: 22px; }
  .sl-consult .btn { width: 100%; justify-content: center; }
  .sl-members { padding: 26px 20px; }
  .sl-members .sl-ctas { align-items: stretch; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .foot-about { grid-column: 1 / -1; }
  .foot-about .foot-actions .btn { flex: 1; justify-content: center; }
  .foot-grid > div:last-child { grid-column: 1 / -1; }
  .foot-grid > div:last-child ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .prod-buy { flex-wrap: wrap; }
  .prod-buy .btn { flex: 1; justify-content: center; }
  .page-hero h1 { font-size: clamp(1.9rem, 9vw, 2.4rem); }
  .filterbar .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .filterbar .chips::-webkit-scrollbar { display: none; }
  .filterbar .chip { flex: none; }
}
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.page-hero .stats { margin-top: clamp(32px, 5vw, 52px); }
.panel .stats .stat { padding: 18px 16px 22px; }
.panel .stats .stat strong { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }

/* ---------- Author ---------- */
.about-author { display: flex; align-items: center; gap: 26px; margin-bottom: 30px; }
.about-author p { margin: 8px 0 0; color: var(--muted); }
.hc-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .72rem; color: #b8c6da; }
.hc-controls button { background: transparent; border: 1px solid #687b98; border-radius: 6px; padding: 6px 9px; color: #fff; font: inherit; cursor: pointer; }
.hc:not(.rotating) .hc-bar i { animation: none !important; }
.hc.rotating .hc-bar i { animation-duration: var(--hc-time, 4.5s); }
.announce-dot, .yt-play::before { animation: none; }
.js-motion .reveal { opacity: 1; transform: none; transition: none; }
.js-motion .reveal.in { animation: soft-arrive 420ms ease-out both; }
.js-motion .reveal.in.seen { animation: none; } /* already on screen when the page opened: no dim-and-return flicker */
@keyframes soft-arrive { from { opacity: .35; transform: translateY(7px); } to { opacity: 1; transform: none; } }
body[data-motion="off"] *, body[data-motion="off"] *::before, body[data-motion="off"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) { .js-motion .reveal.in, .hc.auto * { animation: none !important; } }
@media (max-width: 560px) { .about-author { gap: 18px; } .about-author .portrait { width: 104px; height: 104px; } .hc-controls { padding-inline: 18px; } }
.author-line { display: inline-flex; align-items: center; gap: 8px; }
.author-line .portrait { border: 1.5px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.author-line a { color: var(--ink); font-weight: 600; text-decoration: none; }
.author-line a:hover { color: var(--teal-deep); }
.guide-meta .guide-author { display: inline-flex; }
.author-box { display: grid; grid-template-columns: 88px 1fr; gap: 22px; align-items: start; margin-top: clamp(28px, 4vw, 44px); padding: clamp(20px, 3vw, 28px); border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.portrait { display: inline-block; flex: none; width: var(--portrait-size); height: var(--portrait-size); border-radius: 50%; overflow: hidden; vertical-align: middle; }
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--portrait-x) var(--portrait-y); transform: scale(var(--portrait-zoom)); transform-origin: var(--portrait-x) var(--portrait-y); }
.author-photo { box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 18%, transparent); }
.author-text { display: grid; gap: 4px; min-width: 0; }
.author-label { font: 500 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); }
.author-text strong { font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; }
.author-role { color: var(--muted); font-size: .9rem; }
.author-text p { margin: 8px 0 0; color: var(--text); font-size: .97rem; line-height: 1.6; }
.author-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; }
.author-links a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: .9rem; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--teal); padding-bottom: 1px; }
.author-links a:hover { color: var(--teal-deep); }
.author-links .ic { width: 13px; height: 13px; }
.archive-end { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin: 22px 0 clamp(40px, 6vw, 72px); }
@media (max-width: 560px) { .author-box { grid-template-columns: 1fr; } .author-photo { width: 72px; height: 72px; } }

/* ---------- Downloads: tabs, filters, show more ---------- */
.dl-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.dl-tab { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 600 1rem var(--body); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.dl-tab .ic { width: 16px; height: 16px; color: var(--teal-deep); }
.dl-tab small { font: 500 .74rem/1 var(--mono); padding: 4px 7px; border-radius: 99px; background: var(--mist); color: var(--muted); }
.dl-tab.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.dl-tab.on .ic { color: var(--mint); }
.dl-tab.on small { background: rgba(255, 255, 255, .14); color: #fff; }
.dl-tab.members.on { background: var(--violet); border-color: var(--violet); }
.dl-tab.members.on .ic { color: #fff; }
.dl-help { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--blue); text-decoration: none; }
.dl-help .ic { width: 15px; height: 15px; }
.dl-tools { display: grid; gap: 12px; margin-bottom: 20px; }
.dl-search { max-width: 520px; }
.dl-tools .chips .chip { cursor: pointer; }
.dl-tools .chip.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.dl-tools .chip.on small { color: rgba(255, 255, 255, .7); }
.dl-tools .chip.on .chip-dot { background: #fff; }
.dl-item[hidden] { display: none; }
.dl-more { margin: 22px 0 0; text-align: center; }
.dl-more small { font: 500 .74rem/1 var(--mono); padding: 3px 7px; border-radius: 99px; background: var(--mist); color: var(--muted); margin-left: 6px; }
@media (max-width: 640px) { .dl-help { margin-left: 0; width: 100%; } .dl-tab { flex: 1; justify-content: center; padding: 11px 12px; font-size: .95rem; } }
.dl-tab-short { display: none; }
@media (max-width: 640px) {
  .dl-tab-long { display: none; } .dl-tab-short { display: inline; }
  .dl-tools .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .dl-tools .chips::-webkit-scrollbar { display: none; }
  .dl-tools .chip { flex: none; }
}
/* Downloads: two columns again, tools inside each column */
.dl-col { min-width: 0; }
.dl-col-head h2 small { font: 500 .8rem/1 var(--mono); color: var(--muted); margin-left: 8px; vertical-align: middle; }
.dl-col-head .dl-help { margin-left: 0; }
.dl-col.members .dl-col-head { padding: 18px 20px 0; }
.dl-col.members { padding: 0 0 20px; border-radius: 22px; background: color-mix(in srgb, var(--violet) 5%, transparent); }
.dl-col.members > *:not(.dl-col-head) { margin-inline: 20px; }
.dl-col.members .dl-panel { padding-top: 0; }
.dl-tools .dl-search { max-width: none; }
.dl-tools .chips { gap: 6px; }
.dl-tools .chip { padding: 6px 10px; font-size: .84rem; }
@media (max-width: 900px) { .dl-cols { grid-template-columns: 1fr; } }

/* ---------- For brands panel (home, Services): the sponsor offer in a dark card ---------- */
.brand-panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 52px); border-radius: 28px; background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--teal) 22%, var(--navy)) 0%, var(--navy) 55%); color: var(--night-text); position: relative; overflow: hidden; }
.brand-panel::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(232, 240, 255, .16) 1px, transparent 1.2px); background-size: 22px 22px; mask-image: linear-gradient(115deg, transparent 45%, #000 100%); pointer-events: none; }
.brand-panel > * { position: relative; }
.brand-panel .eyebrow { color: var(--teal); display: inline-flex; align-items: center; gap: 8px; }
.brand-panel .eyebrow::before { background: var(--teal); }
.brand-panel h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -.025em; line-height: 1.12; margin: 14px 0 14px; text-wrap: balance; }
.brand-panel h2 .hl { color: var(--teal); background-image: none; white-space: normal; }
.brand-panel p { color: var(--night-muted); max-width: 54ch; margin: 0; font-size: 1.05rem; }
.brand-panel .text-link { color: #fff; }
.brand-panel .text-link .ic { color: var(--teal); }
.bp-stats { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.bp-stats li { display: grid; gap: 2px; }
.bp-stats strong { font-size: 1.6rem; font-weight: 600; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; line-height: 1; }
.bp-stats span { font: 500 .72rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--night-muted); }
.bp-formats { list-style: none; margin: 0; padding: 6px 0 0; display: grid; }
.bp-formats li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--night-line); }
.bp-formats li:first-child { border-top: 0; padding-top: 0; }
.bp-formats .f-ic { flex: none; width: 38px; height: 38px; background: rgba(232, 240, 255, .08); color: var(--teal); }
.bp-formats strong { display: block; color: #fff; font-weight: 600; margin-bottom: 3px; }
.bp-formats div > span { color: var(--night-muted); font-size: .94rem; line-height: 1.5; }
.bp-formats .bp-rule { align-items: center; gap: 10px; color: var(--night-muted); font-size: .88rem; }
.bp-formats .bp-rule .ic { flex: none; color: var(--teal); }
@media (max-width: 860px) { .brand-panel { grid-template-columns: 1fr; padding: 26px 22px; border-radius: 22px; } .bp-formats { padding-top: 0; } .bp-formats li:first-child { border-top: 1px solid var(--night-line); padding-top: 16px; } }
@media (max-width: 480px) { .brand-panel .hero-ctas .btn { width: 100%; justify-content: center; } .bp-stats { gap: 10px 22px; } .bp-stats strong { font-size: 1.4rem; } }

/* Guide header: "Member files" / "Free download" pill that jumps to the files box */
.guide-meta .gfiles { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 99px; background: var(--teal-soft); color: var(--teal-deep); font-weight: 600; text-decoration: none; }
.guide-meta .gfiles.mem { background: var(--violet-soft); color: var(--violet); }
.guide-meta .gfiles:hover { filter: brightness(.97); text-decoration: underline; }

/* Guide right column: the full rail can scroll in short windows.
   Steps never lose height just because an advertisement is enabled or blocked. */
.side-stick { position: sticky; top: 96px; display: grid; gap: 22px; align-content: start; max-height: max(180px, calc(100vh - 112px)); overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: thin; }
.side-stick .toc { position: static; max-height: none; overflow: visible; }
.side-stick .toc ol { max-height: none; overflow: visible; }
.side-stick .ad-sidebar { min-height: 0; height: 274px; margin: 0; padding: 0; text-align: left; }
.side-stick .ad-sidebar .ad-label { margin-bottom: 6px; }
/* In-content ads get air around them so they never read as part of a step */
.guide-main > .ad, .gsteps + .ad { margin: 28px 0; padding-block: 14px; border-block: 1px solid var(--line); }

/* Testimonials (home, Services, service pages) */
.tm-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tm-grid.n1 { grid-template-columns: minmax(0, 720px); }
.tm-grid.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tm { position: relative; margin: 0; display: flex; flex-direction: column; gap: 18px; padding: 28px 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.tm-mark { display: block; height: 22px; margin-bottom: -6px; font: 700 3.4rem/.9 Georgia, serif; color: var(--teal); opacity: .45; }
.tm blockquote { margin: 0; flex: 1; font-size: 1.04rem; line-height: 1.65; color: var(--ink); }
.tm figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.tm figcaption img, .tm-initial { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.tm-initial { display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-deep); font-weight: 700; }
.tm figcaption strong { display: block; color: var(--ink); font-weight: 600; }
.tm figcaption small { display: block; color: var(--muted); font-size: .88rem; margin-top: 2px; }
@media (max-width: 900px) { .tm-grid, .tm-grid.n2 { grid-template-columns: 1fr; } }

/* Guide navigation stays independent of advertisements and browser-local progress. */
.guide-jump { margin: 0 0 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); padding: 12px 16px; }
.guide-jump summary { cursor: pointer; font-size: .92rem; font-weight: 600; color: var(--ink); }
.guide-jump summary span { color: var(--muted); font-weight: 400; }
.guide-jump nav { max-height: min(50vh, 360px); overflow-y: auto; margin-top: 12px; }
.guide-jump ol { padding-left: 24px; margin: 0; }
.guide-jump a { display: block; padding: 5px 8px; color: var(--text); font-size: .9rem; }
.guide-heading-layout { min-width: 0; }
.guide-heading-layout > .ad-title_right { display: none; margin: 0; padding: 0; min-height: 274px; align-self: start; }
@media (min-width: 1021px) { .guide-grid { grid-template-columns: minmax(0, 1fr) 300px; } }
@media (min-width: 1101px) {
  .guide-heading-layout.with-title-placement { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); align-items: start; }
  .guide-heading-layout > .ad-title_right { display: block; }
  .guide-heading-layout > .ad-title_right:has(ins[data-ad-status="unfilled"]) { display: none; }
}
