/* Layout concept: a precise product canvas. Neutral zinc surfaces, hairline
   borders, one electric-indigo accent for action, cyan/emerald only as light
   (glows, success). Content sits on a 1200px grid; colour is earned, not sprayed. */
:root {
  --bg: #ffffff;
  --bg-subtle: #fafafa;
  --bg-muted: #f4f4f5;
  --surface: #ffffff;
  --ink: #09090b;
  --ink-2: #52525b;
  --ink-3: #a1a1aa;
  --line: #e4e4e7;
  --line-strong: #d4d4d8;
  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --accent-ink: #ffffff;
  --accent-soft: #eef0ff;
  --accent-text: #4338ca;
  --cyan: #06b6d4;
  --emerald: #10b981;
  --danger: #dc2626;
  --glass: rgba(255, 255, 255, 0.72);
  --shadow-sm: 0 1px 2px rgba(9, 9, 11, .05);
  --shadow: 0 1px 2px rgba(9, 9, 11, .04), 0 8px 24px -8px rgba(9, 9, 11, .10);
  --shadow-lg: 0 2px 4px rgba(9, 9, 11, .04), 0 24px 60px -20px rgba(9, 9, 11, .22);
  --band: #09090b; --band-ink: #fafafa; --band-ink-2: #a1a1aa; --band-line: rgba(255, 255, 255, .1);

  --f-sans: "Geist", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --t-xs: .75rem; --t-sm: .875rem; --t-md: 1rem; --t-lg: 1.125rem; --t-xl: 1.375rem;
  --t-2xl: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  --t-3xl: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
  --t-hero: clamp(2.6rem, 1.6rem + 4.4vw, 4.75rem);
  --r-sm: 8px; --r: 12px; --r-lg: 16px; --r-xl: 24px;
  --wrap: 1200px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --head-h: 64px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--t-md)/1.6 var(--f-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; font-feature-settings: "ss01", "cv11"; }
