/* NiuPlayer 官网 — 单一样式表，所有页面共用。
 *
 * 品牌色取自 lib/core/theme/brand.dart：橙 #FF7A00 是 logo 的前缘，红 #E51D2A 是
 * App 的主操作色。站点把这两个色当作强调色使用，正文保持中性，深色区块用来分段。
 */

:root {
  --brand-orange: #ff7a00;
  --brand-red: #e51d2a;
  --brand-ink: #c91f2b;

  --ink: #12171c;
  --ink-2: #3d4750;
  --ink-3: #667380;
  --ink-4: #8d99a4;

  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --bg-warm: #fff7f4;
  --line: #e8ebef;
  --line-soft: #f0f2f5;

  --dark: #0b0e12;
  --dark-2: #12171e;
  --dark-line: #232b34;
  --dark-text: #e8ecf1;
  --dark-muted: #97a3b0;

  --radius: 18px;
  --radius-lg: 26px;
  --container: 1140px;
  --nav-h: 64px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

a {
  color: var(--brand-ink);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

img {
  max-width: 100%;
  display: block;
}

ul,
ol {
  margin: 0;
  padding-left: 1.25em;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

::selection {
  background: rgba(229, 29, 42, 0.14);
}

/* ---------------------------------------------------------------- layout */

.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: clamp(64px, 9vw, 120px) 0;
}

.section--soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--dark {
  background: var(--dark);
  color: var(--dark-muted);
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

/* Anchors have to clear the sticky bar. */
[id] {
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-ink);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-red));
}

.section--dark .eyebrow {
  color: #ff9a4d;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  margin: 16px 0 0;
}

.section-head p {
  margin-top: 16px;
  font-size: 17px;
  color: var(--ink-3);
}

.section--dark .section-head p {
  color: var(--dark-muted);
}

