:root {
  color-scheme: dark;
  --background: #0e0e25;
  --surface: #1a1835;
  --surface-raised: #211d3f;
  --surface-soft: #17152f;
  --foreground: #f8ebf9;
  --muted: #b1a2c3;
  --muted-strong: #d1c4da;
  --primary: #ff8fda;
  --primary-hover: #ffa2e1;
  --primary-ink: #24112b;
  --primary-soft: rgba(255, 143, 218, 0.1);
  --violet-accent: #a879ff;
  --border: #42395f;
  --border-soft: rgba(66, 57, 95, 0.68);
  --focus-ring: #ff8fda;
  --success: #7ed8bd;
  --danger: #ff7c9f;
  --shadow-panel: 0 24px 80px rgba(3, 3, 17, 0.48);
  --shadow-glow: 0 0 36px rgba(255, 143, 218, 0.16);
  --radius: 1rem;
  --radius-sm: 0.75rem;
  --radius-lg: 1.5rem;
  --rose: var(--primary);
  --rose-mid: var(--primary-hover);
  --rose-light: var(--primary-soft);
  --violet: var(--violet-accent);
  --violet-mid: #c3a8ff;
  --violet-light: rgba(168, 121, 255, 0.12);
  --amber: var(--primary);
  --amber-light: var(--primary-soft);
  --teal: var(--primary);
  --teal-light: var(--primary-soft);
  --sky: var(--primary);
  --sky-light: var(--primary-soft);
  --navy: var(--foreground);
  --gray-700: var(--foreground);
  --gray-500: var(--muted);
  --gray-200: var(--border);
  --gray-100: var(--surface-raised);
  --bg: var(--background);
  --white: var(--surface);
  --shadow-sm: none;
  --shadow-md: var(--shadow-panel);
  --shadow-lg: var(--shadow-panel);
}

html {
  background: var(--background);
  scroll-padding-top: 76px;
}

body {
  min-width: 320px;
  background:
    radial-gradient(circle at 82% 4%, rgba(168, 121, 255, 0.08), transparent 26rem),
    var(--background);
  color: var(--foreground);
  font-family: "Outfit", "Noto Sans SC", system-ui, sans-serif;
  line-height: 1.58;
}