img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.025em; font-weight: 600; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.mono { font-family: var(--f-mono); }
.muted { color: var(--ink-2); }
.small { font-size: var(--t-sm); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 48px); margin-inline: auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.wrap-narrow { width: 100%; max-width: calc(760px + 48px); margin-inline: auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
@media (max-width: 520px) {
  .wrap, .wrap-narrow { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
}

/* ---------- Buttons ---------- */
.btn { --b-bg: var(--surface); --b-ink: var(--ink); --b-line: var(--line-strong); display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--b-line); background: var(--b-bg); color: var(--b-ink); font: 500 var(--t-sm)/1 var(--f-sans); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(2px); }
.btn:active { transform: translateY(1px); }
.btn-primary { --b-bg: var(--accent); --b-ink: var(--accent-ink); --b-line: transparent; box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 1px 2px rgba(9, 9, 11, .2), 0 6px 18px -6px color-mix(in srgb, var(--accent) 60%, transparent); }
.btn-primary:hover { --b-bg: var(--accent-hover); box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 1px 2px rgba(9, 9, 11, .2), 0 10px 26px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-ghost:hover { --b-bg: var(--bg-muted); }
.btn-sm { height: 34px; padding: 0 12px; font-size: var(--t-sm); border-radius: 9px; }
.btn-lg { height: 48px; padding: 0 22px; font-size: var(--t-md); border-radius: 12px; }
.btn-block { width: 100%; }
.btn-light { --b-bg: #fafafa; --b-ink: #09090b; --b-line: transparent; }
.btn-light:hover { --b-bg: #ffffff; }
.btn-ghost-light { --b-bg: transparent; --b-ink: #fafafa; --b-line: rgba(255, 255, 255, .2); }
.btn-ghost-light:hover { --b-bg: rgba(255, 255, 255, .08); }
.icon-btn { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); display: grid; place-items: center; cursor: pointer; transition: color .2s, border-color .2s; }
.icon-btn:hover { color: var(--ink); border-color: var(--line-strong); }
.icon-btn svg { width: 17px; height: 17px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-sm); font-weight: 500; color: var(--accent-text); text-decoration: none; }
.link-arrow svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Badges / eyebrow ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 500 var(--t-xs)/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--accent-text); }
.eyebrow-light { color: #a5a1ff; }
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font: 500 11px/1 var(--f-sans); background: var(--accent-soft); color: var(--accent-text); white-space: nowrap; }
.badge-muted { background: var(--bg-muted); color: var(--ink-2); }
.pill { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px 0 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: var(--t-sm); color: var(--ink-2); text-decoration: none; transition: border-color .2s; width: fit-content; }
.pill:hover { border-color: var(--line-strong); color: var(--ink); }
.pill svg { width: 14px; height: 14px; }
.pill-tag { background: var(--accent); color: var(--accent-ink); font: 600 11px/1 var(--f-sans); padding: 6px 9px; border-radius: 999px; }

/* ---------- Announcement + header ---------- */
.announce { background: var(--band); color: var(--band-ink); font-size: var(--t-sm); padding-top: env(safe-area-inset-top, 0px); }
.announce-row { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; flex-wrap: wrap; text-align: center; padding-block: 6px; }
.announce a { display: inline-flex; align-items: center; gap: 4px; color: #a5a1ff; text-decoration: none; font-weight: 500; }
.announce a svg { width: 14px; height: 14px; }
.announce-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 4px color-mix(in srgb, var(--emerald) 25%, transparent); }
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--glass); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-head.is-scrolled { border-bottom-color: var(--line); }
.head-row { display: flex; align-items: center; gap: 24px; height: var(--head-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -0.02em; font-size: 1.05rem; }
.brand-mark { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(140deg, var(--accent), color-mix(in srgb, var(--accent) 55%, var(--cyan))); display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 6px; box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 4px 12px -4px var(--accent); }
.brand-mark i { background: rgba(255, 255, 255, .95); border-radius: 2px; }
.brand-mark i:nth-child(3) { grid-column: span 2; background: rgba(255, 255, 255, .55); }
.nav { display: flex; gap: 2px; }
.nav a { text-decoration: none; font-size: var(--t-sm); color: var(--ink-2); padding: 8px 12px; border-radius: 8px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); background: var(--bg-muted); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.nav-only-mobile { display: none; }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.head-link { font-size: var(--t-sm); color: var(--ink-2); text-decoration: none; padding: 8px 10px; }
.head-link:hover { color: var(--ink); }
.menu-btn { display: none; }
@media (max-width: 940px) {
  .nav { position: fixed; top: calc(var(--head-h) + env(safe-area-inset-top, 0px)); left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px)); background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: .25s var(--ease); }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { font-size: var(--t-lg); padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-only-mobile { display: block; }
  .menu-btn { display: grid; }
  .head-link { display: none; }
}
@media (max-width: 480px) { .head-actions .btn { display: none; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 120px); position: relative; }
.section-tight { padding-block: clamp(40px, 5vw, 64px); position: relative; }
.section-muted { background: var(--bg-subtle); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 56px); max-width: 720px; }
.section-head h2 { font-size: var(--t-3xl); letter-spacing: -0.035em; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head.split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head.split > div { display: grid; gap: 14px; max-width: 640px; }
.lede { font-size: var(--t-lg); color: var(--ink-2); line-height: 1.6; max-width: 62ch; }
.center-note { text-align: center; margin-top: 32px; color: var(--ink-2); font-size: var(--t-sm); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 7vw, 96px) clamp(48px, 6vw, 88px); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%); opacity: .7; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; }
.hero-glow.g1 { width: 520px; height: 520px; right: 4%; top: -12%; background: color-mix(in srgb, var(--accent) 45%, transparent); }
.hero-glow.g2 { width: 420px; height: 420px; right: 26%; top: 30%; background: color-mix(in srgb, var(--cyan) 30%, transparent); }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 32px; align-items: center; }
.hero-copy { display: grid; gap: 24px; justify-items: start; min-width: 0; }
.hero-copy > *, .page-head-inner > * { max-width: 100%; }
.hero h1 { font-size: var(--t-hero); letter-spacing: -0.045em; line-height: 1.02; font-weight: 600; }
.grad { background: linear-gradient(100deg, var(--accent) 10%, color-mix(in srgb, var(--accent) 40%, var(--cyan)) 60%, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-ctas.center { justify-content: center; }
.hero-proof { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: var(--t-sm); color: var(--ink-2); }
.hero-proof li { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof svg { width: 16px; height: 16px; color: var(--emerald); }
.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 100%; min-height: 360px; }
#hero3d { position: absolute; inset: -10% -14% -10% -22%; width: 136%; height: 120%; max-width: none; pointer-events: none; }
.hero-fallback { position: absolute; inset: 0; display: none; place-items: center; }
.no-webgl .hero-fallback { display: grid; }
.no-webgl #hero3d { display: none; }
.hero-fallback .cover { position: absolute; width: 52%; }
.hero-fallback .cover:nth-child(1) { transform: translate(-30%, -12%) rotate(-6deg); }
.hero-fallback .cover:nth-child(2) { transform: translate(24%, 4%) rotate(4deg); }
.hero-fallback .cover:nth-child(3) { transform: translate(-4%, 30%) rotate(-2deg); }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { aspect-ratio: 4 / 3; min-height: 300px; order: 2; }
  #hero3d { inset: -6% -8%; width: 116%; height: 112%; }
}

/* ---------- Category strip ---------- */
.cat-strip { border-block: 1px solid var(--line); background: var(--bg-subtle); }
.cat-strip-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cat-chip { display: flex; align-items: center; gap: 12px; padding: 20px 16px; text-decoration: none; border-left: 1px solid var(--line); transition: background .2s; min-width: 0; }
.cat-chip:first-child { border-left: 0; }
.cat-chip:hover { background: var(--bg); }
.cat-chip b { display: block; font-weight: 500; font-size: var(--t-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-chip small { color: var(--ink-3); font-size: var(--t-xs); }
.cat-chip > span:last-child { min-width: 0; }
.cat-ico { flex: none; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); position: relative; box-shadow: var(--shadow-sm); }
.cat-ico::before, .cat-ico::after { content: ""; position: absolute; border-radius: 2px; }
.cat-ico-notion::before { inset: 9px 9px auto; height: 3px; background: var(--ink); box-shadow: 0 6px 0 var(--ink-3), 0 12px 0 var(--ink-3); }
.cat-ico-ebook::before { inset: 7px 10px; background: color-mix(in srgb, var(--accent) 80%, #f59e0b); border-radius: 2px 4px 4px 2px; }
.cat-ico-canva::before { inset: 8px; background: conic-gradient(from 0deg, var(--accent) 0 25%, var(--cyan) 0 50%, #f472b6 0 75%, var(--emerald) 0); border-radius: 4px; }
.cat-ico-prompt::before { content: ">_"; inset: 0; display: grid; place-items: center; font: 600 11px/1 var(--f-mono); color: var(--accent-text); }
.cat-ico-app::before { inset: 6px 11px; border: 2px solid var(--ink); border-radius: 4px; }
@media (max-width: 960px) {
  .cat-strip-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-chip { border-left: 0; border-top: 1px solid var(--line); }
  .cat-chip:nth-child(-n+2) { border-top: 0; }
  .cat-chip:nth-child(even) { border-left: 1px solid var(--line); }
  .cat-chip:last-child:nth-child(odd) { grid-column: span 2; }
}

/* ---------- Product cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pgrid { grid-template-columns: 1fr; } }
.pcard { display: flex; flex-direction: column; text-decoration: none; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; transition: border-color .25s, box-shadow .35s var(--ease), transform .35s var(--ease); }
.pcard:hover { border-color: var(--line-strong); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.pcard .cover { border-radius: 0; border: 0; border-bottom: 1px solid var(--line); }
.pcard-body { display: grid; gap: 8px; padding: 18px 20px 20px; flex: 1; align-content: start; }
.pcard-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font: 500 var(--t-xs)/1.2 var(--f-mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.pcard h3 { font-size: var(--t-lg); letter-spacing: -0.02em; }
.pcard p { color: var(--ink-2); font-size: var(--t-sm); line-height: 1.5; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; margin-top: 6px; border-top: 1px dashed var(--line); font-size: var(--t-sm); }
.price-from { color: var(--ink-2); }
.price-from b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.pcard-tiers { color: var(--ink-3); font-size: var(--t-xs); }

/* ---------- Cover art ---------- */
.cover { --h: 245; --c1: hsl(var(--h) 85% 60%); --c2: hsl(calc(var(--h) + 40) 85% 62%); --tint: hsl(var(--h) 70% 96%); position: relative; aspect-ratio: 16 / 11; max-width: 100%; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--c1) 22%, transparent), transparent 60%), radial-gradient(90% 80% at 0% 100%, color-mix(in srgb, var(--c2) 18%, transparent), transparent 60%), var(--bg-subtle); display: grid; place-items: center; isolation: isolate; }
.cover-glow { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 24px 24px; opacity: .45; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); z-index: -1; }
.cover-img img { width: 100%; height: 100%; object-fit: cover; }
.cover-lg, .cover-xl { aspect-ratio: 5 / 4; }
.cover.tilt { transform-style: preserve-3d; transition: transform .6s var(--ease); will-change: transform; }
.pcard .cover > div:last-child { transition: transform .6s var(--ease); }
.pcard:hover .cover > div:last-child { transform: translateY(-4px) scale(1.02); }

/* notion */
.art-notion { width: 62%; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); overflow: hidden; transform: rotate(-2deg); }
.an-bar { display: flex; gap: 4px; padding: 7px 9px; border-bottom: 1px solid var(--line); background: var(--bg-subtle); }
.an-bar i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); }
.an-page { padding: 10px 12px 12px; display: grid; gap: 6px; }
.an-icon { width: 18px; height: 18px; border-radius: 5px; background: linear-gradient(135deg, var(--c1), var(--c2)); }
.an-title { font-weight: 600; font-size: clamp(10px, 1.1vw, 14px); letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.an-row { display: flex; align-items: center; gap: 6px; }
.an-row span:last-child { height: 5px; flex: 1; border-radius: 3px; background: var(--bg-muted); }
.an-row .w70 { flex: .7 !important; } .an-row .w50 { flex: .5 !important; }
.an-cb { width: 9px; height: 9px; border-radius: 3px; border: 1.5px solid var(--line-strong); flex: none; }
.an-cb.on { background: var(--c1); border-color: var(--c1); }
.an-table { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3px; margin-top: 2px; }
.an-table i { height: 7px; border-radius: 2px; background: var(--bg-muted); }
.an-table i:nth-child(-n+3) { background: var(--tint); }
.an-table i:nth-child(5) { background: color-mix(in srgb, var(--c1) 35%, transparent); }
/* ebook */
.art-ebook { perspective: 800px; }
.eb-book { position: relative; width: clamp(110px, 15vw, 170px); aspect-ratio: 3 / 4.1; transform: rotateY(-22deg) rotateX(4deg); transform-style: preserve-3d; transition: transform .6s var(--ease); }
.pcard:hover .eb-book, .cover.tilt:hover .eb-book { transform: rotateY(-8deg) rotateX(2deg); }
.eb-front { position: absolute; inset: 0; border-radius: 3px 8px 8px 3px; background: linear-gradient(150deg, var(--c1), hsl(calc(var(--h) + 25) 70% 38%)); color: #fff; padding: 14% 12%; display: flex; flex-direction: column; gap: 6px; box-shadow: 18px 22px 40px -16px rgba(9, 9, 11, .5), inset 4px 0 6px -2px rgba(0, 0, 0, .25); overflow: hidden; }
.eb-front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .18) 50%, transparent 60%); }
.eb-kicker { font: 500 9px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; opacity: .75; }
.eb-title { font-weight: 600; font-size: clamp(12px, 1.4vw, 17px); line-height: 1.1; letter-spacing: -0.02em; }
.eb-rule { width: 24px; height: 2px; background: rgba(255, 255, 255, .7); margin-top: auto; }
.eb-brand { font: 500 8px/1 var(--f-mono); opacity: .7; }
.eb-spine { position: absolute; left: -10px; top: 2px; bottom: 2px; width: 10px; background: hsl(calc(var(--h) + 25) 60% 28%); transform: rotateY(-90deg); transform-origin: right; }
/* canva */
.art-canva { width: 70%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; transform: rotate(-4deg) skewX(-2deg); }
.ac-tile { aspect-ratio: 4 / 5; border-radius: 7px; position: relative; overflow: hidden; box-shadow: var(--shadow); display: grid; align-content: end; padding: 7px; }
.ac-tile span { height: 4px; width: 60%; border-radius: 2px; background: rgba(255, 255, 255, .8); }
.ac-tile b { position: absolute; top: 7px; left: 7px; right: 7px; color: #fff; font-size: clamp(8px, .9vw, 11px); line-height: 1.1; font-weight: 600; }
.ac-1 { background: linear-gradient(160deg, var(--c1), hsl(calc(var(--h) + 30) 70% 45%)); }
.ac-2 { background: var(--surface); border: 1px solid var(--line); } .ac-2 span { background: var(--c1); }
.ac-3 { background: hsl(calc(var(--h) + 160) 70% 62%); }
.ac-4 { background: var(--tint); border: 1px solid var(--line); } .ac-4 span { background: var(--ink-3); }
.ac-5 { background: linear-gradient(200deg, var(--c2), var(--c1)); }
.ac-6 { background: var(--ink); } .ac-6 span { background: var(--c2); }
/* prompt */
.art-prompt { width: 72%; border-radius: 10px; background: #0b0b10; color: #e4e4e7; border: 1px solid #26262d; box-shadow: var(--shadow-lg); overflow: hidden; transform: rotate(2deg); font-family: var(--f-mono); }
.ap-bar { display: flex; align-items: center; gap: 5px; padding: 7px 10px; border-bottom: 1px solid #26262d; }
.ap-bar i { width: 7px; height: 7px; border-radius: 50%; background: #3f3f46; }
.ap-bar span { margin-left: 6px; font-size: 9px; color: #71717a; }
.ap-body { padding: 10px 12px 12px; display: grid; gap: 6px; font-size: clamp(8px, .85vw, 11px); line-height: 1.35; }
.ap-body em { font-style: normal; color: #71717a; }
.ap-body b { color: hsl(var(--h) 90% 75%); font-weight: 500; }
.ap-cursor span { display: inline-block; width: 6px; height: 11px; background: hsl(var(--h) 90% 70%); vertical-align: middle; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
/* app */
.art-app { perspective: 900px; }
.aa-phone { width: clamp(120px, 15vw, 180px); aspect-ratio: 9 / 18.5; border-radius: 22px; background: var(--surface); border: 5px solid #111114; box-shadow: 20px 26px 50px -20px rgba(9, 9, 11, .55); padding: 18px 9px 10px; display: flex; flex-direction: column; gap: 8px; position: relative; transform: rotateY(-14deg) rotateX(6deg); transition: transform .6s var(--ease); overflow: hidden; }
.pcard:hover .aa-phone, .cover.tilt:hover .aa-phone { transform: rotateY(-4deg) rotateX(2deg); }
.aa-notch { position: absolute; top: 5px; left: 50%; width: 34%; height: 8px; border-radius: 6px; background: #111114; transform: translateX(-50%); }
.aa-head { display: grid; gap: 3px; background: linear-gradient(140deg, var(--c1), hsl(calc(var(--h) + 20) 80% 50%)); margin: -4px -4px 0; padding: 10px 8px; border-radius: 10px; color: #fff; }
.aa-head span { width: 40%; height: 3px; background: rgba(255, 255, 255, .6); border-radius: 2px; }
.aa-head b { font-size: clamp(8px, .9vw, 11px); font-weight: 600; line-height: 1.15; }
.aa-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.aa-days i { height: 14px; border-radius: 4px; border: 1px solid var(--line); }
.aa-days i.on { background: var(--ink); border-color: var(--ink); }
.aa-slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.aa-slots span { font: 500 clamp(7px, .7vw, 9px)/1 var(--f-mono); text-align: center; padding: 5px 0; border-radius: 4px; border: 1px solid var(--line); color: var(--ink); }
.aa-slots span.on { background: #fbbf24; border-color: #fbbf24; color: #111; }
.aa-slots span.off { color: var(--ink-3); background: var(--bg-muted); border-color: transparent; text-decoration: line-through; }
.aa-btn { margin-top: auto; background: var(--ink); color: var(--bg); font-size: clamp(7px, .75vw, 10px); font-weight: 600; text-align: center; padding: 7px 0; border-radius: 7px; }
.cover-sm .art-notion, .cover-sm .art-prompt { width: 80%; }

/* ---------- Bento / features ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bento-card { position: relative; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); padding: 28px; display: grid; gap: 10px; align-content: start; overflow: hidden; min-width: 0; }
.bento-card h3 { font-size: var(--t-lg); }
.bento-card p { color: var(--ink-2); font-size: var(--t-sm); }
.b-wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.bento-copy { display: grid; gap: 10px; }
.ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent); }
.ico svg { width: 18px; height: 18px; }
.bv-calendar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.bv-col { display: grid; gap: 6px; }
.bv-col span { font: 500 10px/1 var(--f-mono); color: var(--ink-3); text-align: center; margin-bottom: 2px; }
.bv-col i { height: 26px; border-radius: 6px; background: var(--bg-muted); border: 1px solid var(--line); }
.bv-col i.on { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 35%, transparent); box-shadow: inset 3px 0 0 var(--accent); }
.bv-col i.alt { background: color-mix(in srgb, var(--emerald) 14%, transparent); border-color: color-mix(in srgb, var(--emerald) 35%, transparent); box-shadow: inset 3px 0 0 var(--emerald); }
.bv-path { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font: 500 var(--t-xs)/1 var(--f-mono); }
.bv-path span { padding: 9px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-subtle); white-space: nowrap; }
.bv-path span.on { background: var(--accent); color: var(--accent-ink); border-color: transparent; box-shadow: 0 6px 18px -6px var(--accent); }
.bv-path i { flex: 1; min-width: 12px; height: 1px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 4px, transparent 4px 8px); }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } .b-wide { grid-column: span 2; } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } .b-wide { grid-column: auto; grid-template-columns: 1fr; } }

/* spotlight hover */
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 10%, transparent), transparent 60%); }
.spot:hover::before { opacity: 1; }

/* Steps (a real sequence) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); overflow: hidden; }
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps li { padding: 28px; display: grid; gap: 10px; align-content: start; border-left: 1px solid var(--line); position: relative; }
.steps li:first-child { border-left: 0; }
.steps h3 { font-size: var(--t-lg); }
.steps p { color: var(--ink-2); font-size: var(--t-sm); }
.step-n { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font: 600 var(--t-sm)/1 var(--f-mono); background: var(--ink); color: var(--bg); }
@media (max-width: 860px) { .steps, .steps-4 { grid-template-columns: 1fr; } .steps li { border-left: 0; border-top: 1px solid var(--line); } .steps li:first-child { border-top: 0; } }

/* Licenses */
.plan-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lcard { border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); padding: 28px; display: grid; gap: 10px; align-content: start; }
.lcard h3 { font-size: var(--t-xl); }
.lcard p { color: var(--ink-2); font-size: var(--t-sm); }
.lcard-k { font: 500 var(--t-xs)/1 var(--f-mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.lcard ul { list-style: none; margin: 8px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: var(--t-sm); }
.lcard li { display: flex; gap: 8px; align-items: flex-start; }
.lcard li svg, .includes li svg, .plan li svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--emerald); }
.lcard-hi { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow); }
@media (max-width: 860px) { .plan-cards { grid-template-columns: 1fr; } }

/* Dark app band */
.app-band { position: relative; overflow: hidden; border-radius: 28px; background: var(--band); color: var(--band-ink); border: 1px solid var(--band-line); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: center; padding: clamp(32px, 5vw, 64px); isolation: isolate; }
.app-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 90% 10%, rgba(99, 91, 255, .35), transparent 60%), radial-gradient(50% 60% at 70% 100%, rgba(34, 211, 238, .18), transparent 60%); }
.app-band h2 { font-size: var(--t-3xl); letter-spacing: -0.035em; margin-top: 14px; }
.app-band p { color: var(--band-ink-2); margin-top: 14px; font-size: var(--t-lg); max-width: 50ch; }
.app-band-list { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; }
.app-band-list li { display: flex; gap: 10px; align-items: center; font-size: var(--t-sm); color: #d4d4d8; }
.app-band-list svg { width: 16px; height: 16px; color: #34d399; }
.app-band .cover { background: transparent; border-color: var(--band-line); --line: rgba(255, 255, 255, .08); }
.app-band .aa-phone { --surface: #fafafa; --ink: #09090b; --line: #e4e4e7; --bg: #fafafa; --bg-muted: #f4f4f5; --ink-3: #a1a1aa; }
@media (max-width: 860px) { .app-band { grid-template-columns: 1fr; } }

/* Posts */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.post-card { display: grid; gap: 10px; align-content: start; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); text-decoration: none; transition: border-color .2s, transform .35s var(--ease), box-shadow .35s var(--ease); }
.post-card:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow); }
.post-card h3 { font-size: var(--t-lg); letter-spacing: -0.02em; }
.post-card p { color: var(--ink-2); font-size: var(--t-sm); }
.post-tag { font: 500 var(--t-xs)/1 var(--f-mono); color: var(--accent-text); text-transform: uppercase; letter-spacing: .06em; }
.post-date { font-size: var(--t-xs); color: var(--ink-3); margin-top: 6px; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.faq-wrap .section-head { position: sticky; top: calc(var(--head-h) + 32px); }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; gap: 0; } .faq-wrap .section-head { position: static; } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; flex: none; margin-top: 6px; border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq-a { color: var(--ink-2); padding: 0 0 20px; max-width: 68ch; }

/* CTA */
.cta-card { position: relative; overflow: hidden; border-radius: 28px; border: 1px solid var(--line); background: var(--surface); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; isolation: isolate; }
.cta-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 120% at 100% 50%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%), radial-gradient(40% 80% at 80% 100%, color-mix(in srgb, var(--cyan) 12%, transparent), transparent 70%); }
.cta-card h2 { font-size: var(--t-2xl); letter-spacing: -0.03em; }
.cta-copy p { color: var(--ink-2); margin-top: 10px; }
@media (max-width: 760px) { .cta-card { grid-template-columns: 1fr; } }

/* ---------- Inner page head ---------- */
.page-head { position: relative; overflow: hidden; padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-head-sm { padding-block: 56px 40px; }
.page-head-bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 70% at 85% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%), radial-gradient(30% 50% at 65% 20%, color-mix(in srgb, var(--cyan) 9%, transparent), transparent 70%); }
.page-head-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 60% 80% at 80% 0%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 60% 80% at 80% 0%, #000, transparent 70%); opacity: .6; }
.page-head-inner { position: relative; display: grid; gap: 16px; justify-items: start; }
.page-head h1 { font-size: var(--t-3xl); letter-spacing: -0.04em; max-width: 20ch; }

/* Tabs */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 28px; }
.tabs a { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: var(--t-sm); color: var(--ink-2); background: var(--surface); transition: .2s; }
.tabs a span { font: 500 11px/1 var(--f-mono); color: var(--ink-3); }
.tabs a:hover { border-color: var(--line-strong); color: var(--ink); }
.tabs a[aria-current="page"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tabs a[aria-current="page"] span { color: var(--ink-3); }
.empty { text-align: center; padding: 64px 16px; border: 1px dashed var(--line-strong); border-radius: var(--r-lg); color: var(--ink-2); display: grid; gap: 8px; }

/* Trust row */
.trust-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.trust-row li { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border-left: 1px solid var(--line); font-size: var(--t-sm); color: var(--ink-2); min-width: 0; }
.trust-row li:first-child { border-left: 0; }
.trust-row b { display: block; color: var(--ink); font-weight: 500; }
.trust-row span { min-width: 0; overflow-wrap: anywhere; }
.trust-row svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--accent-text); }
@media (max-width: 900px) { .trust-row { grid-template-columns: 1fr 1fr; } .trust-row li:nth-child(3) { border-left: 0; } .trust-row li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .trust-row { grid-template-columns: 1fr; } .trust-row li { border-left: 0; border-top: 1px solid var(--line); } .trust-row li:first-child { border-top: 0; } }

