@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700;800;900&display=swap");

/* Legendary Charts static design system */
:root {
  --paper: #f4efe5;
  --paper-2: #ebe2d3;
  --ink: #152034;
  --muted: #5f6876;
  --blue: #2f5d8c;
  --blue-dark: #1f4369;
  --gold: #b68122;
  --line: rgba(21, 32, 52, .16);
  --white: #fffdf8;
  --shadow: 0 18px 45px rgba(21, 32, 52, .10);
  --radius: 18px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
.shell { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(244,239,229,.94); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-row { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; gap: 12px; align-items: center; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand img { width: 54px; height: 54px; flex: 0 0 54px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(182,129,34,.28); }

@media (max-width: 760px) {
  .brand img { width: 46px; height: 46px; flex-basis: 46px; }
}

.nav { display: flex; align-items: center; gap: 20px; font-size: 14px; font-weight: 700; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--blue); }
.nav .disabled { display: none; }
.hero { padding: 88px 0 64px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 85% 15%, rgba(47,93,140,.13), transparent 36%), linear-gradient(180deg, rgba(255,253,248,.45), transparent); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; }
.kicker { color: var(--gold); text-transform: uppercase; font-size: 12px; letter-spacing: .14em; font-weight: 900; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.05; letter-spacing: -.035em; margin: 0 0 .55em; }
h1 { font-size: clamp(44px, 7vw, 82px); }
h2 { font-size: clamp(34px, 5vw, 56px); }
h3 { font-size: 26px; }
.lede { font-size: clamp(19px, 2.2vw, 25px); color: var(--muted); max-width: 760px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { appearance: none; border: 1px solid var(--ink); border-radius: 999px; padding: 12px 19px; background: var(--ink); color: white; text-decoration: none; font-weight: 800; cursor: pointer; }
.button.secondary { background: transparent; color: var(--ink); }
.button.gold { background: var(--gold); border-color: var(--gold); }
.button[aria-disabled="true"] { opacity: .52; cursor: not-allowed; }
.hero-art, .chart-frame { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.section { padding: 76px 0; }
.section.alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 30px; }
.section-head p { max-width: 620px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.card { grid-column: span 6; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 28px rgba(21,32,52,.06); }
.card-body { padding: 24px; }
.card-media { aspect-ratio: 16/9; background: white; border-bottom: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 5px 9px; background: rgba(47,93,140,.11); color: var(--blue-dark); text-transform: uppercase; font-size: 11px; letter-spacing: .09em; font-weight: 900; }
.badge.upcoming { background: rgba(182,129,34,.14); color: #7a5412; }
.card h3 { margin-top: 14px; }
.card p { color: var(--muted); }
.text-link { font-weight: 900; color: var(--blue-dark); }
.product-grid .card { grid-column: span 4; }
.price { font-family: Georgia, serif; font-size: 36px; margin: 12px 0; }
.small { font-size: 13px; color: var(--muted); }
.answer { background: var(--white); border-left: 5px solid var(--gold); padding: 22px 24px; border-radius: 0 var(--radius) var(--radius) 0; }
.release-hero { padding: 58px 0 36px; }
.release-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 46px; align-items: start; }
.release-meta { display: flex; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.content { max-width: 850px; }
.content p, .content li { font-size: 18px; }
.content ul { padding-left: 22px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.recommendation { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.recommendation strong { display: block; margin-bottom: 5px; }
.signup { background: var(--ink); color: white; border-radius: var(--radius); padding: 34px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.signup p { color: rgba(255,255,255,.72); margin: 0; }
.signup form { display: flex; gap: 8px; }
.signup input { min-width: 260px; border-radius: 999px; border: 0; padding: 13px 16px; }
.notice { padding: 12px 14px; background: #fff7dc; border: 1px solid #d9bc62; border-radius: 10px; font-size: 14px; }
.site-footer { padding: 44px 0; border-top: 1px solid var(--line); }
.footer-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.prose { max-width: 820px; }
.prose h2 { margin-top: 1.35em; }
.status-list { display: grid; gap: 12px; }
.status-item { display: grid; grid-template-columns: 180px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 850px) {
  .hero-grid, .release-grid, .split, .signup { grid-template-columns: 1fr; }
  .card, .product-grid .card { grid-column: span 12; }
  .nav { gap: 12px; font-size: 13px; }
  .nav a:nth-child(2), .nav a:nth-child(3) { display: none; }
  .signup form { flex-direction: column; }
  .signup input { min-width: 0; width: 100%; }
  .status-item { grid-template-columns: 1fr; gap: 4px; }
}
@media print {
  .site-header, .site-footer, .actions, .signup { display: none !important; }
  body { background: white; }
  .shell { width: 100%; }
  .card, .hero-art, .chart-frame { box-shadow: none; }
}

.purchase-note { margin-top: 14px; max-width: 760px; }
.js-archive.disabled { display: none; }

/* ---- Optimization layer ---- */
.hidden { display: none !important; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Hero email capture */
.hero-signup { display: flex; gap: 10px; margin-top: 28px; max-width: 540px; }
.hero-signup input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 999px; padding: 13px 18px; background: var(--white); }
.signup-note { margin-top: 10px; font-size: 13px; color: var(--muted); }
@media (max-width: 850px) { .hero-signup { flex-direction: column; } }

/* Episode-page capture panel */
.chart-signup { background: var(--ink); color: white; border-radius: var(--radius); padding: 30px; margin-top: 40px; }
.chart-signup h3 { color: white; margin-top: 0; }
.chart-signup p { color: rgba(255,255,255,.72); }
.chart-signup form { display: flex; gap: 8px; margin-top: 14px; }
.chart-signup input { flex: 1; min-width: 0; border-radius: 999px; border: 0; padding: 13px 16px; }
@media (max-width: 850px) { .chart-signup form { flex-direction: column; } }

/* Commission proof figure */
.proof-figure { margin: 0; }
.proof-figure figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* Keep commerce pages reachable in mobile nav; hide gated items only */
@media (max-width: 850px) {
  .nav a:nth-child(2), .nav a:nth-child(3) { display: inline; }
  .nav { flex-wrap: wrap; row-gap: 6px; }
}

/* ---- Rev 4.3 layer ---- */
.topic-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; background: var(--white); text-decoration: none; font-weight: 700; font-size: 14px; }
a.chip:hover { border-color: var(--blue); color: var(--blue-dark); }
.chip-muted { color: var(--muted); background: transparent; }
.chip-count { background: rgba(47,93,140,.11); color: var(--blue-dark); border-radius: 999px; padding: 1px 8px; font-size: 12px; }
.video-embed { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.site-footer a { text-decoration: none; font-weight: 700; }
.site-footer a:hover { color: var(--blue); }

/* ---- Phase 3 information architecture ---- */
.nav-cta { padding: 9px 15px; color: #fff !important; }
.release-meta.compact { margin-bottom: 10px; }
.release-card .small { margin-top: -2px; }
@media (max-width: 980px) {
  .header-row { align-items: flex-start; padding: 14px 0; }
  .nav { justify-content: flex-end; }
  .nav-cta { width: auto; }
}
@media (max-width: 760px) {
  .header-row { display: grid; grid-template-columns: 1fr; }
  .nav { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .nav a { white-space: nowrap; }
  .nav-cta { display: inline-flex !important; }
}

/* ---- Phase 4 homepage implementation ---- */
.home-hero {
  position: relative;
  overflow: hidden;
  color: #f8f4ea;
  background:
    radial-gradient(circle at 80% 10%, rgba(182,129,34,.25), transparent 32%),
    radial-gradient(circle at 5% 85%, rgba(47,93,140,.42), transparent 38%),
    linear-gradient(135deg, #0d1727 0%, #17283f 58%, #203958 100%);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}
.home-live-strip { position: relative; z-index: 2; border-bottom: 1px solid rgba(255,255,255,.12); background: rgba(5,11,20,.35); }
.home-live-strip .shell { min-height: 42px; display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.76); }
.home-live-strip strong { color: white; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #e64c4c; box-shadow: 0 0 0 6px rgba(230,76,76,.13); }
.home-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr .98fr; gap: 58px; align-items: center; padding-top: 72px; padding-bottom: 76px; }
.home-hero-copy h1 { max-width: 780px; font-size: clamp(48px, 6.5vw, 86px); }
.home-hero-copy .lede { color: rgba(255,255,255,.72); max-width: 700px; }
.home-value-line { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 25px; color: rgba(255,255,255,.68); font-size: 13px; font-weight: 750; }
.home-value-line span { position: relative; }
.home-value-line span + span::before { content: "•"; position: absolute; left: -14px; color: var(--gold); }
.button.ghost-light { background: rgba(255,255,255,.06); color: white; border-color: rgba(255,255,255,.45); }
.button.ghost-light:hover { background: rgba(255,255,255,.13); }
.today-card { background: rgba(255,253,248,.98); color: var(--ink); border: 1px solid rgba(255,255,255,.25); border-radius: 24px; overflow: hidden; box-shadow: 0 28px 70px rgba(0,0,0,.28); transform: rotate(.35deg); }
.today-media { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: white; border-bottom: 1px solid var(--line); }
.today-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.today-card:hover .today-media img { transform: scale(1.025); }
.today-label { position: absolute; left: 18px; top: 18px; padding: 7px 11px; border-radius: 999px; background: rgba(13,23,39,.91); color: white; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.today-body { padding: 26px 28px 28px; }
.today-body h2 { font-size: clamp(30px, 3.8vw, 46px); }
.today-body h2 a { text-decoration: none; }
.today-body p { color: var(--muted); }
.today-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.microcopy { margin: 12px 0 0; font-size: 12px; }
.trust-strip { background: #fffdf8; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.trust-grid > div { padding: 24px 28px; border-right: 1px solid var(--line); }
.trust-grid > div:first-child { padding-left: 0; }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid strong { font-family: Georgia, serif; font-size: 18px; }
.trust-grid span { color: var(--muted); font-size: 13px; margin-top: 3px; }
.release-grid-home .release-card { transition: transform .25s ease, box-shadow .25s ease; }
.release-grid-home .release-card:hover { transform: translateY(-5px); box-shadow: 0 20px 45px rgba(21,32,52,.12); }
.catalog-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.catalog-tile { min-height: 168px; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: 16px; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.catalog-tile:hover { transform: translateY(-4px); border-color: rgba(47,93,140,.42); box-shadow: 0 14px 32px rgba(21,32,52,.08); }
.catalog-tile strong { font-family: Georgia, serif; font-size: 28px; letter-spacing: -.02em; }
.catalog-tile > span:last-child { color: var(--muted); font-size: 13px; }
.catalog-eyebrow { color: var(--gold); text-transform: uppercase; font-size: 10px; letter-spacing: .11em; font-weight: 900; }
.creator-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.creator-tile { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 15px; padding: 16px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.creator-tile:hover { transform: translateX(4px); border-color: var(--blue); }
.creator-avatar { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, var(--blue-dark), var(--ink)); color: white; font-family: Georgia,serif; font-size: 20px; }
.creator-tile strong, .creator-tile small { display: block; }
.creator-tile small { color: var(--muted); margin-top: 3px; }
.creator-arrow { color: var(--gold); font-size: 24px; }
.library-band { padding: 70px 0; color: white; background: linear-gradient(115deg,#122338,#23486d); border-top: 1px solid rgba(255,255,255,.1); }
.library-band-grid { display: grid; grid-template-columns: 1.5fr .5fr auto; gap: 34px; align-items: center; }
.library-band h2 { margin-bottom: .25em; }
.library-band p { color: rgba(255,255,255,.68); margin: 0; }
.library-price strong, .library-price span, .library-price small { display: block; }
.library-price strong { font-family: Georgia,serif; font-size: 42px; }
.library-price span, .library-price small { color: rgba(255,255,255,.7); }
@media (max-width: 980px) {
  .home-hero-grid { grid-template-columns: 1fr; padding-top: 54px; }
  .today-card { transform: none; max-width: 760px; }
  .catalog-grid { grid-template-columns: repeat(2,1fr); }
  .library-band-grid { grid-template-columns: 1fr auto; }
  .library-band-grid .actions { grid-column: 1/-1; margin-top: 0; }
}
@media (max-width: 700px) {
  .home-hero-grid { gap: 36px; padding-top: 42px; padding-bottom: 48px; }
  .home-value-line { display: grid; gap: 6px; }
  .home-value-line span + span::before { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > div { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 0; }
  .trust-grid > div:last-child { border-bottom: 0; }
  .catalog-grid, .creator-grid { grid-template-columns: 1fr; }
  .library-band-grid { grid-template-columns: 1fr; }
  .library-band-grid .actions { grid-column: auto; }
  .today-body { padding: 22px; }
}

/* Phase 5: daily release template */
.release-hero-daily { padding-top: 30px; }
.release-breadcrumb { display:flex; align-items:center; gap:9px; color:var(--muted); font-size:13px; margin-bottom:24px; }
.release-breadcrumb a { color:inherit; text-decoration:none; }
.release-breadcrumb a:hover { color:var(--gold); }
.release-grid-daily { grid-template-columns:minmax(0,1.04fr) minmax(360px,.96fr); gap:54px; align-items:center; }
.release-chart-frame { padding:22px; }
.release-chart-frame img { width:100%; height:auto; display:block; }
.preview-key { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:14px; color:var(--muted); font-size:13px; }
.preview-key span { padding-left:12px; border-left:2px solid var(--gold); }
.release-copy-column h1 { margin-bottom:14px; }
.release-copy-column .lede { margin-bottom:20px; }
.release-people,.governing-question { display:grid; gap:4px; margin:18px 0; padding:16px 18px; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.55); }
.small-label { display:block; text-transform:uppercase; letter-spacing:.12em; font-size:11px; font-weight:800; color:var(--muted); }
.governing-question p { margin:0; font-size:19px; font-weight:700; }
.release-primary-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; }
.release-source-row { margin-top:13px; font-size:14px; }
.release-source-row a { color:var(--muted); }
.release-commerce-strip { border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:var(--ink); color:var(--white); }
.release-commerce-grid { display:grid; grid-template-columns:1fr 1fr auto; gap:30px; align-items:center; padding-top:22px; padding-bottom:22px; }
.release-commerce-grid > div { display:grid; gap:4px; }
.release-commerce-grid span { color:rgba(255,255,255,.68); font-size:13px; }
.release-commerce-grid .small-label { color:var(--gold); }
.release-commerce-grid strong { font-size:18px; }
.release-video-section { background:var(--paper); }
.release-details-grid { display:grid; grid-template-columns:minmax(0,1fr) 330px; gap:52px; align-items:start; }
.check-list { list-style:none; padding:0!important; margin:22px 0 0; display:grid; gap:12px; }
.check-list li { position:relative; padding-left:28px; }
.check-list li::before { content:"✓"; position:absolute; left:0; color:var(--gold); font-weight:900; }
.purchase-panel { position:sticky; top:96px; display:grid; gap:14px; padding:26px; border:1px solid var(--line); border-radius:18px; background:var(--white); box-shadow:var(--shadow); }
.purchase-price { font-family:var(--serif); font-size:46px; line-height:1; }
.button.full { width:100%; text-align:center; justify-content:center; }
.purchase-panel small { color:var(--muted); }
.release-library-cta { background:linear-gradient(135deg,var(--ink),#17253b); color:var(--white); padding:52px 0; }
.release-library-cta-grid { display:grid; grid-template-columns:1fr auto; gap:36px; align-items:center; }
.release-library-cta h2 { color:var(--white); margin-bottom:10px; }
.release-library-cta p { color:rgba(255,255,255,.72); max-width:760px; margin:0; }
@media (max-width: 900px) {
  .release-grid-daily,.release-commerce-grid,.release-details-grid,.release-library-cta-grid { grid-template-columns:1fr; }
  .release-commerce-grid .actions { justify-content:flex-start; }
  .purchase-panel { position:static; }
}
@media (max-width: 560px) {
  .preview-key { grid-template-columns:1fr; }
  .release-primary-actions .button,.release-commerce-grid .button,.release-library-cta .button { width:100%; text-align:center; justify-content:center; }
}

/* Phase 6: Library sales experience */
.library-hero { position:relative; overflow:hidden; padding:78px 0 88px; background:radial-gradient(circle at 80% 20%,rgba(210,165,77,.18),transparent 30%),linear-gradient(135deg,#09121f 0%,#13253a 55%,#0b1728 100%); color:var(--white); }
.library-hero::after { content:""; position:absolute; inset:auto -10% -55% 25%; height:520px; background:radial-gradient(circle,rgba(49,91,132,.34),transparent 65%); pointer-events:none; }
.library-hero-grid { position:relative; z-index:1; display:grid; grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr); gap:70px; align-items:center; }
.library-hero h1 { color:var(--white); max-width:760px; }
.library-hero .lede { color:rgba(255,255,255,.72); max-width:680px; }
.library-proof-row { display:flex; flex-wrap:wrap; gap:10px; margin:28px 0 10px; }
.library-proof-row span { display:flex; align-items:baseline; gap:7px; padding:9px 12px; border:1px solid rgba(255,255,255,.14); border-radius:999px; background:rgba(255,255,255,.05); color:rgba(255,255,255,.72); font-size:13px; }
.library-proof-row strong { color:var(--gold); font-size:18px; }
.library-waitlist-card { max-width:620px; margin-top:24px; padding:18px 20px; border:1px solid rgba(255,255,255,.14); border-radius:16px; background:rgba(255,255,255,.06); }
.library-waitlist-card p { margin:6px 0 14px; color:rgba(255,255,255,.68); }
.library-login-link a { color:rgba(255,255,255,.68); }
.library-stack { position:relative; min-height:420px; }
.library-stack-card { position:absolute; overflow:hidden; border:1px solid rgba(255,255,255,.14); border-radius:20px; background:var(--white); box-shadow:0 28px 60px rgba(0,0,0,.28); }
.library-stack-card img { display:block; width:100%; height:auto; }
.library-stack-card.primary { width:86%; right:0; top:20px; z-index:3; transform:rotate(1.5deg); }
.library-stack-card.primary span { display:block; padding:12px 16px; color:var(--ink); font-size:13px; font-weight:800; }
.library-stack-card.card-2 { width:72%; left:0; top:90px; z-index:2; transform:rotate(-5deg); opacity:.86; }
.library-stack-card.card-3 { width:64%; left:8%; top:180px; z-index:1; transform:rotate(5deg); opacity:.48; }
.library-value-strip { border-bottom:1px solid var(--line); background:var(--white); }
.library-value-grid { display:grid; grid-template-columns:repeat(3,1fr); }
.library-value-grid > div { display:grid; gap:4px; padding:22px 28px; border-right:1px solid var(--line); }
.library-value-grid > div:last-child { border-right:0; }
.library-value-grid strong { font-family:var(--serif); font-size:22px; }
.library-value-grid span { color:var(--muted); }
.library-value-grid .best { background:var(--paper); }
.section-heading { display:flex; justify-content:space-between; gap:30px; align-items:end; margin-bottom:30px; }
.section-heading > p { max-width:520px; color:var(--muted); margin:0; }
.library-benefit-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.library-benefit-grid article { padding:26px; border:1px solid var(--line); border-radius:18px; background:var(--white); }
.benefit-number { display:block; margin-bottom:22px; color:var(--gold); font-weight:900; letter-spacing:.12em; }
.library-benefit-grid p { color:var(--muted); margin-bottom:0; }
.library-choice-grid { display:grid; grid-template-columns:minmax(0,.9fr) minmax(480px,1.1fr); gap:64px; align-items:start; }
.library-math { display:grid; gap:12px; max-width:520px; margin-top:28px; padding:22px; border:1px solid var(--line); border-radius:18px; background:var(--white); }
.library-math > div { display:flex; justify-content:space-between; gap:20px; padding-bottom:10px; border-bottom:1px solid var(--line); }
.library-math p { margin:4px 0 0; color:var(--muted); font-size:14px; }
.pricing-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.pricing-card { position:relative; padding:30px; border:1px solid var(--line); border-radius:20px; background:var(--white); box-shadow:var(--shadow-soft); }
.pricing-card.featured { border-color:var(--gold); box-shadow:0 18px 45px rgba(177,126,35,.16); }
.pricing-badge { position:absolute; top:18px; right:18px; padding:6px 9px; border-radius:999px; background:var(--gold); color:var(--ink); font-size:11px; font-weight:900; text-transform:uppercase; letter-spacing:.08em; }
.pricing-amount { display:flex; align-items:baseline; gap:6px; margin:18px 0; }
.pricing-amount strong { font-family:var(--serif); font-size:42px; line-height:1; }
.pricing-amount span { color:var(--muted); }
.faq-grid { display:grid; grid-template-columns:320px minmax(0,1fr); gap:60px; align-items:start; }
.faq-list { display:grid; gap:12px; }
.faq-list details { border:1px solid var(--line); border-radius:14px; background:var(--white); padding:18px 20px; }
.faq-list summary { cursor:pointer; font-weight:800; }
.faq-list p { color:var(--muted); margin:12px 0 0; }
.library-final-cta { padding:62px 0; background:linear-gradient(135deg,var(--ink),#1e3955); color:var(--white); }
.library-final-cta-grid { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:40px; align-items:center; }
.library-final-cta h2 { color:var(--white); margin-bottom:8px; }
.library-final-cta p { margin:0; color:rgba(255,255,255,.7); }
@media (max-width:980px){
  .library-hero-grid,.library-choice-grid { grid-template-columns:1fr; }
  .library-stack { max-width:720px; min-height:390px; }
  .library-benefit-grid { grid-template-columns:repeat(2,1fr); }
  .faq-grid { grid-template-columns:1fr; gap:24px; }
}
@media (max-width:700px){
  .library-hero { padding:54px 0 64px; }
  .library-stack { min-height:300px; }
  .library-value-grid,.library-benefit-grid,.pricing-grid,.library-final-cta-grid { grid-template-columns:1fr; }
  .library-value-grid > div { border-right:0; border-bottom:1px solid var(--line); }
  .library-value-grid > div:last-child { border-bottom:0; }
  .section-heading { display:block; }
  .section-heading > p { margin-top:14px; }
  .pricing-card { padding:24px; }
  .library-final-cta .button { width:100%; text-align:center; justify-content:center; }
}


/* Phase 7: subscriber-access preparation */
.member-access-hero { padding:clamp(72px,9vw,128px) 0; background:radial-gradient(circle at 82% 20%,rgba(216,155,43,.16),transparent 34%),linear-gradient(145deg,#071321,#0b1f33 68%,#122942); color:#fff; }
.member-access-grid { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr); gap:clamp(32px,6vw,88px); align-items:center; }
.member-access-card { background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.15); border-radius:24px; padding:28px; box-shadow:0 26px 70px rgba(0,0,0,.24); }
.member-access-card .check-list { margin:20px 0; }
.member-access-card a { color:#f4c86d; }
.member-access-hero .notice { margin-top:24px; background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.18); color:rgba(255,255,255,.78); }
.access-architecture { display:grid; grid-template-columns:minmax(0,1fr) minmax(300px,.8fr); gap:48px; align-items:end; }
@media (max-width:760px){ .member-access-grid,.access-architecture{grid-template-columns:1fr;} }

/* Phase 8 creator-distributed storefront support */
.partner-release-label,
.partner-exclusive-note {
  display: inline-flex;
  align-items: center;
  padding: .45rem .7rem;
  border: 1px solid rgba(216,155,43,.35);
  border-radius: 999px;
  background: rgba(216,155,43,.08);
  color: var(--amber, #d89b2b);
  font-size: .82rem;
  line-height: 1.2;
}

/* ---- Conversion layer ---- */
.signup-band { padding: 46px 0; color: white; background: linear-gradient(115deg,#122338,#23486d); border-top: 1px solid rgba(255,255,255,.1); }
.signup-band-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; }
.signup-band h2 { margin: 0 0 6px; color: white; }
.signup-band p { margin: 0; color: rgba(255,255,255,.72); }
.signup-inline { display: flex; gap: 8px; }
.signup-inline input[type=email] { flex: 1; min-width: 0; border-radius: 999px; border: 0; padding: 13px 16px; }
.signup-note { margin-top: 10px; font-size: 13px; color: rgba(255,255,255,.72); }
.signup-note a { color: white; }
.library-waitlist-card .signup-inline { margin: 12px 0; }
.library-waitlist-card .signup-inline input[type=email] { border: 1px solid var(--line); }
@media (max-width: 850px) { .signup-band-grid { grid-template-columns: 1fr; } .signup-inline { flex-direction: column; } }


/* ---- Final look-and-feel update: close to approved dark editorial reference ---- */
:root {
  --paper: #061326;
  --paper-2: #091b31;
  --ink: #f3ecdf;
  --muted: #b7c0cc;
  --blue: #1f4f7d;
  --blue-dark: #163a5e;
  --gold: #d39a2c;
  --line: rgba(240, 228, 208, .16);
  --white: #0b1c31;
  --shadow: 0 24px 60px rgba(0,0,0,.34);
  --radius: 18px;
  --max: 1260px;
}
body {
  color: var(--ink);
  background:
    linear-gradient(rgba(211,154,44,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(211,154,44,.045) 1px, transparent 1px),
    radial-gradient(circle at 35% 18%, rgba(211,154,44,.18), transparent 26%),
    radial-gradient(circle at 80% 22%, rgba(17,56,92,.25), transparent 30%),
    linear-gradient(180deg, #03101f 0%, #06172c 40%, #061326 100%);
  background-size: 40px 40px, 40px 40px, auto, auto, auto;
}
a { text-decoration-color: rgba(211,154,44,.7); }
a:hover { color: #fff; }
.shell { width: min(var(--max), calc(100% - 56px)); }
.site-header {
  background: rgba(3,13,26,.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(240,228,208,.12);
  box-shadow: 0 10px 35px rgba(0,0,0,.22);
}
.header-row { min-height: 96px; }
.brand { gap: 14px; }
.brand img {
  width: 58px; height: 58px; flex-basis: 58px;
  border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 2px rgba(243,236,223,.15), 0 0 0 5px rgba(211,154,44,.15);
  background: #0c1830;
}
.brand-lockup { display: grid; align-items: center; gap: 2px; }
.brand-name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 34px; line-height: .95; text-transform: uppercase; letter-spacing: .015em;
  color: #f2eadb;
}
.brand-tag {
  color: #d4be92; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 800;
}
.nav { gap: 26px; font-size: 15px; }
.nav a { color: rgba(243,236,223,.9); }
.nav a:hover { color: #fff; }
.button {
  border: 1px solid rgba(240,228,208,.28);
  background: rgba(255,255,255,.05);
  color: #f3ecdf;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.button:hover { background: rgba(255,255,255,.1); }
.button.secondary { background: rgba(255,255,255,.04); color: #f3ecdf; border-color: rgba(240,228,208,.22); }
.button.gold, .nav-cta {
  background: linear-gradient(180deg, #e0ac3f 0%, #b77a16 100%);
  border-color: rgba(243,236,223,.2);
  color: #0a1220 !important;
  box-shadow: 0 10px 24px rgba(183,122,22,.28), inset 0 1px 0 rgba(255,255,255,.28);
}
.button.gold:hover, .nav-cta:hover { filter: brightness(1.05); color: #09111d !important; }
.kicker, .catalog-eyebrow { color: #efb94d; }
h1, h2, h3, .catalog-tile strong, .trust-grid strong, .library-price strong, .price { color: #f3ecdf; font-family: Georgia, 'Times New Roman', serif; }
.lede, p, li, .small, .card p, .section-head p, .library-band p, .microcopy, .release-meta, .content p, .content li { color: var(--muted); }
.hero, .section.alt, .trust-strip, .signup-band, .library-band, .site-footer { background: transparent; }
.hero, .section, .section.alt, .trust-strip, .signup-band, .library-band { border-color: rgba(240,228,208,.08); }
.hero { background: transparent; }
.card, .catalog-tile, .creator-tile, .recommendation, .today-card, .signup, .answer, .notice, .chart-signup, .chart-frame, .hero-art, .today-media, .video-embed, .chip {
  background: linear-gradient(180deg, rgba(8,24,45,.96), rgba(8,19,35,.98));
  border-color: rgba(240,228,208,.14);
  box-shadow: 0 18px 42px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.03);
}
.card-media, .today-media { background: #0a1830; border-bottom-color: rgba(240,228,208,.12); }
.badge { background: rgba(211,154,44,.14); color: #f0c565; }
.badge.upcoming { background: rgba(42,84,132,.22); color: #b9d2f3; }
.text-link, .creator-arrow, .site-footer a:hover { color: #efb94d; }
.release-card .actions .button.gold, .today-actions .button.gold { min-width: 160px; justify-content: center; }
.site-footer {
  border-top: 1px solid rgba(240,228,208,.08);
  color: rgba(243,236,223,.68);
  background: rgba(3,10,18,.45);
}
.footer-links a { color: rgba(243,236,223,.8); }
.signup-band, .signup, .chart-signup {
  background: linear-gradient(135deg, rgba(8,21,39,.96), rgba(12,34,61,.96));
}
.signup-inline input, .hero-signup input, .chart-signup input, .signup input, .signup-band input, input[type=email] {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(240,228,208,.15);
  color: #f3ecdf;
}
input::placeholder { color: rgba(243,236,223,.52); }
.home-hero {
  background:
    radial-gradient(circle at 34% 20%, rgba(211,154,44,.22), transparent 24%),
    radial-gradient(circle at 78% 28%, rgba(24,73,120,.28), transparent 28%),
    linear-gradient(180deg, rgba(5,13,25,.55), rgba(5,13,25,.22));
}
.home-hero::after { opacity: .2; }
.home-live-strip { background: rgba(4,10,18,.36); border-bottom-color: rgba(240,228,208,.1); }
.home-live-strip .shell, .home-live-strip strong { color: rgba(243,236,223,.88); }
.home-hero-copy h1 { font-size: clamp(56px, 7.4vw, 100px); max-width: 820px; text-transform: uppercase; line-height: .95; }
.home-hero-copy .kicker {
  display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 999px;
  border: 1px solid rgba(240,228,208,.16); background: rgba(255,255,255,.03);
}
.home-value-line span { color: rgba(243,236,223,.74); }
.today-card {
  background: linear-gradient(180deg, rgba(5,19,38,.98), rgba(5,15,29,.98));
  border: 1px solid rgba(240,228,208,.22);
  box-shadow: 0 30px 75px rgba(0,0,0,.36);
}
.today-card, .hero-art, .chart-frame { outline: 1px solid rgba(211,154,44,.15); }
.today-body h2, .today-body h2 a { color: #f3ecdf; }
.today-body p.small { color: #d9be8b; }
.today-label { background: rgba(5,15,29,.9); border: 1px solid rgba(240,228,208,.18); color: #f0c565; }
.trust-strip { border-top: 1px solid rgba(240,228,208,.08); border-bottom: 1px solid rgba(240,228,208,.08); }
.trust-grid > div { border-right-color: rgba(240,228,208,.08); }
.catalog-tile:hover, .creator-tile:hover, .release-grid-home .release-card:hover {
  border-color: rgba(211,154,44,.32);
  box-shadow: 0 22px 48px rgba(0,0,0,.3), 0 0 0 1px rgba(211,154,44,.08);
}
.creator-avatar {
  background: linear-gradient(145deg, #193c62, #091a30);
  color: #f1e1bb;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
}
.library-band {
  background: linear-gradient(135deg, rgba(6,21,40,.94), rgba(9,31,55,.94));
}
.library-price strong { font-size: 56px; }
.release-hero, .release-hero-daily { background: transparent; }
.content, .prose { color: var(--muted); }
.answer { border-left-color: var(--gold); }
.notice { background: rgba(211,154,44,.08); border-color: rgba(211,154,44,.3); color: #e8d9b8; }
.site-header + main .section h2, .site-header + main .section h3, .site-header + main .section strong { color: #f3ecdf; }
@media (max-width: 980px) {
  .brand-name { font-size: 28px; }
}
@media (max-width: 760px) {
  .shell { width: min(var(--max), calc(100% - 28px)); }
  .brand-name { font-size: 22px; }
  .brand-tag { font-size: 10px; letter-spacing: .18em; }
  .brand img { width: 48px; height: 48px; flex-basis: 48px; }
  .nav { gap: 14px; }
  .home-hero-copy h1 { font-size: clamp(42px, 15vw, 64px); }
}


/* ---- Final typography update ---- */
body,
button,
input,
select,
textarea,
.brand-name,
.price,
.purchase-price,
.pricing-amount strong,
.library-price strong,
.library-value-grid strong,
.catalog-tile strong,
.trust-grid strong,
.creator-avatar {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Cinzel", Georgia, "Times New Roman", serif !important;
}

/* 33% smaller than the prior type scale */
h1 { font-size: clamp(29.5px, 4.69vw, 54.9px) !important; }
h2 { font-size: clamp(22.8px, 3.35vw, 37.5px) !important; }
h3 { font-size: 17.4px !important; }
.home-hero-copy h1 { font-size: clamp(37.5px, 4.96vw, 67px) !important; }
.today-body h2 { font-size: clamp(20.1px, 2.55vw, 30.8px) !important; }

@media (max-width: 760px) {
  .home-hero-copy h1 { font-size: clamp(28.1px, 10.05vw, 42.9px) !important; }
}


/* ---- Mobile interaction and Kit signup hardening ---- */
html, body { max-width: 100%; overflow-x: clip; }
body.menu-open { overflow: hidden; }
.nav-toggle { display: none; }
img, svg, video, iframe { max-width: 100%; }
.button, .nav a, .text-link, .chip, .creator-tile, input, button { min-height: 44px; }
.button { display: inline-flex; align-items: center; justify-content: center; }

@media (max-width: 760px) {
  .site-header { position: sticky; top: 0; }
  .header-row {
    min-height: 72px; padding: 10px 0;
    display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 10px 14px;
  }
  .brand { min-width: 0; }
  .brand-lockup { min-width: 0; }
  .brand-name { font-size: 19px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand-tag { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 9px 12px;
    color: #f3ecdf; background: rgba(255,255,255,.05); border: 1px solid rgba(240,228,208,.18);
    border-radius: 12px; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-weight: 800;
  }
  .nav-toggle-icon, .nav-toggle-icon::before, .nav-toggle-icon::after {
    display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
  }
  .nav-toggle-icon { position: relative; }
  .nav-toggle-icon::before, .nav-toggle-icon::after { content: ''; position: absolute; left: 0; }
  .nav-toggle-icon::before { top: -6px; }
  .nav-toggle-icon::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { top: 0; transform: rotate(-45deg); }
  .nav {
    grid-column: 1 / -1; width: 100%; display: none; overflow: visible;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 10px 0 4px;
    border-top: 1px solid rgba(240,228,208,.1);
  }
  .nav.is-open { display: flex; }
  .nav a { display: flex !important; align-items: center; min-height: 46px; padding: 9px 12px; border-radius: 10px; }
  .nav a:hover, .nav a:focus-visible { background: rgba(255,255,255,.06); }
  .nav .nav-cta { margin-top: 6px; justify-content: center; }

  .section { padding: 52px 0; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 10px; margin-bottom: 24px; }
  .section-head .text-link { display: inline-flex; align-items: center; }
  .home-live-strip .shell { padding: 7px 0; line-height: 1.35; }
  .home-hero-grid { padding-top: 34px; padding-bottom: 42px; }
  .home-hero-copy .actions, .today-actions, .release-primary-actions, .release-commerce-grid .actions, .release-library-cta .actions {
    display: grid; grid-template-columns: 1fr; width: 100%;
  }
  .home-hero-copy .actions .button, .today-actions .button, .release-primary-actions .button, .release-commerce-grid .button, .release-library-cta .button { width: 100%; }
  .today-card { border-radius: 18px; }
  .today-body { padding: 20px; }
  .card-body { padding: 20px; }
  .catalog-tile { min-height: 138px; }
  .creator-tile { grid-template-columns: 46px minmax(0,1fr) auto; padding: 14px; }
  .creator-avatar { width: 46px; height: 46px; }
  .creator-tile strong { overflow-wrap: anywhere; }
  .signup-band-grid, .signup-inline, .library-waitlist-card .signup-inline, .signup form, .chart-signup form {
    display: grid !important; grid-template-columns: 1fr !important; gap: 10px !important; width: 100%;
  }
  .signup-band { padding: 42px 0; }
  .signup-inline input, input[type=email], .signup-inline button { width: 100%; min-width: 0; min-height: 48px; }
  .signup-note { min-height: 1.35em; }
  .library-hero, .release-hero-daily { padding-top: 30px; }
  .library-stack { min-height: 300px; }
  .pricing-card, .library-waitlist-card, .purchase-panel { padding: 20px; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .footer-links { display: grid; gap: 6px; }
  .release-breadcrumb { overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .release-breadcrumb::-webkit-scrollbar { display: none; }
  .preview-key { display: grid; gap: 8px; }
}

@media (max-width: 360px) {
  .shell { width: min(var(--max), calc(100% - 22px)); }
  .brand img { width: 44px; height: 44px; flex-basis: 44px; }
  .brand-name { font-size: 17px !important; }
  .nav-toggle span:first-child { display: none; }
  .nav-toggle { width: 44px; justify-content: center; padding: 9px; }
}


/* Kit inline-form embed on CyberPanel/OpenLiteSpeed */
.kit-embed { width: 100%; min-height: 72px; }
.kit-embed .js-kit-status { margin: 0; }
.kit-embed .formkit-form {
  width: 100% !important; max-width: none !important; margin: 0 !important;
  padding: 0 !important; background: transparent !important; border: 0 !important;
  box-shadow: none !important; font-family: Inter, ui-sans-serif, system-ui, sans-serif !important;
}
.kit-embed .formkit-fields { display: flex !important; gap: 10px !important; align-items: stretch !important; }
.kit-embed .formkit-field { flex: 1 1 auto !important; margin: 0 !important; }
.kit-embed input, .kit-embed .formkit-input {
  width: 100% !important; min-height: 48px !important; border-radius: 999px !important;
  border: 1px solid rgba(240,228,208,.18) !important;
  background: rgba(255,255,255,.06) !important; color: #f3ecdf !important;
  padding: 12px 18px !important; font-family: Inter, ui-sans-serif, system-ui, sans-serif !important;
}
.kit-embed button, .kit-embed .formkit-submit {
  min-height: 48px !important; border: 1px solid rgba(243,236,223,.2) !important;
  border-radius: 999px !important; padding: 11px 19px !important;
  background: linear-gradient(180deg,#e0ac3f 0%,#b77a16 100%) !important;
  color: #0a1220 !important; font-weight: 800 !important;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif !important; cursor: pointer !important;
}
.kit-embed .formkit-alert { color: #f3ecdf !important; }
.kit-embed .formkit-powered-by-convertkit-container { display: none !important; }
@media (max-width: 700px) {
  .kit-embed .formkit-fields { flex-direction: column !important; }
  .kit-embed button, .kit-embed .formkit-submit { width: 100% !important; }
}
