:root {
  --bg: #071019;
  --bg-soft: #0c1826;
  --panel: rgba(11, 22, 35, 0.82);
  --panel-strong: rgba(16, 32, 51, 0.95);
  --line: rgba(151, 184, 223, 0.16);
  --line-strong: rgba(151, 184, 223, 0.34);
  --text: #eef4fb;
  --text-muted: #b0c0d3;
  --text-soft: #8294ab;
  --accent: #8ed1ff;
  --accent-soft: rgba(142, 209, 255, 0.12);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  --radius-lg: 28px;
  --radius-md: 20px;
  --content-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Noto Sans SC", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(88, 161, 255, 0.18), transparent 34%),
    linear-gradient(180deg, #050b12 0%, #071019 48%, #050911 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(164, 195, 231, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(164, 195, 231, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black 48%, transparent 100%);
  pointer-events: none;
}

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

.page-shell {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto;
  padding: 0 0 40px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  padding: 20px 0;
  backdrop-filter: blur(16px);
}

.nav a,
.eyebrow,
.card-tag,
.summary-label,
.demo-state,
.text-link {
  font-family: inherit;
  font-weight: 500;
}

.nav {
  display: inline-flex;
  gap: 18px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 16, 25, 0.68);
}

.nav a {
  position: relative;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav a.is-active,
.nav a:hover {
  color: var(--text);
}

.nav a.is-active::after,
.nav a:hover::after {
  transform: scaleX(1);
}

main {
  display: grid;
  gap: 28px;
}

.section {
  position: relative;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(10, 19, 30, 0.84), rgba(9, 17, 28, 0.92));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.section::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius-lg) - 1px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 20%),
    radial-gradient(circle at top right, rgba(142, 209, 255, 0.08), transparent 32%);
  pointer-events: none;
}

.section > * {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
  padding-top: 52px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  line-height: 1.55;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

h1 {
  max-width: 11ch;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.04em;
}

h2 {
  max-width: 16ch;
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.3;
  font-weight: 700;
}

.hero-text,
.summary-card p,
.contact-card p {
  color: var(--text-muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 60ch;
  margin-top: 18px;
  font-size: 1rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, rgba(142, 209, 255, 0.22), rgba(109, 148, 255, 0.18));
  border-color: rgba(142, 209, 255, 0.36);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
}

.hero-panel,
.contact-grid {
  display: grid;
  gap: 16px;
}

.life-grid {
  column-count: 2;
  column-gap: 16px;
}

.summary-card,
.demo-feature,
.life-card,
.contact-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
}

.life-card {
  align-self: start;
  display: inline-block;
  width: 100%;
  margin: 0 0 16px;
  break-inside: avoid;
  overflow: hidden;
}

.summary-card-accent {
  background: linear-gradient(180deg, rgba(16, 32, 51, 0.96), rgba(12, 25, 40, 0.92));
  border-color: var(--line-strong);
}

.summary-label,
.card-tag,
.demo-state,
.text-link {
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}

.summary-label,
.card-tag {
  color: var(--accent);
}

.summary-card h2,
.summary-card h3,
.demo-feature h3,
.life-card h3 {
  margin-top: 12px;
  margin-bottom: 10px;
}

.life-media {
  margin: -22px -22px 18px;
  aspect-ratio: 16 / 11;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  overflow: hidden;
}

.life-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.hero-item {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.hero-item-title {
  color: var(--text);
  font-weight: 600;
}

.hero-item-text {
  color: var(--text-muted);
}

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.demo-feature + .demo-feature {
  margin-top: 16px;
}

.demo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.prototype-summary {
  display: grid;
  gap: 0;
  cursor: pointer;
  list-style: none;
}

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

.prototype-title {
  display: block;
  margin-top: 12px;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
}

.prototype-lead {
  display: block;
  max-width: 72ch;
  color: var(--text-muted);
  line-height: 1.75;
}

.prototype-action {
  margin-top: 18px;
}

.prototype-action-collapse,
.prototype-plan[open] .prototype-action-expand {
  display: none;
}

.prototype-plan[open] .prototype-action-collapse {
  display: inline;
}

.prototype-detail {
  display: grid;
  gap: 18px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

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

.prototype-block {
  min-width: 0;
}

.prototype-block p + p {
  margin-top: 8px;
}

.prototype-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.prototype-metrics span {
  padding: 7px 10px;
  border: 1px solid rgba(142, 209, 255, 0.2);
  border-radius: 999px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.86rem;
  line-height: 1.4;
}

.prototype-next {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.demo-state {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(142, 209, 255, 0.22);
  background: var(--accent-soft);
  color: var(--accent);
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--accent);
}

.demo-feature p,
.life-card p {
  color: var(--text-muted);
  line-height: 1.75;
}

.life-card .card-tag {
  color: var(--accent);
}

.life-copy {
  display: grid;
  gap: 12px;
}

.life-card-text-only {
  background:
    linear-gradient(180deg, rgba(16, 32, 51, 0.9), rgba(10, 21, 34, 0.86)),
    var(--panel);
}

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

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 420ms ease,
    transform 420ms ease;
}

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

@media (max-width: 1080px) {
  .hero,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .life-grid {
    column-count: 1;
  }
}

@media (max-width: 860px) {
  .page-shell {
    width: min(calc(100% - 24px), var(--content-width));
  }

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

  .nav {
    width: 100%;
    flex-wrap: wrap;
    border-radius: 20px;
  }

  .section {
    padding: 24px;
  }

  h1 {
    max-width: none;
  }

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

@media (max-width: 560px) {
  .hero {
    padding-top: 24px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

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

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
