/*
Theme Name: Themora
Theme URI: https://themora.example.com/themes/themora/
Author: Themora
Author URI: https://themora.example.com/
Description: The Themora flagship: a storefront theme for selling digital products through external checkout links (lava.top, Gumroad-style payment pages — any hosted checkout). Products are ordinary posts in a category you pick; the category archive becomes a filterable catalog, each product gets a buy box with price, what's-included list and a Buy button to your checkout URL, and posts outside the products category keep a quiet blog layout. Six homepage layouts, a light/dark mode toggle, CSS-drawn browser-mockup product art for posts without images, and every color token exposed in the Customizer.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: themora
Tags: e-commerce, portfolio, blog, one-column, two-columns, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, sticky-post, threaded-comments, translation-ready
*/

/* =============================================================
   THEMORA — flagship storefront theme by Themora (WordPress edition)
   -------------------------------------------------------------
   Sections 1–15 are the theme's design system, unchanged from
   the Themora design language (demo brand: Lumen Goods).
   Section 16 adds the WordPress core styles (alignments,
   captions, blocks, comments, pagination, widgets).
   Colors can be changed under Appearance → Customize →
   Themora: Theme Options, no code required. Dark mode follows
   the visitor's system preference, with an in-page toggle.
   ============================================================= */

/* 1. TOKENS ------------------------------------------------------------- */
:root {
  /* light palette */
  --ground: #F5F6F3;
  --surface: #FFFFFF;
  --surface-2: #EDEFE9;
  --ink: #191C1E;
  --muted: #5B615C;
  --hairline: #DDE0D8;
  --hairline-strong: #C9CDC4;
  --accent: #0F5D4B;
  --accent-hover: #0C4C3D;
  --accent-ink: #FFFFFF;
  --accent-soft: #E3EEE9;
  --price: #9A6410;
  --frame: #EDEFE9;
  --chip: #EFF1EC;
  --chip-active: #191C1E;
  --chip-active-ink: #F5F6F3;
  --danger: #B3362B;
  --focus: #0F5D4B;
  --shadow: 0 1px 2px rgba(20, 30, 25, .06), 0 12px 32px -12px rgba(20, 30, 25, .14);
  --shadow-lg: 0 2px 4px rgba(20, 30, 25, .06), 0 28px 60px -24px rgba(20, 30, 25, .28);
  --selection: #CFE3DB;

  /* type */
  --font-display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-body: 'Albert Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Spline Sans Mono', ui-monospace, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;

  --fs-xs: 12px;
  --fs-sm: 13.5px;
  --fs-base: 16px;
  --fs-md: 17px;
  --fs-lg: clamp(17px, 2vw, 20px);
  --fs-h3: 19px;
  --fs-h2: clamp(28px, 4vw, 44px);
  --fs-h1: clamp(40px, 7.2vw, 86px);
  --lh: 1.6;

  /* geometry */
  --wrap: 1180px;
  --wrap-narrow: 760px;
  --gutter: clamp(18px, 4vw, 40px);
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --section-pad: clamp(56px, 8vw, 104px);
  --nav-h: 62px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #111413;
    --surface: #191D1B;
    --surface-2: #202522;
    --ink: #E9ECE6;
    --muted: #9AA39B;
    --hairline: #2A2F2B;
    --hairline-strong: #3A403B;
    --accent: #4BB093;
    --accent-hover: #5FC3A5;
    --accent-ink: #0E1A15;
    --accent-soft: #1C2924;
    --price: #D9A94E;
    --frame: #202522;
    --chip: #232825;
    --chip-active: #E9ECE6;
    --chip-active-ink: #111413;
    --danger: #E07A6E;
    --focus: #4BB093;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -12px rgba(0, 0, 0, .5);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 28px 60px -24px rgba(0, 0, 0, .7);
    --selection: #23433A;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --ground: #111413;
  --surface: #191D1B;
  --surface-2: #202522;
  --ink: #E9ECE6;
  --muted: #9AA39B;
  --hairline: #2A2F2B;
  --hairline-strong: #3A403B;
  --accent: #4BB093;
  --accent-hover: #5FC3A5;
  --accent-ink: #0E1A15;
  --accent-soft: #1C2924;
  --price: #D9A94E;
  --frame: #202522;
  --chip: #232825;
  --chip-active: #E9ECE6;
  --chip-active-ink: #111413;
  --danger: #E07A6E;
  --focus: #4BB093;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -12px rgba(0, 0, 0, .5);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 28px 60px -24px rgba(0, 0, 0, .7);
  --selection: #23433A;
  color-scheme: dark;
}

/* 2. BASE ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--selection); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -.01em;
}
h1 { font-size: var(--fs-h1); font-weight: 700; letter-spacing: -.015em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
img, svg { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; border-top: 1px solid var(--hairline); margin: var(--s-6) 0; }
[hidden] { display: none !important; }
small { font-size: var(--fs-sm); }
strong, b { font-weight: 600; }
code, kbd { font-family: var(--font-mono); font-size: .88em; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.price, .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--price); font-weight: 600; }
.price s { color: var(--muted); font-weight: 400; font-size: .72em; margin-left: 6px; }
.tick { color: var(--accent); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* skip link */
.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: 10px 16px;
  border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--s-4); }

/* 3. LAYOUT -------------------------------------------------------------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: var(--wrap-narrow); margin: 0 auto; padding: 0 var(--gutter); }
.section { border-top: 1px solid var(--hairline); padding: var(--section-pad) 0; }
.section-flush { border-top: 0; }
.section-tight { padding: clamp(36px, 5vw, 64px) 0; }
.sec-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--s-5); flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 52px);
}
.sec-head .count, .count { font-family: var(--font-mono); color: var(--muted); font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.eyebrow {
  display: inline-block; font-family: var(--font-mono); font-size: var(--fs-xs);
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: var(--s-3);
}
.lede { font-size: var(--fs-lg); color: var(--muted); max-width: 62ch; margin: 14px 0 0; }
.lede + .cta-row { margin-top: var(--s-6); }
.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.center .cta-row { justify-content: center; }
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 5vw, 56px); }
.page-head h1 { font-size: clamp(34px, 5.4vw, 64px); }
.page-head .lede { margin-top: 16px; }
.hairline-list { list-style: none; }
.hairline-list li { padding: 12px 0; border-top: 1px solid var(--hairline); }
.hairline-list li:first-child { border-top: 0; }
.rule { border-top: 1px solid var(--hairline); }
.stack > * + * { margin-top: var(--s-5); }

/* 4. BUTTONS, CHIPS, BADGES --------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 6px; font-weight: 600; font-size: 15px; line-height: 1.2;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
  font-family: var(--font-body); white-space: nowrap;
}
.btn:hover { color: inherit; }
.btn-solid { background: var(--accent); color: var(--accent-ink); }
.btn-solid:hover { background: var(--accent-hover); color: var(--accent-ink); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { border-color: var(--hairline-strong); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-ink { background: var(--ink); color: var(--ground); }
.btn-ink:hover { color: var(--ground); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn .price-tag { font-family: var(--font-mono); font-weight: 600; font-variant-numeric: tabular-nums; opacity: .9; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.cta-row .note { font-size: var(--fs-sm); color: var(--muted); }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: var(--radius-pill);
  background: var(--chip); border: 1px solid transparent; font-family: var(--font-mono); font-size: var(--fs-xs);
  letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--ink); text-decoration: none; cursor: pointer;
}
.chip:hover { border-color: var(--hairline-strong); color: var(--ink); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--chip-active); color: var(--chip-active-ink); }
.chip .n { color: inherit; opacity: .6; }

.badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  font-family: var(--font-mono); padding: 3px 10px; border-radius: var(--radius-pill); background: var(--accent); color: var(--accent-ink);
}
.badge-soft { background: var(--accent-soft); color: var(--accent); }
.badge-price { background: var(--price); color: #fff; }
.cat {
  display: inline-block; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  font-family: var(--font-mono); padding: 4px 10px; border-radius: var(--radius-pill); background: var(--chip);
}
.swatch { width: 14px; height: 14px; border-radius: 50%; display: inline-block; flex: none; background: var(--p, var(--accent)); }

/* 5. HEADER / NAV -------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--ground);
  border-bottom: 1px solid var(--hairline);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); min-height: var(--nav-h); }
.logo { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.logo em { font-style: normal; color: var(--accent); }
.logo:hover { color: inherit; }
.site-nav { flex: 1; }
.nav-links { display: flex; gap: 4px; list-style: none; font-size: 14.5px; font-weight: 500; align-items: center; }
.nav-links > li { position: relative; }
.nav-links a, .menu-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 11px; border-radius: 6px;
  text-decoration: none; color: var(--muted); background: none; border: 0; cursor: pointer;
}
.nav-links a:hover, .nav-links a:focus-visible, .menu-btn:hover, .menu-btn[aria-expanded="true"] { color: var(--ink); background: var(--chip); }
.nav-links a[aria-current="page"] { color: var(--ink); }
.menu-btn::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.menu {
  list-style: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 6px; display: none; z-index: 60;
}
.menu li a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; }
.menu li a .mono { font-size: 11px; color: var(--muted); }
.has-menu:hover > .menu, .has-menu:focus-within > .menu, .menu.is-open { display: block; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle, .nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border-radius: 6px; border: 1px solid var(--hairline-strong); background: var(--surface); cursor: pointer; padding: 0;
}
.theme-toggle:hover, .nav-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle svg, .nav-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
.nav-toggle { display: none; }
.nav-toggle .bars { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%; background: var(--ground);
    border-bottom: 1px solid var(--hairline); padding: 10px var(--gutter) 18px; box-shadow: var(--shadow);
  }
  .nav-links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-links a, .menu-btn { width: 100%; justify-content: space-between; padding: 12px 10px; font-size: 16px; }
  .menu { position: static; box-shadow: none; border: 0; background: var(--surface-2); margin: 4px 0 8px; }
  .has-menu:hover > .menu { display: none; }
  .has-menu:focus-within > .menu, .menu.is-open { display: block; }
}

/* 6. FOOTER -------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--hairline); padding: clamp(40px, 6vw, 72px) 0 40px; color: var(--muted); font-size: 14px; margin-top: auto; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: var(--s-6); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand .logo { font-size: 18px; color: var(--ink); }
.foot-brand p { margin: 8px 0 0; max-width: 34ch; }
.foot-h { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin: 0 0 12px; font-weight: 600; }
.site-footer ul { list-style: none; }
.site-footer li { padding: 4px 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.foot-bottom {
  display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap;
  border-top: 1px solid var(--hairline); margin-top: var(--s-7); padding-top: var(--s-5); font-size: 12.5px;
}
.foot-bottom p { margin: 0; }
.foot-credit a { color: var(--ink); font-weight: 600; }

/* 7. HEROES -------------------------------------------------------------- */
.hero { padding: clamp(64px, 10vw, 130px) 0 clamp(48px, 7vw, 90px); }
.hero h1 { max-width: 15ch; }
.hero .lede { font-size: clamp(17px, 2.2vw, 21px); margin: 22px 0 0; }
.hero .cta-row { margin-top: 34px; }
.stats { display: flex; gap: clamp(28px, 6vw, 72px); flex-wrap: wrap; margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--hairline); padding-top: 28px; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { font-size: var(--fs-xs); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; font-family: var(--font-mono); }