.grad {
  background: linear-gradient(96deg, var(--brand-orange), var(--brand-red) 62%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ------------------------------------------------------------------- nav */

/* The bar is dark on every page: each page opens on a dark hero, and the
 * footer is dark too, so a light bar would float between two dark ends. */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(11, 14, 18, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Without min-width the link row's intrinsic width pushes the bar — and with
 * it the whole page — wider than a phone screen. */
.nav__inner > nav {
  min-width: 0;
  overflow: hidden;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.2px;
  margin-right: auto;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(18, 23, 28, 0.16);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav__links::-webkit-scrollbar {
  display: none;
}

.nav__links a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: #b6c1cc;
  white-space: nowrap;
}

.nav__links a:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  text-decoration: none;
}

.nav__links a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

/* ---------------------------------------------------------------- button */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--primary {
  color: #fff;
  background: linear-gradient(96deg, var(--brand-orange), var(--brand-red) 68%);
  box-shadow: 0 8px 22px rgba(229, 29, 42, 0.26);
}

.btn--primary:hover {
  box-shadow: 0 12px 28px rgba(229, 29, 42, 0.32);
}

.btn--ghost {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: #d8dde3;
}

.btn--onDark {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn--onDark:hover {
  background: rgba(255, 255, 255, 0.14);
}

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

.hero {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--dark-muted);
  padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 110px);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.hero::before {
  width: 620px;
  height: 620px;
  top: -260px;
  right: -140px;
  background: radial-gradient(
    circle,
    rgba(229, 29, 42, 0.42),
    rgba(229, 29, 42, 0) 68%
  );
}

.hero::after {
  width: 520px;
  height: 520px;
  bottom: -280px;
  left: -160px;
  background: radial-gradient(
    circle,
    rgba(255, 122, 0, 0.28),
    rgba(255, 122, 0, 0) 68%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

/* Two nine-character Chinese clauses have to each hold one line: at 74px the
 * first one wrapped and left 「布，」 stranded on a line of its own. */
.hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(31px, 4.4vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.hero__lead {
  margin-top: 24px;
  max-width: 540px;
  font-size: clamp(16px, 1.35vw, 18.5px);
  line-height: 1.85;
  color: #b8c3ce;
}

.hero__actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__meta {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 13.5px;
  color: #8996a3;
}

.hero__meta b {
  color: #dfe6ed;
  font-weight: 700;
}

.hero__art {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero__custom-tags {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.hero__custom-tags span {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
  color: #b8c3ce;
  font-size: 12px;
  font-weight: 600;
}

/* ---------------------------------------------------------- phone mock-up */

/* Drawn to match lib/features/home/home_screen.dart rather than by eye. The
 * real screen is ~390 logical px wide and this one is 300, so every measurement
 * below is the app's own value x0.77. Cover gradients are the five palettes in
 * GeneratedCover; card radius, shadow, badge and progress colours come from
 * main.dart's cardTheme and Brand.
 */
.phone {
  position: relative;
  width: 300px;
  max-width: 100%;
  aspect-ratio: 300 / 612;
  border-radius: 44px;
  padding: 11px;
  background: linear-gradient(160deg, #2b333d, #0f1318 60%);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
  flex: 0 0 auto;
}

.phone__screen {
  position: relative;
  height: 100%;
  border-radius: 34px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--ink);
}

.phone__notch {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 78px;
  height: 5px;
  border-radius: 3px;
  background: #dfe3e8;
  z-index: 2;
}

.phone__body {
  flex: 1;
  padding: 26px 14px 0;
  overflow: hidden;
}

/* AppBar: logo + wordmark left, gear right. */
.phone__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 43px;
}

.phone__bar img {
  width: 21px;
  height: 21px;
  border-radius: 5px;
}

.phone__bar strong {
  font-size: 15px;
  font-weight: 800;
}

.phone__bar span {
  margin-left: auto;
  color: var(--neutral-icon, #687077);
  display: inline-flex;
}

.phone__chips {
  display: flex;
  gap: 6px;
  margin-top: 5px;
}

.phone__chip {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #e5e5e5;
  background: #f2f2f2;
  color: #0f0f0f;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}

.phone__chip--on {
  background: #0f0f0f;
  border-color: #0f0f0f;
  color: #fff;
  font-weight: 800;
}

/* _SectionTitle: titleLarge, w800. */
.phone__h {
  margin: 18px 0 9px;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}

.phone__h--tight {
  margin-top: 21px;
}

/* _ContinueWatchingList: a horizontal row of fixed-width cards. */
.phone__row {
  display: flex;
  gap: 8px;
  overflow: hidden;
}

/* Every card on the home screen is the same white Card. */
.ncard {
  display: flex;
  flex-direction: column;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.09);
  overflow: hidden;
}

.ncard--cont {
  width: 115px;
  flex: 0 0 auto;
}

.ncard__title {
  padding: 5px 6px 6px;
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* A generated cover: gradient, icon, then the folder name under it. Square in
 * the app, shown BoxFit.cover in a wider box, so it reads as a centred crop. */
.ncover {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #fff;
  overflow: hidden;
}

.ncover--wide {
  aspect-ratio: 16 / 9;
}

.ncover--fill {
  flex: 1;
  min-height: 0;
}

.ncover svg {
  opacity: 0.92;
  flex: 0 0 auto;
}

.ncover b {
  max-width: 88%;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ncover--indigo {
  background: linear-gradient(135deg, #3a3897, #6e4ab8);
}
.ncover--teal {
  background: linear-gradient(135deg, #1c6b5b, #2e9e7e);
}

.ncover--amber {
  background: linear-gradient(135deg, #8a4b12, #c97b26);
}

.ncover--steel {
  background: linear-gradient(135deg, #243b55, #41729f);
}

/* LinearProgressIndicator over the cover: white 72% track, brand red value. */
.nprog {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4.5px;
  background: rgba(255, 255, 255, 0.72);
}

.nprog span {
  display: block;
  height: 100%;
  background: var(--progress, #ff1f3d);
}

/* _EpisodeCountBadge: black at 68%, fully rounded. */
.nbadge {
  position: absolute;
  top: 5px;
  right: 5px;
  padding: 2px 5px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.68);
  color: #fff;
  font-size: 8.5px;
  font-weight: 800;
  line-height: 1.2;
}

/* _FolderGrid: two columns, childAspectRatio 1.15, title inside the card. */
.phone__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 9px;
  row-gap: 14px;
}

.ncard--grid {
  aspect-ratio: 1.15;
}

.ncard--grid .ncard__title {
  height: 40px;
  padding: 6px 8px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.28;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* NowPlayingBar: a 2px progress line on top of the row, over a warm hairline. */
.phone__mini {
  margin-top: auto;
  background: #fff;
  border-top: 1px solid var(--surface-border, #f1d9d4);
}

.phone__mini-prog {
  height: 2px;
  background: var(--surface-border, #f1d9d4);
}

.phone__mini-prog span {
  display: block;
  height: 100%;
  width: 34%;
  background: var(--progress, #ff1f3d);
}

.phone__mini-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 6px 6px 9px;
}

.phone__mini-row .ncover {
  width: 34px;
  height: 34px;
  border-radius: 5px;
  flex: 0 0 auto;
  gap: 0;
}

.phone__mini-text {
  min-width: 0;
  flex: 1;
}

.phone__mini-text strong {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone__mini-text small {
  display: block;
  font-size: 9.5px;
  color: var(--ink-3);
}

.phone__mini-btns {
  display: flex;
  gap: 7px;
  color: var(--ink-2);
  flex: 0 0 auto;
}

/* ------------------------------------------------------ simple home page */

.section--compact {
  padding: clamp(64px, 7vw, 92px) 0;
}

.section-head--center {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.value-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 22px;
  align-items: stretch;
}

.value-card {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
}

.value-card::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -120px;
  bottom: -150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 29, 42, 0.14), transparent 68%);
  pointer-events: none;
}

.value-card--creator {
  border-color: var(--dark-line);
  background:
    radial-gradient(circle at 100% 0%, rgba(229, 29, 42, 0.18), transparent 38%),
    var(--dark-2);
}

.value-card__label {
  display: inline-flex;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--bg-warm);
  border: 1px solid rgba(229, 29, 42, 0.18);
  color: var(--brand-ink);
  font-size: 12.5px;
  font-weight: 700;
}

.value-card--creator .value-card__label {
  border-color: rgba(255, 154, 77, 0.24);
  background: rgba(255, 122, 0, 0.1);
  color: #ffad6e;
}

.value-card h3 {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  font-size: clamp(24px, 2.8vw, 34px);
}

.value-card > p {
  position: relative;
  z-index: 1;
  margin-top: 13px;
  color: var(--ink-3);
}

.value-card--creator h3 {
  color: #fff;
}

.value-card--creator > p {
  color: var(--dark-muted);
}

.value-list {
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 30px 0 28px;
  display: grid;
  gap: 18px;
}

.value-list li {
  display: grid;
  gap: 3px;
  padding-left: 22px;
  position: relative;
}

.value-list li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--brand-orange), var(--brand-red));
}

.value-list b {
  color: #fff;
  font-size: 15px;
}

.value-list span {
  color: #9eabb7;
  font-size: 14px;
}

.custom-grid {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.custom-item {
  min-width: 0;
  padding: 17px 16px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  gap: 12px;
}

.custom-item__icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #fff0e3, #ffe1df);
  color: var(--brand-ink);
  font-size: 14px;
  font-weight: 800;
}

.custom-item b {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.custom-item small {
  display: block;
  margin-top: 2px;
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.5;
}

.value-card .value-card__note {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 13.5px;
}

.section-foot {
  margin-top: 26px;
  font-size: 14.5px;
  color: var(--ink-3);
}

.section--dark .section-foot {
  color: var(--dark-muted);
}

/* ----------------------------------------------------------- three ideas */

.ideas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* Four cards read as 2×2; in a three-column grid the fourth sits alone. */
.ideas--four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.idea {
  padding: 30px 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  position: relative;
  overflow: hidden;
}

.idea__num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brand-red);
}

.idea h3 {
  margin: 14px 0 12px;
  font-size: 20px;
}

.idea p {
  font-size: 15px;
  color: var(--ink-3);
}

/* Same card on a dark section. */
.idea--onDark {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--dark-line);
}

.idea--onDark h3 {
  color: #fff;
}

.idea--onDark p {
  color: #bcc7d2;
}

/* ----------------------------------------------------------------- trust */

.trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.panel {
  padding: 32px 30px 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--dark-line);
  background: var(--dark-2);
}

.panel h3 {
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 14px;
}

.panel li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  color: #bcc7d2;
}

.panel li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
}

.panel--no li::before {
  content: "×";
  color: #ff8a8a;
  font-size: 17px;
  line-height: 1.6;
}

.panel--yes li::before {
  content: "✓";
  color: #5fd6a4;
  font-size: 14px;
  line-height: 1.9;
}

/* The same pair on a white section. */
.panel--light {
  background: #fff;
  border-color: var(--line);
}

.panel--light li {
  color: var(--ink-2);
}

.panel--light.panel--no li::before {
  color: var(--brand-red);
}

.panel--light.panel--yes li::before {
  color: #16a06b;
}

/* --------------------------------------------------------- compare table */

.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.compare {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 15px;
}

.compare th,
.compare td {
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
}

.compare thead th {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.compare tbody tr:last-child td {
  border-bottom: 0;
}

.compare td:first-child {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.compare td:nth-child(2) {
  color: var(--ink-3);
}

/* The column that is the point of the table. */
.compare th:last-child,
.compare td:last-child {
  background: var(--bg-warm);
  color: var(--ink);
  font-weight: 600;
}

/* --------------------------------------------------------------- formats */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-2);
}

.chip--brand {
  border-color: rgba(229, 29, 42, 0.28);
  background: var(--bg-warm);
  color: var(--brand-ink);
  font-weight: 700;
}

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

.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(38px, 5vw, 64px);
  background: linear-gradient(120deg, #16110f, #2a0f12 55%, #3a1109);
  border: 1px solid #35211d;
  text-align: center;
}

.cta h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 36px);
}

.cta p {
  margin: 16px auto 0;
  max-width: 620px;
  color: #c3ccd6;
  font-size: 16px;
}

.cta__actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

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

.footer {
  background: var(--dark);
  color: var(--dark-muted);
  padding: 56px 0 40px;
  font-size: 14px;
}

.footer a {
  color: var(--dark-muted);
}

.footer a:hover {
  color: #fff;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 36px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--dark-line);
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.footer__brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.footer__tagline {
  margin-top: 14px;
  max-width: 320px;
  color: #8a96a3;
}

.footer h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 14px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer__legal {
  padding-top: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  align-items: center;
  text-align: center;
  font-size: 13px;
  color: #75818e;
}

/* ------------------------------------------------------- guide + legal doc */

.doc-hero {
  background: var(--dark);
  color: var(--dark-muted);
  padding: clamp(44px, 6vw, 76px) 0 clamp(40px, 5vw, 64px);
  position: relative;
  overflow: hidden;
}

.doc-hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  top: -300px;
  right: -120px;
  border-radius: 50%;
  filter: blur(90px);
  background: radial-gradient(
    circle,
    rgba(229, 29, 42, 0.34),
    rgba(229, 29, 42, 0) 68%
  );
}

.doc-hero > .wrap {
  position: relative;
  z-index: 1;
}

.doc-hero h1 {
  color: #fff;
  font-size: clamp(30px, 4.4vw, 50px);
  margin: 16px 0 0;
}

.doc-hero p {
  margin-top: 18px;
  max-width: 640px;
  color: #b8c3ce;
  font-size: 16.5px;
}

.doc-hero .updated {
  margin-top: 20px;
  font-size: 13.5px;
  color: #8996a3;
}

.doc-layout {
  padding: clamp(44px, 6vw, 76px) 0 clamp(64px, 8vw, 104px);
}
.doc {
  min-width: 0;
  max-width: 780px;
}

.doc h2 {
  font-size: clamp(21px, 2.4vw, 27px);
  margin: 56px 0 16px;
  padding-top: 4px;
}

.doc > h2:first-child,
.doc > section:first-child h2 {
  margin-top: 0;
}

.doc h3 {
  font-size: 17px;
  margin: 30px 0 10px;
}

.doc p,
.doc li {
  font-size: 16px;
  color: var(--ink-2);
}

.doc p {
  margin: 14px 0;
}

.doc ul,
.doc ol {
  margin: 14px 0;
  padding-left: 24px;
  display: grid;
  gap: 8px;
}

.doc strong {
  color: var(--ink);
}

.doc code {
  font-family: var(--mono);
  font-size: 0.9em;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--brand-ink);
}

.doc section {
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

.doc .lede {
  font-size: 17px;
  color: var(--ink-3);
}

.note {
  margin: 22px 0;
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand-red);
  background: var(--bg-warm);
}

.note p {
  margin: 0;
  font-size: 15px;
}

.note p + p {
  margin-top: 10px;
}

.note strong {
  color: var(--brand-ink);
}

.faq {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 0 20px;
}

.faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-red);
  flex: 0 0 auto;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details[open] summary {
  border-bottom: 1px solid var(--line-soft);
}