::selection {
  background: rgba(255, 143, 218, 0.28);
  color: var(--foreground);
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

nav {
  padding: 0 2rem;
  background: rgba(14, 14, 37, 0.86);
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(18px);
}

.nav-inner {
  max-width: 1120px;
  height: 72px;
}

.nav-logo {
  min-height: 44px;
  gap: 0.75rem;
}

.nav-mark,
.footer-mark {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  box-shadow: 0 0 20px rgba(255, 143, 218, 0.08);
}

.nav-mark,
.nav-mark img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.nav-name {
  color: var(--foreground);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.nav-name span {
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.nav-right {
  gap: 0.5rem;
}

.nav-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.75rem;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 600;
  transition: color 100ms ease-out, background-color 100ms ease-out;
}

.btn-primary,
.btn-hero,
.btn-white {
  min-height: 44px;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--primary);
  color: var(--primary-ink);
  box-shadow: 0 0 24px rgba(255, 143, 218, 0.22);
  font-weight: 800;
  transition: background-color 100ms ease-out, transform 100ms ease-out, box-shadow 100ms ease-out;
}

.btn-primary {
  padding: 0.6rem 1.1rem;
}

.btn-hero,
.btn-white {
  padding: 0.85rem 1.5rem;
}

.btn-outline,
.btn-hero-outline,
.btn-white-outline {
  min-height: 44px;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(26, 24, 53, 0.76);
  color: var(--foreground);
  box-shadow: none;
  font-weight: 700;
  backdrop-filter: blur(12px);
  transition: border-color 100ms ease-out, background-color 100ms ease-out, transform 100ms ease-out;
}

.btn-hero-outline,
.btn-white-outline {
  padding: 0.85rem 1.5rem;
}

.hero {
  position: relative;
  min-height: 620px;
  padding: 4rem 2rem 4.5rem;
  background:
    radial-gradient(circle at 72% 42%, rgba(255, 143, 218, 0.13), transparent 19rem),
    radial-gradient(circle at 82% 32%, rgba(168, 121, 255, 0.12), transparent 30rem),
    linear-gradient(180deg, rgba(26, 24, 53, 0.5), rgba(14, 14, 37, 0) 62%);
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  pointer-events: none;
}

.hero-inner,
.section-inner,
.stats-inner,
.footer-inner {
  max-width: 1120px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 3.5rem;
}

.hero-badge {
  margin-bottom: 1.25rem;
  padding: 0.48rem 0.85rem;
  border: 1px solid rgba(255, 143, 218, 0.36);
  background: var(--primary-soft);
  color: var(--primary);
  box-shadow: none;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-badge-dot {
  background: var(--primary);
  box-shadow: 0 0 10px rgba(255, 143, 218, 0.7);
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 1.25rem;
  color: var(--foreground);
  font-size: clamp(3.25rem, 6.2vw, 5.4rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero h1 em {
  background: linear-gradient(100deg, var(--primary) 5%, #ffc0df 50%, var(--violet-accent) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  line-height: 1.78;
}

.hero-sub strong {
  color: var(--foreground);
  font-weight: 700;
}

/* Pairs the intro paragraph, the theme-song card, and the CTA group in one
   row so the card and buttons sit near the top of the hero column instead
   of dangling below. Wraps to its own line when the column runs out of room. */
.hero-sub-row {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.hero-sub-row .hero-sub {
  flex: 1 1 360px;
}

.hero-sub-row .music-float {
  margin-top: 0;
  flex: 0 1 320px;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  flex: 0 1 280px;
}

.hero-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-manifesto {
  max-width: 100%;
  color: var(--muted);
  font-size: clamp(0.82rem, 1.1vw, 0.9rem);
  font-weight: 500;
  line-height: 1.6;
}

.hero-sub-row .music-panel {
  position: static;
  left: auto;
  top: auto;
  width: 100%;
  max-width: none;
}

.hero-trust {
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.hero-trust-icons span {
  width: 30px;
  height: 30px;
  margin-left: -7px;
  border: 2px solid var(--background);
  background: var(--surface-raised);
  color: var(--primary);
  font-size: 0.72rem;
}

.phone-frame {
  width: 320px;
  height: 620px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: var(--background);
  box-shadow: var(--shadow-panel), var(--shadow-glow);
}

.phone-notch {
  display: none;
}

.phone-screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 143, 218, 0.1), transparent 12rem),
    var(--background);
}

.phone-topbar {
  min-height: 58px;
  padding: 0.65rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-soft);
}

.phone-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.phone-brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
}

.phone-brand div {
  display: flex;
  flex-direction: column;
}

.phone-brand strong {
  color: var(--foreground);
  font-size: 0.64rem;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.phone-brand span {
  color: var(--primary);
  font-size: 0.44rem;
  letter-spacing: 0.08em;
}

.phone-beta {
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(255, 143, 218, 0.38);
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.phone-body {
  min-height: 0;
  flex: 1;
  padding: 2rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-sos-mark {
  width: 180px;
  height: 180px;
  border-radius: 40px;
  object-fit: cover;
  filter: drop-shadow(0 0 24px rgba(255, 143, 218, 0.28));
}

.phone-sos-label {
  margin-top: 0.75rem;
  color: var(--primary);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.phone-body > p {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.68rem;
}

.phone-card {
  width: 100%;
  margin-top: 1.75rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(26, 24, 53, 0.82);
}

.phone-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--foreground);
  font-size: 0.7rem;
}

.phone-card-head span {
  padding: 0.3rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--muted);
}

.phone-card p {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.6rem;
  line-height: 1.5;
}

.phone-scenario-list {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.4rem;
}

.phone-scenario-list span {
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--border-soft);
  border-radius: 9px;
  background: var(--surface-soft);
  color: var(--muted-strong);
  font-size: 0.6rem;
  font-weight: 600;
}

.phone-empty {
  margin-top: 0.7rem;
  padding: 0.6rem;
  border-radius: 9px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 0.6rem;
  text-align: center;
}

.phone-tabs {
  min-height: 58px;
  padding: 0.45rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.2rem;
  border-top: 1px solid var(--border-soft);
  background: rgba(26, 24, 53, 0.94);
}

.phone-tabs span {
  min-width: 0;
  padding: 0.65rem 0.2rem;
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 600;
  text-align: center;
}

.phone-tabs .active {
  background: var(--primary-soft);
  color: var(--primary);
}

.stats {
  padding: 1.5rem 2rem;
  border-top: 0;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(26, 24, 53, 0.56);
}

.stats-inner {
  gap: 0;
}

.stats-inner > div {
  padding: 0.5rem 2rem;
  border-right: 1px solid var(--border-soft);
}

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

.stat-num {
  margin-bottom: 0.35rem;
  background: none;
  color: var(--primary);
  font-family: "JetBrains Mono", monospace;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.05em;
  -webkit-text-fill-color: currentColor;
}

.stat-label {
  color: var(--foreground);
  font-size: 0.83rem;
  font-weight: 600;
}

.stat-label-zh {
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.76rem;
}

section {
  padding: 4rem 2rem;
}

.section-tag {
  margin-bottom: 0.8rem;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.section-h2,
.problem .section-h2 {
  max-width: 780px;
  margin-bottom: 1rem;
  color: var(--foreground);
  font-size: clamp(2.15rem, 4.2vw, 3.35rem);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.section-lead,
.problem .section-lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.section-header {
  margin-bottom: 2.25rem;
}

.journey .section-h2,
.collaborate .section-h2 {
  max-width: 1120px;
}

.problem {
  background:
    radial-gradient(circle at 10% 30%, rgba(255, 143, 218, 0.06), transparent 24rem),
    var(--surface-soft);
  border-bottom: 1px solid var(--border-soft);
}

.problem .section-tag {
  color: var(--primary);
}

.problem-grid,
.features-grid,
.team-grid,
.res-grid {
  gap: 1rem;
}

.problem-card,
.feature-card,
.team-card,
.res-card {
  border: 1px solid var(--border);
  background: rgba(26, 24, 53, 0.78);
  box-shadow: none;
}

.problem-card {
  min-height: 215px;
  padding: 1.5rem;
  border-radius: var(--radius);
}

.problem-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 143, 218, 0.24);
  border-radius: 12px;
  background: var(--primary-soft);
  font-size: 1.2rem;
}

.problem-title {
  color: var(--foreground);
  font-size: 1.1rem;
}

.problem-title-zh {
  color: var(--primary);
  font-size: 0.84rem;
}

.problem-body {
  color: var(--muted);
  line-height: 1.6;
}

.features {
  background: var(--background);
}

.feature-card {
  min-height: 235px;
  padding: 1.5rem;
  border-radius: var(--radius);
  transition: border-color 150ms ease-out, transform 150ms ease-out, background-color 150ms ease-out;
}

.feature-card::before,
.fc-rose::before,
.fc-violet::before,
.fc-teal::before,
.fc-sky::before,
.fc-amber::before {
  background: radial-gradient(circle at 0 0, rgba(255, 143, 218, 0.1), transparent 60%);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 143, 218, 0.28);
  border-radius: 13px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 1.25rem;
}

.fi-rose,
.fi-violet,
.fi-teal,
.fi-sky,
.fi-amber {
  background: var(--primary-soft);
}

.feature-en {
  color: var(--foreground);
  font-size: 1.08rem;
  font-weight: 750;
}

.feature-zh {
  margin-top: 0.1rem;
  margin-bottom: 0.65rem;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
}

.feature-body {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.62;
}

.feature-card.span2 {
  gap: 1.5rem;
}

.span2-visual {
  height: 100%;
  min-height: 165px;
  border: 1px solid rgba(255, 143, 218, 0.2);
  border-radius: 14px;
  background:
    radial-gradient(circle, rgba(255, 143, 218, 0.2), transparent 52%),
    var(--surface-soft);
  color: var(--primary);
  flex-direction: column;
  gap: 0.65rem;
  font-size: 1rem;
}

.span2-visual span {
  min-width: 8rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(255, 143, 218, 0.25);
  border-radius: 999px;
  background: rgba(14, 14, 37, 0.7);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-align: center;
}

.how {
  background:
    radial-gradient(circle at 80% 50%, rgba(168, 121, 255, 0.06), transparent 28rem),
    var(--surface-soft);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.how-steps {
  gap: 1rem;
}

.how-steps::before {
  top: 28px;
  height: 1px;
  background: var(--border);
}

.how-step {
  padding: 0 1.25rem;
}

.step-num {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 143, 218, 0.4);
  background: var(--primary-soft);
  color: var(--primary);
  box-shadow: 0 0 20px rgba(255, 143, 218, 0.1);
  font-family: "JetBrains Mono", monospace;
  font-size: 1rem;
}

.step-title-en {
  color: var(--foreground);
  font-size: 1rem;
}

.step-title-zh {
  color: var(--primary);
}

.step-body {
  color: var(--muted);
  line-height: 1.62;
}

.team {
  background: var(--background);
}

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

.team-card {
  min-height: 0;
  padding: 1.5rem;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: border-color 150ms ease-out, transform 150ms ease-out, background-color 150ms ease-out;
}

.team-card:last-child {
  grid-column: 1 / -1;
}

@media (min-width: 901px) {
  .team-card:last-child .team-responsibilities {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.team-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.team-avatar {
  width: 64px;
  height: 64px;
  margin: 0;
  flex: 0 0 64px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-soft);
  box-shadow: 0 0 0 5px var(--primary-soft);
  color: var(--primary);
  font-family: "JetBrains Mono", monospace;
  font-size: 1.2rem;
  font-weight: 600;
}

.team-avatar-image {
  display: block;
  object-fit: cover;
}

.team-identity {
  min-width: 0;
}

.team-name-en {
  margin-bottom: 0.2rem;
  color: var(--foreground);
  font-size: 1.2rem;
  font-weight: 750;
}

.team-role-zh {
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.5;
}

.team-role-en {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.45;
}

.team-role {
  color: var(--primary);
}

.team-responsibilities-label {
  margin-top: 1.25rem;
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-responsibilities {
  margin: 0.6rem 0 1rem;
  display: grid;
  gap: 0.55rem;
  list-style: none;
}

.team-responsibilities li {
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border-soft);
  border-radius: 11px;
  background: var(--surface-soft);
}

.team-responsibilities span {
  display: block;
}

.team-responsibilities span:first-child {
  color: var(--foreground);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.55;
}

.team-responsibilities span:last-child {
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

.team-gh {
  min-height: 40px;
  margin-top: auto;
  align-self: flex-start;
  padding: 0.35rem 0.8rem;
  border-color: var(--border);
  color: var(--muted);
}

.resources {
  background: var(--surface-soft);
  border-top: 1px solid var(--border-soft);
}

.res-tabs {
  gap: 0.5rem;
}

.res-tab {
  min-height: 40px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  cursor: default;
}

.res-tab.active {
  border-color: rgba(255, 143, 218, 0.42);
  background: var(--primary-soft);
  color: var(--primary);
}

.res-card {
  min-height: 155px;
  padding: 1.2rem;
  border-radius: var(--radius-sm);
  transition: border-color 150ms ease-out, transform 150ms ease-out, background-color 150ms ease-out;
}

.res-cat {
  color: var(--primary);
}

.res-name {
  color: var(--foreground);
  font-size: 0.95rem;
}

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

.res-hotline {
  margin-top: 0.75rem;
  background: var(--primary-soft);
  color: var(--primary);
}

.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 4.25rem 2rem;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background:
    radial-gradient(circle at 50% 0, rgba(255, 143, 218, 0.16), transparent 24rem),
    var(--background);
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(168, 121, 255, 0.04), transparent);
}

.cta-banner h2 {
  position: relative;
  color: var(--foreground);
  font-size: clamp(2.25rem, 5vw, 4rem);
  letter-spacing: -0.04em;
}

.cta-banner h2 em {
  color: var(--primary);
  opacity: 1;
}

.cta-banner p {
  position: relative;
  max-width: 680px;
  margin: 1rem auto 2rem;
  color: var(--muted);
}

.cta-banner-btns {
  position: relative;
}

.brand-strip {
  padding: 0;
  border-bottom: 1px solid var(--border-soft);
  background: #09091b;
  overflow: hidden;
}

.brand-strip img {
  display: block;
  width: 100%;
  height: clamp(180px, 25vw, 320px);
  object-fit: cover;
  object-position: center;
}

footer {
  padding: 2.75rem 2rem 1.75rem;
  border-top: 0;
  background: #09091b;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-mark,
.footer-mark img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

.footer-name {
  color: var(--foreground);
  font-weight: 750;
  letter-spacing: 0.06em;
}

.footer-name span,
.footer-tagline {
  color: var(--muted);
}

.footer-social {
  gap: 0.5rem;
}

.social-link {
  width: 44px;
  height: 44px;
  border-color: var(--border);
  background: var(--surface);
  color: var(--muted);
  transition: border-color 100ms ease-out, background-color 100ms ease-out, color 100ms ease-out, transform 100ms ease-out;
}

.footer-copy {
  border-top-color: var(--border-soft);
  color: var(--muted);
}

.footer-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
}

.music-float {
  position: relative;
  width: max-content;
  margin-top: 1.9rem;
  z-index: 5;
  overflow-anchor: none;
}

.music-toggle {
  position: relative;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 143, 218, 0.46);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 20%, rgba(255, 255, 255, 0.34), transparent 1.1rem),
    linear-gradient(135deg, var(--primary) 0%, var(--violet-accent) 100%);
  color: #fff;
  box-shadow: 0 16px 42px rgba(3, 3, 17, 0.44), 0 0 28px rgba(255, 143, 218, 0.28);
  font: inherit;
  font-size: 2.05rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.music-toggle::before {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(100% + 0.75rem);
  top: 50%;
  width: max-content;
  max-width: min(270px, calc(100vw - 7rem));
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(255, 143, 218, 0.34);
  border-radius: 999px;
  background: rgba(14, 14, 37, 0.94);
  color: var(--foreground);
  box-shadow: var(--shadow-panel);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translate(-0.4rem, -50%);
  transition: opacity 120ms ease-out, transform 120ms ease-out;
  white-space: normal;
}

