:root {
  color-scheme: dark;
  --bg: #030304;
  --bg-soft: #08090a;
  --panel: #111214;
  --panel-2: #191a1d;
  --panel-glass: rgba(18, 19, 21, 0.74);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(209, 255, 0, 0.34);
  --text: #f6f7f3;
  --muted: rgba(246, 247, 243, 0.64);
  --soft: rgba(246, 247, 243, 0.38);
  --accent: #d1ff00;
  --accent-soft: rgba(209, 255, 0, 0.12);
  --danger: #ff4c4c;
  --max: 1440px;
  --header: 80px;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 30px 110px rgba(0, 0, 0, 0.46);
  --font-cn: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-display: "Sora", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 5%, rgba(209, 255, 0, 0.08), transparent 28%),
    radial-gradient(circle at 12% 26%, rgba(64, 158, 255, 0.08), transparent 24%),
    linear-gradient(180deg, #060708, #030304 54%, #050606);
  color: var(--text);
  font-family: var(--font-cn);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
}

body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, black, transparent 86%);
}

body::after {
  z-index: -1;
  opacity: 0.48;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.025),
    rgba(255, 255, 255, 0.025) 1px,
    transparent 1px,
    transparent 5px
  );
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

button {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: flex;
  width: 100%;
  height: var(--header);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 3, 4, 0.82);
  padding: 0 clamp(20px, 4vw, 72px);
  backdrop-filter: blur(24px);
}

.brand {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  min-width: 0;
  align-items: stretch;
  gap: clamp(14px, 2.3vw, 42px);
  height: 100%;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--accent);
}

.site-nav a.active::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(209, 255, 0, 0.6);
  content: "";
}

.header-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--accent);
}

.header-mark span {
  display: block;
  width: 20px;
  height: 20px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: skew(-14deg) rotate(45deg);
}

.page {
  overflow: hidden;
  padding-top: var(--header);
}

.section {
  position: relative;
  padding: clamp(86px, 10vw, 156px) clamp(20px, 4vw, 72px);
}

.section + .section {
  border-top: 1px solid var(--line);
}

.container {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - var(--header));
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.88fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}

.hero-full {
  min-height: calc(100vh - var(--header));
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-full .hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 0;
  border: 0;
  border-radius: 0;
  opacity: 1;
  box-shadow: none;
}

.hero-full .hero-visual::after {
  position: absolute;
  inset: 0;
  z-index: 4;
  background:
    radial-gradient(circle at 68% 44%, transparent 0 24%, rgba(3, 3, 4, 0.18) 46%, rgba(3, 3, 4, 0.64) 100%),
    linear-gradient(90deg, rgba(3, 3, 4, 0.96), rgba(3, 3, 4, 0.74) 34%, rgba(3, 3, 4, 0.28) 64%, rgba(3, 3, 4, 0.58)),
    linear-gradient(0deg, rgba(3, 3, 4, 0.92), transparent 32%, rgba(3, 3, 4, 0.28));
  content: "";
}

.hero-full .hero-visual::before,
.hero-full .hero-visual.has-managed-media::before {
  display: none;
}

.hero-full .hero-visual.has-managed-media::after {
  display: block;
}

.hero-full .hero-visual .managed-media {
  object-position: 66% center;
}

.hero-full .container {
  position: relative;
  z-index: 5;
  width: min(760px, 100%);
  margin-left: 0;
}

.hero-full .display,
.hero-full .lead {
  text-shadow: 0 18px 52px rgba(0, 0, 0, 0.72);
}

.hero-full .lead {
  color: rgba(246, 247, 243, 0.78);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kicker::before {
  width: 34px;
  height: 1px;
  background: var(--accent);
  content: "";
}

.eyebrow {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.display {
  max-width: 980px;
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 800;
  line-height: 1.08;
  text-wrap: balance;
}

.display.smaller {
  font-size: clamp(44px, 5.8vw, 72px);
}

.lead {
  max-width: 760px;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.section-title {
  max-width: 920px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.18;
  text-wrap: balance;
}

.section-subtitle {
  max-width: 760px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(40px, 5vw, 72px);
}

.accent {
  color: var(--accent);
}

.muted {
  color: var(--muted);
}

.soft {
  color: var(--soft);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.7vw, 24px);
}

.panel,
.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.22);
}