/* ---------- Product page ---------- */
.product-hero { position: relative; padding-block: 28px clamp(48px, 6vw, 80px); overflow: hidden; }
.crumbs { position: relative; display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--t-sm); color: var(--ink-3); margin-bottom: 28px; }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--ink); }
.product-top { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.product-visual { position: sticky; top: calc(var(--head-h) + 24px); display: grid; gap: 14px; }
.product-visual .cover { box-shadow: var(--shadow-lg); }
.format { display: flex; align-items: center; gap: 8px; font-size: var(--t-sm); color: var(--ink-2); }
.format svg { width: 16px; height: 16px; }
.product-info { display: grid; gap: 16px; }
.product-info h1 { font-size: var(--t-3xl); letter-spacing: -0.04em; }
@media (max-width: 900px) { .product-top { grid-template-columns: 1fr; } .product-visual { position: static; } }
.buy { display: grid; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow); }
.tier-pick { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.tier-pick legend { font-size: var(--t-sm); font-weight: 500; margin-bottom: 8px; }
.tier-opt { display: flex; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.tier-opt:hover { border-color: var(--line-strong); }
.tier-opt input { accent-color: var(--accent); margin: 3px 0 0; width: 16px; height: 16px; flex: none; }
.tier-opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent); }
.tier-body { display: grid; gap: 4px; flex: 1; min-width: 0; }
.tier-top { display: flex; align-items: center; gap: 8px; }
.tier-price { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; }
.tier-body small { color: var(--ink-2); font-size: var(--t-sm); line-height: 1.4; }
.field { display: grid; gap: 6px; font-size: var(--t-sm); font-weight: 500; }
.field small { color: var(--ink-3); font-weight: 400; }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; font-size: var(--t-md); color: var(--ink); background: var(--bg); border: 1px solid var(--line-strong); border-radius: 10px; padding: 10px 12px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: var(--t-sm); color: var(--ink-2); line-height: 1.5; }
.consent input { accent-color: var(--accent); width: 16px; height: 16px; margin-top: 3px; flex: none; }
.consent a { color: var(--ink); }
.buy-note { display: flex; gap: 8px; align-items: flex-start; font-size: var(--t-xs); color: var(--ink-3); line-height: 1.5; }
.buy-note svg { width: 14px; height: 14px; flex: none; margin-top: 2px; }
.soon { padding: 16px; border-radius: var(--r); background: var(--bg-muted); display: grid; gap: 6px; font-size: var(--t-sm); color: var(--ink-2); }
.soon b { color: var(--ink); }
.form-msg { font-size: var(--t-sm); padding: 10px 12px; border-radius: 10px; background: var(--bg-muted); color: var(--ink-2); }
.form-msg.err { background: color-mix(in srgb, var(--danger) 10%, transparent); color: var(--danger); }
.form-msg.ok { background: color-mix(in srgb, var(--emerald) 12%, transparent); color: color-mix(in srgb, var(--emerald) 70%, var(--ink)); }
.plans-mini { display: grid; gap: 8px; }
.plan-mini { display: flex; justify-content: space-between; gap: 16px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.plan-mini.hi { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.plan-mini small { display: block; color: var(--ink-2); font-size: var(--t-xs); }
.plan-mini-price { text-align: right; flex: none; }
.plan-mini-price b { font-variant-numeric: tabular-nums; }
.product-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.includes { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; position: sticky; top: calc(var(--head-h) + 24px); background: var(--surface); }
.includes h3 { font-size: var(--t-md); margin-bottom: 14px; }
.includes ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: var(--t-sm); }
.includes li { display: flex; gap: 10px; }
@media (max-width: 900px) { .product-cols { grid-template-columns: 1fr; } .includes { position: static; } }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feature { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 24px; display: grid; gap: 8px; align-content: start; overflow: hidden; }
.feature h3 { font-size: var(--t-lg); }
.feature p { color: var(--ink-2); font-size: var(--t-sm); }
.feature-n { font: 500 var(--t-xs)/1 var(--f-mono); color: var(--accent-text); }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; font-size: var(--t-sm); min-width: 560px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font-weight: 600; background: var(--bg-subtle); }
.compare thead th span { display: block; font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; margin-top: 2px; }
.compare thead th.hi { color: var(--accent-text); }
.compare tbody th { font-weight: 400; color: var(--ink-2); }
.compare tbody th small { display: block; color: var(--ink-3); font-size: var(--t-xs); }
.compare tbody th a { color: var(--ink); font-weight: 500; text-decoration: none; }
.compare tbody th a:hover { color: var(--accent-text); }
.compare .num { font-variant-numeric: tabular-nums; font-weight: 500; }
.compare .yes svg { width: 16px; height: 16px; color: var(--emerald); }
.compare .no { color: var(--ink-3); }
.policy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.policy { display: grid; gap: 10px; align-content: start; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.policy h3 { font-size: var(--t-md); }
.policy p { font-size: var(--t-sm); color: var(--ink-2); }
.policy a { color: var(--ink); }
@media (max-width: 860px) { .policy-grid { grid-template-columns: 1fr; } }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); transform: translateY(110%); transition: transform .4s var(--ease); }
.sticky-buy.show { transform: none; }
.sticky-buy-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.sticky-buy-row small { color: var(--ink-2); }