.music-toggle::after {
  content: "";
  position: absolute;
  left: calc(100% + 0.45rem);
  top: 50%;
  width: 0.7rem;
  height: 0.7rem;
  border-bottom: 1px solid rgba(255, 143, 218, 0.34);
  border-left: 1px solid rgba(255, 143, 218, 0.34);
  background: rgba(14, 14, 37, 0.94);
  opacity: 0;
  pointer-events: none;
  transform: translate(-0.4rem, -50%) rotate(45deg);
  transition: opacity 120ms ease-out, transform 120ms ease-out;
}

.music-toggle[aria-expanded="true"]::before,
.music-toggle[aria-expanded="true"]::after {
  display: none;
}

.music-panel {
  position: absolute;
  left: calc(100% + 1rem);
  top: -0.55rem;
  overflow-anchor: none;
  width: min(265px, calc(100vw - 7rem));
  padding: 0.52rem;
  border: 1px solid rgba(255, 143, 218, 0.32);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 143, 218, 0.16), transparent 12rem),
    rgba(14, 14, 37, 0.94);
  box-shadow: var(--shadow-panel);
  backdrop-filter: blur(18px);
}

.music-panel-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: start;
}

.music-panel span {
  display: block;
  color: var(--primary);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.music-panel strong {
  margin-top: 0.22rem;
  display: block;
  color: var(--foreground);
  font-size: 0.68rem;
  line-height: 1.35;
}

.music-panel iframe {
  width: 100%;
  height: 86px;
  margin-top: 0.38rem;
  border: 0;
  border-radius: 0.75rem;
  background: rgba(9, 9, 27, 0.9);
}

.music-panel a {
  min-height: 26px;
  padding: 0 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 143, 218, 0.34);
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.58rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

@media (hover: hover) {
  .nav-link:hover {
    background: var(--surface);
    color: var(--foreground);
  }

  .btn-primary:hover,
  .btn-hero:hover,
  .btn-white:hover {
    background: var(--primary-hover);
    box-shadow: 0 0 30px rgba(255, 143, 218, 0.28);
    transform: translateY(-1px);
  }

  .btn-outline:hover,
  .btn-hero-outline:hover,
  .btn-white-outline:hover {
    border-color: var(--primary);
    background: var(--surface-raised);
    transform: translateY(-1px);
  }

  .feature-card:hover,
  .team-card:hover,
  .res-card:hover {
    border-color: rgba(255, 143, 218, 0.5);
    background: var(--surface-raised);
    box-shadow: none;
    transform: translateY(-3px);
  }

  .team-gh:hover,
  .footer-links a:hover {
    border-color: var(--primary);
    color: var(--primary);
  }

  .social-link:hover {
    border-color: var(--primary);
    background: var(--primary-soft);
    color: var(--primary);
    transform: translateY(-1px);
  }

  .music-toggle:hover {
    transform: translateY(-2px);
  }

  .music-toggle:hover::before,
  .music-toggle:hover::after,
  .music-toggle:focus-visible::before,
  .music-toggle:focus-visible::after {
    opacity: 1;
    transform: translate(0, -50%);
  }

  .music-toggle:hover::after,
  .music-toggle:focus-visible::after {
    transform: translate(0, -50%) rotate(45deg);
  }

  .music-panel a:hover {
    border-color: var(--primary);
    background: rgba(255, 143, 218, 0.16);
  }
}

.btn-primary:active,
.btn-hero:active,
.btn-white:active,
.btn-outline:active,
.btn-hero-outline:active,
.btn-white-outline:active,
.social-link:active,
.music-toggle:active {
  transform: translateY(1px);
}

@media (max-width: 900px) {
  .hero {
    padding-top: 5.5rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-phone {
    display: none;
  }

  .problem-grid,
  .features-grid,
  .how-steps,
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card.span2 {
    grid-column: span 2;
    grid-template-columns: 1.25fr 0.75fr;
  }

  .stats-inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  nav,
  section,
  .stats,
  .cta-banner,
  footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .nav-inner {
    height: 64px;
  }

  .nav-right .nav-link {
    display: none;
  }

  .btn-primary {
    padding: 0.55rem 0.85rem;
    font-size: 0.78rem;
  }

  .hero {
    min-height: auto;
    padding-top: 5rem;
    padding-bottom: 4rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.25rem);
  }

  .hero-sub {
    font-size: 0.98rem;
  }

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

  .btn-hero,
  .btn-hero-outline {
    width: 100%;
  }

  .hero-trust {
    flex-direction: column;
    gap: 0.8rem;
  }

  .hero-phone {
    display: none;
  }

  .phone-frame {
    width: min(100%, 320px);
  }

  .stats-inner,
  .problem-grid,
  .features-grid,
  .how-steps,
  .team-grid,
  .res-grid {
    grid-template-columns: 1fr;
  }

  .stats-inner > div {
    padding: 1rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--border-soft);
  }

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

  section {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  .section-header {
    margin-bottom: 1.75rem;
  }

  .feature-card.span2 {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .span2-visual {
    display: none;
  }

  .how-step {
    padding: 0;
    text-align: left;
  }

  .team-card {
    min-height: 0;
  }

  .step-num {
    margin-left: 0;
  }

  .res-tabs {
    flex-wrap: wrap;
  }

  .footer-copy {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Language and pitch-aligned content additions */
.language-switcher {
  min-height: 44px;
  padding: 1px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.language-option {
  min-width: 42px;
  min-height: 40px;
  padding: 0 0.55rem;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 750;
  cursor: pointer;
  transition: background-color 100ms ease-out, color 100ms ease-out;
}

.language-option.active,
.language-option[aria-pressed="true"] {
  background: var(--primary-soft);
  color: var(--primary);
}

.framework .stats-inner {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.framework .stat-num {
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  letter-spacing: 0.03em;
}

.community {
  position: relative;
  background:
    radial-gradient(circle at 10% 18%, rgba(255, 143, 218, 0.08), transparent 24rem),
    var(--background);
  border-top: 1px solid var(--border-soft);
  overflow: hidden;
}

.community-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 2.5rem;
  align-items: center;
}

.community-copy .section-lead {
  max-width: 640px;
}

.recognition-note {
  margin-top: 1.5rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 143, 218, 0.28);
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
}

.recognition-label {
  display: block;
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.recognition-note p {
  margin-top: 0.3rem;
  color: var(--foreground);
  font-size: 0.92rem;
  font-weight: 650;
}

.community-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.community-metric {
  min-height: 140px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(26, 24, 53, 0.78);
}

.community-metric:first-child {
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 143, 218, 0.13), transparent 11rem),
    rgba(26, 24, 53, 0.78);
}

.community-metric strong {
  color: var(--primary);
  font-family: "JetBrains Mono", monospace;
  font-size: var(--metric-value-size, clamp(2.65rem, 4.15vw, 3.75rem));
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.community-metric span {
  margin-top: 0.55rem;
  color: var(--muted-strong);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.45;
}

.team-role-en {
  color: var(--primary);
  font-size: 0.86rem;
}

.team-responsibilities span,
.team-responsibilities span:first-child,
.team-responsibilities span:last-child {
  margin-top: 0;
  color: var(--foreground);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.55;
}

.share-status {
  min-height: 1.5rem;
  margin: 0.9rem auto 0;
  color: var(--muted-strong);
  font-size: 0.8rem;
}

.share-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.share-modal:not([hidden]) {
  display: flex;
}

.share-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 20, 0.72);
  backdrop-filter: blur(4px);
}

.share-modal-panel {
  position: relative;
  z-index: 1;
  width: min(320px, 100%);
  padding: 2rem 1.75rem 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-panel);
  text-align: center;
}

.share-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface-raised);
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.share-modal-panel h3 {
  margin-bottom: 0.5rem;
  color: var(--foreground);
  font-size: 1.15rem;
  font-weight: 800;
}

