/* Desire Agency — static site. Self-hosted Inter, no third-party requests, no tracking. */
/* Inter is loaded from fonts/inter.css (non-blocking); system fonts are the fallback. */

@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("Liberation Sans"), local("Helvetica"), local("DejaVu Sans"); size-adjust: 107.12%; ascent-override: 90.44%; descent-override: 22.52%; line-gap-override: 0%; }

:root {
  color-scheme: light dark;
  --bg: #fbfaff;
  --bg-2: #f3f0fa;
  --surface: #ffffff;
  --ink: #120f1c;
  --ink-2: #2a2e37;
  --muted: #5e5873;
  --line: #e7e3f0;
  --line-2: #d6d0e4;
  --accent: #b0169e;
  --accent-2: #8d0f80;
  --accent-soft: #fde8fa;
  --accent-ink: #ffffff;
  --good: #11845b;
  --bad: #c23b3b;
  --ad: #fff6e0;
  --ad-ink: #6b4e09;
  --warn: #fdf1d3;
  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --shadow-s: 0 1px 2px rgba(14, 16, 20, .05);
  --shadow: 0 1px 2px rgba(14, 16, 20, .04), 0 8px 24px -8px rgba(14, 16, 20, .10);
  --shadow-l: 0 2px 4px rgba(14, 16, 20, .04), 0 24px 48px -16px rgba(14, 16, 20, .18);
  --sans: "Inter", "Inter Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --hero-bg: #07071a;
  --hero-ink: #f4f4f7;
  --hero-muted: #b0abc9;
  --hero-line: rgba(255, 255, 255, .10);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #06060c;
    --bg-2: #0c0c18;
    --surface: #0e0e1c;
    --ink: #f3f0fb;
    --ink-2: #d9d4ea;
    --muted: #a7a2c2;
    --line: #1f1d36;
    --line-2: #2d2a4a;
    --accent: #ff6be8;
    --accent-2: #ff9cf0;
    --accent-soft: #2b0d2e;
    --accent-ink: #14041a;
    --good: #3ccf91;
    --bad: #ff7a7a;
    --ad: #1d1a10;
    --ad-ink: #e7cf8f;
    --warn: #2a2312;
    --shadow-s: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px -10px rgba(0, 0, 0, .6);
    --shadow-l: 0 2px 4px rgba(0, 0, 0, .4), 0 30px 60px -20px rgba(0, 0, 0, .7);
    --hero-bg: #07071a;}
}
:root[data-theme="dark"] { color-scheme: dark;
    --bg: #06060c;
    --bg-2: #0c0c18;
    --surface: #0e0e1c;
    --ink: #f3f0fb;
    --ink-2: #d9d4ea;
    --muted: #a7a2c2;
    --line: #1f1d36;
    --line-2: #2d2a4a;
    --accent: #ff6be8;
    --accent-2: #ff9cf0;
    --accent-soft: #2b0d2e;
    --accent-ink: #14041a;
    --good: #3ccf91;
    --bad: #ff7a7a;
    --ad: #1d1a10;
    --ad-ink: #e7cf8f;
    --warn: #2a2312;
    --shadow-s: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px -10px rgba(0, 0, 0, .6);
    --shadow-l: 0 2px 4px rgba(0, 0, 0, .4), 0 30px 60px -20px rgba(0, 0, 0, .7);
    --hero-bg: #07071a;}
:root[data-theme="light"] { color-scheme: light; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-feature-settings: "cv11", "ss01", "ss03";
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--accent); color: var(--accent-ink); }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .18em; transition: color .15s ease; }
a:hover { color: var(--accent-2); }
img, svg { max-width: 100%; display: block; }
code { font-family: var(--mono); font-size: .88em; background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: .05em .35em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1140px, calc(100% - 2.5rem)); margin: 0 auto; }
.wrap-narrow { width: min(760px, calc(100% - 2.5rem)); margin: 0 auto; }

.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: var(--bg); padding: .5rem .8rem; border-radius: 8px; z-index: 50; }
.skip:focus { top: .6rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; min-height: 4.1rem; }
.brand { display: flex; align-items: center; gap: .65rem; color: inherit; text-decoration: none; min-width: 0; }
.brand-mark { width: 30px; height: 30px; flex: none; border-radius: 8px; box-shadow: var(--shadow-s); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-name { font-weight: 700; letter-spacing: -.02em; font-size: 1.02rem; color: var(--ink); }
.brand-tag { font-size: .72rem; color: var(--muted); letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

nav { display: flex; align-items: center; gap: .2rem; font-size: .9rem; }
nav a {
  color: var(--ink-2); text-decoration: none; font-weight: 500;
  padding: .45rem .7rem; border-radius: 999px; white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
nav a:hover { background: var(--bg-2); color: var(--ink); }
nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-2); }
.nav-cta { margin-left: .35rem; }
.lang {
  display: inline-flex; margin-left: .5rem;
  border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden;
  font-size: .72rem; font-weight: 650; letter-spacing: .05em;
}
.lang a, .lang span { padding: .28rem .6rem; text-decoration: none; color: var(--muted); border-radius: 0; }
.lang a:hover { background: var(--bg-2); }
.lang [aria-current="true"] { background: var(--ink); color: var(--bg); }

/* ---------- Disclosure bar ---------- */
.ad-banner { background: var(--ad); color: var(--ad-ink); border-bottom: 1px solid var(--line); font-size: .8rem; line-height: 1.5; }
.ad-banner .wrap, .ad-banner .wrap-narrow { padding: .5rem 0; }
.ad-banner strong { font-weight: 650; }
.ad-mark { display: inline-block; background: var(--ink); color: var(--bg); font-size: .68rem; font-weight: 700; letter-spacing: .06em; padding: .1rem .4rem; border-radius: 4px; margin-right: .4rem; }

/* ---------- Layout & type ---------- */
main { padding: 2.75rem 0 4.5rem; }
h1, h2, h3 { color: var(--ink); text-wrap: balance; }
.hero h1, article h1, .page-title {
  font-weight: 750; letter-spacing: -.035em; line-height: 1.08;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin: 0 0 1rem;
}
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); margin: 0 0 1.4rem; max-width: 44rem; line-height: 1.6; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 1rem;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px color-mix(in srgb, var(--good) 22%, transparent); }

