/* ============================================================
   CN NEWSWIRE — Press Release Distribution in China
   Editorial newsroom aesthetic · Playfair Display + Manrope
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand palette (OKLCH, tinted toward deep ink blue) */
  --ink: oklch(0.22 0.03 255);           /* deep ink blue — headings */
  --ink-soft: oklch(0.38 0.022 255);      /* body text */
  --muted: oklch(0.51 0.016 255);        /* secondary text */
  --paper: oklch(0.985 0.003 250);       /* near-white page background */
  --paper-2: #ffffff;     /* white card surface */
  --night: #ffffff;       /* white light band */
  --night-2: oklch(0.19 0.028 258);                    /* deep ink blue — contrast anchor */
  --gold: oklch(0.66 0.08 78);           /* brand accent gold */
  --gold-deep: oklch(0.56 0.09 72);      /* hover accent */
  --red: oklch(0.53 0.19 27);            /* hero CTA red */
  --red-deep: oklch(0.45 0.18 25);
  --red-soft: oklch(0.95 0.03 27);       /* red hover */
  --line: oklch(0.9 0.008 250);         /* hairline borders */
  --white-soft: #ffffff;

  /* Type scale (fluid) */
  --fs-hero: clamp(2.6rem, 6vw, 4.6rem);
  --fs-h1: clamp(2.2rem, 4.5vw, 3.4rem);
  --fs-h2: clamp(1.7rem, 3.2vw, 2.4rem);
  --fs-h3: clamp(1.2rem, 2vw, 1.45rem);
  --fs-body: clamp(1rem, 1.1vw, 1.08rem);
  --fs-small: 0.9rem;
  --fs-kicker: 0.78rem;

  /* Spacing (4pt scale) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 6.5rem;

  /* Radius & shadow */
  --r-sm: 4px;
  --r-md: 8px;
  --shadow-1: 0 1px 2px oklch(0.22 0.03 255 / 0.06), 0 4px 14px oklch(0.22 0.03 255 / 0.06);
  --shadow-2: 0 2px 4px oklch(0.22 0.03 255 / 0.07), 0 14px 38px oklch(0.22 0.03 255 / 0.1);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --dur: 320ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  color: var(--ink);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.01em;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: var(--gold); color: var(--ink); }

/* Focus visible for keyboard nav */
:focus-visible {
  outline: 3px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Utilities ---------- */
.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

.section { padding-block: var(--space-8); }

.section--tinted { background: var(--paper-2); }
.section--night { background: var(--night); color: var(--ink-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--night h2, .section--night h3 { color: var(--ink); }

/* Kicker: small editorial label above headings */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-kicker);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-soft);
  margin-bottom: var(--space-4);
}
.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--red);
}
.section--night .kicker { color: var(--red); }

.section-head { max-width: 640px; margin-bottom: var(--space-7); }
.section-head h2 { font-size: var(--fs-h2); margin-bottom: var(--space-4); }
.section-head p { color: var(--muted); }

.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .kicker::before { display: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0.8rem 1.6rem;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform var(--dur) var(--ease-out), background var(--dur) var(--ease-out), color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
  cursor: pointer;
  border: none;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 22px oklch(0.53 0.19 27 / 0.16);
}
.btn--primary:hover {
  background: var(--red-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px oklch(0.53 0.19 27 / 0.22);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn--ghost:hover {
  box-shadow: inset 0 0 0 1.5px var(--ink);
  transform: translateY(-2px);
}

.btn--light {
  background: var(--white-soft);
  color: var(--ink);
}
.btn--light:hover { background: var(--gold); transform: translateY(-2px); }

.btn--outline-light {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn--outline-light:hover {
  box-shadow: inset 0 0 0 1.5px var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn--red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 22px oklch(0.53 0.19 27 / 0.16);
}
.btn--red:hover {
  background: var(--red-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px oklch(0.53 0.19 27 / 0.22);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: var(--space-5);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: "Playfair Display", serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 800;
  font-family: "Manrope", sans-serif;
}

.brand__logo {
  display: block;
  height: 44px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 640px) {
  .brand__logo {
    height: 34px;
  }
}


.brand em {
  font-style: normal;
  color: var(--gold-deep);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav__links a {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink-soft);
  position: relative;
  padding-block: var(--space-2);
  transition: color var(--dur) var(--ease-out);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--ink); }

.nav__cta { display: flex; align-items: center; gap: var(--space-3); }

/* Nav auth buttons (rendered by UI.renderUserChip) */
.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .18s;
}
.nav-btn.ghost {
  border: 1px solid var(--line);
  color: var(--ink);
}
.nav-btn.ghost:hover { border-color: var(--gold); color: var(--gold-deep); }
.nav-btn.solid {
  background: var(--gold);
  color: var(--ink);
}
.nav-btn.solid:hover {
  background: var(--gold-deep);
  color: var(--white-soft);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px oklch(0.56 0.09 72 / 0.3);
}
.nav-btn.sm { min-height: 34px; padding: 0 12px; font-size: 0.82rem; }

/* Logged-in user chip in nav */
.user-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}
.user-chip::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 8px;
}