.faq p {
  margin: 14px 0 18px;
  font-size: 15px;
  color: var(--ink-3);
}

/* Legal and guide pages have no sidebar: one centred column, kept narrow
 * enough to read. */
.doc-layout--single {
  display: block;
}

.doc--legal,
.doc--guide {
  margin: 0 auto;
  max-width: 820px;
}

.doc--guide h2 {
  margin-top: 60px;
}

.format-block {
  margin: 22px 0;
  padding: 22px 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}

.format-block h3 {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--ink-3);
}

.format-block .chips {
  margin-bottom: 20px;
}

.format-block .chips:last-child {
  margin-bottom: 0;
}

.format-block h3 + .chips + h3 {
  margin-top: 0;
}

.doc-foot {
  font-size: 14px;
  color: var(--ink-4);
}

/* A FAQ that owns a full-width section reads better in two columns. */
.faq--wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.doc--legal h2 {
  margin-top: 44px;
  font-size: 20px;
}

@media print {
  .nav,
  .footer,
  .doc-hero::before {
    display: none;
  }

  .doc-hero {
    background: #fff;
    color: #000;
    padding: 0 0 20px;
  }

  .doc-hero h1,
  .doc-hero p {
    color: #000;
  }

  .doc-layout {
    display: block;
    padding: 20px 0;
  }
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 1000px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .hero__lead {
    max-width: none;
  }

  .ideas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .doc-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15.5px;
  }

  /* Product detail is already on the current page; keep the two destination
   * pages visible on a phone. */
  .nav__links li.nav__opt {
    display: none;
  }

  .wrap {
    padding: 0 18px;
  }

  .ideas,
  .ideas--four,
  .trust,
  .faq--wide,
  .value-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer__top {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  /* A three-column comparison does not fit a phone, and a table you have to
   * drag sideways is worse than no table. Each row becomes its own block, with
   * the column header carried in as the cell's own label. */
  .compare-wrap {
    overflow-x: visible;
    border: 0;
    background: none;
  }

  .compare {
    min-width: 0;
    display: block;
  }

  .compare thead {
    display: none;
  }

  .compare tbody,
  .compare tr,
  .compare td {
    display: block;
  }

  .compare tr {
    margin-bottom: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    overflow: hidden;
  }

  .compare tr:last-child {
    margin-bottom: 0;
  }

  .compare td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--line-soft);
  }

  .compare td:first-child {
    background: var(--bg-soft);
    white-space: normal;
  }

  .compare td:last-child {
    border-bottom: 0;
  }

  .compare td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-4);
  }

  .compare td:last-child[data-label]::before {
    color: var(--brand-ink);
  }

  .btn {
    width: 100%;
  }

  .hero__actions,
  .cta__actions {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .custom-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .value-card {
    padding: 26px 22px 28px;
    border-radius: 22px;
  }

  .nav__links a {
    padding: 8px 9px;
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .brand span {
    display: none;
  }
}

/* ============================================================
   2026 editorial refresh
   Product-led, spacious layout inspired by the rhythm of iina.io.
   The original NiuPlayer interface drawing above remains the hero artwork.
   ============================================================ */

:root {
  --container: 1120px;
  --nav-h: 56px;
  --brand-red: #f01d35;
  --brand-ink: #d71930;
  --ink: #111113;
  --ink-2: #343438;
  --ink-3: #6e6e73;
  --ink-4: #8e8e93;
  --bg-soft: #f5f5f7;
  --line: #dedee3;
  --line-soft: #ededf0;
}

body {
  color: var(--ink-2);
  background: #fff;
  line-height: 1.65;
  overflow-x: clip;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(240, 29, 53, 0.32);
  outline-offset: 4px;
  border-radius: 6px;
}

.nav {
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(17, 17, 19, 0.08);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}

.brand {
  gap: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  box-shadow: none;
}

.brand__slogan {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 500;
}

.brand__slogan::before {
  content: "";
  width: 1px;
  height: 13px;
  background: var(--line);
}

.nav__links {
  gap: 14px;
}

.nav__links a {
  padding: 8px 2px;
  border-radius: 0;
  color: #45454a;
  font-size: 13px;
  font-weight: 500;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--brand-red);
  background: transparent;
  text-decoration: none;
}