/* split hero (home-2) */
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(48px, 7vw, 96px) 0; }
.hero-split h1 { font-size: clamp(38px, 5.6vw, 68px); }
@media (max-width: 860px) { .hero-split { grid-template-columns: 1fr; } }
.mock-stack { position: relative; display: grid; gap: 14px; }
.mock-stack .mock:nth-child(2) { margin-left: 12%; margin-top: -8%; box-shadow: var(--shadow-lg); }
.mock-stack .mock:nth-child(3) { margin-right: 18%; margin-top: -8%; box-shadow: var(--shadow-lg); }
@media (max-width: 480px) { .mock-stack .mock:nth-child(2), .mock-stack .mock:nth-child(3) { margin: 0; } }

/* centered hero (home-3) */
.hero-center { text-align: center; padding: clamp(56px, 9vw, 120px) 0 0; }
.hero-center h1 { margin: 0 auto; max-width: 18ch; font-size: clamp(38px, 6.4vw, 78px); }
.hero-center .lede { margin: 22px auto 0; }
.hero-center .cta-row { justify-content: center; margin-top: 30px; }
.hero-center .stage { margin: clamp(40px, 6vw, 72px) auto 0; max-width: 900px; }
.hero-center .stage .mock { box-shadow: var(--shadow-lg); }
.stage-caption { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* strip hero (home-4) */
.hero-strip { padding: clamp(36px, 5vw, 64px) 0 clamp(24px, 3vw, 36px); display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-5); flex-wrap: wrap; }
.hero-strip h1 { font-size: clamp(32px, 4.6vw, 56px); max-width: 20ch; }

/* bold hero (home-5) */
.hero-bold { background: var(--accent); color: var(--accent-ink); padding: clamp(72px, 12vw, 160px) 0 clamp(56px, 8vw, 110px); }
.hero-bold .eyebrow { color: var(--accent-ink); opacity: .75; }
.hero-bold h1 { font-size: clamp(48px, 10vw, 128px); max-width: 12ch; line-height: .98; letter-spacing: -.03em; }
.hero-bold .lede { color: var(--accent-ink); opacity: .85; font-size: clamp(18px, 2.4vw, 24px); }
.hero-bold .btn-solid { background: var(--accent-ink); color: var(--accent); }
.hero-bold .btn-solid:hover { background: var(--accent-ink); color: var(--accent); }
.hero-bold .btn-ghost { background: transparent; color: var(--accent-ink); border-color: currentColor; }
.hero-bold .btn-ghost:hover { color: var(--accent-ink); border-color: var(--accent-ink); }
.hero-bold .stats { border-top-color: rgba(255, 255, 255, .25); }
.hero-bold .stat span { color: var(--accent-ink); opacity: .7; }
.marquee { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); overflow: hidden; padding: 14px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; font-family: var(--font-mono); font-size: var(--fs-sm); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.marquee-track span::before { content: "·"; margin-right: 48px; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }
.big-stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--hairline); background: var(--hairline); gap: 1px; }
@media (max-width: 760px) { .big-stats { grid-template-columns: 1fr 1fr; } }
.big-stat { background: var(--surface); padding: clamp(24px, 4vw, 44px) clamp(18px, 3vw, 32px); }
.big-stat b { display: block; font-family: var(--font-display); font-size: clamp(40px, 6vw, 84px); font-weight: 700; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.big-stat span { display: block; margin-top: 10px; color: var(--muted); font-size: var(--fs-sm); }
.manifesto { font-family: var(--font-display); font-size: clamp(24px, 3.6vw, 44px); font-weight: 500; line-height: 1.25; max-width: 26ch; letter-spacing: -.01em; text-wrap: balance; }
.manifesto em { font-style: italic; color: var(--accent); }
.bold-list { list-style: none; border-top: 1px solid var(--ink); }
.bold-list li { border-bottom: 1px solid var(--hairline); }
.bold-list a { display: grid; grid-template-columns: 56px 1fr auto auto; gap: clamp(12px, 3vw, 40px); align-items: baseline; padding: clamp(18px, 3vw, 30px) 0; text-decoration: none; }
.bold-list a:hover { color: inherit; }
.bold-list a:hover .name { color: var(--accent); }
.bold-list .idx { font-family: var(--font-mono); color: var(--muted); font-size: var(--fs-sm); }
.bold-list .name { font-family: var(--font-display); font-size: clamp(24px, 4vw, 48px); font-weight: 600; letter-spacing: -.02em; line-height: 1.05; }
.bold-list .kind { color: var(--muted); font-size: var(--fs-sm); }
.bold-list .price { font-size: clamp(18px, 2.4vw, 28px); }
@media (max-width: 600px) { .bold-list a { grid-template-columns: 40px 1fr auto; } .bold-list .kind { grid-column: 2; } }
.dark-block { background: var(--ink); color: var(--ground); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 64px); }
.dark-block .eyebrow { color: var(--price); }
.dark-block .muted { color: var(--ground); opacity: .7; }
.dark-block .btn-solid { background: var(--ground); color: var(--ink); }
.dark-block .btn-solid:hover { background: var(--ground); color: var(--ink); }

