:root {
  --ink: #172033;
  --muted: #657083;
  --paper: #f8f6ef;
  --panel: #ffffff;
  --blue: #2364aa;
  --green: #2f9b6d;
  --yellow: #f2bd3d;
  --coral: #e76f51;
  --line: rgba(23, 32, 51, 0.14);
}

@theme inline {
  --color-background: var(--paper);
  --color-foreground: var(--ink);
  --font-sans: var(--font-geist-sans);
  --font-mono: var(--font-geist-mono);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(35, 100, 170, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(47, 155, 109, 0.05) 1px, transparent 1px),
    var(--paper);
  background-size: 56px 56px;
  color: var(--ink);
  font-family: Arial, "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

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

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.hero-section {
  min-height: 92vh;
  padding: 24px clamp(20px, 5vw, 72px) 80px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.topbar {
  width: min(1180px, 100%);
  margin: 0 auto 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--yellow);
  box-shadow: 6px 6px 0 var(--yellow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 8px;
}

.nav-links a:hover {
  background: rgba(35, 100, 170, 0.1);
  color: var(--ink);
}

.hero-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  max-width: 820px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.9;
}

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

.primary-button,
.secondary-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 8px;
  font-weight: 900;
}

.primary-button {
  background: var(--blue);
  color: white;
  box-shadow: 5px 5px 0 var(--ink);
}

.secondary-button {
  border: 2px solid var(--ink);
  background: var(--paper);
}

.hero-visual {
  min-height: 460px;
  position: relative;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: min(86vw, 440px);
  aspect-ratio: 1;
  border: 2px solid rgba(35, 100, 170, 0.2);
  border-radius: 50%;
}

.hero-visual::after {
  content: "";
  position: absolute;
  width: min(70vw, 350px);
  aspect-ratio: 1;
  border: 2px dashed rgba(47, 155, 109, 0.34);
  border-radius: 50%;
}

.radar-card {
  position: relative;
  z-index: 2;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 12px 12px 0 rgba(23, 32, 51, 0.12);
}

.main-card {
  width: min(340px, 78vw);
  padding: 26px;
}

.card-kicker {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(242, 189, 61, 0.28);
  color: #946200;
  font-size: 13px;
  font-weight: 900;
}

.main-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 30px;
  line-height: 1.18;
}

.main-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.orbit-card {
  position: absolute;
  z-index: 3;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--yellow);
  font-weight: 950;
}

.orbit-one {
  top: 38px;
  right: 54px;
  background: var(--green);
  color: white;
}

.orbit-two {
  bottom: 42px;
  right: 10px;
  background: var(--coral);
  color: white;
}

.orbit-three {
  left: 14px;
  bottom: 110px;
}

.scan-lines {
  position: absolute;
  inset: 38px;
  border-radius: 50%;
  background: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 14px,
    rgba(35, 100, 170, 0.1) 15px,
    transparent 16px
  );
  mask-image: radial-gradient(circle, black 0 62%, transparent 63%);
}

.stats-band,
.feature-section,
.taxonomy-section,
.stories-section,
.voice-section,
.partner-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: white;
  overflow: hidden;
}

.stats-band div {
  padding: 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.stats-band div:last-child {
  border-right: 0;
}

.stats-band strong {
  display: block;
  color: var(--yellow);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.stats-band span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.feature-section,
.taxonomy-section,
.stories-section,
.voice-section {
  padding: 96px 0 0;
}

.section-heading {
  max-width: 730px;
  margin-bottom: 36px;
}

.section-heading.compact {
  margin-bottom: 26px;
}

h2 {
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.16;
  letter-spacing: 0;
}

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

.feature-card {
  min-height: 270px;
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--panel);
  display: flex;
  flex-direction: column;
}

.feature-card:nth-child(2) {
  background: #eef7f2;
}

.feature-card:nth-child(3) {
  background: #fff4d6;
}

.feature-card:nth-child(4) {
  background: #fff0eb;
}

.feature-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.feature-card h3 {
  margin: auto 0 12px;
  font-size: 28px;
  line-height: 1.14;
}

.feature-card p,
.taxonomy-copy p,
.voice-section p {
  color: var(--muted);
  line-height: 1.86;
}

.taxonomy-section {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  align-items: center;
  gap: 52px;
}

.channel-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.channel-cloud span {
  padding: 16px 20px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 950;
  box-shadow: 4px 4px 0 rgba(23, 32, 51, 0.1);
}

.channel-cloud span:nth-child(2n) {
  background: #e7f0ff;
}

.channel-cloud span:nth-child(3n) {
  background: #e9f7ee;
}

.story-list {
  border-top: 2px solid var(--ink);
}

.story-row {
  display: grid;
  grid-template-columns: 86px 1fr;
  align-items: center;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 2px solid var(--ink);
}

.story-row span {
  color: var(--coral);
  font-size: 28px;
  font-weight: 950;
}

.story-row h3 {
  margin: 0;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.26;
}

.voice-section {
  display: grid;
  grid-template-columns: 0.52fr 1fr;
  gap: 44px;
  align-items: stretch;
}

.quote-mark {
  min-height: 260px;
  display: grid;
  place-items: center;
  padding: 24px;
  border-radius: 8px;
  background: var(--blue);
  color: white;
  font-size: clamp(28px, 5vw, 58px);
  font-weight: 950;
  text-align: center;
}

.partner-section {
  margin-top: 96px;
  margin-bottom: 48px;
  padding: clamp(28px, 5vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
}

.partner-section h2 {
  max-width: 780px;
  margin-bottom: 0;
}

.partner-section .eyebrow {
  color: var(--yellow);
}

.primary-button.light {
  flex: 0 0 auto;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 5px 5px 0 rgba(255, 255, 255, 0.22);
}

@media (max-width: 920px) {
  .hero-grid,
  .taxonomy-section,
  .voice-section {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-visual {
    min-height: 420px;
  }

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

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

@media (max-width: 640px) {
  .hero-section {
    padding: 18px 20px 54px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 42px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 2px;
    font-size: 13px;
  }

  .nav-links a {
    padding: 8px 6px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .stats-band,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .stats-band div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .stats-band div:last-child {
    border-bottom: 0;
  }

  .story-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .orbit-one {
    right: 16px;
  }

  .orbit-three {
    left: 0;
  }
}