.hero {
  overflow: hidden;
  padding: clamp(72px, 8vw, 112px) 0 0;
  color: var(--ink);
  background: #fff;
}

.hero::before,
.hero::after {
  display: none;
}

.hero__copy {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero__identity {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--ink);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 750;
  letter-spacing: -0.025em;
}

.hero__identity img {
  width: 58px;
  height: 58px;
  border-radius: 16px;
}

.hero h1 {
  max-width: 920px;
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(48px, 6.2vw, 76px);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.hero h1 span {
  color: var(--ink);
}

.hero__stage {
  position: relative;
  height: 680px;
  margin-top: clamp(58px, 7vw, 86px);
  overflow: hidden;
  border-radius: 42px 42px 0 0;
  background:
    radial-gradient(circle at 50% 85%, rgba(255, 122, 0, 0.12), transparent 34%),
    linear-gradient(180deg, #f7f7f9 0%, #eeeef2 100%);
  display: grid;
  place-items: start center;
}

.stage-glow {
  position: absolute;
  left: 50%;
  bottom: -280px;
  width: 760px;
  height: 620px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 29, 53, 0.18), transparent 68%);
  filter: blur(12px);
}

.hero__stage::before,
.hero__stage::after {
  position: absolute;
  z-index: 2;
  top: 47%;
  padding: 16px 21px;
  border: 1px solid rgba(17, 17, 19, 0.07);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 36px rgba(17, 17, 19, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #55555b;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.hero__stage::before {
  content: "分类  ·  排序";
  left: 11%;
  transform: rotate(-3deg);
}

.hero__stage::after {
  content: "封面  ·  字幕";
  right: 11%;
  transform: rotate(3deg);
}

.hero__art {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding-top: 40px;
}

.hero__stage .phone {
  width: 320px;
  max-width: none;
  background: #111216;
  box-shadow:
    0 56px 96px rgba(17, 17, 19, 0.25),
    0 0 0 1px rgba(17, 17, 19, 0.9);
  transform: translateY(18px);
  animation: product-rise 0.7s cubic-bezier(0.22, 0.8, 0.3, 1) both;
}

@keyframes product-rise {
  from {
    opacity: 0;
    transform: translateY(48px);
  }
  to {
    opacity: 1;
    transform: translateY(18px);
  }
}

.value {
  padding: clamp(110px, 13vw, 168px) 0 clamp(100px, 12vw, 152px);
  background: #fff;
}

.value__head {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.value__head h2 {
  color: var(--ink);
  font-size: clamp(44px, 5.4vw, 66px);
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.story {
  min-height: 560px;
  margin-top: clamp(110px, 13vw, 164px);
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(52px, 8vw, 108px);
  align-items: center;
}

.story--creator {
  margin-top: 0;
}

.story--user {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.story__copy {
  max-width: 410px;
}

.story__label {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--brand-ink);
  font-size: 14px;
  font-weight: 700;
}

.story__copy h3 {
  color: var(--ink);
  font-size: clamp(38px, 4.5vw, 54px);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.story__copy > p {
  margin-top: 24px;
  color: var(--ink-3);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.72;
}

.delivery {
  position: relative;
  min-height: 500px;
  padding: 54px;
  overflow: hidden;
  border-radius: 38px;
  background: var(--bg-soft);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
  align-items: center;
}

.delivery::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -170px;
  bottom: -170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 29, 53, 0.16), transparent 70%);
}

.delivery__sources {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.source {
  min-height: 74px;
  padding: 0 20px;
  border: 1px solid rgba(17, 17, 19, 0.07);
  border-radius: 18px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-weight: 650;
  box-shadow: 0 7px 22px rgba(17, 17, 19, 0.035);
}

.source svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: #5c5c63;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.delivery__line {
  position: relative;
  height: 2px;
  background: #cfcfd5;
}

.delivery__line::after {
  content: "›";
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-54%);
  color: #a6a6ad;
  font-size: 24px;
}