.share-modal-panel p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.share-modal-qr {
  display: block;
  width: 200px;
  height: 200px;
  margin: 1.25rem auto;
  padding: 0.6rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.share-modal-copy {
  width: 100%;
}

html[data-language="zh"] body {
  font-family: "Noto Sans SC", "Outfit", system-ui, sans-serif;
}

/* Chinese line-break rules — do not split within a word / phrase.
   keep-all lets the browser only break at punctuation & spaces (never
   mid-word), and .nb wraps a specific phrase to force it onto one line
   as a single atom. Wrapping still happens at natural boundaries. */
html[data-language="zh"] body,
html[data-language="zh"] p,
html[data-language="zh"] h1,
html[data-language="zh"] h2,
html[data-language="zh"] h3,
html[data-language="zh"] h4,
html[data-language="zh"] li,
html[data-language="zh"] span,
html[data-language="zh"] a,
html[data-language="zh"] strong {
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
}

.nb {
  white-space: nowrap;
}

@media (hover: hover) {
  .language-option:hover {
    color: var(--foreground);
  }
}

@media (max-width: 1100px) {
  .nav-right .nav-link {
    display: none;
  }
}

@media (max-width: 900px) {
  .framework .stats-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .framework .stats-inner > div:nth-child(2) {
    border-right: 0;
  }

  .framework .stats-inner > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border-soft);
  }

  .community-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 700px) {
  .nav-name {
    font-size: 0.76rem;
    letter-spacing: 0.04em;
  }

  .nav-cta {
    display: none;
  }

  .language-option {
    min-width: 40px;
    padding-inline: 0.4rem;
  }

  .framework .stats-inner {
    grid-template-columns: 1fr;
  }

  .framework .stats-inner > div,
  .framework .stats-inner > div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--border-soft);
  }

  .framework .stats-inner > div:last-child {
    border-bottom: 0;
  }

  .community-metrics {
    grid-template-columns: 1fr;
  }

  .community-metric,
  .community-metric:first-child {
    grid-row: auto;
    min-height: 130px;
    justify-content: flex-end;
  }

  .community-metric strong {
    font-size: 2.75rem;
  }
}