/* Mobile nav toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 120;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px auto;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (light minimal, lianmeishe-style) ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 112px);
  background:
    radial-gradient(900px 540px at 108% 10%, oklch(0.66 0.08 78 / 0.12), transparent 62%),
    radial-gradient(760px 500px at -8% 110%, oklch(0.35 0.08 255 / 0.05), transparent 60%),
    var(--white-soft);
  color: var(--ink);
  overflow: hidden;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: var(--space-9) var(--space-8);
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
}
.hero__copy { position: relative; z-index: 1; }
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-kicker);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: var(--space-5);
}
.hero__kicker::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--gold);
}
.hero h1 {
  font-size: var(--fs-hero);
  color: var(--ink);
  margin-bottom: var(--space-5);
  overflow-wrap: break-word;
}
.hero h1 .accent {
  color: var(--red);
  font-style: italic;
  font-weight: 600;
}
.hero__lead {
  max-width: 580px;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.66;
  margin-bottom: var(--space-6);
}
.hero__lead strong { color: var(--ink); font-weight: 700; }

/* Benefit bullet panel (translucent light grey, rounded) */
.hero__benefits {
  display: grid;
  gap: 10px;
  max-width: 580px;
  margin: 0 0 var(--space-6);
  padding: var(--space-5);
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.hero__benefits li {
  position: relative;
  padding-left: 32px;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.45;
}
.hero__benefits li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
}

/* CTA actions */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.btn--outline-dark {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn--outline-dark:hover {
  background: var(--night);
  color: var(--ink);
  transform: translateY(-2px);
}

/* Media ecosystem orbit (right column) */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.media-orbit {
  --orbit-r: clamp(170px, 15.5vw, 216px);
  position: relative;
  width: calc(var(--orbit-r) * 2 + 96px);
  max-width: 100%;
  aspect-ratio: 1 / 1;
}
.media-orbit::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--orbit-r) * 2 + 112px);
  height: calc(var(--orbit-r) * 2 + 112px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px dashed oklch(0.66 0.08 78 / 0.5);
  pointer-events: none;
}
.media-orbit__hub {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 196px;
  height: 196px;
  border-radius: 50%;
  background:
    radial-gradient(120px 110px at 50% 32%, oklch(0.85 0.05 78), transparent 74%),
    var(--night);
  border: 3px solid var(--gold);
  box-shadow: 0 26px 60px oklch(0.22 0.03 255 / 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--ink);
  text-align: center;
}
.media-orbit__hub-label {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
}
.media-orbit__hub-sub {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(0.85 0.02 255 / 0.85);
}
.orbit-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: rotate(var(--a, 0deg)) translateX(var(--orbit-r)) rotate(calc(-1 * var(--a, 0deg))) translate(-50%, -50%);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--white-soft);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 10px 26px oklch(0.22 0.03 255 / 0.09);
  transition: box-shadow 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
.orbit-logo:hover {
  border-color: var(--gold);
  box-shadow: 0 14px 30px oklch(0.22 0.03 255 / 0.16);
}