.card {
  padding: clamp(24px, 3vw, 42px);
}

.panel::before,
.card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 18% 0%, rgba(209, 255, 0, 0.08), transparent 30%);
  content: "";
}

.card-title {
  position: relative;
  z-index: 1;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.22;
}

.card-copy {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.media-slot {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 72% 30%, rgba(209, 255, 0, 0.18), transparent 16%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), transparent 42%),
    #101113;
  box-shadow: var(--shadow);
}

.media-slot::before {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(209, 255, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(209, 255, 0, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
}

.media-slot::after {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  display: none;
  padding: 6px 8px;
  border: 1px solid rgba(209, 255, 0, 0.22);
  background: rgba(3, 3, 4, 0.56);
  color: rgba(209, 255, 0, 0.76);
  content: attr(data-asset);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.media-slot.compact {
  min-height: 220px;
}

.media-slot.tall {
  min-height: 620px;
}

.media-slot.square {
  min-height: auto;
  aspect-ratio: 1;
}

.locator-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 8;
  max-width: calc(100% - 32px);
  border: 2px solid rgba(209, 255, 0, 0.9);
  border-radius: 6px;
  background: rgba(3, 3, 4, 0.86);
  color: var(--accent);
  padding: 8px 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.42);
}

.locator-badge strong,
.locator-badge span {
  display: block;
}

.locator-badge strong {
  font-size: 19px;
}

.locator-badge span {
  margin-top: 5px;
  color: rgba(246, 247, 243, 0.78);
  font-family: var(--font-cn);
  font-size: 12px;
  font-weight: 600;
}

.show-media-locators .media-slot::after {
  display: none;
}

.media-slot.is-located-media {
  outline: 4px solid var(--accent);
  outline-offset: 6px;
  box-shadow: 0 0 0 12px rgba(209, 255, 0, 0.15), var(--shadow);
}

.media-slot.has-managed-media {
  background: #050505;
}

.media-slot.has-managed-media::before,
.media-slot.has-managed-media::after {
  display: none;
}

.media-slot.has-managed-media > .visual-rider,
.media-slot.has-managed-media > .visual-saddle,
.media-slot.has-managed-media > .visual-fabric,
.media-slot.has-managed-media > .visual-grid,
.media-slot.has-managed-media > .visual-phone,
.media-slot.has-managed-media > .visual-route,
.media-slot.has-managed-media > .visual-product {
  opacity: 0;
}

.managed-media {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

video.managed-media {
  background: #050505;
}

.visual-rider,
.visual-saddle,
.visual-fabric,
.visual-grid,
.visual-phone,
.visual-route,
.visual-product {
  position: absolute;
  inset: 0;
}

.visual-rider {
  background:
    radial-gradient(ellipse at 58% 42%, rgba(209, 255, 0, 0.14), transparent 22%),
    linear-gradient(115deg, transparent 8%, rgba(255, 255, 255, 0.08) 9%, transparent 10% 55%, rgba(209, 255, 0, 0.12) 56%, transparent 57%),
    radial-gradient(ellipse at 62% 62%, rgba(255, 255, 255, 0.16), transparent 8%),
    radial-gradient(ellipse at 38% 68%, rgba(255, 255, 255, 0.12), transparent 8%);
}

.visual-rider::before {
  position: absolute;
  right: 12%;
  bottom: 16%;
  width: 62%;
  height: 40%;
  border-bottom: 2px solid rgba(209, 255, 0, 0.24);
  border-radius: 50%;
  filter: blur(0.3px);
  transform: skewX(-18deg);
  content: "";
}

.visual-saddle {
  background:
    radial-gradient(ellipse at 48% 44%, rgba(209, 255, 0, 0.22), transparent 13%),
    radial-gradient(ellipse at 52% 52%, rgba(255, 255, 255, 0.12), transparent 18%),
    linear-gradient(150deg, transparent 14%, rgba(209, 255, 0, 0.18) 15%, transparent 17% 62%, rgba(209, 255, 0, 0.1) 63%, transparent 65%);
}

.visual-saddle::before {
  position: absolute;
  top: 22%;
  left: 14%;
  width: 76%;
  height: 34%;
  border-radius: 50% 50% 44% 44% / 54% 54% 40% 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.035));
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.46));
  content: "";
}