/* Prose */
.prose { color: var(--ink-2); font-size: var(--t-md); line-height: 1.75; min-width: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { color: var(--ink); font-size: var(--t-xl); margin-top: 2em; letter-spacing: -0.02em; }
.prose h3 { color: var(--ink); font-size: var(--t-lg); margin-top: 1.6em; }
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.prose a { color: var(--accent-text); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: .4em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose blockquote { margin-left: 0; padding-left: 16px; border-left: 2px solid var(--accent); color: var(--ink); }
.prose code { font-family: var(--f-mono); font-size: .9em; background: var(--bg-muted); padding: 2px 6px; border-radius: 6px; }
.prose img { border-radius: var(--r); border: 1px solid var(--line); }
.prose-lg { font-size: 1.0625rem; }

/* Apps / plans */
.apps-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.apps-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 900px) { .apps-top { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .apps-features { grid-template-columns: 1fr; } }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; display: grid; grid-template-rows: auto auto auto auto 1fr auto; gap: 12px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); }
.plan h3 { font-size: var(--t-lg); }
.plan-sum { color: var(--ink-2); font-size: var(--t-sm); }
.plan-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan-price b { font-size: 2.5rem; font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.plan-price span { color: var(--ink-3); font-size: var(--t-sm); }
.plan-care { font: 500 var(--t-sm)/1.4 var(--f-mono); color: var(--ink-2); padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; align-content: start; font-size: var(--t-sm); }
.plan li { display: flex; gap: 10px; }
.plan-hi { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow-lg); }
.plan-flag { position: absolute; top: -11px; left: 28px; background: var(--accent); color: var(--accent-ink); font: 600 11px/1 var(--f-sans); padding: 6px 10px; border-radius: 999px; }
@media (max-width: 900px) { .plan-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* About / contact */
.about-grid, .contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
@media (max-width: 860px) { .about-grid, .contact-grid { grid-template-columns: 1fr; } }
.facts { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; background: var(--surface); display: grid; gap: 16px; }
.facts h3 { font-size: var(--t-md); }
.facts dl { margin: 0; display: grid; gap: 0; }
.facts dl div { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); }
.facts dt { font: 500 var(--t-xs)/1.3 var(--f-mono); color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.facts dd { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
.facts a { color: var(--accent-text); text-decoration: none; }
.card-form { display: grid; gap: 16px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* Legal */
.legal { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; padding-block: 56px 96px; }
.legal-toc { position: sticky; top: calc(var(--head-h) + 24px); align-self: start; display: grid; gap: 2px; font-size: var(--t-sm); }
.legal-toc a { text-decoration: none; color: var(--ink-2); padding: 6px 10px; border-radius: 6px; border-left: 2px solid transparent; }
.legal-toc a:hover { color: var(--ink); background: var(--bg-muted); }
.legal-body { max-width: 72ch; }
.legal-body h2 { scroll-margin-top: calc(var(--head-h) + 24px); }
.legal-updated { font: 500 var(--t-xs)/1 var(--f-mono); color: var(--ink-3); }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; gap: 24px; } .legal-toc { position: static; } }

/* Article */
.article-head { position: relative; padding-block: 56px 40px; border-bottom: 1px solid var(--line); margin-bottom: 48px; overflow: hidden; }
.article-head .wrap-narrow { position: relative; display: grid; gap: 16px; }
.article-head h1 { font-size: var(--t-3xl); letter-spacing: -0.04em; }
.article-meta { font-size: var(--t-sm); color: var(--ink-3); }
.article { padding-bottom: 96px; }

/* Orders */
.order-wrap { overflow: hidden; }
.order-card { position: relative; display: grid; gap: 16px; justify-items: center; text-align: center; padding: 48px 28px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-lg); }
.order-card h2 { font-size: var(--t-2xl); }
.ok-ring { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--emerald) 14%, transparent); color: var(--emerald); box-shadow: 0 0 0 8px color-mix(in srgb, var(--emerald) 7%, transparent); }
.ok-ring svg { width: 26px; height: 26px; }
.dl-list { display: grid; gap: 8px; width: 100%; max-width: 440px; }
.dl { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; text-align: left; transition: border-color .2s, background .2s; }
.dl:hover { border-color: var(--accent); background: var(--accent-soft); }
.dl svg { width: 20px; height: 20px; color: var(--accent-text); flex: none; }
.dl small { display: block; color: var(--ink-3); font-size: var(--t-xs); }
.dl b { font-weight: 500; overflow-wrap: anywhere; }
.spinner { width: 32px; height: 32px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--bg-subtle); padding-block: 64px 32px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 48px; }
.foot-about { display: grid; gap: 16px; align-content: start; font-size: var(--t-sm); color: var(--ink-2); }
.foot-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--ink-3); }
.foot-contact a { text-decoration: none; }
.foot-contact a:hover { color: var(--ink); }
.socials { display: flex; gap: 8px; }
.socials a { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2); background: var(--surface); }
.socials a:hover { color: var(--ink); border-color: var(--line-strong); }
.socials svg { width: 16px; height: 16px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot-cols h4 { font: 500 var(--t-xs)/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 16px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: var(--t-sm); }
.foot-cols a { text-decoration: none; color: var(--ink-2); }
.foot-cols a:hover { color: var(--ink); }
.foot-trust { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 48px; padding: 16px 0; border-block: 1px solid var(--line); font-size: var(--t-xs); color: var(--ink-2); }
.foot-trust span { display: inline-flex; align-items: center; gap: 8px; }
.foot-trust svg { width: 14px; height: 14px; color: var(--emerald); flex: none; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; font-size: var(--t-xs); color: var(--ink-3); }
@media (max-width: 860px) { .foot-top { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .foot-cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Motion ---------- */
.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-motion .reveal:not(.in) { opacity: .001; transform: translateY(14px); }
.js-motion .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js-motion .reveal:not(.in) { opacity: 1; transform: none; }
}