/* ---------- Stats band ---------- */
.stats {
  background: var(--night-2);
  color: var(--white-soft);
}
.stats .stat__label { color: oklch(0.85 0.02 250); }
.stats .stat + .stat::before { background: oklch(0.985 0.003 250 / 0.16); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  padding-block: var(--space-7);
}
.stat { text-align: center; position: relative; }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--space-6) / 2);
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: oklch(0.22 0.03 255 / 0.12);
}
.stat__num {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1.1;
}
.stat__label {
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: var(--space-2);
}

/* ---------- Value proposition ---------- */
.value__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
.value__price {
  position: relative;
  background: var(--night);
  border-radius: var(--r-md);
  padding: var(--space-7);
  color: var(--ink);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.value__price::after {
  content: "¥";
  position: absolute;
  right: -24px;
  bottom: -52px;
  font-family: "Playfair Display", serif;
  font-size: 14rem;
  font-weight: 800;
  color: oklch(0.22 0.03 255 / 0.05);
  line-height: 1;
}
.value__price .price {
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 6vw, 4.4rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: var(--space-2);
}
.value__price .price small {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.value__price h3 {
  color: var(--ink);
  margin-bottom: var(--space-4);
}
.value__price p { color: var(--muted); margin-bottom: var(--space-5); }
.value__price .btn { margin-top: var(--space-3); }
.value__compare { display: grid; gap: var(--space-3); margin-bottom: var(--space-5); }
.value__compare-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--muted);
  font-weight: 600;
}
.value__compare-row strong { font-family: "Playfair Display", serif; font-size: 1.6rem; color: var(--ink); }
.value__compare-row--us {
  border-color: oklch(0.66 0.08 78 / 0.5);
  background: oklch(0.66 0.08 78 / 0.12);
}
.value__compare-row--us strong { color: var(--gold); }

.value__copy .lead {
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  color: var(--ink);
  font-weight: 500;
  margin-bottom: var(--space-5);
}
.value__copy p { color: var(--muted); margin-bottom: var(--space-4); }
.value__points { margin-top: var(--space-5); }
.value__points li {
  display: flex;
  gap: var(--space-3);
  align-items: baseline;
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  color: var(--ink-soft);
}
.value__points li::before {
  content: "◆";
  color: var(--gold-deep);
  font-size: 0.7rem;
  transform: translateY(-2px);
}