.section { margin: 4.5rem 0 0; }
.section > h2, .section-head h2 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); font-weight: 720; letter-spacing: -.028em; line-height: 1.15; margin: 0 0 .75rem; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.section-head p { margin: 0; color: var(--muted); max-width: 40rem; }
.kicker { font-size: .78rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 .5rem; }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.5rem 0 .6rem; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  border-radius: 999px; padding: .72rem 1.2rem; min-height: 44px;
  font: inherit; font-weight: 600; font-size: .95rem; letter-spacing: -.005em;
  text-decoration: none; border: 1px solid transparent; line-height: 1.2; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary, .btn-ad { background: var(--accent); color: var(--accent-ink); box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 6px 18px -6px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-primary:hover, .btn-ad:hover { background: var(--accent-2); color: var(--accent-ink); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-s); }
.btn-ghost:hover { border-color: var(--ink-2); color: var(--ink); }
.btn-light { background: #fff; color: #0c0d12; }
.btn-light:hover { background: #ececf2; color: #0c0d12; }
.btn-outline-light { background: rgba(255,255,255,.04); color: #fff; border-color: rgba(255,255,255,.22); }
.btn-outline-light:hover { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-sm { padding: .5rem .9rem; min-height: 36px; font-size: .86rem; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(2px); }
.text-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: .35rem; align-items: center; }
.text-link:hover { text-decoration: underline; }

.note, .aff-state { font-size: .86rem; color: var(--muted); margin: .4rem 0 1rem; }
.aff-state:empty { display: none; }
.aff-state.is-live { color: var(--good); }

/* ---------- Home hero ---------- */
.home-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--hero-bg); color: var(--hero-ink);
  border-radius: var(--radius-l); padding: clamp(2rem, 5vw, 4rem);
  display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  box-shadow: var(--shadow-l);
  border: 1px solid var(--hero-line);
}
.home-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 300px at 85% 10%, rgba(255, 94, 230, .35), transparent 60%),
    radial-gradient(500px 260px at 0% 100%, rgba(63, 230, 242, .14), transparent 60%),
    radial-gradient(70% 60% at 100% 100%, rgba(140, 70, 255, .30), transparent 70%),
    radial-gradient(45% 55% at 100% 50%, rgba(255, 94, 230, .14), transparent 70%);
}
.home-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 20%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 20%, #000 10%, transparent 70%);
}
.home-hero h1 { color: #fff; font-size: clamp(2.15rem, 4.8vw, 3.6rem); font-weight: 760; line-height: 1.06; letter-spacing: -.04em; margin: 0 0 1.2rem; }
.home-hero h1 .grad { background: linear-gradient(90deg, #ff8cef, #6ff3f7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.home-hero .lede { color: var(--hero-muted); }
.home-hero .eyebrow { color: #ffb3f3; }
.hero-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: 1.1rem; font-size: .92rem; }
.hero-links a { color: var(--hero-ink); text-decoration: none; opacity: .85; border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: 1px; }
.hero-links a:hover { opacity: 1; border-bottom-color: #fff; color: #fff; }
.hero-note { color: var(--hero-muted); font-size: .8rem; margin: 1rem 0 0; }

.ledger {
  background: rgba(255,255,255,.04); border: 1px solid var(--hero-line); border-radius: var(--radius);
  padding: 1.25rem 1.3rem; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.ledger-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .9rem; font-size: .78rem; color: var(--hero-muted); letter-spacing: .02em; }
.ledger-head strong { color: var(--hero-ink); font-weight: 650; font-size: .85rem; letter-spacing: 0; }
.ledger-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .72rem 0; border-top: 1px solid var(--hero-line); font-size: .9rem; color: var(--hero-muted); }
.ledger-row b { font-family: var(--mono); font-weight: 600; color: var(--hero-ink); font-size: .98rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ledger-row b.neg { color: #ff9b9b; }
.ledger-foot { font-size: .74rem; color: var(--hero-muted); margin: .7rem 0 0; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.stat { background: var(--surface); padding: 1.4rem 1.35rem; }
.stat .value { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 750; letter-spacing: -.035em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat .value.neg { color: var(--bad); }
.stat .label { font-weight: 600; font-size: .9rem; margin-top: .45rem; }
.stat .sub { color: var(--muted); font-size: .82rem; margin-top: .25rem; line-height: 1.45; }

/* ---------- Product cards ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.product {
  position: relative; display: flex; flex-direction: column; gap: .6rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.4rem; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow-l); border-color: var(--line-2); }
.product.is-featured { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); background: linear-gradient(180deg, color-mix(in srgb, var(--accent-soft) 70%, var(--surface)) 0%, var(--surface) 45%); }
.product-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: .3rem; }
.product-icon svg { width: 22px; height: 22px; }
.product h3 { font-size: 1.18rem; letter-spacing: -.02em; margin: 0; line-height: 1.3; }
.product p { margin: 0; color: var(--muted); font-size: .94rem; }
.product .price-line { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; margin-top: .2rem; }
.product .price-big { font-size: 1.5rem; font-weight: 750; letter-spacing: -.03em; color: var(--ink); }
.product .price-sub { font-size: .82rem; color: var(--muted); }
.product .price-sub code { font-size: .78rem; }
.product .actions { margin: auto 0 0; padding-top: .8rem; }
.pill { display: inline-flex; align-self: flex-start; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .22rem .55rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent-2); }
.pill-free { background: color-mix(in srgb, var(--good) 14%, transparent); color: var(--good); }

/* ---------- Facts / feature cards ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin: 1.4rem 0 .5rem; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.3rem; box-shadow: var(--shadow-s); transition: border-color .2s ease, box-shadow .2s ease; }
.fact:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.fact h2, .fact h3 { font-size: 1rem; letter-spacing: -.01em; margin: 0 0 .45rem; }
.fact p { margin: 0; color: var(--muted); font-size: .92rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-s); }
.panel h3 { margin: 0 0 .5rem; font-size: 1.15rem; letter-spacing: -.02em; }
.panel p { margin: 0 0 .4rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-l); padding: clamp(1.8rem, 4vw, 3rem);
  background: var(--hero-bg); color: var(--hero-ink); border: 1px solid var(--hero-line);
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 220px at 100% 0%, rgba(255,94,230,.35), transparent 60%); }
.cta-band h2 { color: #fff; margin: 0 0 .4rem; font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -.028em; }
.cta-band p { margin: 0; color: var(--hero-muted); max-width: 38rem; }
.cta-band .actions { margin: 0; }

/* ---------- Articles ---------- */
article { font-size: 1.02rem; }
article > h1 + p, article > h1 + .lede { margin-top: 0; }
article p { margin: 0 0 1.05rem; color: var(--ink-2); }
article h2 { font-size: 1.55rem; font-weight: 720; letter-spacing: -.025em; line-height: 1.2; margin: 2.6rem 0 .8rem; }
article h3 { font-size: 1.08rem; font-weight: 680; margin: 1.6rem 0 .5rem; }
article ul, article ol { margin: 0 0 1.1rem; padding-left: 1.25rem; color: var(--ink-2); }
article li { margin: .35rem 0; }
article li::marker { color: var(--accent); }
article footer.sources { margin-top: 2rem; font-size: .92rem; color: var(--muted); }
article .section { margin-top: 2.6rem; }
.tpl-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.6rem .8rem; box-shadow: var(--shadow); scroll-margin-top: 6rem; }
.tpl-card h2 { margin-top: 0; }
.tpl-card .actions { margin-top: .4rem; margin-bottom: 1rem; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; margin: 1.2rem 0 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface); box-shadow: var(--shadow-s); }
table { border-collapse: collapse; width: 100%; font-size: .92rem; }
th, td { text-align: left; vertical-align: top; padding: .75rem .9rem; border-bottom: 1px solid var(--line); }
thead th { background: var(--bg-2); font-weight: 650; font-size: .82rem; letter-spacing: .02em; color: var(--ink-2); }
tbody th { font-weight: 600; }
tr:last-child td, tr:last-child th { border-bottom: 0; }

/* ---------- Directory ---------- */
.hero { margin-bottom: 1.6rem; }
.toolbar { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin: 0 0 1.4rem; position: sticky; top: 4.2rem; z-index: 5; padding: .6rem 0; background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.search {
  flex: 1 1 240px; padding: .75rem 1rem .75rem 2.5rem; min-height: 44px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink);
  font: inherit; font-size: .95rem; box-shadow: var(--shadow-s);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238a90a0' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 1rem 50%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.search:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); border-radius: 999px; padding: .5rem .95rem; min-height: 40px; font: inherit; font-size: .86rem; font-weight: 550; cursor: pointer; transition: all .15s ease; }
.chip:hover { border-color: var(--ink-2); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.cards { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 740px) { .cards { grid-template-columns: 1fr 1fr; } .card.featured { grid-column: 1 / -1; } }
@media (min-width: 1060px) { .cards { grid-template-columns: 1fr 1fr 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.3rem 1.2rem; box-shadow: var(--shadow-s);
  display: flex; flex-direction: column; gap: .6rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  scroll-margin-top: 8rem;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card.featured { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); background: linear-gradient(135deg, color-mix(in srgb, var(--accent-soft) 80%, var(--surface)) 0%, var(--surface) 55%); }
.card-top { display: flex; justify-content: space-between; gap: .6rem; align-items: flex-start; }
.card-top > div:last-child { display: flex; gap: .3rem; flex-wrap: wrap; justify-content: flex-end; }
.card h2 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.02em; margin: 0; }
.card .cat, .meta { font-size: .8rem; color: var(--muted); margin-top: .1rem; }
.card p { margin: 0; font-size: .93rem; color: var(--ink-2); }
.badge { display: inline-block; font-size: .66rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .2rem .5rem; border-radius: 999px; background: color-mix(in srgb, var(--good) 14%, transparent); color: var(--good); white-space: nowrap; }
.badge-unknown { background: var(--bg-2); color: var(--muted); }
.badge-partial { background: var(--warn); color: var(--ad-ink); }
.badge-rec { background: var(--accent); color: var(--accent-ink); }
.price, .aff-detail { font-size: .9rem; }
.card-links { display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; margin-top: auto; font-size: .88rem; padding-top: .6rem; border-top: 1px solid var(--line); }
.card-links a:not(.btn) { font-weight: 550; text-decoration: none; }
.card-links a:not(.btn):hover { text-decoration: underline; }
.card-links .btn { padding: .45rem .85rem; min-height: 34px; font-size: .84rem; }
.empty { display: none; padding: 1.2rem; color: var(--muted); }
.cards.is-empty + .empty, .empty.show { display: block; }

/* ---------- Legal ---------- */
.legal-box, .placeholder-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; box-shadow: var(--shadow-s); margin: 0 0 1.4rem; }
.placeholder-box dt { font-weight: 650; margin-top: .8rem; font-size: .88rem; color: var(--muted); }
.placeholder-box dt:first-child { margin-top: 0; }
.placeholder-box dd { margin: .15rem 0 0; color: var(--ink); font-size: .98rem; }
.legal h2 { font-size: 1.35rem; letter-spacing: -.02em; margin: 2rem 0 .6rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); color: var(--muted); font-size: .9rem; padding: 3.2rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand p { margin: .8rem 0 0; max-width: 22rem; line-height: 1.55; }
.footer-col h3 { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin: .2rem 0 .8rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-col a, .footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-col a:hover, .footer-bottom a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem 1.4rem; border-top: 1px solid var(--line); margin-top: 2.4rem; padding-top: 1.4rem; font-size: .8rem; }
.footer-bottom p { margin: 0; }
.socials { display: flex; gap: .5rem; margin-top: 1.1rem; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 10px; color: var(--ink-2); background: var(--surface); transition: all .15s ease; }
.socials a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.socials svg { width: 17px; height: 17px; }

/* ---------- 404 ---------- */
.nf { text-align: center; padding: 5rem 0; }
.nf .code { font-size: 5rem; font-weight: 800; letter-spacing: -.05em; color: var(--accent); line-height: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .home-hero { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .header-inner { flex-wrap: wrap; padding: .6rem 0 0; min-height: 0; gap: .4rem; }
  nav { width: calc(100% + 2rem); margin: 0 -1rem; padding: 0 1rem .55rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  nav::-webkit-scrollbar { display: none; }
  .nav-cta { display: none; }
  .brand-tag { display: none; }
  .toolbar { top: 6.6rem; }
}
@media (max-width: 739px) {
  body { font-size: 16px; }
  main { padding-top: 1.4rem; }
  .wrap, .wrap-narrow { width: calc(100% - 2rem); }
  .facts, .products, .split { grid-template-columns: 1fr; }
  .home-hero { border-radius: 20px; padding: 1.7rem 1.35rem; }
  .home-hero .actions .btn { flex: 1 1 100%; }
  .section { margin-top: 3.2rem; }
  .stat { padding: 1.1rem 1rem; }
  .cta-band { padding: 1.6rem 1.35rem; }
  .cta-band .actions, .cta-band .btn { width: 100%; }
  .toolbar { position: static; }
  .tpl-card { padding: 1.25rem 1.2rem .5rem; }
}
@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat .value { font-size: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
.card, .product, .fact, .panel, .stat, .tpl-card { min-width: 0; overflow-wrap: anywhere; }
article li, article p { overflow-wrap: anywhere; }
@media (max-width: 520px) { .card-top { flex-direction: column; } .card-top > div:last-child { justify-content: flex-start; } }
@media (max-width: 860px) {
  .header-inner { position: relative; }
  .lang { position: absolute; right: 0; top: .85rem; margin: 0; background: var(--surface); }
}

/* =====================================================================
   Motion & interactivity (vanilla). Everything below is disabled for
   prefers-reduced-motion. Content is visible without JavaScript.
   ===================================================================== */

/* Header: compact + shadow after scrolling */
.site-header { transition: box-shadow .25s ease, background .25s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(0,0,0,.25); }

/* Reading progress (article pages) */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 60; pointer-events: none;
  background: linear-gradient(90deg, #ff5ee6, #a35bff, #3fe6f2); transform-origin: 0 50%; transform: scaleX(0); }

/* Theme toggle */
.theme-toggle {
  display: inline-grid; place-items: center; width: 36px; height: 36px; margin-left: .4rem; flex: none;
  border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2);
  cursor: pointer; transition: transform .2s ease, border-color .2s ease, color .2s ease;
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); transform: rotate(-12deg); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}
.theme-anim, .theme-anim *, .theme-anim *::before, .theme-anim *::after {
  transition: background-color .45s ease, color .45s ease, border-color .45s ease, box-shadow .45s ease !important;
}
html.vt-theme::view-transition-old(root), html.vt-theme::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* Scroll reveal (only when JS added .reveal) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* Hero entrance + living background */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes drift { 0% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-4%, 3%, 0) scale(1.08); } 100% { transform: translate3d(0,0,0) scale(1); } }
@keyframes gridpan { from { background-position: 0 0, 0 0; } to { background-position: 44px 44px, 44px 44px; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--good) 55%, transparent); } 70% { box-shadow: 0 0 0 9px transparent; } }
@keyframes shine { from { transform: translateX(-120%) skewX(-20deg); } to { transform: translateX(220%) skewX(-20deg); } }
@keyframes hue { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.home-hero > div > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.home-hero > div > :nth-child(2) { animation-delay: .08s; }
.home-hero > div > :nth-child(3) { animation-delay: .16s; }
.home-hero > div > :nth-child(4) { animation-delay: .24s; }
.home-hero > div > :nth-child(5) { animation-delay: .30s; }
.home-hero > div > :nth-child(6) { animation-delay: .36s; }
.home-hero .ledger { animation: rise .9s .25s cubic-bezier(.2,.7,.2,1) both; }
.home-hero::before { inset: -20%; animation: drift 16s ease-in-out infinite; }
.home-hero::after { animation: gridpan 9s linear infinite; }
.home-hero h1 .grad { background-size: 200% 100%; background-image: linear-gradient(90deg, #ff8cef, #6ff3f7, #ff8cef); animation: hue 8s ease-in-out infinite; }
.eyebrow .dot { animation: pulse 2.4s ease-out infinite; }
.home-hero > .hero-glow { display: block; position: absolute; z-index: -1; left: 0; top: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; pointer-events: none;
  transform: translate3d(var(--gx, 70%), var(--gy, 30%), 0); opacity: 0; will-change: transform;
  background: radial-gradient(circle, rgba(255,94,230,.24), rgba(63,230,242,.06) 45%, transparent 68%); transition: opacity .35s ease; }
.home-hero > .hero-glow.is-on { opacity: 1; }

/* Ledger rows light up while counting */
.ledger-row b, .stat .value { transition: color .3s ease; }
.ledger-row.is-counting b { color: #ffb3f3; }

/* Button micro-interactions */
.btn-primary, .btn-ad, .btn-light { position: relative; overflow: hidden; }
.btn-primary::after, .btn-ad::after, .btn-light::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transform: translateX(-120%) skewX(-20deg);
}
.btn-primary:hover::after, .btn-ad:hover::after, .btn-light:hover::after { animation: shine .8s ease; }
.btn:active { transform: translateY(0) scale(.98); }

/* Cursor-follow spotlight on cards */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%);
  transition: opacity .3s ease;
}
.spot:hover::before { opacity: 1; }
.product.spot::before, .card.featured.spot::before { z-index: 0; }
.product > *, .card > * { position: relative; z-index: 1; }

/* Team diagram */
.team { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 1.4rem; align-items: center; position: relative; padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.team-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.team-lines path { fill: none; stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 4 6; transition: stroke .25s ease, stroke-width .25s ease; }
.team-lines path.is-on { stroke: var(--accent); stroke-width: 2; stroke-dasharray: none; }
.team-col { display: grid; gap: .55rem; position: relative; z-index: 1; }
.team-col h3 { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 .2rem; }
.team-center { display: grid; gap: .9rem; justify-items: center; position: relative; z-index: 1; }
.agent {
  display: flex; align-items: center; gap: .6rem; width: 100%; text-align: left;
  padding: .55rem .75rem; border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
  font: inherit; font-size: .9rem; font-weight: 600; color: var(--ink); cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.agent:hover, .agent[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent); transform: translateY(-1px); }
.agent[aria-pressed="true"] { background: var(--accent-soft); }
.agent .av { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; flex: none; font-size: .78rem; font-weight: 750; color: #fff; background: linear-gradient(135deg, #a35bff, #7a2bd9); }
.agent.grp-trade .av { background: linear-gradient(135deg, #35c48a, #128a5e); }
.agent.is-lead { width: min(100%, 260px); padding: .75rem 1.1rem; font-size: 1rem; }
.agent.is-lead .av { width: 36px; height: 36px; font-size: .9rem; }
.agent.is-human .av { background: linear-gradient(135deg, #f2b45a, #d9822b); }
.agent small { display: block; font-weight: 500; color: var(--muted); font-size: .74rem; }
.team-detail { width: min(100%, 260px); min-height: 9.5rem; padding: 1rem 1.1rem; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.team-detail .who { font-weight: 700; letter-spacing: -.01em; }
.team-detail .grp { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.team-detail p { margin: .35rem 0 0; color: var(--ink-2); font-size: .92rem; }
.team-detail.flash { animation: rise .35s ease both; }
.team-hint { font-size: .78rem; color: var(--muted); margin: .2rem 0 0; text-align: center; }

/* FAQ accordion */
.faq { display: grid; gap: .6rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-s); transition: border-color .2s ease, box-shadow .2s ease; }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 1.05rem 1.25rem; font-weight: 650; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; flex: none; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq .faq-a { padding: 0 1.25rem 1.1rem; color: var(--ink-2); }
.faq .faq-a p { margin: 0; }
.faq details.is-animating { overflow: hidden; }

/* Copy buttons */
.copy-btn { position: relative; }
.copy-btn.is-done { border-color: var(--good) !important; color: var(--good) !important; }
.copy-row { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.toast { position: fixed; left: 50%; bottom: 1.4rem; transform: translate(-50%, 20px); opacity: 0; z-index: 70; padding: .6rem 1rem; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: .88rem; font-weight: 600; box-shadow: var(--shadow-l); transition: opacity .25s ease, transform .25s ease; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Directory: result count + filter animation */
.result-count { font-size: .84rem; color: var(--muted); margin: -.6rem 0 1rem; }
.card.pop { animation: rise .35s ease both; }
kbd { font-family: var(--mono); font-size: .75rem; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 5px; padding: 0 .35rem; color: var(--muted); background: var(--surface); }

@media (max-width: 980px) {
  .team { grid-template-columns: 1fr 1fr; }
  .team-center { grid-column: 1 / -1; order: -1; }
  .team-lines { display: none; }
  .team-detail, .agent.is-lead { width: 100%; }
}
@media (max-width: 739px) {
  .team { grid-template-columns: 1fr; padding: 1.1rem; }
  .home-hero > .hero-glow { display: none; }
}
@media (max-width: 860px) {
  .theme-toggle { position: absolute; right: 5.6rem; top: .7rem; margin: 0; width: 34px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .home-hero > div > *, .home-hero .ledger, .home-hero::before, .home-hero::after, .home-hero h1 .grad, .eyebrow .dot,
  .team-detail.flash, .card.pop { animation: none !important; }
  .btn-primary::after, .btn-ad::after, .btn-light::after { display: none; }
  .home-hero > .hero-glow, .progress { display: none; }
}

/* =====================================================================
   Round 2: wordmark, process, stack, case study, service preview
   ===================================================================== */
.brand-name { font-weight: 760; letter-spacing: -.035em; font-size: 1.06rem; }
.brand-name .wm-2 { font-weight: 450; color: var(--muted); letter-spacing: -.02em; }
.footer-brand .brand-name { font-size: 1.15rem; }
.kicker { display: inline-flex; align-items: center; gap: .5rem; color: var(--accent); }
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; opacity: .7; }
.section-head h2 { max-width: 30ch; }
.section-head p { font-size: 1.02rem; line-height: 1.65; }
.section { scroll-margin-top: 5rem; }

/* Process timeline */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 1.4rem; right: 1.4rem; top: 1.45rem; height: 2px; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--good) 80%, transparent)); opacity: .35; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.2rem 1.3rem; box-shadow: var(--shadow-s); }
.step-n { position: relative; display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; margin: -.15rem 0 .8rem; border-radius: 999px; font-family: var(--mono); font-size: .78rem; font-weight: 700; color: var(--accent-ink); background: var(--accent); box-shadow: 0 0 0 5px var(--bg); }
.step h3 { margin: 0 0 .4rem; font-size: 1.02rem; letter-spacing: -.015em; }
.step p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }

/* Stack */
.stack { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: .8rem; }
.stack-item { display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink-2); transition: border-color .2s ease, transform .2s ease, color .2s ease; }
.stack-item:hover { border-color: var(--line-2); transform: translateY(-2px); color: var(--accent); }
.stack-item svg { width: 24px; height: 24px; flex: none; }
.stack-item b { display: block; font-size: .9rem; color: var(--ink); letter-spacing: -.01em; }
.stack-item small { display: block; font-size: .74rem; color: var(--muted); line-height: 1.3; }

/* Case study with browser mockups */
.case { display: grid; grid-template-columns: 1.7fr 1fr; gap: 1.6rem; align-items: center; padding: clamp(1.1rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius-l); background: linear-gradient(160deg, var(--accent-soft), var(--surface) 55%); box-shadow: var(--shadow); }
.case-shots { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.mock { margin: 0; border-radius: 12px; overflow: hidden; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-l); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.mock:hover { transform: translateY(-4px) rotate(-.4deg); }
.mock-bar { display: flex; align-items: center; gap: 5px; padding: .45rem .6rem; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.mock-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.mock-bar i:nth-child(1) { background: #ff5f57; } .mock-bar i:nth-child(2) { background: #febc2e; } .mock-bar i:nth-child(3) { background: #28c840; }
.mock-bar span { margin-left: .5rem; font-size: .66rem; color: var(--muted); font-family: var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock img { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; }
.mock figcaption { padding: .55rem .75rem; font-size: .78rem; font-weight: 600; color: var(--muted); border-top: 1px solid var(--line); }
.mock.is-after figcaption { color: var(--accent); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.checks li { position: relative; padding-left: 1.7rem; color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: color-mix(in srgb, var(--good) 16%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2311845b' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat; }
.checks-sm li { font-size: .88rem; }

/* Service preview */
.notice { display: inline-block; padding: .55rem .9rem; border-radius: 10px; background: var(--warn); color: var(--ad-ink); font-size: .88rem; font-weight: 600; margin: 0 0 1.6rem; }
.products-4 { grid-template-columns: repeat(4, 1fr); }
.price-tbd { font-size: 1rem !important; color: var(--muted) !important; font-weight: 650 !important; }

@media (max-width: 1060px) { .stack { grid-template-columns: repeat(3, 1fr); } .products-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr 1fr; } .steps::before { display: none; }
  .case { grid-template-columns: 1fr; }
}
@media (max-width: 739px) {
  .steps, .products-4 { grid-template-columns: 1fr; }
  .stack { grid-template-columns: 1fr 1fr; }
  .case-shots { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .mock:hover, .stack-item:hover { transform: none; } }

/* Round 3: service packages */
.pkg .price-line { margin: .3rem 0 .4rem; }
.price-from { font-size: .82rem; color: var(--muted); font-weight: 600; }
.pkg-meta { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: .6rem 0 0; padding-top: .8rem; border-top: 1px solid var(--line); }
.pkg-meta dt { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pkg-meta dd { margin: .1rem 0 0; font-size: .88rem; font-weight: 600; color: var(--ink); }
.pkg .actions .btn { width: 100%; }
.notice-info { background: var(--accent-soft); color: var(--accent-2); }

/* =====================================================================
   Round 3: aurora hero, word reveal, magnetic + tilt, marquee, page transitions
   ===================================================================== */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-group(site-header) { animation-duration: 0s; }
::view-transition-old(root) { animation: vt-out .22s cubic-bezier(.4,0,1,1) both; }
::view-transition-new(root) { animation: vt-in .38s cubic-bezier(.2,.7,.2,1) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px) scale(.995); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

/* Glass navbar: brighter glass + animated hairline when scrolled */
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; opacity: 0; transition: opacity .3s ease;
  background: linear-gradient(90deg, transparent, #ff5ee6, #a35bff, #3fe6f2, transparent); background-size: 200% 100%; animation: hue 6s ease-in-out infinite; }
.site-header.is-scrolled { background: color-mix(in srgb, var(--bg) 68%, transparent); }
.site-header.is-scrolled::after { opacity: .7; }

/* Aurora mesh */
.aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora i { translate: 0 var(--py, 0px); } /* parallax per blob: the layer itself never moves, so no hard edge on scroll */
.aurora i { position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; filter: blur(60px); opacity: .55; will-change: transform; }
.aurora i:nth-child(1) { background: #a35bff; left: 45%; top: -35%; animation: au1 18s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { background: #3fe6f2; left: -15%; top: 45%; opacity: .32; animation: au2 22s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { background: #ff4fd8; left: 20%; top: -20%; width: 40%; opacity: .25; animation: au3 15s ease-in-out infinite alternate; }
@keyframes au1 { to { transform: translate3d(-25%, 20%, 0) scale(1.15); } }
@keyframes au2 { to { transform: translate3d(35%, -25%, 0) scale(.9); } }
@keyframes au3 { to { transform: translate3d(60%, 35%, 0) scale(1.25); } }
.home-hero > div:not(.aurora) { transform: translate3d(0, var(--pc, 0px), 0); }

/* Per-word reveal */
h1.wsplit { animation: none !important; }
h1.wsplit .w { display: inline-block; animation: wordin .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 45ms + 60ms); }
h1.wsplit .grad { animation: hue 8s ease-in-out infinite, wordfade .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: 0s, var(--gd, .4s); }
@keyframes wordin { from { opacity: 0; transform: translateY(.45em) rotate(2deg); filter: blur(6px); } }
@keyframes wordfade { from { opacity: 0; filter: blur(8px); } }

/* Magnetic buttons + shine */
.btn.mag { transition: transform .25s cubic-bezier(.2,.7,.2,1), background .15s ease, border-color .15s ease, box-shadow .2s ease, color .15s ease; }
.btn.mag:hover { transform: translate3d(var(--bx, 0px), var(--by, -1px), 0); }

/* Tilt cards */
.tilt { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .2s ease; transform-style: preserve-3d; }
.tilt.is-tilting { transition: transform .08s linear, box-shadow .3s ease, border-color .2s ease; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-3px); box-shadow: var(--shadow-l); }

/* Stack marquee */
.stack.marquee { display: flex; flex-wrap: nowrap; gap: .8rem; width: max-content; animation: marquee 32s linear infinite; }
.stack.marquee .stack-item { flex: none; min-width: 200px; }
.marquee-wrap { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); padding: 4px 0; }
.marquee-wrap:hover .stack.marquee, .marquee-wrap:focus-within .stack.marquee { animation-play-state: paused; }
@keyframes marquee { to { transform: translate3d(calc(-50% - .4rem), 0, 0); } }

/* Scroll-linked section reveal for headings (progressive) */
@supports (animation-timeline: view()) {
  .section-head h2 { animation: headin linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  @keyframes headin { from { opacity: .2; letter-spacing: .02em; transform: translateY(14px); } }
}

@media (max-width: 720px) { .aurora i { filter: blur(44px); } .stack.marquee .stack-item { min-width: 170px; } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .aurora i, h1.wsplit .w, h1.wsplit .grad, .stack.marquee, .section-head h2, .site-header::after { animation: none !important; }
  .tilt.is-tilting, .btn.mag:hover { transform: none; }
}

/* =====================================================================
   Round 4: Neon identity (palette sampled from the neon DESIRE logo)
   pink #ff5ee6 · violet #a35bff · cyan #3fe6f2 · night #06060c
   ===================================================================== */
:root { --neon: linear-gradient(90deg, #ff5ee6, #a35bff 50%, #3fe6f2); --glow-pink: rgba(255, 94, 230, .55); --glow-cyan: rgba(63, 230, 242, .5); }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(255,94,230,.25), 0 0 18px -4px var(--glow-pink); transition: box-shadow .3s ease, transform .35s cubic-bezier(.2,.7,.2,1); }
.brand:hover .brand-mark { box-shadow: 0 0 0 1px rgba(63,230,242,.45), 0 0 24px -2px var(--glow-cyan); transform: scale(1.05); }
.brand-name { text-transform: uppercase; letter-spacing: .16em; font-weight: 650; font-size: 1rem; background: var(--neon); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-name .wm-2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.brand-tag { letter-spacing: .02em; }
:root:not([data-theme="light"]) .brand-name { filter: drop-shadow(0 0 6px rgba(255,94,230,.35)); }
:root[data-theme="light"] .brand-name { background-image: linear-gradient(90deg, #c2189f, #7a2bd9 50%, #0b8ea6); }

/* Neon headline accents */
.home-hero h1 { text-shadow: 0 0 34px rgba(255, 94, 230, .22); }
.home-hero h1 .grad, .home-hero h1.wsplit .grad { background-image: linear-gradient(90deg, #ff8cef, #c08bff, #6ff3f7, #ff8cef); text-shadow: none; filter: drop-shadow(0 0 12px rgba(255, 94, 230, .45)); }
.home-hero .eyebrow { color: #ffb3f3; text-shadow: 0 0 10px rgba(255, 94, 230, .5); }
.home-hero { border-color: rgba(255, 94, 230, .22); box-shadow: 0 0 0 1px rgba(63,230,242,.06), 0 30px 80px -30px rgba(255, 94, 230, .35), var(--shadow-l); }
.kicker { text-shadow: 0 0 14px color-mix(in srgb, var(--accent) 45%, transparent); }
:root[data-theme="light"] .kicker { text-shadow: none; }

/* Neon buttons */
.btn-primary { background: linear-gradient(90deg, #ff5ee6, #a35bff); color: #14041a; border: 0; box-shadow: 0 0 0 1px rgba(255,94,230,.45), 0 8px 26px -8px var(--glow-pink); }
.btn-primary:hover { background: linear-gradient(90deg, #ff7aeb, #b679ff); color: #14041a; box-shadow: 0 0 0 1px rgba(63,230,242,.6), 0 10px 34px -6px var(--glow-pink), 0 0 22px -6px var(--glow-cyan); }
:root[data-theme="light"] .btn-primary { background: linear-gradient(90deg, #b0169e, #7a2bd9); color: #fff; }
:root[data-theme="light"] .btn-primary:hover { background: linear-gradient(90deg, #c21aae, #8a3ae6); color: #fff; }
.home-hero .btn-light { box-shadow: 0 0 0 1px rgba(255,255,255,.4), 0 0 26px -6px rgba(255, 94, 230, .7); }
.home-hero .btn-outline-light { border-color: rgba(63, 230, 242, .45); }
.home-hero .btn-outline-light:hover { box-shadow: 0 0 20px -6px var(--glow-cyan); }

/* Neon lines & cards */
.site-header.is-scrolled::after { opacity: .9; box-shadow: 0 0 10px rgba(255, 94, 230, .6); }
.progress { box-shadow: 0 0 10px rgba(255, 94, 230, .7); }
:root:not([data-theme="light"]) .product:hover, :root:not([data-theme="light"]) .card:hover, :root:not([data-theme="light"]) .pkg:hover, :root:not([data-theme="light"]) .tpl-card:hover {
  border-color: rgba(255, 94, 230, .45); box-shadow: 0 0 0 1px rgba(255,94,230,.15), 0 18px 50px -20px rgba(255, 94, 230, .45); }
.card.featured, .pkg.featured, .product.featured { border-color: rgba(255, 94, 230, .5); }
:root:not([data-theme="light"]) .card.featured, :root:not([data-theme="light"]) .product.featured { box-shadow: 0 0 0 1px rgba(255,94,230,.25), 0 0 40px -14px var(--glow-pink); }
.team-lines path.is-on, .team svg path.is-on { filter: drop-shadow(0 0 4px rgba(255, 94, 230, .8)); }
.section-head h2::after { content: ""; display: block; width: 56px; height: 2px; margin-top: .7rem; border-radius: 2px; background: var(--neon); box-shadow: 0 0 10px rgba(255, 94, 230, .6); }
.aurora i { mix-blend-mode: screen; }
.aurora i:nth-child(1) { background: #ff3fd6; opacity: .36; }
.aurora i:nth-child(2) { background: #2bd9f0; opacity: .32; }
.aurora i:nth-child(3) { background: #8a3dff; opacity: .4; }
@media (prefers-reduced-motion: reduce) { .brand:hover .brand-mark { transform: none; } }

/* 2026-11-23: websites in nav + hero, header fit, spotlight coords */
nav a.nav-hot { position: relative; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(63,230,242,.35); }
nav a.nav-hot small { font-size: .72rem; font-weight: 600; color: #3fe6f2; margin-left: .2rem; white-space: nowrap; }
:root[data-theme="light"] nav a.nav-hot small { color: #0b7f8a; }
nav a.nav-hot:hover { box-shadow: inset 0 0 0 1px rgba(63,230,242,.6), 0 0 16px -6px var(--glow-cyan); }
.hero-sub { color: var(--hero-muted); font-size: .9rem; margin: .8rem 0 0; max-width: 34rem; }
@media (max-width: 1180px) { .brand-tag { display: none; } nav a.nav-hot small { display: none; } }
@media (max-width: 860px) { nav a.nav-hot small { display: inline; } }