/* minimal (home-6) */
.hero-min { padding: clamp(56px, 9vw, 120px) 0 clamp(32px, 5vw, 56px); }
.hero-min h1 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 500; max-width: 24ch; }
.hero-min p { max-width: 54ch; color: var(--muted); margin-top: 18px; }
.index-list { list-style: none; border-top: 1px solid var(--ink); }
.index-list li { border-bottom: 1px solid var(--hairline); }
.index-list .row { display: grid; grid-template-columns: 48px 1.4fr 1fr .8fr auto auto; gap: 16px; align-items: center; padding: 16px 0; }
.index-list .row:hover { background: linear-gradient(90deg, var(--surface), transparent); }
.index-list .idx, .index-list .fmt { font-family: var(--font-mono); color: var(--muted); font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.index-list .name { font-weight: 600; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.index-list .name:hover { color: var(--accent); }
.index-list .kind { color: var(--muted); font-size: var(--fs-sm); }
.index-list .price { font-size: 15px; }
.index-list .buy { font-size: var(--fs-sm); font-weight: 600; color: var(--accent); text-decoration: none; }
.index-list .buy:hover { text-decoration: underline; }
.index-list .head { display: grid; grid-template-columns: 48px 1.4fr 1fr .8fr auto auto; gap: 16px; padding: 10px 0; font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) {
  .index-list .head { display: none; }
  .index-list .row { grid-template-columns: 36px 1fr auto; grid-template-areas: "idx name price" "idx kind buy"; row-gap: 4px; }
  .index-list .idx { grid-area: idx; }
  .index-list .name { grid-area: name; }
  .index-list .kind { grid-area: kind; }
  .index-list .fmt { display: none; }
  .index-list .price { grid-area: price; }
  .index-list .buy { grid-area: buy; justify-self: end; }
}

/* 8. CATALOG ------------------------------------------------------------- */
/* two-column product row (catalog-first layouts) */
.product-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start;
  border: 1px solid var(--hairline); background: var(--surface); border-radius: 10px;
  padding: clamp(22px, 3.5vw, 44px); margin-bottom: clamp(20px, 3vw, 36px); box-shadow: var(--shadow);
}
@media (max-width: 860px) { .product-row { grid-template-columns: 1fr; } }
.product-row .idx { font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--muted); font-variant-numeric: tabular-nums; }
.product-row .cat { margin-left: 10px; color: var(--p, var(--accent)); }
.product-row h3, .product-row h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; margin: 12px 0 4px; display: flex; align-items: center; gap: 12px; }
.product-row h3 a, .product-row h2 a { text-decoration: none; }
.product-row .price { font-size: 22px; margin: 2px 0 12px; }
.product-row .price small { font-size: var(--fs-xs); color: var(--muted); font-weight: 400; font-family: var(--font-body); }
.product-row .blurb { color: var(--muted); font-size: 15px; margin: 0 0 16px; max-width: 52ch; }
.checks { list-style: none; margin: 0 0 20px; font-size: 14px; }
.checks li { padding: 5px 0 5px 24px; position: relative; }
.checks li::before {
  content: ""; position: absolute; left: 2px; top: 12px; width: 11px; height: 6px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.checks li.na { color: var(--muted); opacity: .6; }
.checks li.na::before { border-left: 0; width: 10px; height: 0; transform: none; top: 15px; border-color: var(--muted); }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.actions .btn { padding: 10px 16px; font-size: 14px; }

/* compact product card (grids) */
.product-card {
  display: flex; flex-direction: column; border: 1px solid var(--hairline); background: var(--surface);
  border-radius: 10px; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; position: relative;
}
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.product-card .mock { border: 0; border-radius: 0; border-bottom: 1px solid var(--hairline); }
.product-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.product-card .cat { color: var(--p, var(--accent)); }
.product-card h3 { font-size: 21px; font-weight: 700; }
.product-card h3 a { text-decoration: none; }
.product-card h3 a::after { content: ""; position: absolute; inset: 0; }
.product-card .kind { color: var(--muted); font-size: var(--fs-sm); }
.product-card .foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--hairline); }
.product-card .price { font-size: 18px; }
.product-card .buy { position: relative; z-index: 1; font-size: var(--fs-sm); font-weight: 600; color: var(--accent); text-decoration: none; }
.product-card .buy:hover { text-decoration: underline; }
.product-card .ribbon { position: absolute; top: 12px; left: 12px; z-index: 2; }

/* mosaic (home-4) */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(120px, auto); gap: 14px; }
.mosaic .tile { grid-column: span 1; }
.mosaic .tile-lg { grid-column: span 2; grid-row: span 2; }
.mosaic .tile-wide { grid-column: span 2; }
.mosaic .tile-lg .mock-body { aspect-ratio: 16 / 11.2; }
.mosaic .tile-lg h3 { font-size: 26px; }
.mosaic .tile-wide { flex-direction: row; }
.mosaic .tile-wide .mock { width: 52%; flex: none; border-bottom: 0; border-right: 1px solid var(--hairline); display: flex; flex-direction: column; }
.mosaic .tile-wide .mock-body { flex: 1; aspect-ratio: auto; min-height: 180px; }
.mosaic .tile-wide .body { padding-top: 22px; }
@media (max-width: 960px) { .mosaic { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .mosaic { grid-template-columns: 1fr; } .mosaic .tile-lg, .mosaic .tile-wide { grid-column: span 1; grid-row: span 1; } .mosaic .tile-wide { flex-direction: column; } .mosaic .tile-wide .mock { width: auto; border-right: 0; border-bottom: 1px solid var(--hairline); } }

/* category tiles */
.cat-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
@media (max-width: 960px) { .cat-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .cat-tiles { grid-template-columns: repeat(2, 1fr); } }
.cat-tile { background: var(--surface); padding: 20px 18px; text-decoration: none; display: flex; flex-direction: column; gap: 6px; min-height: 120px; }
.cat-tile:hover { background: var(--accent-soft); color: inherit; }
.cat-tile b { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.cat-tile span { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--muted); }
.cat-tile svg { width: 22px; height: 22px; color: var(--accent); margin-bottom: 6px; }

/* catalog toolbar */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); flex-wrap: wrap; margin-bottom: clamp(24px, 4vw, 40px); }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .catalog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .catalog-grid { grid-template-columns: 1fr; } }
.catalog-empty { display: none; padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--hairline); border-radius: var(--radius); }
.catalog-empty.is-visible { display: block; }

