/* ════════════════════════════════════════════════════════════════════
   AKSHAN DESIGNS · "Nocturne" look (v2, Nov 2026)
   One stylesheet for the whole site. Tokens → base → chrome → pages.
   Dark is the default (html.dark); light = "bone paper" variant.
   ════════════════════════════════════════════════════════════════════ */

/* ── tokens ───────────────────────────────────────────────────────── */
:root {
  --bg: #f1eadc;  --bg-1: #f8f3e8;  --bg-2: #fffdf7;  --bg-3: #ebe2d0;
  --ink: #1a1315; --ink-2: #453a37; --mute: #7b6f67;  --dim: #a2968c;
  --line: rgba(26,19,21,.16); --line-2: rgba(26,19,21,.08);
  --blood: #722F37; --blood-hi: #8c3a44; --rose: #722F37;
  --gold: #8f6c26; --gold-hi: #8f6c26; --gold-soft: rgba(143,108,38,.12);
  --gold-line: rgba(143,108,38,.5);
  --on-blood: #fbf1e2;
  --shadow: 0 30px 70px -30px rgba(40,22,24,.45);
  --glow-a: rgba(114,47,55,.10); --glow-b: rgba(74,38,96,.07); --glow-c: rgba(176,138,60,.10);
  --f-display: 'Bodoni Moda', 'Didot', 'Bodoni MT', 'Times New Roman', serif;
  --f-black: 'Manufacturing Consent', 'Old English Text MT', 'Bodoni Moda', serif;
  --f-caps: 'Cinzel', 'Trajan Pro', 'Bodoni Moda', serif;
  --f-body: 'Instrument Sans', 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --r: 2px;
  --wrap: 1240px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --arch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 140' preserveAspectRatio='none'%3E%3Cpath d='M0 140V71A75.4 75.4 0 0 1 50 0A75.4 75.4 0 0 1 100 71V140Z'/%3E%3C/svg%3E");
  --arch-lines: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 140' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.2'%3E%3Cpath vector-effect='non-scaling-stroke' d='M.6 140V71A74.8 74.8 0 0 1 50 .8A74.8 74.8 0 0 1 99.4 71V140'/%3E%3Cpath vector-effect='non-scaling-stroke' d='M4.4 140V72A70 70 0 0 1 50 6.6A70 70 0 0 1 95.6 72V140'/%3E%3C/g%3E%3C/svg%3E");
}
html.dark {
  --bg: #0b090a;  --bg-1: #131011;  --bg-2: #1a1617;  --bg-3: #221c1e;
  --ink: #f2e9db; --ink-2: #cfc2b3; --mute: #93877c;  --dim: #6a6058;
  --line: rgba(214,178,110,.2); --line-2: rgba(242,233,219,.08);
  --blood: #7a2a35; --blood-hi: #9d3646; --rose: #e9a3ad;
  --gold: #d2ab63; --gold-hi: #f0d9a4; --gold-soft: rgba(210,171,99,.1);
  --gold-line: rgba(210,171,99,.42);
  --shadow: 0 40px 90px -30px rgba(0,0,0,.9);
  --glow-a: rgba(122,42,53,.34); --glow-b: rgba(64,30,92,.26); --glow-c: rgba(210,171,99,.07);
  color-scheme: dark;
}

/* ── base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body); font-size: 15px; line-height: 1.6;
  background: var(--bg); color: var(--ink);
  min-height: 100vh; overflow-x: hidden; position: relative;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* stained-glass light falling from the top of the nave */
body::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 1500px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(58% 46% at 12% 0%, var(--glow-a), transparent 70%),
    radial-gradient(46% 40% at 92% 6%, var(--glow-b), transparent 70%),
    radial-gradient(40% 30% at 55% 0%, var(--glow-c), transparent 70%);
}
/* film grain */
html.dark body::after {
  content: ''; position: fixed; inset: 0; z-index: 3000; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; }
a { color: inherit; }
::selection { background: var(--blood); color: var(--on-blood); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

h1, h2, h3, .display { font-family: var(--f-display); font-weight: 500; letter-spacing: -.012em; color: var(--ink); font-optical-sizing: auto; }
.caps, .kicker, .section-title {
  font-family: var(--f-caps); font-weight: 600; font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold);
}

/* candle that follows the cursor (desktop, dark only) */
#akCandle {
  position: fixed; left: 0; top: 0; width: 760px; height: 760px; margin: -380px 0 0 -380px; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,176,96,.085), rgba(255,150,80,.03) 45%, transparent 70%);
  opacity: 0; transition: opacity .6s; will-change: transform;
}
html.dark #akCandle.on { opacity: 1; }
@media (hover: none), (prefers-reduced-motion: reduce) { #akCandle { display: none; } }

/* ── buttons ──────────────────────────────────────────────────────── */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: var(--r); border: 1px solid transparent;
  font-family: var(--f-body); font-size: 12px; font-weight: 600; line-height: 1.1; letter-spacing: .13em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s, box-shadow .3s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--blood); color: var(--on-blood); border-color: var(--blood);
  box-shadow: inset 0 0 0 3px var(--blood), inset 0 0 0 4px rgba(240,217,164,.34), 0 14px 34px -14px rgba(114,47,55,.75);
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 38%, rgba(255,236,200,.3) 50%, transparent 62%);
  transform: translateX(-130%); transition: transform .8s var(--ease);
}
.btn-primary:hover { background: var(--blood-hi); border-color: var(--blood-hi); transform: translateY(-2px);
  box-shadow: inset 0 0 0 3px var(--blood-hi), inset 0 0 0 4px rgba(240,217,164,.55), 0 20px 44px -14px rgba(157,54,70,.85); }
.btn-primary:hover::after { transform: translateX(130%); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); background: var(--gold-soft); }
.btn-gold, .tier-included {
  background: linear-gradient(180deg, #e2bf7c, #c99f55); color: #1c1213; border-color: #b98f47;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 10px 26px -14px rgba(210,171,99,.8);
}
.btn-gold:hover, .tier-included:hover { background: linear-gradient(180deg, #edd092, #d4ab61); transform: translateY(-2px); }
.btn-patreon { background: #ff424d; color: #fff; }
.btn-patreon:hover { background: #ff5b65; }

/* ── top nav (marketing pages) ────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 68px; padding: 0 clamp(1rem, 3vw, 2.5rem);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .35s, border-color .35s, height .35s;
}
nav.scrolled, body:not(.pg-home) nav {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
nav.scrolled { height: 58px; }
nav .brand {
  display: inline-flex; align-items: baseline; gap: 9px; text-decoration: none; white-space: nowrap;
  font-family: var(--f-black); font-weight: 400; font-size: 32px; line-height: 1; color: var(--ink); letter-spacing: .01em;
}
nav .brand span {
  font-family: var(--f-caps); font-weight: 500; font-size: 10.5px; letter-spacing: .42em; text-transform: uppercase; color: var(--gold);
  position: relative; top: -2px;
}
.navcenter { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 2.1rem; align-items: center; }
.navcenter a, nav .links a:not(.btn) {
  position: relative; padding: 6px 0; font-size: 12.5px; font-weight: 500; letter-spacing: .06em; color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: color .2s;
}
.navcenter a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.navcenter a:hover, .navcenter a.on { color: var(--ink); }
.navcenter a:hover::after, .navcenter a.on::after { transform: scaleX(1); }
.navright { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
nav .btn { padding: 11px 18px; font-size: 11px; }
.nav-chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; background: var(--bg-1); }
.nav-chip .nav-name { font-size: 12px; font-weight: 600; color: var(--ink); }
.nav-avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--blood); color: var(--on-blood); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.nav-out { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; color: var(--mute); text-decoration: none; }
@media (max-width: 1020px) { .navcenter { display: none; } }
@media (max-width: 540px) {
  nav { height: 58px; }
  nav .brand { font-size: 27px; } nav .brand span { display: none; }
  nav .links a:not(.btn), .navright .btn-ghost { display: none; }
  nav .btn { padding: 10px 14px; font-size: 10.5px; letter-spacing: .1em; }
}

/* ── layout ───────────────────────────────────────────────────────── */
main { max-width: var(--wrap); margin: 0 auto; padding: 68px clamp(1rem, 3vw, 2.5rem) 3rem; position: relative; z-index: 1; }
.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; position: relative; }
.section-title { text-align: center; margin-bottom: 1.1rem; display: flex; align-items: center; justify-content: center; gap: 16px; }
.section-title::before, .section-title::after { content: ''; width: 46px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-line)); }
.section-title::after { transform: scaleX(-1); }
.section h2 { text-align: center; font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1.05; margin-bottom: 1rem; text-wrap: balance; }
.section h2 em, .section h2 .accent { font-style: italic; color: var(--rose); }
.section-lead { text-align: center; color: var(--mute); font-size: 15.5px; max-width: 580px; margin: 0 auto 2.6rem; line-height: 1.65; }
.center { text-align: center; }

/* ════════════════════════════════════════════════════════════════════
   HOME
   ════════════════════════════════════════════════════════════════════ */
.hero { padding: clamp(1.5rem, 4vw, 3.5rem) 0 clamp(2rem, 4vw, 3.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; min-height: min(760px, calc(100vh - 150px)); }
.hero .kicker { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 1.6rem; }
.hero .kicker::before { content: ''; width: 38px; height: 1px; background: var(--gold-line); }
.hero h1 { font-size: clamp(2.6rem, 5.1vw, 4.6rem); line-height: 1.0; letter-spacing: -.025em; margin-bottom: 1.5rem; text-wrap: balance; }
.hero h1 .accent {
  font-family: var(--f-black); font-weight: 400; font-style: normal; letter-spacing: 0; color: var(--rose);
  font-size: 1.16em; line-height: .8; padding: 0 .03em; display: inline-block;
  text-shadow: 0 0 46px rgba(233,120,135,.35);
}
html:not(.dark) .hero h1 .accent { text-shadow: none; }
.hero .lead { font-size: clamp(15.5px, 1.25vw, 17.5px); color: var(--ink-2); line-height: 1.7; max-width: 540px; margin-bottom: 2rem; }
.hero .lead strong { color: var(--ink); font-weight: 600; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-buttons .btn { padding: 18px 22px; font-size: 12px; letter-spacing: .12em; }
.hero-reassure { margin-top: 1.1rem; font-size: 13px; color: var(--mute); }
.hero-reassure strong { color: var(--gold); font-weight: 600; }

.stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0; margin-top: 2.4rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.stats > div { padding: 0 clamp(14px, 2vw, 30px); border-left: 1px solid var(--line-2); }
.stats > div:first-child { padding-left: 0; border-left: 0; }
.stats dt { font-family: var(--f-display); font-size: clamp(1.5rem, 2.5vw, 2.2rem); font-weight: 500; line-height: 1; color: var(--ink); font-variant-numeric: lining-nums; white-space: nowrap; }
.stats > div:first-child dt { color: var(--gold-hi); }
.stats dd { margin-top: 7px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }

/* triptych of lancet windows */
.hero-visual { position: relative; display: grid; grid-template-columns: .72fr 1fr .72fr; gap: clamp(10px, 1.3vw, 18px); align-items: end; padding: 0; }
.arch { position: relative; display: block; aspect-ratio: 100 / 162; text-decoration: none; transition: transform .7s var(--ease); }
.arch-c { aspect-ratio: 100 / 180; }
.arch-l, .arch-r { margin-bottom: 7%; }
.arch .ph { position: absolute; inset: 0; overflow: hidden; -webkit-mask: var(--arch) center / 100% 100% no-repeat; mask: var(--arch) center / 100% 100% no-repeat; background: var(--bg-2); }
.arch img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.03); transition: transform 1.4s var(--ease), filter .6s; filter: saturate(.92) contrast(1.03); }
.arch::before { /* gilded tracery */
  content: ''; position: absolute; inset: -7px; z-index: 2; pointer-events: none; background: linear-gradient(180deg, var(--gold-hi), var(--gold) 45%, rgba(210,171,99,.25));
  -webkit-mask: var(--arch-lines) center / 100% 100% no-repeat; mask: var(--arch-lines) center / 100% 100% no-repeat; opacity: .8; transition: opacity .4s;
}
.arch::after { /* light spilling out of the window */
  content: ''; position: absolute; inset: 12% -12% -4%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,214,150,.2), transparent 75%); filter: blur(22px); opacity: .7; transition: opacity .6s;
}
html:not(.dark) .arch::after { background: radial-gradient(closest-side, rgba(114,47,55,.2), transparent 75%); }
.arch:hover { transform: translateY(-8px); }
.arch:hover img { transform: scale(1.1); filter: none; }
.arch:hover::before, .arch:hover::after { opacity: 1; }
.arch .cap {
  position: absolute; left: 0; right: 0; bottom: -30px; text-align: center; font-family: var(--f-caps); font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--mute);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(-6px); transition: opacity .35s, transform .35s;
}
.arch:hover .cap { opacity: 1; transform: none; }
.rose { position: absolute; left: 50%; top: 44%; width: 128%; aspect-ratio: 1; transform: translate(-50%, -50%); z-index: -2; color: var(--gold); opacity: .17; pointer-events: none; }
.rose svg { width: 100%; height: 100%; display: block; fill: none; stroke: currentColor; stroke-width: .35; animation: roseTurn 240s linear infinite; }
html:not(.dark) .rose { opacity: .3; }
@keyframes roseTurn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .rose svg { animation: none; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 2.6rem; text-align: center; }
  .hero .kicker { justify-content: center; } .hero .kicker::after { content: ''; width: 38px; height: 1px; background: var(--gold-line); }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .stats { justify-content: center; grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .stats > div { padding: 0 10px; } .stats > div:nth-child(3) { border-left: 0; }
  .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; padding-bottom: 8px; }
  .arch .cap { display: none; }
}
@media (max-width: 540px) {
  .hero-buttons .btn { width: 100%; }
  .hero .kicker { font-size: 9.5px; letter-spacing: .24em; gap: 10px; }
  .hero .kicker::before, .hero .kicker::after { width: 18px; }
}