.visual-saddle::after {
  position: absolute;
  top: 32%;
  left: 26%;
  width: 46%;
  height: 9%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(209, 255, 0, 0.7), transparent);
  filter: blur(3px);
  content: "";
}

.visual-fabric {
  background:
    radial-gradient(circle at 50% 50%, rgba(209, 255, 0, 0.12), transparent 16%),
    repeating-linear-gradient(60deg, rgba(209, 255, 0, 0.14) 0 2px, transparent 2px 28px),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 28px);
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 56px 20px 20px;
}

.visual-grid span {
  display: block;
  min-height: 70px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.visual-grid span:nth-child(5) {
  background: var(--accent);
}

.visual-phone {
  width: min(44%, 260px);
  height: 78%;
  margin: 52px auto 0;
  border: 8px solid rgba(255, 255, 255, 0.12);
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(3, 3, 4, 0.22), rgba(3, 3, 4, 0.84)),
    linear-gradient(145deg, rgba(209, 255, 0, 0.2), transparent 46%),
    #15171a;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.visual-route {
  background:
    radial-gradient(circle at 22% 70%, rgba(209, 255, 0, 0.26), transparent 7%),
    radial-gradient(circle at 72% 38%, rgba(209, 255, 0, 0.18), transparent 8%),
    linear-gradient(135deg, transparent 22%, rgba(209, 255, 0, 0.16) 23%, transparent 24% 49%, rgba(255, 255, 255, 0.1) 50%, transparent 51%);
}

.visual-product {
  background:
    linear-gradient(125deg, transparent 6%, rgba(209, 255, 0, 0.2) 7%, transparent 9% 70%, rgba(255, 255, 255, 0.1) 72%, transparent 73%),
    radial-gradient(ellipse at 50% 45%, rgba(255, 255, 255, 0.16), transparent 28%);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.chip.accent {
  border-color: var(--line-strong);
  color: var(--accent);
}

.stat-list {
  display: grid;
  gap: 12px;
}

.stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.stat-row span:first-child {
  color: var(--muted);
}

.stat-row strong {
  min-width: 0;
  color: var(--text);
  font-weight: 750;
  overflow-wrap: anywhere;
  text-align: right;
}

.fabe-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.fabe-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  padding: 22px;
}

.fabe-card .eyebrow {
  margin-bottom: 10px;
}

.fabe-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.timeline {
  position: relative;
  display: grid;
  gap: 24px;
}

.timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-strong), transparent);
  content: "";
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.timeline-item:nth-child(even) .timeline-copy {
  order: 2;
}

.timeline-copy {
  position: relative;
  padding: 28px;
}

.timeline-time {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 600;
  line-height: 1;
}

.timeline-copy h3 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.2;
}

.timeline-copy p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 17px;
}

.timeline-media {
  min-height: 260px;
}

.xhs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.xhs-card {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background:
    radial-gradient(circle at 70% 24%, rgba(209, 255, 0, 0.12), transparent 24%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02));
  padding: 18px;
}