.delivery__line span {
  position: absolute;
  top: 50%;
  left: 42%;
  width: 9px;
  height: 9px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--brand-red);
  box-shadow: 0 0 0 5px rgba(240, 29, 53, 0.1);
}

.delivery__player {
  position: relative;
  z-index: 1;
  padding: 28px 24px;
  border-radius: 24px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 18px 50px rgba(17, 17, 19, 0.1);
}

.delivery__player img {
  width: 54px;
  height: 54px;
  border-radius: 15px;
}

.delivery__player b,
.delivery__player small {
  display: block;
}

.delivery__player b {
  color: var(--ink);
  font-size: 20px;
}

.delivery__player small {
  margin-top: 3px;
  color: var(--ink-3);
  font-size: 11px;
  white-space: nowrap;
}

.story__visual {
  min-width: 0;
}

.custom-concept {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border-radius: 38px;
  background:
    radial-gradient(circle at 50% 50%, rgba(240, 29, 53, 0.08), transparent 34%),
    #f5f5f7;
  isolation: isolate;
}

.custom-concept::before,
.custom-concept::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.custom-concept::before {
  width: 280px;
  height: 280px;
  right: -140px;
  top: -140px;
  background: rgba(255, 122, 0, 0.08);
}

.custom-concept::after {
  width: 360px;
  height: 360px;
  left: -210px;
  bottom: -210px;
  background: rgba(240, 29, 53, 0.07);
}