/* arcade (marquee of the newest designs) */
.showcase { width: 100vw; margin: 1rem 0 0 calc(50% - 50vw); padding: 2.4rem 0 1rem; overflow: hidden; position: relative; border-top: 1px solid var(--line-2);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.showcase-head { text-align: center; margin-bottom: 1.9rem; }
.showcase-head .section-title { margin-bottom: 0; }
.showcase-row { display: flex; gap: 18px; width: max-content; animation: scMarquee 70s linear infinite; }
.showcase-row + .showcase-row { margin-top: 18px; }
.showcase-row.rev { animation-direction: reverse; margin-left: -170px; }
.showcase:hover .showcase-row { animation-play-state: paused; }
.sc-tile { position: relative; flex: 0 0 auto; width: clamp(210px, 20vw, 300px); aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line-2); transition: transform .5s var(--ease), border-color .3s; }
.sc-tile::after { content: ''; position: absolute; inset: 7px; border: 1px solid rgba(240,217,164,0); pointer-events: none; transition: border-color .35s, inset .35s var(--ease); }
.sc-tile:hover { transform: translateY(-6px); border-color: var(--gold-line); }
.sc-tile:hover::after { border-color: rgba(240,217,164,.75); inset: 10px; }
.sc-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.sc-tile:hover img { transform: scale(1.07); }
@keyframes scMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .showcase-row { animation: none; } }
.showcase-caption { text-align: center; font-size: 13px; color: var(--mute); margin-top: 1.8rem; }
.showcase-caption a { color: var(--gold); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--gold-line); padding-bottom: 2px; }
.showcase-caption a:hover { color: var(--gold-hi); }
@media (max-width: 540px) { .sc-tile { width: 172px; } .showcase-row { gap: 12px; } .showcase-row + .showcase-row { margin-top: 12px; } .showcase-row.rev { margin-left: -90px; } }

/* the halls (categories) */
.halls { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px, 1.5vw, 22px); margin-top: 3rem; }
.hall { text-decoration: none; text-align: center; display: block; }
.hall .arch { aspect-ratio: 100 / 150; }
.hall .arch::after { display: none; }
.hall .arch .ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8,6,7,.6)); }
.hall:hover .arch { transform: translateY(-8px); }
.hall:hover .arch img { transform: scale(1.1); filter: none; }
.hall:hover .arch::before { opacity: 1; }
.hall b { display: block; margin-top: 20px; font-family: var(--f-display); font-weight: 500; font-size: clamp(1.05rem, 1.6vw, 1.45rem); color: var(--ink); transition: color .25s; }
.hall:hover b { color: var(--gold-hi); }
.hall span { display: block; margin-top: 3px; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
@media (max-width: 900px) { .halls { grid-template-columns: repeat(3, 1fr); gap: 26px 14px; } }
@media (max-width: 420px) { .halls { gap: 22px 10px; } .hall b { font-size: 1rem; } .hall span { font-size: 9.5px; letter-spacing: .12em; } }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 3rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.step { padding: 2.4rem clamp(1.2rem, 2.5vw, 2.4rem) 2.6rem; border-left: 1px solid var(--line-2); position: relative; }
.step:first-child { border-left: 0; }
.step .num { font-family: var(--f-black); font-size: 3.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold-line); margin-bottom: 1.2rem; transition: color .4s, -webkit-text-stroke-color .4s; }
.step:hover .num { color: var(--gold); -webkit-text-stroke-color: var(--gold); }
.step h3 { font-size: 1.55rem; margin-bottom: .6rem; }
.step p { font-size: 14.5px; color: var(--mute); line-height: 1.7; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .step { border-left: 0; border-top: 1px solid var(--line-2); padding: 1.8rem .3rem 2rem; } .step:first-child { border-top: 0; } .step .num { font-size: 2.6rem; margin-bottom: .7rem; } }