/* ---------- Features ---------- */
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
.feature {
  padding: var(--space-6) var(--space-5);
  background: var(--white-soft);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent 70%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.feature:hover::before { transform: scaleX(1); }
.feature__num {
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: oklch(0.66 0.08 78 / 0.35);
  line-height: 1;
  display: block;
  margin-bottom: var(--space-4);
}
.feature h3 { font-size: var(--fs-h3); margin-bottom: var(--space-3); }
.feature p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Testimonials ---------- */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.testimonial {
  background: var(--white-soft);
  border-radius: var(--r-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.testimonial:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.testimonial__quote {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink);
  position: relative;
  padding-left: var(--space-4);
}
.testimonial__quote::before {
  content: "“";
  position: absolute;
  left: -0.2rem;
  top: -0.7rem;
  font-family: "Playfair Display", serif;
  font-size: 3.4rem;
  color: var(--gold);
  opacity: 0.55;
  line-height: 1;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  border-top: 1px solid var(--line);
  padding-top: var(--space-4);
}
.avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.avatar--2 { background: var(--gold-deep); color: var(--white-soft); }
.avatar--3 { background: oklch(0.5 0.08 250); color: var(--white-soft); }
.testimonial__name { font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.testimonial__role { font-size: 0.8rem; color: var(--muted); }

/* ---------- Pricing ---------- */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  align-items: stretch;
}
.plan {
  background: var(--white-soft);
  border-radius: var(--r-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.plan--featured {
  background: var(--night);
  color: var(--ink-soft);
  border: 1px solid var(--gold);
  transform: scale(1.03);
}
.plan--featured:hover { transform: scale(1.03) translateY(-6px); }
.plan--featured h3, .plan--featured .plan__price { color: var(--ink); }
.plan--featured .plan__price { color: var(--gold); }
.plan__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 2px;
  white-space: nowrap;
}
.plan__name {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-1);
}
.plan__desc { font-size: 0.88rem; color: var(--muted); }
.plan--featured .plan__desc { color: var(--muted); }
.plan__price {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}
.plan__price small {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  font-family: "Manrope", sans-serif;
  letter-spacing: 0.03em;
}
.plan__per {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: var(--space-1);
}
.plan--featured .plan__per { color: var(--muted); }
.plan__features {
  margin-top: var(--space-2);
  flex: 1;
}
.plan__features li {
  display: flex;
  gap: var(--space-3);
  align-items: baseline;
  padding-block: var(--space-2);
  font-size: 0.92rem;
  border-bottom: 1px dashed var(--line);
}
.plan--featured .plan__features li { border-color: oklch(0.72 0.06 250 / 0.25); }
.plan__features li::before {
  content: "✓";
  color: var(--gold-deep);
  font-weight: 800;
  font-size: 0.85rem;
}
.plan--featured .plan__features li::before { color: var(--gold); }
.plan .btn { margin-top: var(--space-4); }

/* ---------- FAQ ---------- */
.faq__list {
  max-width: 820px;
  margin-inline: auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding-block: var(--space-5);
  font-family: "Playfair Display", serif;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 700;
  color: var(--ink);
  transition: color var(--dur) var(--ease-out);
}
.faq-item__q:hover { color: var(--gold-deep); }
.faq-item__q .faq-item__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold-deep);
  transition: transform var(--dur) var(--ease-out), background var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.faq-item__q[aria-expanded="true"] .faq-item__icon {
  transform: rotate(45deg);
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 360ms var(--ease-out);
}
.faq-item__a-inner {
  padding-bottom: var(--space-5);
  color: var(--muted);
  max-width: 700px;
}
.faq-item__a-inner a { color: var(--gold-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 20% 0%, oklch(0.66 0.08 78 / 0.16), transparent 60%),
    var(--night);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  text-align: center;
  padding-block: var(--space-9);
}
.cta-band h2 {
  color: var(--ink);
  font-size: var(--fs-h1);
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: var(--space-4);
}
.cta-band p {
  color: var(--muted);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: var(--space-6);
}
.cta-band__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.cta-band__note {
  margin-top: var(--space-5);
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--night-2);
  color: var(--white-soft);
  border-top: 1px solid var(--line);
  padding-top: var(--space-8);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--space-7);
  padding-bottom: var(--space-7);
}
/* Footer quick-links variant (shared across all pages; previously only in homepage.css) */
.footer__grid--quick{
  grid-template-columns: 1.6fr 1fr 1fr !important;
  gap: 3rem 2rem;
}
.footer__grid--quick .footer__col h4{
  margin: 0 0 1rem;
  font-size: .95rem;
  font-weight: 700;
}
@media (max-width: 900px){
  .footer__grid--quick{ grid-template-columns:1fr 1fr !important; }
}
@media (max-width: 560px){
  .footer__grid--quick{ grid-template-columns:1fr !important; }
}
.footer__brand .brand { color: var(--white-soft); margin-bottom: var(--space-4); }
.footer__brand p { font-size: 0.9rem; max-width: 300px; }
.footer h4 {
  font-family: "Manrope", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-4);
}
.footer__links li { margin-bottom: var(--space-2); }
.footer__links--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 28px;
}
.footer__links a {
  font-size: 0.92rem;
  color: var(--white-soft);
  transition: color var(--dur) var(--ease-out);
}
.footer__links a:hover { color: var(--gold); }
.footer__contact li {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-size: 0.9rem;
}
.footer__contact .ico { color: var(--gold); font-weight: 700; }
.footer__contact a { color: var(--white-soft); }
.footer__contact a:hover { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid var(--line);
  padding-block: var(--space-5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: 0.82rem;
}
.footer__bottom a { color: var(--white-soft); }
.footer__bottom a:hover { color: var(--gold); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(800px 320px at 85% -20%, oklch(0.66 0.08 78 / 0.13), transparent 60%),
    var(--paper);
  padding-block: var(--space-8);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: var(--fs-h1); margin-bottom: var(--space-4); }
.page-hero p { max-width: 620px; color: var(--muted); font-size: 1.08rem; }
.page-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-kicker);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-soft);
  margin-bottom: var(--space-4);
}
.page-hero__kicker::before { content: ""; width: 28px; height: 2px; background: var(--gold); }