.concept-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(17, 17, 19, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
}

.concept-orbit::before,
.concept-orbit::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-red);
  box-shadow: 0 0 0 6px rgba(240, 29, 53, 0.09);
}

.concept-orbit--one {
  width: 330px;
  height: 330px;
}

.concept-orbit--one::before {
  left: 28px;
  top: 62px;
}

.concept-orbit--one::after {
  right: 18px;
  bottom: 88px;
}

.concept-orbit--two {
  width: 235px;
  height: 235px;
  border-style: dashed;
  transform: translate(-50%, -50%) rotate(28deg);
}

.concept-orbit--two::before {
  top: -4px;
  left: 50%;
}

.concept-orbit--two::after {
  left: 20px;
  bottom: 28px;
}

.concept-core {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 142px;
  height: 142px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
}

.concept-core b {
  position: relative;
  z-index: 4;
  color: #fff;
  font-size: 30px;
  letter-spacing: 0.08em;
}

.concept-shape {
  position: absolute;
  width: 112px;
  height: 112px;
  border-radius: 31px;
}

.concept-shape--back {
  background: #ff9a32;
  transform: rotate(-22deg) translate(-16px, -10px);
}

.concept-shape--middle {
  background: #ff5c67;
  transform: rotate(12deg) translate(13px, -5px);
  mix-blend-mode: multiply;
}

.concept-shape--front {
  background: #e51d2a;
  transform: rotate(42deg) scale(0.72);
  box-shadow: 0 18px 42px rgba(229, 29, 42, 0.22);
}

.concept-word {
  position: absolute;
  z-index: 3;
  display: grid;
  line-height: 1;
}

.concept-word small {
  margin-bottom: 7px;
  color: var(--brand-red);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.concept-word b {
  color: var(--ink);
  font-size: clamp(28px, 3.1vw, 40px);
  letter-spacing: -0.05em;
}

.concept-word span {
  margin-top: 9px;
  color: #9a9aa1;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.16em;
}

.concept-word--category {
  left: 8%;
  top: 11%;
}

.concept-word--order {
  right: 9%;
  top: 16%;
  text-align: right;
}

.concept-word--cover {
  left: 50%;
  bottom: 10%;
  transform: translateX(-50%);
  text-align: center;
}

.custom-preview {
  position: relative;
  min-height: 540px;
  padding: 42px;
  overflow: hidden;
  border-radius: 38px;
  background: #111216;
  color: #fff;
  box-shadow: 0 34px 80px rgba(17, 17, 19, 0.14);
}

.custom-preview::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  right: -160px;
  bottom: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 29, 53, 0.35), transparent 70%);
}

.custom-preview__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.custom-preview__top b {
  font-size: 24px;
}

.custom-preview__top span {
  color: #ff7787;
  font-size: 14px;
}