/* 9. MOCKUPS ------------------------------------------------------------- */
.mock { --p: var(--accent); --p-soft: var(--accent-soft); border: 1px solid var(--hairline); border-radius: 8px; overflow: hidden; background: var(--frame); }
.mock-bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; border-bottom: 1px solid var(--hairline); }
.mock-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--hairline-strong); display: block; }
.mock-bar .url { margin-left: 8px; flex: 1; height: 12px; border-radius: 6px; background: var(--chip); }
.mock-body { aspect-ratio: 16 / 10.5; position: relative; background: var(--surface); overflow: hidden; padding: 6% 7%; display: flex; flex-direction: column; gap: 5%; }
.mock-body > * { flex: none; }
.mock-body div, .mock-body span, .mock-body i, .mock-body b, .mock-body em { display: block; border-radius: 3px; }
/* generic building blocks */
.mk-nav { height: 6%; display: flex; gap: 3%; align-items: center; }
.mk-nav .l { width: 14%; height: 60%; background: var(--p); }
.mk-nav i { width: 8%; height: 35%; background: var(--hairline-strong); }
.mk-nav b { margin-left: auto; width: 12%; height: 80%; background: var(--p); border-radius: 99px; }
.mk-h { height: 11%; width: 80%; background: var(--ink); opacity: .85; }
.mk-h.short { width: 55%; }
.mk-s { height: 6%; width: 65%; background: var(--hairline-strong); }
.mk-cta { height: 10%; width: 30%; background: var(--p); border-radius: 99px; }
.mk-line { height: 5%; background: var(--hairline-strong); }
/* portfolio: split hero + 3 tiles */
.sc-portfolio .mk-hero { flex: 1; display: flex; gap: 5%; }
.sc-portfolio .tx { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 8%; }
.sc-portfolio .img { width: 42%; background: var(--p); opacity: .82; }
.sc-portfolio .row { height: 26%; display: flex; gap: 4%; }
.sc-portfolio .row div { flex: 1; border: 1px solid var(--hairline); background: var(--surface-2); }
.sc-portfolio .row div:nth-child(2) { background: var(--p-soft); }
/* case: large image + text columns */
.sc-case .big { height: 48%; background: linear-gradient(135deg, var(--p), var(--p-soft)); }
.sc-case .cols { flex: 1; display: flex; gap: 5%; }
.sc-case .cols div { flex: 1; display: flex; flex-direction: column; gap: 10%; }
.sc-case .cols div:first-child { flex: .55; }
.sc-case .cols i { height: 8%; background: var(--hairline-strong); }
.sc-case .cols em { height: 14%; width: 70%; background: var(--ink); opacity: .8; }
/* about: portrait + text */
.sc-about .wrap2 { flex: 1; display: flex; gap: 6%; align-items: center; }
.sc-about .portrait { width: 34%; height: 90%; background: var(--p-soft); border: 1px solid var(--hairline); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.sc-about .portrait b { width: 60%; height: 60%; background: var(--p); border-radius: 50% 50% 0 0; opacity: .8; }
.sc-about .tx { flex: 1; display: flex; flex-direction: column; gap: 7%; }
.sc-about .tx i { height: 6%; background: var(--hairline-strong); }
.sc-about .tx i:nth-child(odd) { width: 92%; }
/* saas: centered hero + dashboard */
.sc-saas .mk-hero { height: 36%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10%; }
.sc-saas .mk-hero .mk-h { width: 48%; height: 18%; }
.sc-saas .mk-hero .mk-s { width: 34%; height: 9%; }
.sc-saas .btns { display: flex; gap: 3%; width: 30%; height: 15%; }
.sc-saas .btns b { flex: 1; background: var(--p); border-radius: 4px; }
.sc-saas .btns i { flex: 1; border: 1px solid var(--hairline-strong); border-radius: 4px; }
.sc-saas .dash { flex: 1; border: 1px solid var(--hairline); border-radius: 6px 6px 0 0; display: flex; overflow: hidden; }
.sc-saas .side { width: 22%; background: var(--surface-2); border-right: 1px solid var(--hairline); border-radius: 0; }
.sc-saas .main { flex: 1; padding: 4%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8%; }
.sc-saas .main div { border: 1px solid var(--hairline); background: var(--surface-2); }
.sc-saas .main div:first-child { background: var(--p-soft); }
/* pricing scene */
.sc-pricing .mk-hero { height: 22%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14%; }
.sc-pricing .mk-hero .mk-h { width: 40%; height: 30%; }
.sc-pricing .mk-tiers { flex: 1; display: flex; gap: 4%; align-items: flex-end; }
.sc-pricing .mk-tiers div { flex: 1; height: 88%; border: 1px solid var(--hairline); display: flex; flex-direction: column; gap: 9%; padding: 6%; }
.sc-pricing .mk-tiers div:nth-child(2) { height: 100%; border-color: var(--p); }
.sc-pricing .mk-tiers i { height: 6%; background: var(--hairline-strong); }
.sc-pricing .mk-tiers em { height: 14%; width: 55%; background: var(--ink); opacity: .8; }
.sc-pricing .mk-tiers b { margin-top: auto; height: 12%; background: var(--p); border-radius: 99px; }
/* agency: band headline + 4 cols */
.sc-agency .band { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 8%; border-bottom: 3px solid var(--p); padding-bottom: 5%; }
.sc-agency .band .mk-h { width: 68%; height: 14%; }
.sc-agency .band .mk-h + .mk-h { width: 46%; }
.sc-agency .band .mk-cta { height: 12%; width: 22%; border-radius: 3px; }
.sc-agency .cols { height: 34%; display: flex; gap: 4%; }
.sc-agency .cols div { flex: 1; display: flex; flex-direction: column; gap: 12%; }
.sc-agency .cols em { height: 24%; background: var(--p-soft); }
.sc-agency .cols div:first-child em { background: var(--p); }
.sc-agency .cols i { height: 9%; background: var(--hairline-strong); }
/* notion: sidebar app */
.sc-notion { padding: 0; gap: 0; }
.sc-notion .app { flex: 1; display: flex; border-radius: 0; }
.sc-notion .side { width: 22%; background: var(--surface-2); border-right: 1px solid var(--hairline); border-radius: 0; padding: 8% 4%; display: flex; flex-direction: column; gap: 8%; }
.sc-notion .side i { height: 5%; background: var(--hairline-strong); }
.sc-notion .side i:first-child { width: 60%; background: var(--p); }
.sc-notion .page { flex: 1; padding: 7% 9%; display: flex; flex-direction: column; gap: 6%; }
.sc-notion .icon { width: 9%; aspect-ratio: 1; background: var(--p); border-radius: 4px; }
.sc-notion .title { height: 9%; width: 58%; background: var(--ink); opacity: .85; }
.sc-notion .todo { display: flex; flex-direction: column; gap: 5%; height: 26%; }
.sc-notion .todo i { display: flex; align-items: center; gap: 3%; height: 22%; border-radius: 0; }
.sc-notion .todo i::before { content: ""; width: 5%; aspect-ratio: 1; border: 1.5px solid var(--p); border-radius: 2px; display: block; }
.sc-notion .todo i:first-child::before { background: var(--p); }
.sc-notion .todo i::after { content: ""; flex: 1; height: 40%; background: var(--hairline-strong); border-radius: 2px; display: block; }
.sc-notion .db { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5%; }
.sc-notion .db div { border: 1px solid var(--hairline); background: var(--surface); display: flex; flex-direction: column; gap: 10%; padding: 6%; }
.sc-notion .db div::before { content: ""; height: 20%; width: 50%; background: var(--p-soft); border-radius: 2px; display: block; }
.sc-notion .db div::after { content: ""; height: 12%; width: 80%; background: var(--hairline-strong); border-radius: 2px; display: block; }
/* icons grid */
.sc-icons { display: grid; grid-template-columns: repeat(8, 1fr); grid-auto-rows: 1fr; gap: 4%; }
.sc-icons span { display: flex; align-items: center; justify-content: center; border: 1px solid var(--hairline); background: var(--surface-2); color: var(--ink); border-radius: 12%; }
.sc-icons span:nth-child(5n) { background: var(--p-soft); color: var(--p); }
.sc-icons span svg { width: 52%; height: 52%; }
.sc-icons.duo span svg { fill: var(--p-soft); stroke: var(--p); }
/* ebook: cover + chapter lines */
.sc-ebook { flex-direction: row; align-items: center; gap: 8%; padding: 6% 10%; }
.sc-ebook .cover { width: 38%; aspect-ratio: 3 / 4.2; background: var(--p); border-radius: 3px 8px 8px 3px; box-shadow: var(--shadow-lg); padding: 10% 8%; display: flex; flex-direction: column; gap: 6%; position: relative; }
.sc-ebook .cover::before { content: ""; position: absolute; left: 6%; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, .35); }
.sc-ebook .cover i { height: 3%; width: 30%; background: rgba(255, 255, 255, .6); }
.sc-ebook .cover b { height: 9%; width: 82%; background: rgba(255, 255, 255, .92); }
.sc-ebook .cover b.short { width: 58%; }
.sc-ebook .cover em { margin-top: auto; height: 4%; width: 44%; background: rgba(255, 255, 255, .6); }
.sc-ebook .pages { flex: 1; display: flex; flex-direction: column; gap: 9%; }
.sc-ebook .pages i { height: 6%; background: var(--hairline-strong); }
.sc-ebook .pages i:nth-child(1) { width: 40%; background: var(--p); height: 8%; }
.sc-ebook .pages i:nth-child(3n) { width: 78%; }
/* presets: before/after photo + strip */
.sc-preset .photo { flex: 1; position: relative; overflow: hidden; border-radius: 4px; background: linear-gradient(180deg, #8f959a 0%, #b9bdb8 55%, #6f746e 56%, #4b4f4a 100%); }
.sc-preset .after { position: absolute; inset: 0; width: 56%; border-radius: 0; background: linear-gradient(180deg, var(--p) 0%, var(--p-soft) 55%, var(--ink) 56%, var(--p) 160%); opacity: .9; }
.sc-preset .handle { position: absolute; top: 0; bottom: 0; left: 56%; width: 2px; background: #fff; border-radius: 0; }
.sc-preset .handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 14px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); box-shadow: var(--shadow); }
.sc-preset .strip { height: 18%; display: flex; gap: 3%; }
.sc-preset .strip i { flex: 1; background: linear-gradient(160deg, var(--p-soft), var(--p)); opacity: .55; }
.sc-preset .strip i:nth-child(2) { opacity: .8; }
.sc-preset .strip i:nth-child(3) { opacity: 1; outline: 2px solid var(--p); outline-offset: -2px; }
.sc-preset .strip i:nth-child(5) { opacity: .35; }
/* course: player + lessons + progress */
.sc-course .player { flex: 1; display: flex; gap: 4%; }
.sc-course .video { flex: 1; background: var(--ink); display: flex; align-items: center; justify-content: center; border-radius: 4px; }
.sc-course .play { width: 0; height: 0; border-left: 14px solid var(--p); border-top: 9px solid transparent; border-bottom: 9px solid transparent; border-radius: 0; }
.sc-course .lessons { width: 30%; display: flex; flex-direction: column; gap: 7%; }
.sc-course .lessons i { height: 12%; background: var(--surface-2); border: 1px solid var(--hairline); }
.sc-course .lessons i.on { background: var(--p-soft); border-color: var(--p); }
.sc-course .progress { height: 5%; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.sc-course .progress b { height: 100%; background: var(--p); border-radius: 99px; }
/* thumbnail-sized variant */
.mock-sm .mock-bar { padding: 5px 7px; }
.mock-sm .mock-bar i { width: 5px; height: 5px; }
.mock-sm .mock-bar .url { height: 8px; }

/* 10. PRODUCT PAGE ------------------------------------------------------- */
.product-layout { display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .product-layout { grid-template-columns: 1fr; } }
.gallery .gal-main { box-shadow: var(--shadow-lg); }
.gal-item { margin-bottom: 14px; }
.js .gal-item:not(.is-active) { display: none; }
.gal-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.gal-thumb { background: none; border: 1px solid var(--hairline); border-radius: 6px; padding: 6px; cursor: pointer; text-align: left; display: block; width: 100%; }
.gal-thumb[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.gal-thumb .mock { pointer-events: none; }
.gal-thumb span { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-top: 6px; text-align: center; }
.buy-box { position: sticky; top: calc(var(--nav-h) + 16px); border: 1px solid var(--hairline); border-radius: var(--radius-lg); background: var(--surface); padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow); }
.buy-box .cat { color: var(--p, var(--accent)); }
.buy-box h1 { font-size: clamp(30px, 3.6vw, 42px); margin: 10px 0 6px; }
.buy-box .kind { color: var(--muted); }
.buy-box .price-line { display: flex; align-items: baseline; gap: 10px; margin: 18px 0 6px; }
.buy-box .price-line .price { font-size: 34px; }
.buy-box .price-line .note { font-size: var(--fs-sm); color: var(--muted); }
.license-picker { border: 0; padding: 0; margin: 18px 0; }
.license-picker legend { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: 10px; font-weight: 600; }
.license-option { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--hairline); border-radius: var(--radius); margin-bottom: 8px; cursor: pointer; background: var(--surface); }
.license-option:hover { border-color: var(--hairline-strong); }
.license-option:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); background: var(--accent-soft); }
.license-option input { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; }
.license-option b { display: block; font-size: 15px; }
.license-option small { color: var(--muted); display: block; }
.license-option .price { font-size: 16px; }
.buy-box .btn-block { margin-top: 6px; }
.buy-meta { list-style: none; margin-top: 18px; font-size: var(--fs-sm); color: var(--muted); display: grid; gap: 6px; }
.buy-meta li { display: flex; justify-content: space-between; gap: 12px; border-top: 1px dashed var(--hairline); padding-top: 6px; }
.buy-meta li span:last-child { color: var(--ink); font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.trust { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 16px; font-size: var(--fs-xs); color: var(--muted); font-family: var(--font-mono); letter-spacing: .04em; }
.trust span::before { content: "✓ "; color: var(--accent); }
.product-sections { margin-top: clamp(40px, 6vw, 72px); }
.product-sections > section { border-top: 1px solid var(--hairline); padding: clamp(32px, 5vw, 56px) 0; }
.product-sections h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 20px; }
.includes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); list-style: none; }
@media (max-width: 640px) { .includes { grid-template-columns: 1fr; } }
.includes li { background: var(--surface); padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.includes li b { display: block; }
.includes li span { color: var(--muted); font-size: var(--fs-sm); }
.includes li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); margin-top: 6px; }
.changelog-mini { list-style: none; border-top: 1px solid var(--hairline); }
.changelog-mini li { display: grid; grid-template-columns: 120px 90px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--hairline); font-size: 14.5px; }
.changelog-mini .d { font-family: var(--font-mono); color: var(--muted); font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.changelog-mini .v { font-family: var(--font-mono); color: var(--accent); font-weight: 600; font-size: var(--fs-sm); }
@media (max-width: 600px) { .changelog-mini li { grid-template-columns: 1fr; gap: 2px; } }

/* 11. TABLES ------------------------------------------------------------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--surface); }
.table { font-size: 14.5px; min-width: 620px; }
.table th, .table td { padding: 14px 16px; border-bottom: 1px solid var(--hairline); text-align: left; vertical-align: top; }
.table thead th { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--surface-2); }
.table tbody tr:last-child td { border-bottom: 0; }
.table td:first-child, .table th[scope="row"] { font-weight: 600; }
.table .yes { color: var(--accent); font-weight: 600; }
.table .no { color: var(--muted); }
.table .hl { background: var(--accent-soft); }
.table .price { font-size: 15px; }
.table-note { color: var(--muted); font-size: 14px; max-width: 70ch; margin-top: 18px; }

/* tiers */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.tier { border: 1px solid var(--hairline); border-radius: 10px; background: var(--surface); padding: 30px 28px; box-shadow: var(--shadow); position: relative; display: flex; flex-direction: column; }
.tier.hot { border-color: var(--accent); }
.tier .flag { position: absolute; top: -11px; left: 24px; }
.tier h3, .tier h2 { font-size: 22px; }
.tier .range { font-family: var(--font-mono); color: var(--price); font-size: 26px; font-weight: 600; margin: 8px 0 2px; font-variant-numeric: tabular-nums; }
.tier .range small { font-size: 13px; color: var(--muted); font-weight: 400; font-family: var(--font-body); }
.tier .who { font-size: var(--fs-sm); color: var(--muted); margin: 0 0 18px; }
.tier ul { list-style: none; font-size: 14px; margin-bottom: 22px; }
.tier ul li { padding: 6px 0 6px 24px; position: relative; border-top: 1px dashed var(--hairline); }
.tier ul li:first-child { border-top: 0; }
.tier ul li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.tier ul li.na { color: var(--muted); opacity: .55; }
.tier ul li.na::before { border-color: var(--muted); width: 10px; height: 0; border-bottom-width: 2px; border-left: 0; transform: none; top: 17px; }
.tier .btn { margin-top: auto; }

/* 12. BLOCKS ------------------------------------------------------------- */
.bundle { border: 1px solid var(--accent); border-radius: 12px; background: var(--accent-soft); padding: clamp(28px, 4.5vw, 52px); display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 820px) { .bundle { grid-template-columns: 1fr; } }
.bundle h2, .bundle h3 { font-size: clamp(26px, 3.4vw, 36px); }
.bundle p { color: var(--muted); font-size: 15px; max-width: 52ch; }
.bundle .bprice { font-family: var(--font-mono); font-size: clamp(34px, 4.5vw, 52px); font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; line-height: 1.1; }
.bundle .bprice s { color: var(--muted); font-size: .45em; font-weight: 400; margin-left: 10px; }
.bundle .fine { font-size: var(--fs-sm); color: var(--muted); margin: 8px 0 18px; }
.bundle-hero-price { font-family: var(--font-mono); font-size: clamp(44px, 7vw, 92px); font-weight: 600; color: var(--accent); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.bundle-hero-price s { color: var(--muted); font-size: .3em; font-weight: 400; margin-left: 14px; letter-spacing: 0; }
.bundle-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; }
@media (max-width: 900px) { .bundle-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .bundle-list { grid-template-columns: 1fr; } }
.bundle-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); font-size: 14.5px; }
.bundle-list li .price { margin-left: auto; font-size: 14px; }
.bundle-list li a { text-decoration: none; font-weight: 600; }