/* ---------- Compare table (pricing page) ---------- */
.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--white-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.compare th, .compare td {
  padding: var(--space-4);
  text-align: left;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--line);
}
.compare thead th {
  background: var(--night);
  color: var(--ink);
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  font-weight: 700;
}
.compare thead th .price-inline { color: var(--gold); font-weight: 800; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: none; }
.compare tbody th { font-weight: 700; color: var(--ink); }
.compare td { color: var(--muted); }
.compare .yes { color: var(--gold-deep); font-weight: 800; }
.compare .no { color: var(--muted); }

/* ---------- Reveal animation ----------
   Hidden state is only applied when JS is present (.js on <html>) AND the
   user has not requested reduced motion. No-JS / reduced-motion users always
   see full content — never a blank page. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal]:not(.is-visible) {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  }
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger helpers */
[data-reveal][data-delay="1"] { transition-delay: 90ms; }
[data-reveal][data-delay="2"] { transition-delay: 180ms; }
[data-reveal][data-delay="3"] { transition-delay: 270ms; }
[data-reveal][data-delay="4"] { transition-delay: 360ms; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .plan--featured { transform: none; }
  .plan--featured:hover { transform: translateY(-6px); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__grid { grid-template-columns: 1fr; gap: var(--space-7); }
  .hero { min-height: auto; }
  .hero__visual { max-width: 560px; margin-inline: auto; }
  .media-orbit { --orbit-r: 176px; }
  .hero__benefits { max-width: 560px; }
  .value__grid { grid-template-columns: 1fr; gap: var(--space-7); }
}

@media (max-width: 768px) {
  .section { padding-block: var(--space-7); }
  /* backdrop-filter creates a containing block that breaks position:fixed for the
     full-screen mobile menu; disable it so .nav__links covers the whole viewport. */
  .site-header { backdrop-filter: none; }
  .nav__links {
    position: fixed;
    inset: 0;
    top: 0;
    background: var(--night);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-6);
    transform: translateY(-100%);
    visibility: hidden;
    transition: transform 420ms var(--ease-quart), visibility 420ms;
    z-index: 110;
  }
  .nav__links.is-open { transform: translateY(0); visibility: visible; }
  .nav__links a { color: var(--ink); font-size: 1.3rem; }
  .nav__links a::after { background: var(--gold); }
  /* Keep auth buttons visible & tappable above the overlay */
  .nav__cta {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    position: relative;
    z-index: 115;
    margin-left: auto;
  }
  .nav__cta .nav-btn {
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.78rem;
    white-space: nowrap;
  }
  .nav__cta .nav-btn.sm { min-height: 30px; padding: 0 8px; font-size: 0.74rem; }
  .nav__cta .user-chip { display: none; }
  /* When the full-screen menu is open, hide the header CTA so it does not overlap menu items */
  .nav__links.is-open + .nav__cta { display: none; }
  .brand { font-size: 0.95rem; }
  .nav__toggle { display: block; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
  .stat:nth-child(3)::before { display: none; }
  .features__grid { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .compare { display: block; overflow-x: auto; }
  /* Hero on phones: tighter type, stacked, no overflow */
  .hero__grid { padding-block: var(--space-7) var(--space-6); gap: var(--space-6); }
  .hero h1 { font-size: clamp(1.85rem, 7.5vw, 2.6rem); text-align: left; }
  .hero__lead { font-size: 1.05rem; margin-bottom: var(--space-5); }
  .hero__actions .btn { width: 100%; }
  /* Media orbit degrades to a compact grid on phones */
  .hero__visual { max-width: 100%; }
  .media-orbit {
    width: 100%;
    aspect-ratio: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .media-orbit::before { display: none; }
  .media-orbit__hub {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    grid-column: 1 / -1;
    width: 172px;
    height: 172px;
    margin: 0 auto 18px;
  }
  .media-orbit__hub-label { font-size: 2rem; }
  .orbit-logo {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    border-radius: 12px;
  }
  .hero__benefits { padding: var(--space-4); }
  .hero__benefits li { font-size: 0.92rem; }

  /* Mobile touch targets: footer links */
  .footer__links li { margin-bottom: 0; }
  .footer__links a,
  .footer__contact a,
  .footer__bottom a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  /* Compare table: tighter cells so it fits narrow screens */
  .compare { -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .compare::-webkit-scrollbar { display: none; }
  .compare th, .compare td { padding: 13px 11px; font-size: 0.85rem; }
  .compare thead th { font-size: 0.92rem; }

  /* Plan badge legibility */
  .plan__badge { font-size: 12.5px; padding: 6px 12px; }
}

@media (max-width: 480px) {
  .media-orbit { grid-template-columns: repeat(2, 1fr); }
  .orbit-logo { min-height: 40px; font-size: 12px; }
}

@media (max-width: 420px) {
  .nav { min-height: 64px; gap: var(--space-3); }
  .brand { font-size: 0.86rem; gap: 6px; }
  .brand__mark { width: 32px; height: 32px; font-size: 0.78rem; }
  .nav__cta { gap: 6px; }
  .nav__cta .nav-btn { min-height: 32px; padding: 0 8px; font-size: 0.72rem; }
  .nav__toggle { width: 40px; height: 40px; }
  .hero h1 { font-size: clamp(1.7rem, 7.2vw, 2.3rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
/* ============================================================
   EMPHASIS PASS - light base with clear primary hierarchy
   ============================================================ */
/* 1) Primary CTA: solid brand red + hover deepen */
.btn--primary, .btn--red {
  font-weight: 800;
  box-shadow: 0 10px 26px oklch(0.53 0.19 27 / 0.32);
}
.btn--primary:hover, .btn--red:hover {
  background: var(--red-deep);
  box-shadow: 0 14px 34px oklch(0.45 0.18 25 / 0.42);
}
.btn--ghost:hover, .btn--outline-light:hover {
  box-shadow: inset 0 0 0 1.5px var(--red);
  color: var(--red);
}

/* 2) Heading hierarchy: bold deep ink, gold kicker */
.section-head h2 {
  color: var(--ink);
  font-weight: 800;
}
.section-head p { color: var(--ink-soft); }
.kicker { color: var(--red); font-weight: 800; }

/* 3) Nav: active page brand red, login/register solid brand red */
.nav__links a[aria-current="page"] {
  color: var(--red);
}
.nav__links a[aria-current="page"]::after,
.nav__links a:hover::after {
  background: var(--red);
  height: 3px;
}
.nav-btn.solid {
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 16px oklch(0.53 0.19 27 / 0.28);
}
.nav-btn.solid:hover {
  background: var(--red-deep);
  color: #fff;
  box-shadow: 0 8px 22px oklch(0.45 0.18 25 / 0.36);
}

/* 4) Stats: large bold brand gold */
.stat__num { font-weight: 800; color: var(--gold); }
.section--night .stat__num { color: var(--gold); }

/* 5) Card groups: featured red-gold border + shadow, hover feedback */
.plan {
  border: 1px solid transparent;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.plan:hover {
  border-color: oklch(0.66 0.08 78 / 0.5);
  box-shadow: var(--shadow-2);
}
.plan--featured {
  border: 2px solid var(--gold);
  box-shadow:
    inset 0 4px 0 0 var(--red),
    0 18px 40px oklch(0.56 0.09 72 / 0.16),
    0 2px 8px oklch(0.22 0.03 255 / 0.08);
}
.plan--featured:hover {
  box-shadow:
    inset 0 4px 0 0 var(--red),
    0 24px 48px oklch(0.56 0.09 72 / 0.22),
    0 4px 12px oklch(0.22 0.03 255 / 0.10);
}

/* 6) Large sections: border lines for visual pause */
.section--night {
  box-shadow: inset 0 0 0 1px oklch(0.22 0.03 255 / 0.05);
}
