/* PowerOne marketing site — no build step. Fonts: Fraunces (display) + Inter (text). */

:root {
  --ink: #0a0f1c;
  --ink-2: #0f1628;
  --ink-3: #172039;
  --ink-line: rgb(255 255 255 / 0.09);
  --ink-text: #e9e6df;
  --ink-muted: #a3a9b8;

  --paper: #faf8f3;
  --paper-2: #f3efe5;
  --card: #ffffff;
  --text: #171b26;
  --muted: #5a6171;
  --line: #e7e1d4;

  --gold: #c9a35a;
  --gold-soft: #e6cf9d;
  --gold-ink: #85652a;       /* gold for text on light backgrounds */
  --gold-wash: rgb(201 163 90 / 0.12);

  --ok: #2f8a5f;
  --warn: #b7802a;
  --crit: #c0473a;
  --info: #4b6bd6;

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1180px;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgb(10 15 28 / 0.06);
  --shadow: 0 1px 2px rgb(10 15 28 / 0.05), 0 12px 32px -8px rgb(10 15 28 / 0.12);
  --shadow-lg: 0 40px 80px -24px rgb(0 0 0 / 0.55), 0 0 0 1px rgb(255 255 255 / 0.06);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.12; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h1 em, h2 em { font-style: italic; color: #a07b36; }
.hero h1 em, .dark h2 em, .cta-box h2 em, .lost h1 em { color: var(--gold); }
h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
@media (max-width: 520px) { .wrap { width: calc(100% - 32px); } }

.skip { position: absolute; left: -9999px; top: 10px; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 10px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------------------------------------------------------------- header */

.site-header { position: fixed; inset: 0 0 auto; z-index: 60; transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; border-bottom: 1px solid transparent; }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 76px; }
.site-header.solid { background: rgb(10 15 28 / 0.88); backdrop-filter: saturate(1.3) blur(14px); border-bottom-color: var(--ink-line); }

.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: #fff; font-weight: 600; font-size: 1.14rem; letter-spacing: -0.01em; }
.logo svg { width: 32px; height: 32px; flex: none; }
.logo b { font-weight: 600; color: var(--gold-soft); }

.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav a { color: var(--ink-muted); text-decoration: none; font-size: 0.94rem; transition: color 0.15s; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav .btn { color: var(--ink); }
.nav .btn:hover { color: var(--ink); }

.menu-toggle { display: none; margin-left: auto; background: transparent; border: 1px solid var(--ink-line); color: #fff; border-radius: 10px; padding: 9px 12px; font: 500 0.9rem var(--sans); cursor: pointer; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); border-bottom: 1px solid var(--ink-line); padding: 8px 20px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 2px; border-bottom: 1px solid var(--ink-line); font-size: 1rem; }
  .nav .btn { margin-top: 16px; border: 0; justify-content: center; }
  .site-header.menu-open { background: var(--ink); }
}

/* ---------------------------------------------------------------- buttons */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px; border: 1px solid transparent; font: 600 0.96rem/1 var(--sans); letter-spacing: 0.005em; text-decoration: none; cursor: pointer; transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(180deg, #d9b772, var(--gold)); color: var(--ink); box-shadow: 0 8px 24px -8px rgb(201 163 90 / 0.6), inset 0 1px 0 rgb(255 255 255 / 0.35); }
.btn-gold:hover { box-shadow: 0 12px 28px -8px rgb(201 163 90 / 0.75), inset 0 1px 0 rgb(255 255 255 / 0.35); }
.btn-line { color: #fff; border-color: rgb(255 255 255 / 0.22); background: rgb(255 255 255 / 0.03); }
.btn-line:hover { border-color: rgb(255 255 255 / 0.45); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-outline { color: var(--text); border-color: var(--line); background: var(--card); }
.btn-outline:hover { border-color: var(--text); }
.btn-sm { padding: 10px 18px; font-size: 0.9rem; }

/* ---------------------------------------------------------------- common */

section { padding: 120px 0; position: relative; }
@media (max-width: 720px) { section { padding: 80px 0; } }
.dark { background: var(--ink); color: var(--ink-text); }
.dark h2, .dark h3 { color: #fff; }
.tint { background: var(--paper-2); }

.kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 0.76rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 22px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.dark .kicker { color: var(--gold); }

.lede { font-size: 1.14rem; color: var(--muted); max-width: 60ch; }
.dark .lede { color: var(--ink-muted); }

.head { max-width: 760px; margin-bottom: 64px; }
.head.center { margin-inline: auto; text-align: center; }
.head.center .lede { margin-inline: auto; }
.head.center .kicker::after { content: ""; width: 28px; height: 1px; background: currentColor; }

.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0.5; border: 0; margin: 0; }

/* reveal on scroll — only when JS is present */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- hero */

.hero { position: relative; padding: 168px 0 0; background: var(--ink); color: var(--ink-text); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 480px at 78% -8%, rgb(201 163 90 / 0.20), transparent 60%),
    radial-gradient(700px 420px at 8% 12%, rgb(75 107 214 / 0.16), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.35;
  background-image: linear-gradient(rgb(255 255 255 / 0.04) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.04) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 75%);
}
.hero-copy { max-width: 880px; margin-inline: auto; text-align: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 999px; border: 1px solid rgb(201 163 90 / 0.35); background: rgb(201 163 90 / 0.08); color: var(--gold-soft); font-size: 0.84rem; margin-bottom: 30px; }
.badge span { background: var(--gold); color: var(--ink); border-radius: 999px; padding: 3px 9px; font-weight: 700; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; }
.hero h1 { color: #fff; margin-bottom: 26px; }
.hero .lede { color: #b9bfcc; }
.hero .kicker { color: var(--gold); }
.hero .lede { margin: 0 auto 38px; font-size: 1.2rem; }
.hero .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.assure { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; margin: 34px 0 0; padding: 0; list-style: none; font-size: 0.9rem; color: var(--ink-muted); }
.assure li { display: inline-flex; align-items: center; gap: 8px; }
.assure svg { width: 16px; height: 16px; color: var(--gold); }

/* product frame */
.stage { margin: 76px auto -1px; max-width: 1100px; position: relative; }
.stage::before { content: ""; position: absolute; left: 10%; right: 10%; top: 8%; height: 60%; background: radial-gradient(closest-side, rgb(201 163 90 / 0.25), transparent); filter: blur(40px); z-index: -1; }
.frame { background: #0d1426; border-radius: 16px 16px 0 0; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid rgb(255 255 255 / 0.08); border-bottom: 0; }
.frame-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--ink-line); background: #0b1122; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a3350; }
.frame-bar .url { margin-left: 14px; flex: 1; max-width: 360px; font-size: 0.74rem; color: var(--ink-muted); background: rgb(255 255 255 / 0.04); border-radius: 6px; padding: 5px 12px; }
.app { display: grid; grid-template-columns: 200px 1fr; min-height: 440px; background: var(--paper); color: var(--text); }
.app-side { background: #fff; border-right: 1px solid var(--line); padding: 18px 12px; font-size: 0.8rem; }
.app-side .brand { display: flex; align-items: center; gap: 8px; font-weight: 600; padding: 0 8px 16px; }
.app-side .brand svg { width: 20px; height: 20px; }
.app-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.app-side li { padding: 7px 10px; border-radius: 8px; color: var(--muted); }
.app-side li.on { background: var(--paper-2); color: var(--text); font-weight: 600; }
.app-main { padding: 22px 24px; min-width: 0; }
.app-main .hello { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.app-main .hello b { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; }
.app-main .hello span { font-size: 0.76rem; color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.kpi small { display: block; font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.kpi b { display: block; font-size: 1.28rem; font-weight: 650; letter-spacing: -0.02em; margin-top: 2px; }
.kpi em { font-style: normal; font-size: 0.72rem; color: var(--crit); }
.kpi em.ok { color: var(--ok); }
.feed { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.feed-h { display: flex; justify-content: space-between; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 0.8rem; font-weight: 600; }
.feed-h span { color: var(--muted); font-weight: 500; }
.feed ul { list-style: none; margin: 0; padding: 0; }
.feed li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 14px; font-size: 0.8rem; }
.feed li + li { border-top: 1px solid var(--line); }
.feed li small { display: block; color: var(--muted); font-size: 0.72rem; }
.feed .dot { width: 8px; height: 8px; border-radius: 50%; }
.dot.crit { background: var(--crit); box-shadow: 0 0 0 3px rgb(192 71 58 / 0.14); }
.dot.warn { background: var(--warn); box-shadow: 0 0 0 3px rgb(183 128 42 / 0.14); }
.dot.info { background: var(--info); box-shadow: 0 0 0 3px rgb(75 107 214 / 0.14); }
.feed .go { color: var(--gold-ink); font-weight: 600; font-size: 0.74rem; }
@media (max-width: 820px) {
  .app { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis .kpi:last-child { display: none; }
}
@media (max-width: 480px) { .feed li:nth-child(n+5) { display: none; } .app-main { padding: 16px; } }

/* ---------------------------------------------------------------- numbers band */

.band { padding: 56px 0; background: var(--ink-2); color: var(--ink-text); border-top: 1px solid var(--ink-line); }
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.numbers div { text-align: center; padding: 0 12px; }
.numbers div + div { border-left: 1px solid var(--ink-line); }
.numbers b { display: block; font: 400 2.8rem/1 var(--serif); color: var(--gold-soft); margin-bottom: 10px; }
.numbers span { font-size: 0.92rem; color: var(--ink-muted); }
@media (max-width: 760px) { .numbers { grid-template-columns: 1fr 1fr; row-gap: 36px; } .numbers div:nth-child(3) { border-left: 0; } }

/* ---------------------------------------------------------------- pillars */

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.pillar { padding: 44px 40px 8px 0; }
.pillar + .pillar { padding-left: 40px; border-left: 1px solid var(--line); }
.pillar .num { font: italic 400 1rem var(--serif); color: var(--gold-ink); display: block; margin-bottom: 26px; }
.pillar h3 { font: 400 1.7rem/1.2 var(--serif); letter-spacing: -0.01em; margin-bottom: 14px; }
.pillar p { color: var(--muted); }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } .pillar, .pillar + .pillar { padding: 36px 0 12px; border-left: 0; border-top: 1px solid var(--line); } .pillars { border-top: 0; } }

/* ---------------------------------------------------------------- journey rail */

.rail { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; counter-reset: r; }
.rail::before { content: ""; position: absolute; top: 23px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), var(--gold), transparent); opacity: 0.6; }
.rail li { counter-increment: r; text-align: center; padding: 0 10px; position: relative; }
.rail li::before { content: counter(r, decimal-leading-zero); display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 20px; border-radius: 50%; background: var(--ink); color: var(--gold-soft); border: 1px solid rgb(201 163 90 / 0.5); font: italic 400 0.98rem var(--serif); position: relative; }
.rail h3 { font-size: 1rem; margin-bottom: 6px; }
.rail p { font-size: 0.9rem; color: var(--muted); margin: 0; }
@media (max-width: 960px) {
  .rail { grid-template-columns: 1fr; gap: 26px; }
  .rail::before { top: 10px; bottom: 10px; left: 22px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, transparent, var(--gold), var(--gold), transparent); }
  .rail li { display: grid; grid-template-columns: 46px 1fr; column-gap: 20px; text-align: left; padding: 0; }
  .rail li::before { margin: 0; grid-row: span 2; }
}

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 72px; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); }
.panel h3 { font: 400 1.5rem/1.2 var(--serif); margin-bottom: 18px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 10px; color: var(--muted); font-size: 0.96rem; }
.steps li::before { content: counter(s); font: italic 400 1rem var(--serif); color: var(--gold-ink); }

/* ---------------------------------------------------------------- workspaces */

.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.tile { background: var(--card); padding: 30px 26px 32px; transition: background 0.2s ease; }
.tile:hover { background: #fffdf8; }
.tile svg { width: 26px; height: 26px; color: var(--gold-ink); margin-bottom: 22px; stroke-width: 1.5; }
.tile h3 { margin-bottom: 8px; }
.tile p { font-size: 0.92rem; color: var(--muted); margin: 0; }
@media (max-width: 1020px) { .bento { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .bento { grid-template-columns: 1fr; } }
.center-cta { text-align: center; margin-top: 48px; }

/* ---------------------------------------------------------------- split + ticks */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split.top { align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 48px; } }

.ticks { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 16px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; color: var(--muted); }
.ticks li::before { content: ""; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--gold-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2385652a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center/14px no-repeat; }
.ticks li strong { color: var(--text); font-weight: 600; }
.dark .ticks li { color: var(--ink-muted); }
.dark .ticks li strong { color: #fff; }
.dark .ticks li::before { background-color: rgb(201 163 90 / 0.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23e6cf9d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E"); }

/* invoice card */
.invoice { background: #fff; border-radius: 14px; box-shadow: 0 30px 60px -24px rgb(10 15 28 / 0.35), 0 0 0 1px var(--line); padding: 30px 32px; font-size: 0.86rem; position: relative; transform: rotate(-1.2deg); }
.invoice::after { content: ""; position: absolute; inset: 12px -12px -12px 12px; border-radius: 14px; background: var(--paper-2); border: 1px solid var(--line); z-index: -1; transform: rotate(2.4deg); }
.inv-top { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.inv-top b { font: 500 1.35rem var(--serif); display: block; }
.inv-top small, .inv-meta small { color: var(--muted); display: block; font-size: 0.74rem; }
.inv-top .no { text-align: right; }
.inv-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.inv-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.inv-table th { text-align: left; font-weight: 600; font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; padding: 8px 0; border-bottom: 1px solid var(--line); }
.inv-table td { padding: 9px 0; border-bottom: 1px dashed var(--line); }
.inv-table .r { text-align: right; }
.inv-table tfoot td { border: 0; padding-top: 6px; }
.inv-table tfoot tr:last-child td { font-weight: 700; font-size: 1rem; padding-top: 12px; border-top: 1px solid var(--text); }
.stamp { position: absolute; top: -13px; right: 28px; background: var(--ok); color: #fff; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 12px; border-radius: 6px; transform: rotate(3deg); box-shadow: var(--shadow); }

/* ---------------------------------------------------------------- security grid */

.secure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .secure { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .secure { grid-template-columns: 1fr; } }
.sec { border: 1px solid var(--ink-line); background: linear-gradient(180deg, rgb(255 255 255 / 0.035), rgb(255 255 255 / 0.01)); border-radius: var(--radius); padding: 30px; }
.sec svg { width: 26px; height: 26px; color: var(--gold); margin-bottom: 20px; stroke-width: 1.5; }
.sec h3 { font-size: 1.05rem; margin-bottom: 8px; }
.sec p { color: var(--ink-muted); font-size: 0.93rem; margin: 0; }

/* ---------------------------------------------------------------- audience */

.trades { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.trades li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.trades b { font: 400 1.3rem var(--serif); }
.trades span { color: var(--muted); font-size: 0.9rem; text-align: right; }
@media (max-width: 560px) { .trades li { flex-direction: column; gap: 2px; } .trades span { text-align: left; } }

.facts { display: grid; gap: 16px; }
.fact { display: grid; grid-template-columns: 84px 1fr; gap: 20px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.fact b { font: 400 2.6rem/1 var(--serif); color: var(--gold-ink); }
.fact h3 { margin-bottom: 4px; }
.fact p { margin: 0; color: var(--muted); font-size: 0.93rem; }

/* ---------------------------------------------------------------- setup */

.setup { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: st; }
@media (max-width: 960px) { .setup { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .setup { grid-template-columns: 1fr; } }
.setup li { counter-increment: st; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; position: relative; overflow: hidden; }
.setup li::before { content: counter(st, decimal-leading-zero); position: absolute; top: 10px; right: 18px; font: italic 400 3rem/1 var(--serif); color: var(--gold-wash); color: rgb(201 163 90 / 0.22); }
.setup h3 { margin-bottom: 6px; }
.setup p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ---------------------------------------------------------------- scope */

.scope { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
@media (max-width: 900px) { .scope { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .scope { grid-template-columns: 1fr; } }
.scope div { background: var(--card); padding: 28px; }
.scope h3 { font-size: 1rem; margin-bottom: 6px; display: flex; gap: 10px; align-items: center; }
.scope h3::before { content: ""; width: 14px; height: 1px; background: var(--gold-ink); }
.scope p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ---------------------------------------------------------------- faq */

.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font: 400 1.3rem/1.3 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2385652a' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M10 5v10M5 10h10'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 56px 26px 0; margin: 0; }

/* ---------------------------------------------------------------- cta */

.cta { padding: 0 0 120px; }
.cta-box { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: var(--ink-text); border-radius: 28px; padding: 88px 40px; text-align: center; }
.cta-box::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 50% 0%, rgb(201 163 90 / 0.25), transparent 70%); }
.cta-box h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.cta-box p { color: var(--ink-muted); max-width: 54ch; margin: 0 auto 36px; font-size: 1.1rem; }
.cta-box .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.cta-box small { display: block; margin-top: 24px; color: var(--ink-muted); font-size: 0.86rem; }
.cta-box small a { color: var(--gold-soft); }

/* ---------------------------------------------------------------- footer */

.site-footer { background: var(--ink); color: var(--ink-muted); padding: 80px 0 36px; font-size: 0.92rem; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--ink-line); }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr 1fr; } .foot > div:first-child { grid-column: 1 / -1; } }
.foot p { max-width: 34ch; margin-top: 18px; }
.foot h4 { color: #fff; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { color: var(--ink-muted); text-decoration: none; }
.foot a:hover { color: var(--gold-soft); }
.legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; font-size: 0.84rem; }

/* ---------------------------------------------------------------- features page */

.page-hero { padding: 172px 0 96px; }
.page-hero .hero-copy { text-align: left; margin: 0; max-width: 820px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 0; padding: 0; list-style: none; }
.chips a { display: inline-block; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--ink-line); color: var(--ink-muted); text-decoration: none; font-size: 0.88rem; transition: all 0.15s; }
.chips a:hover { color: var(--ink); background: var(--gold); border-color: var(--gold); }

.catalogue { padding: 96px 0 40px; }
.cat-layout { display: grid; grid-template-columns: 220px 1fr; gap: 64px; align-items: start; }
.toc { position: sticky; top: 104px; list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: 0.92rem; }
.toc a { display: block; padding: 8px 14px; border-left: 1px solid var(--line); color: var(--muted); text-decoration: none; }
.toc a:hover, .toc a.active { color: var(--text); border-left-color: var(--gold-ink); }
@media (max-width: 900px) { .cat-layout { grid-template-columns: 1fr; } .toc { display: none; } }

.ws { padding: 0 0 72px; margin-bottom: 72px; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.ws:last-of-type { border-bottom: 0; margin-bottom: 0; }
.ws-head { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; margin-bottom: 30px; }
.ws-head .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: var(--gold-soft); display: grid; place-items: center; }
.ws-head .ic svg { width: 24px; height: 24px; stroke-width: 1.5; }
.ws-head h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: 6px; }
.ws-head p { color: var(--muted); margin: 0; }
.ws-head .q { font-family: var(--serif); font-style: italic; color: var(--gold-ink); margin-top: 4px; }
.ws ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .ws ul { grid-template-columns: 1fr; } }
.ws li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; font-size: 0.94rem; color: var(--muted); }
.ws li b { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }

.note { margin-top: 40px; border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); padding: 28px 30px; color: var(--muted); display: grid; grid-template-columns: auto 1fr; gap: 18px; }
.note svg { width: 24px; height: 24px; color: var(--gold-ink); }
.note b { color: var(--text); }

/* ---------------------------------------------------------------- 404 */

.lost { min-height: 100vh; display: grid; place-content: center; text-align: center; padding: 120px 20px; }
.lost .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .tile, .faq summary::after { transition: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