.props { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.prop { background: var(--surface); padding: 28px 26px; }
.prop h3 { font-size: 19px; margin-bottom: 8px; }
.prop p { font-size: 14.5px; color: var(--muted); margin: 0; }
.prop .mono { color: var(--accent); font-size: var(--fs-xs); display: block; margin-bottom: 14px; letter-spacing: .1em; font-weight: 600; }

.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.spec { background: var(--surface); padding: 22px; }
.spec b { display: block; font-size: 15px; margin-bottom: 4px; }
.spec span { font-size: var(--fs-sm); color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.step { border: 1px solid var(--hairline); border-radius: 10px; background: var(--surface); padding: 26px; }
.step .n { font-family: var(--font-mono); color: var(--accent); font-weight: 600; font-size: var(--fs-sm); letter-spacing: .12em; }
.step h3 { font-size: 19px; margin: 10px 0 8px; }
.step p { font-size: 14.5px; color: var(--muted); margin: 0; }

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.quote { border: 1px solid var(--hairline); border-radius: 10px; background: var(--surface); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.quote p { font-family: var(--font-display); font-size: 19px; line-height: 1.4; font-weight: 500; margin: 0; }
.quote footer { font-size: var(--fs-sm); color: var(--muted); display: flex; align-items: center; gap: 10px; margin-top: auto; }
.quote footer b { color: var(--ink); }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 12px; font-weight: 600; flex: none; }
.quote-big { text-align: center; max-width: 34ch; margin: 0 auto; font-family: var(--font-display); font-size: clamp(22px, 3.2vw, 36px); line-height: 1.3; font-weight: 500; }
.quote-big + footer { text-align: center; color: var(--muted); font-size: var(--fs-sm); margin-top: 20px; }
.stars { color: var(--price); letter-spacing: 2px; font-size: 13px; }

.faq details { border: 1px solid var(--hairline); border-radius: 8px; background: var(--surface); margin-bottom: 12px; overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--accent); font-size: 20px; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; max-width: 75ch; }
.faq details > div a { color: var(--ink); }
.faq-group { margin-bottom: clamp(28px, 4vw, 44px); }
.faq-group h2 { font-size: 22px; margin-bottom: 16px; }

.logo-strip { display: flex; gap: clamp(20px, 4vw, 48px); flex-wrap: wrap; align-items: center; justify-content: center; color: var(--muted); font-family: var(--font-display); font-size: 20px; font-weight: 600; opacity: .8; }

.newsletter { border: 1px solid var(--hairline); border-radius: var(--radius-lg); background: var(--surface); padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s-6); align-items: center; }
@media (max-width: 760px) { .newsletter { grid-template-columns: 1fr; } }
.newsletter h2 { font-size: clamp(22px, 3vw, 30px); }
.newsletter p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.newsletter form { display: flex; gap: 8px; }
.newsletter input { flex: 1; min-width: 0; }
@media (max-width: 480px) { .newsletter form { flex-direction: column; } }