.xhs-card strong {
  display: block;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.xhs-card span {
  display: block;
  margin-top: 54px;
  color: var(--text);
  font-weight: 750;
  line-height: 1.35;
}

.format-preview {
  display: grid;
  grid-template-columns: minmax(220px, 0.76fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.format-preview .media-slot {
  min-height: 540px;
}

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

.format-grid .media-slot {
  min-height: auto;
  aspect-ratio: 1;
}

.xhs-card {
  position: relative;
  overflow: hidden;
}

.xhs-card::after {
  position: absolute;
  top: 10px;
  right: 10px;
  max-width: calc(100% - 20px);
  overflow: hidden;
  color: rgba(209, 255, 0, 0.48);
  content: attr(data-asset);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.comparison-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.comparison-row {
  display: grid;
  grid-template-columns: minmax(140px, 0.72fr) minmax(0, 1fr) minmax(0, 1fr);
  min-width: 0;
}

.comparison-row + .comparison-row {
  border-top: 1px solid var(--line);
}

.comparison-cell {
  min-width: 0;
  border-left: 1px solid var(--line);
  padding: clamp(16px, 2vw, 24px);
  color: var(--muted);
  font-size: 16px;
}

.comparison-cell:first-child {
  border-left: 0;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.comparison-row.header .comparison-cell {
  background: rgba(209, 255, 0, 0.09);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.check-list {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
}

.check-list li {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  padding: 14px 16px 14px 48px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.check-list li::before {
  position: absolute;
  top: 14px;
  left: 16px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--accent);
  content: "";
}

.title-rail,
.flow-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
}

.title-card,
.flow-step {
  flex: 0 0 min(360px, 84vw);
  scroll-snap-align: start;
}

.title-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  padding: 22px;
}

.title-card strong {
  display: block;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.title-card span {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
}

.tag-group {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  padding: 24px;
}

.tag-group h3 {
  margin-bottom: 16px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-cloud span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.1;
}

.flow-step {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  padding: 22px;
}

.flow-step strong {
  display: block;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.flow-step span {
  color: var(--text);
  font-weight: 750;
}

.qa-stack {
  display: grid;
  gap: 16px;
}

.qa-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  padding: clamp(22px, 2.4vw, 32px);
}

.qa-item strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.25;
}

.qa-item p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
}

.warning {
  border-color: rgba(255, 76, 76, 0.35);
  background: linear-gradient(145deg, rgba(255, 76, 76, 0.1), rgba(255, 255, 255, 0.03));
}

.do {
  border-color: var(--line-strong);
  background: linear-gradient(145deg, rgba(209, 255, 0, 0.1), rgba(255, 255, 255, 0.03));
}

.quote-band {
  display: grid;
  min-height: 440px;
  place-items: center;
  text-align: center;
}

.quote-band p {
  max-width: 860px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 22px);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #050506;
  padding: 44px clamp(20px, 4vw, 72px);
}

.footer-inner {
  display: flex;
  width: min(var(--max), 100%);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--soft);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.footer-brand {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.reveal {
  transition: opacity 800ms ease, transform 800ms ease;
}

.js-reveal .reveal {
  opacity: 0;
  transform: translateY(26px);
}

.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.float-slow {
  animation: floatSlow 8s ease-in-out infinite;
}

.pulse-glow {
  animation: pulseGlow 2.6s ease-in-out infinite;
}

@keyframes floatSlow {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -14px, 0);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(209, 255, 0, 0);
  }
  50% {
    box-shadow: 0 0 44px rgba(209, 255, 0, 0.24);
  }
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 18px;
  }

  .site-nav {
    overflow-x: auto;
    gap: 18px;
  }

  .header-mark {
    display: none;
  }

  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .timeline-item,
  .format-preview {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 0;
  }

  .timeline-item:nth-child(even) .timeline-copy {
    order: initial;
  }

  .fabe-grid {
    grid-template-columns: 1fr 1fr;
  }

  .format-preview .media-slot {
    min-height: 420px;
  }

  .section-head {
    display: block;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .site-header {
    display: grid;
    height: auto;
    min-height: var(--header);
    gap: 8px;
    padding-top: 12px;
    padding-bottom: 10px;
  }

  .site-nav {
    width: 100%;
    padding-bottom: 4px;
  }

  .page {
    padding-top: 118px;
  }

  .hero {
    min-height: calc(100vh - 118px);
  }

  .display {
    font-size: clamp(40px, 12vw, 48px);
  }

  .lead,
  .section-subtitle {
    max-width: 100%;
    font-size: 17px;
  }

  .chip {
    font-size: 13px;
  }

  .fabe-grid,
  .xhs-grid,
  .format-grid {
    grid-template-columns: 1fr;
  }

  .comparison-row {
    grid-template-columns: 1fr;
  }

  .comparison-cell,
  .comparison-cell:first-child {
    border-left: 0;
  }

  .comparison-cell + .comparison-cell {
    border-top: 1px solid var(--line);
  }

  .media-slot.tall {
    min-height: 420px;
  }

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