.custom-preview__filters {
  position: relative;
  z-index: 1;
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.custom-preview__filters span {
  padding: 7px 13px;
  border: 1px solid #36373d;
  border-radius: 999px;
  color: #b9bac0;
  font-size: 12px;
}

.custom-preview__filters .is-active {
  border-color: #fff;
  background: #fff;
  color: #111216;
  font-weight: 700;
}

.custom-preview__grid {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 16px;
}

.custom-preview__grid > div {
  min-width: 0;
}

.preview-cover {
  aspect-ratio: 1.45;
  padding: 17px;
  border-radius: 15px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  font-size: clamp(16px, 2vw, 23px);
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: 0.05em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.custom-preview__grid b {
  display: block;
  margin-top: 8px;
  overflow: hidden;
  color: #f4f4f5;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-preview__status {
  position: relative;
  z-index: 1;
  margin-top: 26px;
  padding-top: 19px;
  border-top: 1px solid #303137;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: #a9aab0;
  font-size: 12px;
}

.custom-preview__status span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.custom-preview__status i {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: #2e2f35;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 10px;
  font-style: normal;
}

.customize {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.customize li {
  padding: 18px 14px;
  border-top: 1px solid var(--line);
}

.customize li:first-child {
  padding-left: 0;
}

.customize li:last-child {
  padding-right: 0;
}

.customize b,
.customize span {
  display: block;
}

.customize b {
  color: var(--ink);
  font-size: 16px;
}

.customize span {
  margin-top: 3px;
  color: var(--ink-3);
  font-size: 12px;
}

.footer {
  padding: 38px 0 30px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--ink-3);
  font-size: 12px;
}

.footer > .wrap {
  display: block;
}

.footer a {
  color: var(--ink-3);
}

.footer a:hover {
  color: var(--ink);
  text-decoration: none;
}

.footer__top {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer__brand {
  color: var(--ink);
  font-size: 15px;
}

.footer__brand img {
  width: 28px;
  height: 28px;
}

.footer__links {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 10px 24px;
  font-size: 12.5px;
}

.footer__links a:first-child {
  color: var(--ink-2);
  font-weight: 600;
  display: grid;
  gap: 1px;
}

.footer__legal {
  padding-top: 0;
  gap: 2px;
  color: var(--ink-4);
  font-size: 11.5px;
}

.doc-hero {
  padding: clamp(82px, 9vw, 120px) 0 clamp(50px, 6vw, 76px);
  background: #fff;
  color: var(--ink-3);
  text-align: center;
}

.doc-hero::before {
  display: none;
}

.doc-hero .eyebrow {
  justify-content: center;
}

.doc-hero h1 {
  margin-top: 20px;
  color: var(--ink);
  font-size: clamp(42px, 5.4vw, 64px);
  font-weight: 750;
  letter-spacing: -0.05em;
}

.doc-hero p {
  max-width: 660px;
  margin: 20px auto 0;
  color: var(--ink-3);
  font-size: 17px;
}

.doc-hero .updated {
  color: var(--ink-4);
}

.doc-layout {
  padding-top: 20px;
}

.contact-page {
  padding: 24px 20px clamp(96px, 12vw, 150px);
}

.contact-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 42px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.contact-card p {
  color: var(--ink-3);
  font-size: 17px;
}

.contact-card__email {
  display: inline-block;
  margin-top: 18px;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.faq {
  gap: 0;
  margin-top: 0;
  border-bottom: 1px solid var(--line);
}

.faq details {
  padding: 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.faq summary {
  min-height: 84px;
  padding: 22px 4px;
  font-size: 18px;
}

.faq details[open] summary {
  border-bottom: 0;
}

.faq p {
  max-width: 720px;
  margin: -6px 0 28px;
  color: var(--ink-3);
  font-size: 16px;
  line-height: 1.8;
}

@media (max-width: 860px) {
  .hero__stage {
    height: 620px;
  }

  .hero__stage::before {
    left: 6%;
  }

  .hero__stage::after {
    right: 6%;
  }

  .story,
  .story--user {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 50px;
  }

  .story__copy {
    max-width: 600px;
  }

  .story--user .story__copy {
    order: 1;
  }

  .story--user .story__visual {
    order: 2;
  }
}

@media (max-width: 720px) {
  .wrap {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero {
    padding-top: 58px;
  }

  .hero__identity {
    gap: 10px;
    font-size: 22px;
  }

  .hero__identity img {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }

  .hero h1 {
    margin-top: 23px;
    font-size: clamp(39px, 11.6vw, 54px);
    line-height: 1.12;
  }

  .hero__stage {
    width: calc(100% - 24px);
    height: 540px;
    margin-top: 52px;
    padding-right: 0;
    padding-left: 0;
    border-radius: 30px 30px 0 0;
  }

  .hero__stage::before,
  .hero__stage::after {
    display: none;
  }

  .hero__art {
    padding-top: 28px;
  }

  .hero__stage .phone {
    width: 270px;
  }

  .value {
    padding-top: 98px;
  }

  .value__head h2 {
    font-size: clamp(38px, 10.5vw, 48px);
  }

  .story {
    margin-top: 96px;
  }

  .delivery {
    min-height: 0;
    padding: 28px;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    border-radius: 28px;
  }

  .delivery__line {
    width: 2px;
    height: 34px;
    margin: 0 auto;
  }

  .delivery__line::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -15px;
    transform: translateX(-50%) rotate(90deg);
  }

  .delivery__player {
    justify-self: stretch;
  }

  .custom-preview {
    min-height: 0;
    padding: 28px;
    border-radius: 28px;
  }

  .custom-concept {
    min-height: 460px;
    border-radius: 28px;
  }

  .footer__top {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer__links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .hero__stage {
    height: 475px;
  }

  .hero__stage .phone {
    width: 235px;
  }

  .hero h1 {
    font-size: 35px;
    letter-spacing: -0.04em;
  }

  .value__head h2 {
    font-size: 34px;
    letter-spacing: -0.04em;
  }

  .story__copy h3 {
    font-size: 34px;
  }

  .custom-preview {
    padding: 24px 20px;
  }

  .custom-concept {
    min-height: 410px;
  }

  .concept-orbit--one {
    width: 280px;
    height: 280px;
  }

  .concept-orbit--two {
    width: 190px;
    height: 190px;
  }

  .concept-core {
    width: 120px;
    height: 120px;
  }

  .concept-shape {
    width: 94px;
    height: 94px;
    border-radius: 26px;
  }

  .concept-core b {
    font-size: 25px;
  }

  .concept-word b {
    font-size: 25px;
  }

  .custom-preview__grid {
    gap: 17px 11px;
  }

  .preview-cover {
    padding: 12px;
    border-radius: 12px;
    font-size: 17px;
  }

  .customize {
    grid-template-columns: minmax(0, 1fr);
  }

  .customize li,
  .customize li:nth-child(even) {
    padding: 15px 0;
  }
}

@media (max-width: 720px) {
  .brand__slogan {
    display: none;
  }

  .footer > .wrap {
    display: block;
  }
}

@media (max-width: 360px) {
  .brand__name {
    display: none;
  }
}

/* Hero uses the same editorial left-copy/right-visual rhythm as the stories. */
.hero {
  padding: clamp(78px, 9vw, 118px) 0 clamp(86px, 10vw, 126px);
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(56px, 8vw, 108px);
  align-items: center;
}

.hero__copy {
  text-align: left;
}

.hero h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(48px, 4.2vw, 58px);
}

.hero__visual {
  position: relative;
  height: 620px;
  overflow: hidden;
  border-radius: 38px;
  background:
    radial-gradient(circle at 50% 92%, rgba(240, 29, 53, 0.13), transparent 37%),
    linear-gradient(180deg, #f7f7f9, #eeeef2);
  display: flex;
  justify-content: center;
}

.hero__visual .hero__art {
  padding-top: 32px;
}

.hero__visual .phone {
  width: 270px;
  max-width: none;
  background: #111216;
  box-shadow:
    0 48px 86px rgba(17, 17, 19, 0.23),
    0 0 0 1px rgba(17, 17, 19, 0.9);
  transform: translateY(0);
  animation: hero-phone-rise 0.7s cubic-bezier(0.22, 0.8, 0.3, 1) both;
}

@keyframes hero-phone-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 54px;
  }

  .hero h1 {
    max-width: 720px;
  }

  .hero__visual {
    height: 580px;
  }

  .hero__visual .phone {
    width: 250px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 64px 0 84px;
  }

  .hero__layout {
    gap: 44px;
  }

  .hero h1 {
    font-size: 37px;
    line-height: 1.13;
  }

  .hero__visual {
    height: 480px;
    border-radius: 28px;
  }

  .hero__visual .hero__art {
    padding-top: 24px;
  }

  .hero__visual .phone {
    width: 215px;
  }
}

/* Give the opening section a complete brand composition without adding copy. */
.hero {
  position: relative;
  isolation: isolate;
  padding: 56px 0 68px;
  background:
    linear-gradient(118deg, #f7f7f9 0%, #faf8f7 56%, #fff4f2 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  display: block;
  z-index: -1;
  pointer-events: none;
  filter: none;
}

.hero::before {
  width: 560px;
  height: 560px;
  top: -250px;
  right: -170px;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.15), transparent 68%);
}

.hero::after {
  width: 480px;
  height: 480px;
  left: -250px;
  bottom: -290px;
  background: radial-gradient(circle, rgba(240, 29, 53, 0.1), transparent 68%);
}

.hero__layout {
  position: relative;
  z-index: 1;
  min-height: 590px;
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero__audiences {
  max-width: 660px;
  margin-top: 40px;
  display: grid;
}

.hero__audiences > div {
  min-height: 72px;
  padding: 16px 0;
  border-top: 1px solid rgba(17, 17, 19, 0.14);
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.hero__audiences span {
  padding-top: 2px;
  color: var(--brand-ink);
  font-size: 12px;
  font-weight: 700;
}

.hero__audiences p {
  margin: 0;
  color: #68686e;
  font-size: 14px;
  line-height: 1.72;
}

.hero__visual {
  height: 580px;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  align-items: center;
}

.hero__visual::before,
.hero__visual::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero__visual::before {
  width: 450px;
  height: 450px;
  border: 1px solid rgba(17, 17, 19, 0.07);
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 48%, transparent 49%),
    radial-gradient(circle, rgba(240, 29, 53, 0.1), transparent 69%);
}

.hero__visual::after {
  width: 350px;
  height: 350px;
  border: 1px dashed rgba(17, 17, 19, 0.1);
}

.hero__visual .hero__art {
  z-index: 1;
  padding-top: 0;
}

.hero__visual .phone {
  box-shadow:
    0 50px 90px rgba(17, 17, 19, 0.2),
    0 0 0 1px rgba(17, 17, 19, 0.9);
}

@media (max-width: 900px) {
  .hero {
    padding: 70px 0 82px;
  }

  .hero__layout {
    min-height: 0;
  }

  .hero__visual {
    height: 560px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 58px 0 72px;
  }

  .hero__visual {
    height: 470px;
  }

  .hero__visual::before {
    width: 330px;
    height: 330px;
  }

  .hero__visual::after {
    width: 260px;
    height: 260px;
  }

  .hero__audiences {
    margin-top: 32px;
  }

  .hero__audiences > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

}