.timeline { list-style: none; border-left: 2px solid var(--hairline); margin-left: 6px; }
.timeline li { position: relative; padding: 0 0 28px 28px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 2px solid var(--ground); }
.timeline .when { font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--muted); font-variant-numeric: tabular-nums; }
.timeline h3 { font-size: 18px; margin: 4px 0 6px; }
.timeline p { color: var(--muted); font-size: 14.5px; }

.release { border: 1px solid var(--hairline); border-radius: 10px; background: var(--surface); padding: 24px 26px; margin-bottom: 16px; display: grid; grid-template-columns: 160px 1fr; gap: 20px; }
@media (max-width: 640px) { .release { grid-template-columns: 1fr; } }
.release .meta { font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--muted); font-variant-numeric: tabular-nums; }
.release .meta b { display: block; color: var(--accent); font-size: 15px; margin-bottom: 4px; }
.release h3 { font-size: 20px; margin-bottom: 8px; }
.release ul { list-style: none; font-size: 14.5px; }
.release li { padding: 4px 0 4px 18px; position: relative; }
.release li::before { content: ""; position: absolute; left: 0; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-soft); border: 1px solid var(--accent); }
.release li .tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }

.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .showcase-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .showcase-grid { grid-template-columns: 1fr; } }
.showcase-item { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.showcase-item:hover { color: inherit; }
.showcase-item:hover .mock { box-shadow: var(--shadow-lg); }
.showcase-item .meta { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.showcase-item b { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.showcase-item span { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--muted); }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 760px) { .team { grid-template-columns: 1fr; } }
.person { border: 1px solid var(--hairline); border-radius: 10px; background: var(--surface); padding: 24px; }
.person .avatar { width: 56px; height: 56px; font-size: 18px; margin-bottom: 14px; }
.person h3 { font-size: 19px; }
.person .role { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 4px 0 10px; display: block; }
.person p { font-size: 14.5px; color: var(--muted); margin: 0; }

.callout { border-left: 3px solid var(--accent); background: var(--accent-soft); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; font-size: 14.5px; }
.callout.warn { border-color: var(--price); background: var(--chip); }
.callout b { display: block; margin-bottom: 4px; }
.notice { border: 1px solid var(--hairline); background: var(--surface); padding: 14px 18px; border-radius: var(--radius); font-size: 14.5px; color: var(--muted); }

.checkmark-big { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.checkmark-big svg { width: 30px; height: 30px; }
.order-card { border: 1px solid var(--hairline); border-radius: var(--radius-lg); background: var(--surface); padding: clamp(20px, 3vw, 30px); }
.order-card dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 0; font-size: 14.5px; }
.order-card dt { color: var(--muted); }
.order-card dd { margin: 0; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.big-404 { font-family: var(--font-display); font-size: clamp(96px, 22vw, 240px); font-weight: 700; line-height: .9; letter-spacing: -.04em; color: var(--accent); font-variant-numeric: tabular-nums; }

/* 13. DOCS, PROSE, BLOG -------------------------------------------------- */
.docs-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.docs-layout.with-toc { grid-template-columns: 220px 1fr 200px; }
@media (max-width: 1000px) { .docs-layout.with-toc { grid-template-columns: 220px 1fr; } .docs-layout.with-toc .toc { display: none; } }
@media (max-width: 760px) { .docs-layout, .docs-layout.with-toc { grid-template-columns: 1fr; } }
.docs-side { position: sticky; top: calc(var(--nav-h) + 20px); font-size: 14px; }
@media (max-width: 760px) { .docs-side { position: static; border: 1px solid var(--hairline); border-radius: var(--radius); padding: 16px; background: var(--surface); } }
.docs-side h2 { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 18px 0 8px; font-weight: 600; }
.docs-side h2:first-child { margin-top: 0; }
.docs-side ul { list-style: none; }
.docs-side a { display: block; padding: 6px 10px; border-radius: 6px; text-decoration: none; color: var(--muted); }
.docs-side a:hover { color: var(--ink); background: var(--chip); }
.docs-side a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.toc { position: sticky; top: calc(var(--nav-h) + 20px); font-size: var(--fs-sm); }
.toc h2 { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.toc ol { list-style: none; border-left: 2px solid var(--hairline); }
.toc a { display: block; padding: 5px 12px; text-decoration: none; color: var(--muted); margin-left: -2px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--ink); border-color: var(--accent); }
.doc-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 640px) { .doc-cards { grid-template-columns: 1fr; } }
.doc-card { border: 1px solid var(--hairline); border-radius: 10px; background: var(--surface); padding: 22px; text-decoration: none; display: flex; flex-direction: column; gap: 6px; }
.doc-card:hover { border-color: var(--accent); color: inherit; }
.doc-card b { font-family: var(--font-display); font-size: 18px; }
.doc-card span { color: var(--muted); font-size: var(--fs-sm); }
.doc-card .mono { font-size: 11px; color: var(--accent); letter-spacing: .1em; text-transform: uppercase; }
.doc-group { margin-bottom: clamp(28px, 4vw, 44px); }
.doc-group h2 { font-size: 22px; margin-bottom: 14px; }
.doc-list { list-style: none; border-top: 1px solid var(--hairline); }
.doc-list li { border-bottom: 1px solid var(--hairline); }
.doc-list a { display: flex; justify-content: space-between; gap: 16px; padding: 12px 4px; text-decoration: none; }
.doc-list a:hover { color: var(--accent); }
.doc-list span { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--muted); }
.prose { max-width: 70ch; font-size: var(--fs-md); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 2em; scroll-margin-top: calc(var(--nav-h) + 20px); }
.prose h3 { font-size: 21px; margin-top: 1.6em; scroll-margin-top: calc(var(--nav-h) + 20px); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; margin: 1.4em 0; font-family: var(--font-display); font-size: 1.15em; color: var(--ink); }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--muted); margin-top: 10px; text-align: center; }
.prose pre { background: var(--surface-2); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 16px 18px; overflow-x: auto; font-size: 13.5px; line-height: 1.55; }
.prose code { background: var(--chip); padding: 2px 6px; border-radius: 4px; }
.prose pre code { background: none; padding: 0; }
.prose table { font-size: 14.5px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hairline); }
.prose th { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.prose kbd { background: var(--surface); border: 1px solid var(--hairline-strong); border-bottom-width: 2px; border-radius: 4px; padding: 1px 6px; font-size: .85em; }
.prose img { border: 1px solid var(--hairline); border-radius: var(--radius); }
.article-head { max-width: 70ch; padding: clamp(40px, 6vw, 80px) 0 clamp(24px, 4vw, 40px); }
.article-head h1 { font-size: clamp(32px, 5vw, 58px); }
.article-meta { display: flex; gap: 16px; flex-wrap: wrap; font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--muted); margin-top: 18px; font-variant-numeric: tabular-nums; }
.article-foot { border-top: 1px solid var(--hairline); margin-top: clamp(40px, 6vw, 64px); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.article-foot a { text-decoration: none; font-weight: 600; }
.post-list { list-style: none; border-top: 1px solid var(--hairline); }
.post-list li { border-bottom: 1px solid var(--hairline); }
.post-list a { display: grid; grid-template-columns: 140px 1fr auto; gap: 24px; padding: 24px 0; text-decoration: none; align-items: baseline; }
.post-list a:hover { color: inherit; }
.post-list a:hover h2 { color: var(--accent); }
.post-list .when { font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--muted); font-variant-numeric: tabular-nums; }
.post-list h2 { font-size: clamp(20px, 2.6vw, 28px); }
.post-list p { color: var(--muted); font-size: 15px; margin: 8px 0 0; max-width: 60ch; }
.post-list .cat { align-self: start; }
@media (max-width: 700px) { .post-list a { grid-template-columns: 1fr; gap: 8px; } }
.post-featured { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; border: 1px solid var(--hairline); border-radius: var(--radius-lg); background: var(--surface); padding: clamp(22px, 3.5vw, 40px); margin-bottom: clamp(32px, 5vw, 56px); }
@media (max-width: 800px) { .post-featured { grid-template-columns: 1fr; } }
.post-featured h2 { font-size: clamp(26px, 3.4vw, 40px); margin: 10px 0 12px; }
.post-featured h2 a { text-decoration: none; }
.post-featured p { color: var(--muted); }