/* Expanded official-site story, participation, collaboration, and acknowledgements */
.features-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.features-grid > .feature-card {
  grid-column: span 3;
}

.features-grid > .feature-practice {
  grid-column: span 7;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.8fr);
  gap: 1.5rem;
  align-items: center;
}

.features-grid > .feature-safeguard {
  grid-column: span 5;
  background:
    radial-gradient(circle at 78% 20%, rgba(168, 121, 255, 0.14), transparent 15rem),
    rgba(26, 24, 53, 0.78);
}

.journey {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background:
    radial-gradient(circle at 86% 14%, rgba(168, 121, 255, 0.09), transparent 26rem),
    var(--surface-soft);
}

.journey-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 2.5rem;
  align-items: start;
}

.activity-list {
  border-top: 1px solid var(--border);
}

.activity-item {
  padding: 1.2rem 0;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 1rem;
  border-bottom: 1px solid var(--border);
}

.activity-index,
.collaboration-number {
  color: var(--primary);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.activity-index {
  padding-top: 0.2rem;
}

.activity-meta {
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
}

.activity-status {
  padding: 0.22rem 0.5rem;
  border: 1px solid rgba(255, 143, 218, 0.3);
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-family: "Outfit", "Noto Sans SC", system-ui, sans-serif;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.activity-item h3 {
  color: var(--foreground);
  font-size: 1.15rem;
  font-weight: 750;
  line-height: 1.35;
}

.activity-item p {
  max-width: 640px;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.58;
}

.activity-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
}

.text-link {
  min-height: 40px;
  margin-top: 0.35rem;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  text-underline-offset: 0.22em;
  transition: color 100ms ease-out, transform 100ms ease-out;
}

.media-panel {
  padding: 1.2rem;
  border: 1px solid rgba(255, 143, 218, 0.28);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 143, 218, 0.12), transparent 16rem),
    rgba(26, 24, 53, 0.82);
}