/* ── pricing ──────────────────────────────────────────────────────── */
.trusted { text-align: center; font-size: 13px; color: var(--mute); margin: -1.6rem 0 1.8rem; }
.trusted strong { color: var(--rose); font-weight: 600; }
.billing-toggle { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 0 1rem; user-select: none; }
.billing-toggle .opt { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); cursor: pointer; transition: color .2s; }
.billing-toggle .opt.active { color: var(--ink); }
.billing-toggle .save-pill { font-size: 9.5px; font-weight: 700; letter-spacing: .1em; background: var(--gold-soft); border: 1px solid var(--gold-line); color: var(--gold); padding: 4px 8px; border-radius: var(--r); margin-left: 9px; }
.switch { position: relative; width: 50px; height: 26px; background: var(--blood); border-radius: 999px; cursor: pointer; border: 1px solid var(--gold-line); padding: 0; transition: background .25s; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #f0d9a4; border-radius: 50%; transition: transform .3s var(--ease); box-shadow: 0 0 12px rgba(240,217,164,.5); }
body.billing-monthly .switch { background: var(--bg-3); }
body.billing-monthly .switch::after { transform: translateX(24px); }
.annual-note { text-align: center; font-size: 13px; font-weight: 500; color: var(--gold); margin: 0 0 2.6rem; }
.price-annual { display: block; } .price-monthly { display: none; }
body.billing-monthly .price-annual { display: none; } body.billing-monthly .price-monthly { display: block; }

.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; margin-bottom: 2.4rem; }
@media (max-width: 1080px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; } }
@media (max-width: 600px) { .tiers { grid-template-columns: 1fr; gap: 34px; } .tier-card { max-width: 440px; width: 100%; margin: 0 auto; } }
.tier-card {
  position: relative; display: flex; flex-direction: column; text-align: center; padding: 2.4rem 1.5rem 1.5rem;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1)); border: 1px solid var(--line); border-radius: var(--r);
  transition: transform .45s var(--ease), border-color .3s, box-shadow .45s;
}
.tier-card::after { content: ''; position: absolute; inset: 6px; border: 1px solid var(--line-2); pointer-events: none; transition: border-color .3s; }
.tier-card > * { position: relative; z-index: 1; }
.tier-card:hover { transform: translateY(-8px); border-color: var(--gold-line); box-shadow: var(--shadow); }
.tier-card:hover::after { border-color: var(--gold-line); }
.tier-card.featured { border-color: var(--gold); background: linear-gradient(180deg, color-mix(in srgb, var(--blood) 34%, var(--bg-2)), var(--bg-1) 62%); box-shadow: 0 0 0 1px var(--gold-line), 0 30px 80px -34px rgba(157,54,70,.9); }
html:not(.dark) .tier-card.featured { background: linear-gradient(180deg, color-mix(in srgb, var(--blood) 12%, var(--bg-2)), var(--bg-2) 62%); }
.tier-card.featured::before {
  content: 'Most popular'; position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); z-index: 2; white-space: nowrap;
  background: linear-gradient(180deg, #e2bf7c, #c99f55); color: #1c1213; font-size: 9.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding: 6px 16px; border-radius: var(--r);
}
.tier-symbol {
  width: 64px; height: 64px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; line-height: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23d2ab63' stroke-width='1'%3E%3Cpath d='M32 3a14.5 14.5 0 0 1 14.5 14.5A14.5 14.5 0 0 1 61 32a14.5 14.5 0 0 1-14.5 14.5A14.5 14.5 0 0 1 32 61a14.5 14.5 0 0 1-14.5-14.5A14.5 14.5 0 0 1 3 32a14.5 14.5 0 0 1 14.5-14.5A14.5 14.5 0 0 1 32 3Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.tier-name { font-family: var(--f-caps); font-size: 10px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.tier-title, .tier-card > .display { font-family: var(--f-display); font-size: 1.75rem !important; font-weight: 500; line-height: 1.1; color: var(--ink); }
.tier-sub { font-size: 12px; color: var(--mute); margin-top: 5px; letter-spacing: .04em; }
.tier-price { font-family: var(--f-display); font-size: 3rem; font-weight: 500; letter-spacing: -.03em; line-height: 1; margin: 1.4rem 0 .5rem; color: var(--ink); font-variant-numeric: lining-nums; }
.tier-price span { font-family: var(--f-body); font-size: 13px; color: var(--mute); font-weight: 500; letter-spacing: 0; }
.tier-annual { font-size: 12px; color: var(--mute); margin: 0 0 6px; }
.tier-annual strong { color: var(--rose); }
.tier-perks { list-style: none; text-align: left; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; margin: 1.3rem 0 auto; padding: 1.3rem 0 1.6rem; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 10px; min-height: 72px; }
.tier-perks li { padding-left: 24px; position: relative; }
.tier-perks li::before { content: ''; position: absolute; left: 3px; top: 6px; width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid var(--gold); background: var(--gold-soft); }
.tier-perks li.annual-only, .tier-perks li.upsell { color: var(--gold-hi); font-weight: 600; }
.tier-perks li.annual-only::before { background: var(--gold); }
body.billing-monthly .tier-perks li.annual-only { display: none; }
.tier-perks li.monthly-only { display: none; }
body.billing-monthly .tier-perks li.monthly-only { display: list-item; }
.tier-perks a { color: inherit; text-decoration: underline; text-decoration-color: var(--gold-line); text-underline-offset: 3px; }
.save-badge { position: absolute !important; top: 14px; right: 14px; z-index: 1; background: var(--gold-soft); color: var(--gold); border: 1px solid var(--gold-line); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 4px 8px; border-radius: var(--r); }
body.billing-monthly .save-badge:not(.sold-badge) { display: none; }
.save-badge.sold-badge { background: #2a1418; color: #f0d9a4; }
.tier-card.soldout { opacity: .85; }
.tier-card .btn { width: 100%; white-space: normal; }
.tier-card .btn-primary { font-size: 12.5px; padding: 17px 14px; }
.tier-card .tier-included { margin-top: 10px; font-size: 11px; padding: 13px 14px; }
.tier-peek-hint { font-size: 11.5px; color: var(--dim); text-align: center; margin-top: 10px; }
.tier-details, .link-gold { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--gold-line); padding-bottom: 3px; transition: color .2s, border-color .2s; }
.tier-details:hover, .link-gold:hover { color: var(--gold-hi); border-color: var(--gold-hi); }

/* ── promise cards ────────────────────────────────────────────────── */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); background: var(--bg-1); margin-top: 2.6rem; }
.info-card { padding: 2.4rem 2rem 2.6rem; border-left: 1px solid var(--line-2); position: relative; transition: background .35s; }
.info-card:first-child { border-left: 0; }
.info-card:hover { background: var(--bg-2); }
.info-card .ic { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; margin: 6px 0 1.5rem 6px; border: 1px solid var(--gold-line); color: var(--gold); transform: rotate(45deg); transition: background .35s, color .35s; }
.info-card .ic svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; display: block; transform: rotate(-45deg); }
.info-card:hover .ic { background: var(--gold); color: #1c1213; }
.info-card h3 { font-size: 1.5rem; margin-bottom: .55rem; }
.info-card p { font-size: 14.5px; color: var(--mute); line-height: 1.7; }
@media (max-width: 820px) { .info-cards { grid-template-columns: 1fr; } .info-card { border-left: 0; border-top: 1px solid var(--line-2); padding: 2rem 1.4rem; } .info-card:first-child { border-top: 0; } }

/* ── FAQ ──────────────────────────────────────────────────────────── */
.faq { max-width: 780px; margin: 2.6rem auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 4px; font-family: var(--f-display); font-size: clamp(1.1rem, 1.7vw, 1.35rem); font-weight: 500; color: var(--ink); transition: color .2s, padding .3s var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-hi); padding-left: 12px; }
.faq summary > span { flex-shrink: 0; width: 30px; height: 30px; border: 1px solid var(--gold-line); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--f-body); font-size: 16px; font-weight: 400; color: var(--gold); transition: transform .4s var(--ease), background .3s, color .3s; }
.faq details[open] summary > span { transform: rotate(45deg); background: var(--gold); color: #1c1213; }
.faq details > div { padding: 0 60px 24px 4px; font-size: 15px; color: var(--ink-2); line-height: 1.75; }
@media (max-width: 540px) { .faq details > div { padding-right: 8px; } }

/* ── closing call ─────────────────────────────────────────────────── */
.finale { position: relative; text-align: center; padding: clamp(4rem, 9vw, 7.5rem) 1.5rem; margin: 2rem 0 0; border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  background: radial-gradient(80% 120% at 50% 110%, color-mix(in srgb, var(--blood) 55%, transparent), transparent 70%), var(--bg-1); }
.finale::after { content: ''; position: absolute; inset: 8px; border: 1px solid var(--line-2); pointer-events: none; }
.finale .rose { top: 50%; width: min(900px, 150%); opacity: .12; z-index: -1; }
.finale h2 { font-size: clamp(2.2rem, 5.4vw, 4.4rem); line-height: 1; margin-bottom: 1.1rem; }
.finale h2 .accent { font-family: var(--f-black); font-style: normal; color: var(--rose); }
.finale p { color: var(--ink-2); max-width: 520px; margin: 0 auto 2rem; font-size: 16px; }
.finale .hero-buttons { justify-content: center; }
.finale small { display: block; margin-top: 1.2rem; font-size: 12.5px; color: var(--mute); }

/* ── footer ───────────────────────────────────────────────────────── */
footer { position: relative; z-index: 1; margin-top: 4rem; padding: 3.5rem 1.5rem 2.6rem; text-align: center; color: var(--mute); font-size: 12.5px; border-top: 1px solid var(--line); }
footer .crest { width: 132px; height: auto; display: block; margin: 0 auto 1.6rem; opacity: .92; }
html.dark footer .crest { content: url('/logo-hero-white.webp'); }
footer a { color: var(--ink-2); text-decoration: none; margin: 0 8px; transition: color .2s; }
footer a:hover { color: var(--gold-hi); }
.social-row { display: flex; justify-content: center; gap: 22px; margin-bottom: 1.7rem; }
.social-row a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 0; border: 1px solid var(--line); color: var(--ink-2); transform: rotate(45deg); transition: all .3s var(--ease); }
.social-row a svg { width: 17px; height: 17px; fill: currentColor; display: block; transform: rotate(-45deg); }
.social-row a:hover { background: var(--gold); border-color: var(--gold); color: #1c1213; }

/* mobile sticky CTA */
#akStickyCta { background: color-mix(in srgb, var(--bg) 92%, transparent) !important; border-top: 1px solid var(--gold-line) !important; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
#akStickyCta .sc-copy strong { color: var(--ink) !important; font-family: var(--f-display); font-weight: 500; font-size: 15px; }
#akStickyCta .sc-copy span { color: var(--mute) !important; }
#akStickyCta .btn { padding: 13px 14px; font-size: 10.5px; letter-spacing: .08em; flex-shrink: 0; }

/* ── modals (tier preview / checkout) ─────────────────────────────── */
.modal-overlay { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 18px; background: rgba(6,4,5,.8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity .3s; }
.modal-overlay.show { display: flex; } .modal-overlay.open { opacity: 1; }
.modal { position: relative; width: 100%; max-width: 920px; max-height: 88vh; display: flex; flex-direction: column; overflow: hidden; background: var(--bg-1); border: 1px solid var(--gold-line); border-radius: var(--r); box-shadow: var(--shadow); transform: translateY(18px) scale(.98); opacity: 0; transition: transform .4s var(--ease), opacity .3s; }
.modal-overlay.open .modal { transform: none; opacity: 1; }
.modal-head { padding: 1.5rem 1.7rem 1.3rem; border-bottom: 1px solid var(--line); display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; background: linear-gradient(135deg, #1d0f12, #2b1318 60%, #1d0f12); }
.modal-head h3 { font-size: 1.9rem; color: #f2e9db; }
.modal-head .sub { font-size: 13px; color: rgba(242,233,219,.66); margin-top: 5px; line-height: 1.5; }
.modal-head .sub strong { color: #f0d9a4; font-weight: 600; }
.modal-close { background: transparent; border: 1px solid rgba(210,171,99,.45); width: 36px; height: 36px; border-radius: 50%; font-size: 14px; cursor: pointer; color: #f2e9db; flex-shrink: 0; line-height: 1; transition: all .3s var(--ease); }
.modal-close:hover { background: #d2ab63; color: #1c1213; transform: rotate(90deg); }
.modal-body { padding: 1.5rem 1.7rem 1.7rem; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--gold-line) transparent; }
.modal-loading { text-align: center; color: var(--mute); font-size: 13px; padding: 2.5rem 0; }
.peek-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(134px, 1fr)); gap: 14px; }
.peek-item { content-visibility: auto; contain-intrinsic-size: auto 214px; }
.peek-item .ph { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r); transition: transform .35s var(--ease), border-color .3s; }
.peek-item:hover .ph { transform: translateY(-4px); border-color: var(--gold); }
.peek-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.peek-item .nm { font-size: 12px; color: var(--ink-2); line-height: 1.35; margin-top: 8px; text-align: center; font-weight: 500; }
.peek-item .ct { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); text-align: center; margin-top: 2px; }
.peek-perks { list-style: none; font-size: 14px; color: var(--ink-2); line-height: 1.6; display: flex; flex-direction: column; gap: 10px; margin: .25rem 0 1rem; }
.peek-perks li { padding-left: 24px; position: relative; }
.peek-perks li::before { content: ''; position: absolute; left: 3px; top: 8px; width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid var(--gold); }
.peek-note { font-size: 13px; color: var(--mute); margin-bottom: 1rem; line-height: 1.55; }
.checkout-modal { max-width: 480px; }
.checkout-body { padding: 12px 12px 16px; background: #fff; min-height: 460px; }
@media (max-width: 560px) { .peek-grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; } .modal-head, .modal-body { padding-left: 1.1rem; padding-right: 1.1rem; } }

/* ── annual promo ribbon ──────────────────────────────────────────── */
.promo-ribbon { position: relative; margin: .8rem 0 0; padding: 13px 54px; text-align: center; background: linear-gradient(90deg, transparent, var(--gold-soft) 20%, var(--gold-soft) 80%, transparent); border-top: 1px solid var(--gold-line); border-bottom: 1px solid var(--gold-line); }
.promo-ribbon .p30-row { display: flex; align-items: center; justify-content: center; gap: 8px 22px; flex-wrap: wrap; }
.promo-ribbon .p30-t { font-family: var(--f-display); font-size: 1.15rem; color: var(--ink); }
.promo-ribbon .p30-t em { color: var(--gold-hi); font-style: italic; }
.promo-ribbon .p30-s { font-size: 13px; color: var(--mute); }
.promo-ribbon .p30-x { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); background: none; border: 0; cursor: pointer; font-size: 15px; color: var(--mute); padding: 8px; }
@media (max-width: 640px) { .promo-ribbon { padding: 10px 38px 11px 12px; } .promo-ribbon .p30-s { display: none; } .promo-ribbon .p30-t { font-size: 1rem; } .promo-ribbon .p30-row { gap: 4px 14px; } .promo-ribbon .link-gold { font-size: 10.5px; } }

/* ── bundle cart re-skin (it runs on --akc-* variables) ───────────── */
:root, html.dark { --akc-bg: var(--bg-2); --akc-bg2: var(--bg-1); --akc-line: var(--line); --akc-text: var(--ink); --akc-muted: var(--mute); }

/* theme switch */
#akThemeBtn { position: fixed; right: 18px; bottom: 18px; z-index: 2500; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; background: var(--bg-2); border: 1px solid var(--gold-line); box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); transition: transform .3s var(--ease); }
#akThemeBtn:hover { transform: rotate(20deg) scale(1.06); }
#akThemeBtn svg { width: 19px; height: 19px; stroke: var(--gold); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
#akThemeBtn .moon { display: block; } #akThemeBtn .sun { display: none; }
html.dark #akThemeBtn .moon { display: none; } html.dark #akThemeBtn .sun { display: block; }


/* ════════════════════════════════════════════════════════════════════
   APP SHELL (library, product, account…) — body.app
   ════════════════════════════════════════════════════════════════════ */
body.app nav {
  position: sticky; top: 0; height: 66px; padding: 0 clamp(1rem, 2.4vw, 2rem); gap: 1rem; justify-content: flex-start;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
body.app nav .brand-block { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
body.app nav .brand-block .brand-text, body.app nav > a.brand { font-family: var(--f-black); font-weight: 400; font-size: 28px; line-height: 1; color: var(--ink); text-decoration: none; }
body.app nav .brand-block .brand-text span, body.app nav > a.brand span { display: none; }
body.app nav .right { margin-left: auto; }
body.app nav .right a { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--gold-line); padding-bottom: 3px; }
body.app nav .right a:hover { color: var(--gold-hi); }
nav .search-bar { flex: 1; max-width: 520px; position: relative; margin: 0 auto; }
nav .search-bar input {
  width: 100%; padding: 12px 16px 12px 44px; border-radius: var(--r); background: var(--bg-1); border: 1px solid var(--line);
  color: var(--ink); font-family: var(--f-body); font-size: 14px; transition: border-color .25s, box-shadow .25s, background .25s;
}
nav .search-bar input::placeholder { color: var(--mute); }
nav .search-bar input:focus { outline: none; border-color: var(--gold); background: var(--bg-2); box-shadow: 0 0 0 4px var(--gold-soft); }
nav .search-bar svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--gold); pointer-events: none; }
nav .right-group { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
nav .right-group .nav-link { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); text-decoration: none; margin-right: 8px; transition: color .2s; }
nav .right-group .nav-link:hover { color: var(--gold-hi); }
nav .right-group .me { color: var(--mute); font-size: 12.5px; display: flex; align-items: center; gap: 8px; }
nav .right-group .me .tier-mini { padding: 4px 9px; border-radius: var(--r); background: var(--gold-soft); border: 1px solid var(--gold-line); color: var(--gold); font-weight: 600; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
nav .right-group .avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--blood); border: 1px solid var(--gold-line); display: flex; align-items: center; justify-content: center; color: var(--on-blood); font-weight: 700; font-size: 13px; }