/* 14. FORMS -------------------------------------------------------------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field .hint { font-size: var(--fs-xs); color: var(--muted); }
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="number"], select, textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--surface);
  border: 1px solid var(--hairline-strong); border-radius: 6px; padding: 11px 13px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--accent); }
textarea { min-height: 140px; resize: vertical; }
select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { accent-color: var(--accent); margin-top: 4px; }
.contact-grid { display: grid; grid-template-columns: 1.3fr .8fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-aside { display: grid; gap: 16px; }
.contact-aside .card { border: 1px solid var(--hairline); border-radius: 10px; background: var(--surface); padding: 20px 22px; }
.contact-aside .card h3 { font-size: 17px; margin-bottom: 6px; }
.contact-aside .card p { font-size: 14.5px; color: var(--muted); margin: 0; }
.contact-aside .card a { color: var(--ink); }

/* 15. MOTION & PRINT ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
}
@media print {
  .site-header, .site-footer, .nav-toggle, .theme-toggle, .btn, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  .mock { break-inside: avoid; }
}

/* 16. WORDPRESS CORE ------------------------------------------------------
   Everything below maps WordPress's own markup — blocks, captions,
   comments, pagination, widgets — onto the design tokens above. */

/* accessibility */
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  white-space: nowrap; border: 0; word-wrap: normal !important;
}
.screen-reader-text:focus {
  position: absolute !important; left: var(--s-4); top: var(--s-4); z-index: 100000;
  width: auto; height: auto; padding: 12px 18px; clip: auto; clip-path: none;
  background: var(--surface); color: var(--accent); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); font-weight: 600; line-height: normal; text-decoration: none;
}

/* alignments */
.alignleft { float: left; margin: 6px 24px 16px 0; }
.alignright { float: right; margin: 6px 0 16px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
@media (max-width: 600px) { .alignleft, .alignright { float: none; margin: 16px 0; } }
.alignwide { max-width: min(920px, 100%); margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100%; }
.clear::before, .clear::after, .entry-content::before, .entry-content::after,
.comment-content::before, .comment-content::after { content: ""; display: table; table-layout: fixed; }
.clear::after, .entry-content::after, .comment-content::after { clear: both; }

/* captions & galleries */
.wp-caption { max-width: 100%; margin-bottom: 1.4em; }
.wp-caption img { display: block; }
.wp-caption .wp-caption-text, .wp-block-image figcaption, .wp-block-embed figcaption,
.wp-block-gallery figcaption, .wp-block-video figcaption, .wp-block-audio figcaption {
  font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--muted);
  margin-top: 10px; text-align: center;
}
.entry-content .gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 1.6em 0; }
.entry-content .gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.entry-content .gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.entry-content .gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }
.entry-content .gallery-item { margin: 0; }
.gallery-caption { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--muted); margin-top: 6px; }

/* common blocks on the tokens */
.wp-block-quote, .entry-content blockquote {
  border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; margin: 1.4em 0;
  font-family: var(--font-display); font-size: 1.15em; color: var(--ink);
}
.wp-block-quote cite, .entry-content blockquote cite {
  display: block; margin-top: 10px; font-family: var(--font-mono); font-style: normal;
  font-size: var(--fs-sm); color: var(--muted);
}
.wp-block-pullquote { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding: 1.6em 0; text-align: center; font-family: var(--font-display); }
.wp-block-pullquote blockquote { border: 0; padding: 0; margin: 0; }
.wp-block-separator, hr { border: 0; border-top: 1px solid var(--hairline); margin: var(--s-6) auto; }
.wp-block-separator.is-style-wide { width: 100%; }
.wp-block-code, .entry-content pre {
  background: var(--surface-2); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 16px 18px; overflow-x: auto; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.55;
}
.wp-block-code code { background: none; padding: 0; }
.entry-content code { background: var(--chip); padding: 2px 6px; border-radius: 4px; }
.entry-content pre code { background: none; padding: 0; }
.wp-block-table table, .entry-content table { font-size: 14.5px; width: 100%; border-collapse: collapse; }
.wp-block-table th, .wp-block-table td, .entry-content th, .entry-content td {
  text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hairline);
}
.wp-block-table th, .entry-content th {
  font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}
.wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 6px; font-weight: 600; font-size: 15px; line-height: 1.2;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); font-family: var(--font-body);
}
.wp-block-button__link:hover { background: var(--accent-hover); color: var(--accent-ink); }
.is-style-outline .wp-block-button__link { background: var(--surface); color: var(--ink); border-color: var(--hairline-strong); }
.is-style-outline .wp-block-button__link:hover { border-color: var(--accent); color: var(--accent); }
.wp-block-cover { border-radius: var(--radius-lg); overflow: hidden; }
.wp-block-columns { gap: var(--s-5); }
.wp-block-group.has-background { border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); }
.wp-block-details, .entry-content details {
  border: 1px solid var(--hairline); border-radius: 8px; background: var(--surface);
  margin-bottom: 12px; overflow: hidden;
}
.wp-block-details summary, .entry-content details summary {
  cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 15.5px; list-style: none;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.entry-content details summary::-webkit-details-marker { display: none; }
.entry-content details summary::after { content: "+"; font-family: var(--font-mono); color: var(--accent); font-size: 20px; flex: none; }
.entry-content details[open] summary::after { content: "–"; }
.entry-content details > *:not(summary) { padding: 0 22px 8px; color: var(--muted); font-size: 14.5px; }
.entry-content details > p:last-child { padding-bottom: 20px; }
.has-drop-cap:not(:focus)::first-letter {
  font-family: var(--font-display); font-size: 3.4em; font-weight: 700; float: left;
  line-height: .8; margin: .08em .12em 0 0; color: var(--accent);
}

/* the reading column */
.entry-content > :where(:not(.alignwide):not(.alignfull)) { max-width: 70ch; }
.entry-content { font-size: var(--fs-md); }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 2em; scroll-margin-top: calc(var(--nav-h) + 20px); }
.entry-content h3 { font-size: 21px; margin-top: 1.6em; scroll-margin-top: calc(var(--nav-h) + 20px); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: .4em; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content img { border-radius: var(--radius); }
.page-links { margin-top: var(--s-6); font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.page-links .post-page-numbers { display: inline-flex; min-width: 32px; height: 32px; align-items: center; justify-content: center; border: 1px solid var(--hairline-strong); border-radius: 6px; text-decoration: none; padding: 0 8px; }
.page-links .post-page-numbers.current { background: var(--chip-active); color: var(--chip-active-ink); border-color: transparent; }
.more-link { font-weight: 600; }

/* sticky posts: no visual change required, class must exist */
.sticky { position: relative; }

/* pagination */
.pagination, .posts-pagination, nav.pagination { margin-top: clamp(32px, 5vw, 56px); }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-family: var(--font-mono); font-size: var(--fs-sm); }
.pagination .page-numbers {
  display: inline-flex; min-width: 38px; height: 38px; padding: 0 10px; align-items: center; justify-content: center;
  border: 1px solid var(--hairline-strong); border-radius: 6px; background: var(--surface);
  text-decoration: none; font-variant-numeric: tabular-nums;
}
.pagination .page-numbers.current { background: var(--chip-active); color: var(--chip-active-ink); border-color: transparent; }
.pagination .page-numbers:hover:not(.current):not(.dots) { border-color: var(--accent); color: var(--accent); }
.pagination .page-numbers.dots { border: 0; background: none; }

/* single post / page navigation */
.post-navigation { border-top: 1px solid var(--hairline); margin-top: clamp(32px, 5vw, 56px); padding-top: var(--s-5); }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
@media (max-width: 600px) { .post-navigation .nav-links { grid-template-columns: 1fr; } }
.post-navigation .nav-next { text-align: right; }
.post-navigation a { text-decoration: none; display: inline-block; }
.post-navigation .nav-subtitle { display: block; font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.post-navigation .nav-title { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.post-navigation a:hover .nav-title { color: var(--accent); }

/* comments */
.comments-area { border-top: 1px solid var(--hairline); margin-top: clamp(40px, 6vw, 64px); padding-top: clamp(28px, 4vw, 44px); max-width: 70ch; }
.comments-title, .comment-reply-title { font-size: clamp(20px, 2.6vw, 26px); margin-bottom: var(--s-5); }
.comment-list { list-style: none; }
.comment-list .comment, .comment-list .pingback, .comment-list .trackback { border-top: 1px solid var(--hairline); padding: var(--s-5) 0; }
.comment-list .children { list-style: none; margin-left: clamp(16px, 4vw, 40px); }
.comment-list .children .comment { border-top: 1px dashed var(--hairline); }
.comment-body .comment-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.comment-author .avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--accent-soft); }
.comment-author .fn { font-style: normal; font-weight: 600; font-family: var(--font-body); }
.comment-author .says { color: var(--muted); font-size: var(--fs-sm); }
.comment-metadata { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--muted); }
.comment-metadata a { color: inherit; text-decoration: none; }
.comment-metadata a:hover { color: var(--accent); }
.comment-content { font-size: 15px; }
.comment-content a { word-wrap: break-word; }
.reply { margin-top: 10px; }
.comment-reply-link { font-size: var(--fs-sm); font-weight: 600; color: var(--accent); text-decoration: none; }
.comment-reply-link:hover { text-decoration: underline; }
.bypostauthor .fn::after { content: " · maker"; font-family: var(--font-mono); font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.comment-form { display: grid; gap: 16px; margin-top: var(--s-5); }
.comment-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.comment-form-cookies-consent label { display: inline; font-weight: 400; margin: 0; }
.comment-form-cookies-consent input { accent-color: var(--accent); margin-top: 4px; }
.comment-form .form-submit { margin: 0; }
.comment-form .submit {
  display: inline-flex; align-items: center; justify-content: center; padding: 13px 22px;
  border-radius: 6px; font-weight: 600; font-size: 15px; border: 1px solid transparent;
  background: var(--accent); color: var(--accent-ink); cursor: pointer; font-family: var(--font-body);
}
.comment-form .submit:hover { background: var(--accent-hover); }
.comment-notes, .logged-in-as { font-size: var(--fs-sm); color: var(--muted); }
.comment-navigation { display: flex; justify-content: space-between; gap: 16px; margin: var(--s-5) 0; font-size: var(--fs-sm); }
.no-comments { color: var(--muted); font-size: var(--fs-sm); margin-top: var(--s-5); }
.comment-awaiting-moderation { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--price); }

/* widgets */
.widget { margin-bottom: var(--s-6); font-size: 14.5px; }
.widget-title, .widget .wp-block-heading {
  font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink); margin: 0 0 12px; font-weight: 600;
}
.widget ul { list-style: none; }
.widget li { padding: 4px 0; }
.widget a { text-decoration: none; }
.widget a:hover { color: var(--accent); text-decoration: underline; }
.widget select { max-width: 100%; }
.widget .wp-block-search__inside-wrapper, .widget.widget_search form, .search-form { display: flex; gap: 8px; }
.search-form .search-field { flex: 1; min-width: 0; }
.search-form .search-submit {
  display: inline-flex; align-items: center; padding: 11px 18px; border-radius: 6px;
  border: 1px solid transparent; background: var(--accent); color: var(--accent-ink);
  font-weight: 600; font-size: 14px; cursor: pointer; font-family: var(--font-body);
}
.search-form .search-submit:hover { background: var(--accent-hover); }
.wp-block-search__button { background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 6px; padding: 10px 16px; font-weight: 600; cursor: pointer; }
.wp-calendar-table caption { font-family: var(--font-mono); font-size: var(--fs-sm); padding-bottom: 8px; }
.wp-calendar-table th, .wp-calendar-table td { text-align: center; padding: 6px; border-bottom: 1px solid var(--hairline); }
.tagcloud, .wp-block-tag-cloud { display: flex; gap: 8px; flex-wrap: wrap; }
.tagcloud a, .wp-block-tag-cloud a {
  display: inline-flex; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--chip);
  font-family: var(--font-mono); font-size: var(--fs-xs) !important; letter-spacing: .06em;
  text-transform: uppercase; font-weight: 600; text-decoration: none;
}
.tagcloud a:hover, .wp-block-tag-cloud a:hover { background: var(--chip-active); color: var(--chip-active-ink); }

/* archive layout with the optional rail */
.archive-layout { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.archive-layout.has-rail { grid-template-columns: 1fr 280px; }
@media (max-width: 900px) { .archive-layout.has-rail { grid-template-columns: 1fr; } }
.archive-rail { position: sticky; top: calc(var(--nav-h) + 20px); }
@media (max-width: 900px) { .archive-rail { position: static; } }

/* product buy button "link not set" state */
.btn-unset { position: relative; background: var(--chip); color: var(--muted); border: 1px dashed var(--hairline-strong); cursor: help; }
.btn-unset:hover { transform: none; box-shadow: none; background: var(--chip); color: var(--muted); }
.buy-unset { color: var(--muted); text-decoration: line-through; cursor: help; }
.checkout-note { font-family: var(--font-mono); font-size: 11px; color: var(--price); letter-spacing: .04em; display: block; margin-top: 8px; }

/* footer menu inside widgets/footer nav */
.site-footer .menu, .site-footer ul.menu { position: static; display: block; border: 0; background: none; box-shadow: none; padding: 0; min-width: 0; }
.site-footer .menu li a { display: inline; padding: 0; }

/* WP header/footer specifics */
.logo--img a { display: inline-flex; align-items: center; }
.logo--img img { max-height: 44px; width: auto; }
.crumbs { font-size: 12.5px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.foot-bottom .foot-menu { display: flex; gap: 18px; flex-wrap: wrap; list-style: none; }
.mock .mock-shot, .mock img { width: 100%; height: auto; display: block; border-radius: 0; border: 0; }
.nav-links li.has-menu > a::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); display: inline-block; margin-left: 6px; }