.media-kicker,
.contact-kicker {
  display: block;
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.media-panel > h3 {
  margin: 0.45rem 0 1rem;
  color: var(--foreground);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.media-card {
  min-height: 148px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  color: inherit;
  text-decoration: none;
  transition: border-color 150ms ease-out, background-color 150ms ease-out, transform 150ms ease-out;
}

.media-card + .media-card {
  margin-top: 0.8rem;
}

.media-card--placeholder {
  opacity: 0.65;
  cursor: default;
  border-style: dashed;
}

.media-card--placeholder:hover {
  transform: none;
  background: var(--surface-soft);
  border-color: var(--border);
}

.media-card--wechat-mp {
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

.media-card--wechat-mp .media-card-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.media-card--wechat-mp .media-card-qr {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
  object-fit: contain;
}

.media-source {
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.media-card strong {
  margin-top: 0.45rem;
  color: var(--foreground);
  font-size: 1rem;
  line-height: 1.45;
}

.media-action {
  min-height: 40px;
  margin-top: auto;
  padding-top: 0.45rem;
  display: inline-flex;
  align-items: flex-end;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 750;
}

.collaborate {
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 143, 218, 0.08), transparent 26rem),
    var(--background);
}

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

.collaboration-card {
  min-height: 200px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(26, 24, 53, 0.78);
  transition: border-color 150ms ease-out, background-color 150ms ease-out, transform 150ms ease-out;
}

.collaboration-card h3 {
  margin-top: auto;
  color: var(--foreground);
  font-size: 1.15rem;
  line-height: 1.35;
}

.collaboration-card p {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.58;
}

.contact-panel {
  margin-top: 1rem;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(450px, 0.82fr);
  gap: 2rem;
  align-items: center;
  border: 1px solid rgba(255, 143, 218, 0.34);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 50%, rgba(168, 121, 255, 0.16), transparent 18rem),
    var(--primary-soft);
}

.contact-panel h3 {
  margin-top: 0.5rem;
  color: var(--foreground);
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.contact-panel p {
  max-width: 650px;
  margin-top: 0.55rem;
  color: var(--muted-strong);
  font-size: 0.92rem;
  line-height: 1.62;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.contact-actions .btn-hero,
.contact-actions .btn-hero-outline {
  padding-inline: 1rem;
  font-size: 0.86rem;
  white-space: nowrap;
}

.contact-email {
  grid-column: 1 / -1;
  color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  text-align: center;
}

.thanks {
  border-top: 1px solid var(--border-soft);
}

.thanks-heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.thanks-heading .section-tag {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.thanks-heading h3 {
  color: var(--foreground);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.thanks-heading p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.thanks-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.thanks-card {
  min-height: 155px;
  padding: 1rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
}

.thanks-card strong {
  color: var(--primary);
  font-size: 0.9rem;
  line-height: 1.45;
}

.thanks-card p {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.footer-social .social-link {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 600;
  text-decoration: none;
}

@media (hover: hover) {
  .text-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
    transform: translateX(2px);
  }

  .media-card:hover,
  .collaboration-card:hover {
    border-color: rgba(255, 143, 218, 0.5);
    background: var(--surface-raised);
    transform: translateY(-3px);
  }
}

.text-link:active,
.media-card:active,
.collaboration-card:active {
  transform: translateY(1px);
}

@media (max-width: 1000px) {
  .journey-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .media-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .media-panel > .media-kicker,
  .media-panel > h3 {
    grid-column: 1 / -1;
  }

  .media-card + .media-card {
    margin-top: 0;
  }
}

@media (max-width: 900px) {
  .features-grid > .feature-card {
    grid-column: span 6;
  }

  .features-grid > .feature-practice,
  .features-grid > .feature-safeguard {
    grid-column: span 12;
  }

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

  .collaboration-card {
    min-height: 175px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 700px) {
  .features-grid > .feature-card,
  .features-grid > .feature-practice,
  .features-grid > .feature-safeguard {
    grid-column: span 12;
  }

  .features-grid > .feature-practice {
    grid-template-columns: 1fr;
  }

  .activity-item {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 0.5rem;
  }

  .media-panel {
    padding: 1rem;
    grid-template-columns: 1fr;
  }

  .media-panel > .media-kicker,
  .media-panel > h3 {
    grid-column: auto;
  }

  .contact-panel {
    padding: 1.4rem;
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }

  .contact-email {
    grid-column: auto;
    overflow-wrap: anywhere;
  }

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

  .thanks-card {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .text-link,
  .media-card,
  .collaboration-card {
    transition: none;
  }
}