/* burger + sidebar */
.ak-burger { width: 40px; height: 40px; background: none; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; flex-shrink: 0; }
.ak-burger:hover, .ak-burger.open { border-color: var(--gold); background: var(--gold-soft); }
.ak-burger-lines { display: flex; flex-direction: column; gap: 4px; }
.ak-burger-lines span { display: block; width: 18px; height: 1.5px; background: var(--ink-2); transition: all .3s var(--ease); }
.ak-burger.open .ak-burger-lines span { background: var(--gold); }
.ak-burger.open .ak-burger-lines span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.ak-burger.open .ak-burger-lines span:nth-child(2) { opacity: 0; }
.ak-burger.open .ak-burger-lines span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.ak-sidebar {
  position: fixed; top: 0; left: 0; z-index: 200; width: 272px; height: 100vh; height: 100dvh;
  background: var(--bg-1); border-right: 1px solid var(--line);
  display: flex; flex-direction: column; padding: 1.4rem 0 calc(1rem + env(safe-area-inset-bottom, 0px));
  transform: translateX(-100%); transition: transform .35s var(--ease); overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: var(--gold-line) transparent;
}
.ak-sidebar::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 320px; pointer-events: none; background: radial-gradient(90% 70% at 20% 0%, var(--glow-a), transparent 70%); opacity: .7; }
.ak-sidebar > * { position: relative; }
.ak-sidebar.open { transform: translateX(0); box-shadow: 30px 0 80px -20px rgba(0,0,0,.6); }
.ak-sidebar-logo { display: flex; align-items: center; gap: 12px; padding: 4px 1.4rem 1.5rem; margin-bottom: 1.2rem; text-decoration: none; position: relative; }
.ak-sidebar-logo::after { content: ''; position: absolute; left: 1.4rem; right: 1.4rem; bottom: 0; height: 1px; background: linear-gradient(90deg, var(--gold-line), transparent); }
.ak-sidebar-logo img { height: 40px; width: 40px; object-fit: contain; background: var(--blood); padding: 7px; border-radius: var(--r); border: 1px solid var(--gold-line); }
.ak-sidebar-logo .label { font-family: var(--f-black); font-size: 27px; font-weight: 400; line-height: 1; color: var(--ink); }
.ak-sidebar-logo .label span { display: block; margin-top: 4px; font-family: var(--f-caps); font-size: 9px; font-weight: 500; letter-spacing: .44em; text-transform: uppercase; color: var(--gold); }
.ak-sidebar-section { padding: 0 .9rem; margin-bottom: 1.2rem; }
.ak-sidebar-label { font-family: var(--f-caps); font-size: 9.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); padding: 0 12px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.ak-sidebar-label::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold-line), transparent); opacity: .6; }
.ak-sidebar-item {
  display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: var(--r); color: var(--ink-2); text-decoration: none;
  font-size: 13.5px; font-weight: 500; margin-bottom: 1px; border: 1px solid transparent; position: relative; transition: color .2s, background .25s, padding .3s var(--ease);
}
.ak-sidebar-item::before { content: ''; position: absolute; left: 0; top: 50%; width: 2px; height: 0; background: var(--gold); transform: translateY(-50%); transition: height .3s var(--ease); }
.ak-sidebar-item:hover { color: var(--ink); background: var(--gold-soft); padding-left: 16px; }
.ak-sidebar-item.active { color: var(--ink); background: linear-gradient(90deg, var(--gold-soft), transparent); }
.ak-sidebar-item.active::before { height: 70%; }
.ak-sidebar-icon { width: 30px; height: 30px; border-radius: var(--r); display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); color: var(--gold); flex-shrink: 0; transition: all .25s; }
.ak-sidebar-item.active .ak-sidebar-icon { background: var(--blood); border-color: var(--gold-line); color: #f0d9a4; }
.ak-sidebar-text { flex: 1; line-height: 1.25; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ak-sidebar-desc { flex-basis: 100%; font-size: 10.5px; color: var(--mute); font-weight: 400; margin-top: -4px; }
.ak-sidebar-divider { height: 1px; background: var(--line-2); margin: .75rem 1.4rem; }
.ak-filter-count { margin-left: auto; font-size: 10.5px; font-weight: 600; color: var(--mute); font-variant-numeric: tabular-nums; }
.ak-sidebar-item.active .ak-filter-count { color: var(--gold); }
.ak-sidebar-footer { margin-top: auto; padding: .9rem .9rem 0; border-top: 1px solid var(--line-2); }
.ak-sidebar-account { display: flex; align-items: center; gap: 10px; padding: 11px 12px; margin: 0 0 8px; background: linear-gradient(135deg, #1d0f12, #2b1318); border: 1px solid var(--gold-line); border-radius: var(--r); }
.ak-sidebar-account .who { flex: 1; min-width: 0; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ak-sidebar-account .who .email { color: #f2e9db; font-weight: 600; }
.ak-sidebar-account .who .tier { color: #e2be7e; font-size: 11px; font-weight: 600; margin-top: 1px; }
.ak-sidebar-account .who .tier.none { color: rgba(242,233,219,.5); font-style: italic; font-weight: 400; }
.ak-overlay { display: none; position: fixed; inset: 0; z-index: 199; background: rgba(4,3,3,.7); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.ak-overlay.open { display: block; opacity: 1; }
@media (max-width: 480px) { .ak-sidebar { width: 80vw; max-width: 300px; } }
@media (min-width: 769px) {
  .ak-sidebar { transform: none; }
  .ak-burger { display: none; }
  .ak-overlay { display: none !important; }
  body.app { margin-left: 272px; }
  body.app nav .brand-block, body.app nav > a.brand { display: none; }
}

body.app main { max-width: 1480px; padding: .5rem clamp(1rem, 2.4vw, 2rem) 4rem; }

/* ════════════════════════════════════════════════════════════════════
   LIBRARY
   ════════════════════════════════════════════════════════════════════ */
.hero-row { max-width: 1480px; margin: 0 auto; padding: clamp(1.8rem, 3.4vw, 3rem) clamp(1rem, 2.4vw, 2rem) 1.6rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; position: relative; z-index: 1; }
.hero-row h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1; margin-bottom: 10px; }
.hero-row .meta { color: var(--mute); font-size: 14px; max-width: 720px; }
.hero-row .meta strong { color: var(--gold); font-weight: 600; }
.hero-row .meta a { color: var(--gold); }
.hero-row #filterCount { color: var(--mute); font-size: 13px; }
.cat-intro { max-width: 760px; color: var(--ink-2); font-size: 14.5px; line-height: 1.7; margin-top: 12px; }
.hero-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.sort-wrap { display: flex; align-items: center; gap: 10px; }
.sort-wrap .sort-lbl { font-family: var(--f-caps); font-size: 10px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.sort-select {
  appearance: none; -webkit-appearance: none; background-color: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r); color: var(--ink);
  font-family: var(--f-body); font-size: 13px; font-weight: 500; padding: 10px 36px 10px 14px; cursor: pointer; transition: border-color .2s;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c9a45c' stroke-width='2.2'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat; background-position: right 13px center;
}
.sort-select:hover, .sort-select:focus { outline: none; border-color: var(--gold); }

.pill-row { max-width: 1480px; margin: 0 auto; padding: 0 1rem 1rem; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; position: relative; z-index: 1; }
.pill-row::-webkit-scrollbar { display: none; }
@media (min-width: 769px) { .pill-row { display: none; } }
.pill { flex-shrink: 0; padding: 8px 14px; border-radius: var(--r); background: var(--bg-1); border: 1px solid var(--line); color: var(--ink-2); font-size: 12px; font-weight: 500; letter-spacing: .04em; cursor: pointer; transition: all .2s; white-space: nowrap; user-select: none; }
.pill:hover { border-color: var(--gold-line); color: var(--ink); }
.pill.active { background: var(--blood); border-color: var(--gold-line); color: var(--on-blood); }
.pill .count { font-size: 11px; opacity: .7; margin-left: 5px; }
.pill-row .pill-divider { flex-shrink: 0; width: 1px; background: var(--line); margin: 6px 4px; }

.grid { display: grid; gap: clamp(12px, 1.6vw, 24px); grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit;
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r);
  transition: transform .5s var(--ease), border-color .3s, box-shadow .5s;
}
.card:hover { transform: translateY(-6px); border-color: var(--gold-line); box-shadow: var(--shadow); z-index: 2; }
.thumb { aspect-ratio: 4 / 5; background: var(--bg-3) center / cover no-repeat; position: relative; overflow: hidden; }
.thumb::after { /* gilded inner frame on hover */
  content: ''; position: absolute; inset: 4px; z-index: 5; pointer-events: none; border: 1px solid rgba(240,217,164,0);
  transition: border-color .4s, inset .45s var(--ease);
}
.card:hover .thumb::after { border-color: rgba(240,217,164,.8); inset: 9px; }
.thumb-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1.1s var(--ease); }
.card:hover .thumb-img { transform: scale(1.07); }
.thumb.empty { display: flex; align-items: center; justify-content: center; }
.thumb.empty::before { content: 'A'; font-family: var(--f-black); font-size: 64px; color: var(--gold); opacity: .25; }
.badge-format, .badge-tier, .lock-overlay, .ak-add-mini, .card-price-pill, #photoOverlay .po-chip {
  font-family: var(--f-body); font-size: 9.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2;
  padding: 6px 9px; border-radius: var(--r); background: rgba(11,9,10,.78); border: 1px solid rgba(210,171,99,.5); color: #f0d9a4;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.badge-format { position: absolute; top: 12px; left: 12px; z-index: 6; }
.badge-tier { position: absolute; top: 12px; right: 12px; z-index: 6; display: inline-flex; align-items: center; gap: 5px; color: #f2e9db; }
.badge-tier .symbol { font-size: 11px; }
.lock-overlay { position: absolute; top: 44px; right: 12px; z-index: 6; display: inline-flex; align-items: center; gap: 5px; color: #f0c8cc; }
.lock-overlay .lock-icon { display: flex; align-items: center; } .lock-overlay .lock-icon svg { width: 11px; height: 11px; }
.lock-overlay .lock-text { color: inherit; } .lock-overlay .lock-sub { display: none; }
.ak-add-mini { position: absolute; top: 12px; right: 12px; z-index: 7; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .3s var(--ease); }
.ak-add-mini:hover { background: var(--blood); border-color: #f0d9a4; color: #fff; transform: scale(1.06); }
.ak-add-mini.in, .ak-add-mini[aria-pressed="true"] { background: #d2ab63; color: #1c1213; }
.badge-tier ~ .ak-add-mini, .thumb .badge-tier + .ak-add-mini { top: auto; }
.card-price-pill { position: absolute; bottom: 12px; right: 12px; z-index: 6; background: #d2ab63; color: #1c1213; }
.stats-overlay { display: none; }
.card-brand { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: 54px 16px 15px; background: linear-gradient(to top, rgba(8,6,7,.92) 0%, rgba(8,6,7,.55) 48%, transparent 100%); pointer-events: none; }
.card-brand .cb-cat { font-family: var(--f-caps); font-size: 9px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: #d2ab63; margin-bottom: 5px; }
.card-brand .cb-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.card-brand .cb-name { flex: 1; min-width: 0; font-family: var(--f-display); font-weight: 500; font-size: 19px; line-height: 1.12; color: #f6efe2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-brand .cb-price { flex-shrink: 0; font-family: var(--f-display); font-weight: 500; font-size: 17px; color: #f0d9a4; white-space: nowrap; }
.card-meta { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; }
.card-meta .name { font-family: var(--f-display); font-size: 17px; line-height: 1.25; margin-bottom: 4px; color: var(--ink); }
.card-meta .cat { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
/* card footer: name, price and Add live under the photo */
.card-foot { flex: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 14px 14px 14px 16px; background: var(--bg-1); border-top: 1px solid var(--line-2); transition: background .3s; }
.card:hover .card-foot { background: var(--bg-2); }
.cf-txt { min-width: 0; display: flex; flex-direction: column; gap: 5px; align-self: flex-start; }
.cf-cat { font-family: var(--f-caps); font-size: 9px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.cf-name { font-family: var(--f-display); font-weight: 500; font-size: 18px; line-height: 1.16; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cf-buy { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.cf-price { font-family: var(--f-display); font-weight: 500; font-size: 20px; line-height: 1; color: var(--gold-hi); font-variant-numeric: lining-nums; }
.card-foot .ak-add-mini { position: static; background: transparent; color: var(--gold); border-color: var(--gold-line); -webkit-backdrop-filter: none; backdrop-filter: none; padding: 7px 10px; white-space: nowrap; }
.card:hover .card-foot .ak-add-mini { background: var(--blood); border-color: var(--blood-hi); color: var(--on-blood); }
.card-foot .ak-add-mini:hover { transform: none; background: var(--blood-hi) !important; }
.badge-new { position: absolute; top: 12px; left: 12px; z-index: 6; font-size: 9.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding: 7px 12px; border-radius: var(--r); background: linear-gradient(180deg, #e2bf7c, #c99f55); color: #1c1213; }
.badge-new + .thumb-img + .badge-format, .thumb:has(.badge-new) .badge-format { left: auto; right: 12px; }
@media (min-width: 1100px) {
  .grid > .card.is-latest:first-child { grid-column: span 2; grid-row: span 2; }
  .grid > .card.is-latest:first-child .thumb { aspect-ratio: auto; flex: 1 1 auto; min-height: 0; }
  .grid > .card.is-latest:first-child .card-foot { flex: 0 0 auto; padding: 20px 22px; align-items: center; }
  .grid > .card.is-latest:first-child .cf-name { font-size: 30px; -webkit-line-clamp: 2; }
  .grid > .card.is-latest:first-child .cf-price { font-size: 28px; }
  .grid > .card.is-latest:first-child .cf-buy { flex-direction: row; align-items: center; gap: 16px; }
  .grid > .card.is-latest:first-child .ak-add-mini { padding: 13px 18px; font-size: 11px; background: var(--blood); border-color: var(--blood-hi); color: var(--on-blood); }
}
@media (max-width: 540px) {
  .card-foot { flex-direction: column; align-items: stretch; gap: 10px; padding: 10px 10px 11px; }
  .cf-name { font-size: 15px; } .cf-cat { font-size: 7.5px; letter-spacing: .2em; }
  .cf-buy { flex-direction: row; align-items: center; justify-content: space-between; }
  .cf-price { font-size: 17px; }
  .badge-new { top: 7px; left: 7px; font-size: 8px; padding: 5px 7px; letter-spacing: .12em; }
}
.hero-row .kicker { margin-bottom: 12px; }
.hero-row h1 em { font-style: italic; color: var(--rose); }
.empty-state { text-align: center; padding: 4rem 1.5rem; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r); }
.empty-state h3 { font-size: 1.7rem; margin-bottom: 8px; }
.empty-state p { color: var(--mute); font-size: 14px; line-height: 1.6; max-width: 480px; margin: 0 auto; }
.empty-state a { color: var(--gold); font-weight: 600; }
.mobile-search-btn, .mobile-search-overlay { display: none; }
@media (max-width: 540px) {
  body.app nav { height: 60px; gap: 8px; }
  nav .search-bar, nav .right-group .me { display: none; }
  .hero-row { padding: 1.4rem 1rem .9rem; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-brand { padding: 30px 10px 10px; }
  .card-brand .cb-name { font-size: 14.5px; } .card-brand .cb-price { font-size: 13.5px; }
  .card-brand .cb-cat { font-size: 7.5px; letter-spacing: .2em; margin-bottom: 3px; }
  .badge-format { top: 7px; left: 7px; } .badge-tier, .ak-add-mini { top: 7px; right: 7px; }
  .badge-format, .badge-tier, .ak-add-mini { font-size: 8px; padding: 4px 6px; letter-spacing: .1em; }
  .mobile-search-btn { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-left: auto; border-radius: var(--r); background: none; border: 1px solid var(--line); color: var(--gold); cursor: pointer; flex-shrink: 0; }
  .mobile-search-overlay { position: fixed; top: 60px; left: 0; right: 0; z-index: 99; background: var(--bg); padding: 12px 1rem; border-bottom: 1px solid var(--line); }
  .mobile-search-overlay.open { display: block; }
  .mobile-search-overlay input { width: 100%; padding: 12px 14px; border-radius: var(--r); background: var(--bg-1); border: 1px solid var(--line); color: var(--ink); font-family: inherit; font-size: 15px; }
}

/* ════════════════════════════════════════════════════════════════════
   PRODUCT PAGE
   ════════════════════════════════════════════════════════════════════ */
body.pg-detail main { max-width: 1340px; padding-top: 1.4rem; }
.breadcrumb { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 1.3rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.breadcrumb a { color: var(--gold); text-decoration: none; } .breadcrumb a:hover { color: var(--gold-hi); }
.breadcrumb span { color: var(--mute) !important; }
.layout { display: grid; gap: clamp(1.4rem, 3vw, 3rem); grid-template-columns: minmax(0, 1fr); align-items: start; }
.preview-col, .info-panel { min-width: 0; }
@media (min-width: 960px) { .layout { grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr); } .preview-col { position: sticky; top: 86px; } }
.preview-wrap { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); }
.preview-wrap::after { content: ''; position: absolute; inset: 8px; z-index: 5; border: 1px solid rgba(240,217,164,.4); pointer-events: none; }
.preview-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.preview-wrap.empty { display: flex; align-items: center; justify-content: center; }
.gallery-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; margin-top: 12px; }
.gallery-strip button { padding: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--bg-2); aspect-ratio: 1; cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s; }
.gallery-strip button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-strip button:hover { opacity: 1; } .gallery-strip button.active { opacity: 1; border-color: var(--gold); }
#photoOverlay { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
#photoOverlay .po-badges { position: absolute; top: 20px; right: 20px; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
#photoOverlay .po-chip { display: inline-flex; align-items: center; gap: 5px; }
#photoOverlay .po-chip.lock { color: #f0c8cc; }
#photoOverlay .po-brand { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 26px 24px; background: linear-gradient(180deg, transparent, rgba(8,6,7,.86)); }
#photoOverlay .po-cat { font-family: var(--f-caps); font-size: 10px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: #d2ab63; margin-bottom: 6px; }
#photoOverlay .po-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
#photoOverlay .po-name { font-family: var(--f-display); font-weight: 500; font-size: clamp(20px, 2.2vw, 28px); color: #f6efe2; line-height: 1.12; }
#photoOverlay .po-price { font-family: var(--f-display); font-size: 22px; font-weight: 500; color: #f0d9a4; white-space: nowrap; }

.reel-box { margin-top: 18px; padding: 16px; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r); }
.reel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 2px 4px 14px; }
.reel-head h3 { font-size: 1.5rem; }
.reel-head a { color: var(--gold); font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.reel-head a:hover { color: var(--gold-hi); }
.reel-frame { overflow: hidden; min-height: 200px; border-radius: var(--r); }
.reel-frame iframe { min-height: 600px; }
.reel-box .instagram-media { margin: 0 !important; min-width: 0 !important; max-width: none !important; width: 100% !important; border: 0 !important; border-radius: var(--r) !important; box-shadow: none !important; }

.info-panel { display: flex; flex-direction: column; gap: 1.1rem; }
body.pg-detail .info-card { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.3rem, 2.4vw, 2.1rem); }
body.pg-detail .info-card:hover { background: var(--bg-1); }
.title-block h1 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.02; margin-bottom: 14px; text-wrap: balance; }
.title-block .lead { color: var(--ink-2); font-size: 15px; line-height: 1.7; margin-bottom: 1.3rem; }
.price-block { display: flex; align-items: baseline; gap: 12px; margin-bottom: .9rem; }
.price-block .price-amt { font-family: var(--f-display); font-weight: 500; font-size: 2.7rem; color: var(--gold-hi); letter-spacing: -.02em; line-height: 1; }
.price-block .price-note { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.price-sub { font-size: 13px; color: var(--ink-2); margin: 0 0 1.1rem; }
.price-sub strong { color: var(--rose); font-weight: 600; }
.meta-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1.2rem; }
.meta-pills .pill { cursor: default; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; }
.pill.tier { background: var(--gold-soft); border-color: var(--gold-line); color: var(--gold); display: inline-flex; align-items: center; gap: 5px; }
.pill.commercial { background: rgba(60,160,95,.1); border-color: rgba(60,160,95,.4); color: #58b47c; }
.stats-row { display: flex; gap: 1.4rem; padding: 12px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); margin-bottom: 1.3rem; flex-wrap: wrap; }
.stats-row .stat { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--mute); }
.stats-row .stat strong { color: var(--ink); font-weight: 600; }
.stats-row .stat svg { width: 14px; height: 14px; color: var(--gold); }
.download-block { padding-top: .2rem; }
.download-block .btn, .locked-card .btn { display: flex; width: 100%; margin-bottom: 9px; padding: 18px 20px; font-size: 12.5px; }
.btn .sub { font-size: 10.5px; font-weight: 500; opacity: .75; letter-spacing: .06em; }
.btn-bambu, .btn-stl { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-bambu::before, .btn-stl::before { content: ''; width: 7px; height: 7px; transform: rotate(45deg); background: #25b35a; flex-shrink: 0; }
.btn-stl::before { background: #4b83f0; }
.btn-bambu:hover, .btn-stl:hover { border-color: var(--gold); background: var(--gold-soft); }
.locked-card { position: relative; padding: 1.5rem 1.3rem 1.3rem; background: linear-gradient(180deg, color-mix(in srgb, var(--blood) 22%, var(--bg-2)), var(--bg-2) 55%); border: 1px solid var(--gold-line); border-radius: var(--r); }
.locked-card h3 { font-family: var(--f-caps); font-size: 10.5px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.locked-card .body { font-size: 14px; color: var(--ink-2); line-height: 1.65; margin-bottom: 1.1rem; }
.locked-card .body strong { color: var(--rose); font-weight: 600; }
.or-better { display: flex; align-items: center; gap: 14px; margin: 10px 0 12px; font-family: var(--f-caps); font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--mute); }
.or-better::before, .or-better::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.tier-rows { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.tier-row { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; background: color-mix(in srgb, var(--bg) 60%, transparent); transition: border-color .25s, background .25s, padding .3s var(--ease); }
.tier-row:hover { border-color: var(--gold); background: var(--gold-soft); padding-left: 18px; }
.tier-row .tr-i { font-size: 16px; flex-shrink: 0; }
.tier-row .tr-n { font-family: var(--f-display); font-size: 16.5px; color: var(--ink); white-space: nowrap; }
.tier-row .tr-d { font-size: 11.5px; color: var(--mute); flex: 1; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tier-row .tr-p { font-weight: 600; font-size: 13.5px; color: var(--gold-hi); white-space: nowrap; }
.tier-row .tr-p::after { content: ' →'; opacity: 0; transition: opacity .25s; }
.tier-row:hover .tr-p::after { opacity: 1; }
.ak-ladder { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 0 0 12px; background: color-mix(in srgb, var(--bg) 60%, transparent); }
.ak-ladder .hd { padding: 9px 13px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid var(--line-2); }
.ak-ladder .tiers { display: grid; grid-template-columns: repeat(4, 1fr); padding: 12px 6px; gap: 4px; text-align: center; margin: 0; }
.ak-ladder .t { font-size: 10.5px; color: var(--mute); }
.ak-ladder .t b { display: block; font-size: 11.5px; font-weight: 600; color: var(--ink); margin-bottom: 5px; }
.ak-ladder .t .p { display: block; width: max-content; margin-left: auto; margin-right: auto; padding: 3px 9px; border-radius: var(--r); background: var(--bg-3); font-size: 12.5px; color: var(--ink); margin-bottom: 4px; font-weight: 600; }
.ak-ladder .t.on .p { background: var(--blood-hi); color: #fff; }
.ak-ladder .t.best .p { background: #d2ab63; color: #1c1213; }
.ak-hint { text-align: center; font-size: 12px; color: var(--mute); margin: 6px 0 2px; min-height: 16px; }
.tabs-row { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 1.4rem; overflow-x: auto; scrollbar-width: none; }
.tab { padding: 0 0 14px; margin: 0 26px -1px 0; cursor: pointer; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); border-bottom: 1px solid transparent; white-space: nowrap; transition: color .2s, border-color .2s; }
.tab:hover { color: var(--ink); } .tab.active { color: var(--gold-hi); border-bottom-color: var(--gold); }
.tab-panel { display: none; } .tab-panel.active { display: block; }
.tab-panel .body { color: var(--ink-2); font-size: 15px; line-height: 1.8; white-space: pre-wrap; }
.tab-panel pre { padding: 16px 18px; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r); font-family: ui-monospace, 'SF Mono', Consolas, monospace; font-size: 12.5px; color: var(--ink-2); line-height: 1.75; white-space: pre-wrap; }
.tab-panel .empty { color: var(--mute); font-size: 13px; font-style: italic; padding: 1rem 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 540px) { body.pg-detail main { padding: 1rem 1rem 3rem; } #photoOverlay .po-brand { padding: 50px 16px 16px; } .tier-row .tr-d { display: none; } }

/* ── inline-styled leftovers (shared notices etc.) on dark ────────── */
html.dark [style*="color:#241c1e"], html.dark [style*="color: #241c1e"], html.dark [style*="color:#3d3430"] { color: var(--ink) !important; }
html.dark [style*="color:#5c524e"], html.dark [style*="color: #5c524e"], html.dark [style*="color:#4a423f"] { color: var(--ink-2) !important; }
html.dark [style*="color:#8a7d78"], html.dark [style*="color:#9b8d85"] { color: var(--mute) !important; }
html.dark [style*="color:#722F37" i], html.dark [style*="color: #722F37" i] { color: var(--rose) !important; }
html.dark [style*="color:#8a6a1f" i], html.dark [style*="color: #8a6a1f" i] { color: var(--gold) !important; }
html.dark [style*="background:#fffdf8" i] { background: var(--bg-1) !important; border-color: var(--line) !important; }


/* ════════════════════════════════════════════════════════════════════
   FOCUS CAROUSEL — the frame under the cursor (or at the centre while
   you slide) grows; its neighbours step down around it.
   ════════════════════════════════════════════════════════════════════ */
.focus-rail { position: relative; margin: 0 0 clamp(1.6rem, 3vw, 2.6rem); padding: 1.4rem 0 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.focus-rail[hidden] { display: none; }
.fr-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 0 2px; }
.fr-head .section-title { margin: 0; justify-content: flex-start; }
.fr-head .section-title::before { display: none; }
.fr-nav { display: flex; gap: 8px; }
.fr-nav button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: none; color: var(--gold); cursor: pointer; font-size: 15px; line-height: 1; transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease); }
.fr-nav button:hover { background: var(--gold); border-color: var(--gold); color: #1c1213; transform: scale(1.08); }
.fr-track {
  --w: clamp(150px, 15vw, 210px);
  display: flex; align-items: center; gap: clamp(14px, 2vw, 30px);
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding: calc(var(--w) * .34) calc(50% - var(--w) / 2) calc(var(--w) * .34 + 58px);
  scroll-snap-type: x proximity; cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.fr-track::-webkit-scrollbar { display: none; }
.fr-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.fr-track.dragging .fr-item { pointer-events: none; }
.fr-item {
  --f: 0; /* 0 = far from the focus, 1 = in focus (set by ak-look.js) */
  position: relative; flex: 0 0 var(--w); aspect-ratio: 4 / 5; scroll-snap-align: center; text-decoration: none; color: inherit;
  transform: scale(calc(.8 + var(--f) * .52)); transform-origin: center; z-index: calc(var(--f) * 10);
  will-change: transform; -webkit-user-drag: none; user-select: none;
}
.fr-item .fr-ph { position: absolute; inset: 0; overflow: hidden; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line-2);
  box-shadow: 0 calc(var(--f) * 34px) calc(var(--f) * 70px) calc(var(--f) * -24px) rgba(0,0,0,.85); }
.fr-item .fr-ph::after { content: ''; position: absolute; inset: 6px; border: 1px solid rgba(240,217,164,calc(var(--f) * .85)); pointer-events: none; }
.fr-item img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; filter: brightness(calc(.5 + var(--f) * .5)) saturate(calc(.7 + var(--f) * .3)); }
html:not(.dark) .fr-item img { filter: opacity(calc(.55 + var(--f) * .45)); }
.fr-cap { position: absolute; left: -30%; right: -30%; top: 100%; padding-top: 9px; text-align: center; pointer-events: none;
  opacity: calc(var(--f) * 2.4 - 1.4); transform: scale(calc(1 / (.8 + var(--f) * .52))); transform-origin: top center; }
.fr-cap b { display: block; font-family: var(--f-display); font-weight: 500; font-size: 17px; line-height: 1.15; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fr-cap span { display: block; margin-top: 4px; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 540px) {
  .fr-track { --w: 46vw; gap: 12px; scroll-snap-type: x mandatory; }
  .fr-nav { display: none; }
  .fr-item { transform: scale(calc(.82 + var(--f) * .34)); }
  .fr-cap { transform: scale(calc(1 / (.82 + var(--f) * .34))); }
}


/* ════════════════════════════════════════════════════════════════════
   PRICING PAGE (/tiers) + rules needed once the look runs on the live
   templates (they still carry a few inline styles and legacy <style>s).
   ════════════════════════════════════════════════════════════════════ */

/* _seo.php paints an early dark background before the stylesheet loads */
html.dark, html.dark body { background-color: var(--bg); color: var(--ink); }

/* marketing nav on phones/tablets: links move to a second, scrollable row */
@media (max-width: 1020px) {
  body:not(.app) nav { height: auto; flex-wrap: wrap; padding-top: 10px; padding-bottom: 9px; row-gap: 8px; background: color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom-color: var(--line); }
  body:not(.app) nav.scrolled { height: auto; }
  body:not(.app) .navcenter { display: flex; position: static; transform: none; order: 3; width: 100%; gap: 1.4rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  body:not(.app) .navcenter::-webkit-scrollbar { display: none; }
  body:not(.app) main { padding-top: 106px; }
  .nav-chip .nav-name, .nav-chip .nav-tier { display: none; }
  .nav-chip { padding: 4px; }
}
.nav-ava { width: 26px; height: 26px; border-radius: 50%; background: var(--blood); border: 1px solid var(--gold-line); color: var(--on-blood); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.nav-chip .nav-name { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-chip .nav-tier { color: var(--gold); font-size: 10.5px; font-weight: 600; letter-spacing: .04em; }
.nav-chip:hover { border-color: var(--gold); }
.nav-out svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: block; }
.nav-out:hover { background: var(--blood); border-color: var(--blood-hi); color: #fff; }

/* bundle cart: its own <style> sits later in the page, so win on specificity */
html:root, html.dark:root { --akc-bg: var(--bg-2); --akc-bg2: var(--bg-1); --akc-line: var(--gold-line); --akc-text: var(--ink); --akc-muted: var(--mute); --akc-gold: var(--gold); --akc-wine: var(--blood-hi); }
#akBundle { border-radius: var(--r) !important; }
#akBundle .akb-n b, #akBundle [style*="Cormorant"], .ak-drawer [style*="Cormorant"] { font-family: var(--f-display) !important; }

/* library: "✓ Included" instead of a price for designs the member already has */
.cf-price.cf-inc { font-family: var(--f-body); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
#emptyFilter a { color: var(--gold) !important; }
.cat-intro { max-width: 680px; margin: 0 0 12px; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }
.hero-row .meta span, .hero-row .meta em { color: inherit; }

/* product page notices (purchase ok, claimed, etc.) */
body.pg-detail main > [style*="border-radius:12px"] { border-radius: var(--r) !important; border-color: var(--gold-line) !important; background: var(--bg-1) !important; color: var(--ink-2) !important; }

/* ── /tiers ───────────────────────────────────────────────────────── */
.head { text-align: center; padding: clamp(2rem, 5vw, 4rem) 0 2.6rem; }
.head .kicker { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 1.3rem; }
.head .kicker::before, .head .kicker::after { content: ''; width: 38px; height: 1px; background: var(--gold-line); }
.head h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1; margin-bottom: 1.2rem; }
.head h1 .accent { font-family: var(--f-black); font-style: normal; font-size: 1.12em; color: var(--rose); }
.head .lead { font-size: 16px; color: var(--ink-2); line-height: 1.7; max-width: 580px; margin: 0 auto; }
.notice { max-width: 680px; margin: 0 auto 2rem; padding: 14px 18px; text-align: center; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); background: var(--gold-soft); border: 1px solid var(--gold-line); border-radius: var(--r); }
.notice strong { color: var(--ink); }
.notice a { color: var(--gold); }
body.pg-tiers .tier-card.featured::before { content: none; }
.tier-card .flag { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); z-index: 2; white-space: nowrap; background: linear-gradient(180deg, #e2bf7c, #c99f55); color: #1c1213; font-size: 9.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding: 6px 16px; border-radius: var(--r); }
.tier-card.current { border-color: var(--rose); }
.tier-emoji { width: 64px; height: 64px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; line-height: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23d2ab63' stroke-width='1'%3E%3Cpath d='M32 3a14.5 14.5 0 0 1 14.5 14.5A14.5 14.5 0 0 1 61 32a14.5 14.5 0 0 1-14.5 14.5A14.5 14.5 0 0 1 32 61a14.5 14.5 0 0 1-14.5-14.5A14.5 14.5 0 0 1 3 32a14.5 14.5 0 0 1 14.5-14.5A14.5 14.5 0 0 1 32 3Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.tier-label { font-family: var(--f-caps); font-size: 10px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.price-caption { font-size: 12px; color: var(--mute); margin: 0 0 6px; }
.price-caption .was { text-decoration: line-through; opacity: .7; }
.current-pill { display: inline-block; margin-top: 10px; padding: 4px 10px; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); border: 1px solid var(--rose); border-radius: var(--r); }
.benefits { list-style: none; text-align: left; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; margin: 1.3rem 0 auto; padding: 1.3rem 0 1.6rem; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 10px; }
.benefits li { padding-left: 24px; position: relative; }
.benefits li::before { content: ''; position: absolute; left: 3px; top: 6px; width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid var(--gold); background: var(--gold-soft); }
.benefits li.annual-only, .benefits li.upsell { color: var(--gold-hi); font-weight: 600; }
.benefits li.annual-only::before { background: var(--gold); }
.benefits li.no { color: var(--dim); }
.benefits li.no::before { transform: none; border: 0; background: none; content: '✕'; top: 0; left: 2px; width: auto; height: auto; font-size: 11px; color: var(--dim); }
body.billing-monthly .benefits li.annual-only { display: none; }
.benefits li.monthly-only { display: none; }
body.billing-monthly .benefits li.monthly-only { display: list-item; }
.benefits a { color: inherit; text-decoration: underline; text-decoration-color: var(--gold-line); text-underline-offset: 3px; }
.tier-cta { display: flex; flex-direction: column; }
.tier-cta form { display: block; }
.btn-sub { background: var(--blood); color: var(--on-blood); border-color: var(--blood); font-size: 12.5px; padding: 17px 14px;
  box-shadow: inset 0 0 0 3px var(--blood), inset 0 0 0 4px rgba(240,217,164,.34), 0 14px 34px -14px rgba(114,47,55,.75); }
.btn-sub:hover { background: var(--blood-hi); border-color: var(--blood-hi); transform: translateY(-2px); box-shadow: inset 0 0 0 3px var(--blood-hi), inset 0 0 0 4px rgba(240,217,164,.55), 0 20px 44px -14px rgba(157,54,70,.85); }
.btn-peek { margin-top: 10px; font-size: 11px; padding: 13px 14px; background: linear-gradient(180deg, #e2bf7c, #c99f55); color: #1c1213; border-color: #b98f47; box-shadow: inset 0 1px 0 rgba(255,255,255,.45); }
.btn-peek:hover { background: linear-gradient(180deg, #edd092, #d4ab61); transform: translateY(-2px); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; }
.tier-card .hint { font-size: 11.5px; color: var(--dim); text-align: center; margin-top: 10px; }

#compare { margin-top: clamp(3.5rem, 7vw, 6rem) !important; }
#compare > div:first-child { font-family: var(--f-caps) !important; font-size: 11px !important; font-weight: 600 !important; letter-spacing: .32em !important; color: var(--gold) !important; margin-bottom: 1rem !important; }
#compare h2 { font-size: clamp(2rem, 4.4vw, 3.2rem) !important; line-height: 1.05; margin-bottom: 2.2rem !important; }
#compare [style*="overflow-x:auto"] { border-radius: var(--r) !important; background: var(--bg-1) !important; border-color: var(--line) !important; }
#compare table { font-size: 13.5px !important; }
#compare tr { border-color: var(--line-2) !important; background: transparent !important; }
#compare th, #compare td { color: var(--ink-2) !important; }
#compare th:first-child { font-family: var(--f-caps); letter-spacing: .26em !important; color: var(--gold) !important; }
#compare th [style*="Cormorant"] { font-family: var(--f-display) !important; font-weight: 500 !important; font-size: 19px !important; color: var(--ink) !important; }
#compare td strong { font-family: var(--f-display); font-weight: 500; font-size: 20px !important; color: var(--ink); }
#compare [style*="background:rgba(114,47,55"] { background: var(--gold-soft) !important; }
#compare td:first-child { color: var(--ink) !important; font-weight: 500 !important; }
.fineprint { max-width: 720px; margin: 3rem auto 0; font-size: 12.5px; color: var(--mute); line-height: 1.75; text-align: center; }
.fineprint a, .patreon-alt a { color: var(--gold); }
.patreon-alt { text-align: center; margin-top: 2rem; font-size: 13.5px; color: var(--ink-2); }
body.pg-tiers details { border-bottom: 1px solid var(--line); background: none !important; border-radius: 0 !important; border-left: 0 !important; border-right: 0 !important; border-top: 0 !important; }

/* names the old templates still use in inline styles */
:root, html.dark { --accent: var(--rose); --accent-hover: var(--blood-hi); --muted: var(--mute); --text: var(--ink); --bg-0: var(--bg); }

/* ── phone fixes (checked at 390 px on the live templates) ────────── */
#akStickyCta .btn { padding: 13px 13px !important; font-size: 10.5px !important; letter-spacing: .08em !important; white-space: nowrap; }
#akStickyCta .sc-copy strong { font-size: 14px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#akStickyCta .sc-copy span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 959px) {
  /* product page: photo, then the buy panel, and only then the reel */
  body.pg-detail .layout { display: flex; flex-direction: column; align-items: stretch; }
  body.pg-detail .preview-col { display: contents; }
  body.pg-detail .preview-wrap { order: 1; }
  body.pg-detail .gallery-strip { order: 2; margin-top: -8px; }
  body.pg-detail .info-panel { order: 3; }
  body.pg-detail .reel-box { order: 4; margin-top: 0; }
}
@media (max-width: 540px) {
  .tier-row .tr-n { flex: 1; }
  .reel-head h3 { font-size: 1.25rem; white-space: nowrap; }
  .reel-head a { font-size: 10px; letter-spacing: .08em; }
  #compare td strong { font-size: 17px !important; }
  #compare th [style*="Cormorant"] { font-size: 16px !important; }
  #compare th, #compare td { padding-left: 10px !important; padding-right: 10px !important; }
  #compare table { min-width: 560px !important; }
  .head { padding-top: 1.4rem; }
}
.info-panel > *, body.pg-detail .layout > * { min-width: 0; max-width: 100%; }
.tab-panel .body, .tab-panel pre { overflow-wrap: anywhere; }


/* ════════════════════════════════════════════════════════════════════
   LOGIN / SIGN-UP  (body.pg-login) — the page reuses generic class
   names (.card, .switch, .hint…), so everything is scoped and reset.
   ════════════════════════════════════════════════════════════════════ */
body.pg-login { display: flex; align-items: center; justify-content: center; padding: 2.5rem 1rem; }
body.pg-login .card {
  display: block; width: 100%; max-width: 460px; overflow: visible; position: relative; z-index: 1;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1)); border: 1px solid var(--gold-line); border-radius: var(--r);
  padding: 2.6rem 2.2rem 2rem; box-shadow: var(--shadow); transform: none;
}
body.pg-login .card::after { content: ''; position: absolute; inset: 7px; border: 1px solid var(--line-2); pointer-events: none; }
body.pg-login .card:hover { transform: none; border-color: var(--gold-line); box-shadow: var(--shadow); }
body.pg-login .card > * { position: relative; z-index: 1; }
body.pg-login .brand { text-align: center; margin-bottom: 1.6rem; }
body.pg-login .brand img { height: 92px; width: auto; }
html.dark body.pg-login .brand img { content: url('/logo-hero-white.webp'); }
body.pg-login .brand .sub { font-family: var(--f-caps); font-size: 10px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); margin-top: 10px; }
body.pg-login h1 { font-size: 2.1rem; line-height: 1.05; text-align: center; margin-bottom: 10px; }
body.pg-login .lead { text-align: center; color: var(--ink-2); font-size: 14px; line-height: 1.6; margin-bottom: 1.6rem; }
body.pg-login .btn-patreon, body.pg-login .btn-primary {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  padding: 16px 20px; border-radius: var(--r); font-family: var(--f-body); font-size: 12px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background .25s, box-shadow .3s;
}
body.pg-login .btn-patreon { background: #ff424d; color: #fff; border: 1px solid #ff424d; }
body.pg-login .btn-patreon:hover { background: #ff5b65; transform: translateY(-2px); box-shadow: 0 16px 36px -14px rgba(255,66,77,.7); }
body.pg-login .divider { display: flex; align-items: center; gap: 14px; margin: 1.6rem 0; font-family: var(--f-caps); font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--mute); }
body.pg-login .divider::before, body.pg-login .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
body.pg-login .form-group { margin-bottom: 15px; }
body.pg-login .form-group label { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 7px; }
body.pg-login .form-group input, body.pg-login .form-group select {
  width: 100%; padding: 13px 14px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); color: var(--ink);
  font-family: var(--f-body); font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
body.pg-login .form-group input:focus, body.pg-login .form-group select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
body.pg-login .seller-opt { margin: 4px 0 15px; padding: 15px; background: var(--gold-soft); border: 1px solid var(--gold-line); border-radius: var(--r); }
body.pg-login .seller-opt .seller-note { font-size: 12.5px; color: var(--ink-2); line-height: 1.6; margin-bottom: 12px; }
body.pg-login .seller-opt .seller-note strong { color: var(--rose); }
body.pg-login .seller-opt .seller-note a { color: var(--gold); font-weight: 600; }
body.pg-login .seller-opt .form-group:last-child { margin-bottom: 0; }
body.pg-login .switch { position: static; width: auto; height: auto; background: none; border: 0; border-radius: 0; cursor: auto; padding: 0; text-align: center; margin-top: 1.4rem; font-size: 13.5px; color: var(--mute); }
body.pg-login .switch::after { content: none; }
body.pg-login .switch a { color: var(--gold); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--gold-line); }
body.pg-login .alert { padding: 11px 14px; border-radius: var(--r); font-size: 13px; margin-bottom: 1.3rem; line-height: 1.55; }
body.pg-login .alert-error { background: rgba(255,90,80,.08); border: 1px solid rgba(255,90,80,.35); color: #ef8a82; }
body.pg-login .alert-error a { color: inherit; }
body.pg-login .alert-ok { background: rgba(60,160,95,.1); border: 1px solid rgba(60,160,95,.4); color: #6cc08d; }
body.pg-login .alert-ok a { color: inherit; font-weight: 600; }
html:not(.dark) body.pg-login .alert-error { color: #b23a33; } html:not(.dark) body.pg-login .alert-ok { color: #23683f; }
body.pg-login .hint { text-align: center; margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line-2); font-size: 11.5px; color: var(--dim); line-height: 1.6; }
body.pg-login .hint a { color: var(--mute); }
@media (max-width: 480px) { body.pg-login { padding: 1rem .75rem; } body.pg-login .card { padding: 2rem 1.3rem 1.5rem; } body.pg-login h1 { font-size: 1.8rem; } body.pg-login .brand img { height: 76px; } }

/* Phone: nothing inside the page may widen it (the hero rosette did, cutting the top bar). */
@media (max-width: 900px) { main { overflow-x: clip; } }

/* Offer: the price before, clear enough to compare with the price now. */
.was-hi, .price-caption .was.was-hi { text-decoration: line-through; text-decoration-color: #e2495f; text-decoration-thickness: 2px; color: var(--ink); opacity: 1; font-size: 1.3em; font-weight: 600; margin-right: 3px; }
.offer-pct, .tier-annual strong.offer-pct { color: var(--gold-hi); font-weight: 700; }

/* Top bar: log in and join reachable on every page and width (29 Nov 2026). */
body.pg-detail nav .right-group { margin-left: 18px; }
@media (max-width: 540px) {
  .navright .btn-ghost { display: inline-flex; padding: 10px 6px; border-color: transparent; background: none; }
  body.pg-detail nav .right { display: none; }
  body.pg-detail nav .right-group { margin-left: auto; }
}
/* Nothing inside a marketing page may widen it, at any width (the hero rosette did at tablet sizes). */
body:not(.app) main { overflow-x: clip; }

/* 29 Nov 2026 · sign up in the bars, password recovery link, button inside the design preview. */
@media (max-width: 760px) { .nav-signup { display: none !important; } }
.pg-login .forgot { text-align: right; margin: -6px 0 14px; font-size: 12.5px; }
.pg-login .forgot a { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--gold-line); }
.pg-login a.btn-primary { box-sizing: border-box; }
.peek-cta { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 1.7rem; border-top: 1px solid var(--gold-line); background: var(--bg-2); }
.peek-cta[hidden] { display: none; }
.peek-cta-t { font-family: var(--f-display); font-size: 1.25rem; color: var(--ink); }
@media (max-width: 540px) { .peek-cta { padding: 11px 1.1rem; } .peek-cta-t { font-size: 1.05rem; } }

/* 29 Nov 2026 · marketing bar: with "Sign up" the right group reached the centred menu between 1021 and ~1200 px. */
@media (max-width: 1280px) { .navright .nav-signup { display: none; } }
