:root {
  color-scheme: dark;
  --bg: #090b10;
  --bg-soft: #10141a;
  --panel: #141922;
  --panel-strong: #1a202b;
  --line: #2a313c;
  --text: #f6f8fb;
  --muted: #a5afbf;
  --subtle: #697384;
  --mint: #48d3a1;
  --mint-dark: #0c231b;
  --blue: #7fa8ff;
  --coral: #ff7676;
  --gold: #ffd166;
  --violet: #b79cff;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(72, 211, 161, 0.08), transparent 420px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 88px),
    var(--bg);
  color: var(--text);
}

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

img {
  display: block;
}

code {
  padding: 2px 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: #dce3ee;
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.92em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(9, 11, 16, 0.76);
  backdrop-filter: blur(22px);
}

.brand,
.site-nav,
.hero-actions,
.hero-meta,
.status-row,
.input-row,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 720;
}

.brand-icon {
  width: 28px;
  height: 28px;
}

.site-nav {
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a:hover {
  color: var(--text);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  font-weight: 720;
  white-space: nowrap;
}

.nav-cta {
  padding: 0 18px;
  background: var(--text);
  color: #090b10;
  font-size: 14px;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 72px 0 56px;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--mint);
  font-size: 13px;
  font-weight: 780;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.3;
}

.hero-text {
  max-width: 590px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.78;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.button {
  padding: 0 22px;
}

.button.primary {
  background: var(--mint);
  color: var(--mint-dark);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.hero-meta {
  flex-wrap: wrap;
  gap: 10px;
  color: var(--subtle);
  font-size: 14px;
}

.hero-meta span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.product-stage {
  min-width: 0;
}

.desktop-frame {
  position: relative;
  aspect-ratio: 1.22;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: #0d1017;
  box-shadow: var(--shadow);
}

.desktop-frame::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.wallpaper-bands {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 0.72fr 0.95fr;
  opacity: 0.82;
}

.wallpaper-bands span:nth-child(1) {
  background: linear-gradient(145deg, #141922, #243b57);
}

.wallpaper-bands span:nth-child(2) {
  background: linear-gradient(160deg, #1b2a24, #0c231b 65%, #26201a);
}

.wallpaper-bands span:nth-child(3) {
  background: linear-gradient(145deg, #251b2b, #3d2730 52%, #161a22);
}

.top-edge {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 240px;
  height: 48px;
  transform: translateX(-50%);
}

.island {
  border: 1px solid #2a313c;
  background: #10141a;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
}

.island.collapsed {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 68px;
  height: 26px;
  margin: 0 auto;
  border-radius: 999px;
  color: var(--mint);
  font-size: 12px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 6px rgba(72, 211, 161, 0.15);
}

.island.expanded {
  position: absolute;
  top: 24%;
  left: 50%;
  width: min(520px, calc(100% - 48px));
  padding: 13px 14px 12px;
  border-radius: 20px;
  transform: translateX(-50%);
}

.status-row {
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.status-row strong {
  color: var(--mint);
}

.input-row {
  gap: 10px;
  margin-top: 13px;
}

.input-row span {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #12161c;
  color: #dce3ee;
  font-size: 14px;
}

.input-row button {
  min-width: 72px;
  height: 40px;
  border: 0;
  border-radius: 17px;
  background: var(--mint);
  color: var(--mint-dark);
  font-weight: 760;
}

.record-list {
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid #232a33;
  border-radius: 14px;
  background: #10141a;
}

.record-list div {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #232a33;
  color: #dce3ee;
  font-size: 13px;
}

.record-list div:last-child {
  border-bottom: 0;
}

.record-list time {
  color: var(--mint);
  font-weight: 760;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0;
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.intro-strip div {
  display: grid;
  gap: 8px;
  min-height: 126px;
  padding: 28px;
  background: var(--bg-soft);
}

.intro-strip strong {
  font-size: 22px;
}

.intro-strip span {
  color: var(--muted);
  line-height: 1.65;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

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

.feature-card,
.steps article,
.faq-list details {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: var(--panel);
}

.feature-card {
  min-height: 240px;
  padding: 24px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 30px;
  margin-bottom: 32px;
  border-radius: 999px;
  background: rgba(72, 211, 161, 0.12);
  color: var(--mint);
  font-size: 12px;
  font-weight: 820;
}

.feature-card p,
.steps p,
.download-section p,
.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.72;
}

.accent-blue .feature-icon {
  background: rgba(127, 168, 255, 0.14);
  color: var(--blue);
}

.accent-coral .feature-icon {
  background: rgba(255, 118, 118, 0.14);
  color: var(--coral);
}

.accent-gold .feature-icon {
  background: rgba(255, 209, 102, 0.14);
  color: var(--gold);
}

.accent-mint .feature-icon {
  background: rgba(72, 211, 161, 0.14);
  color: var(--mint);
}

.accent-violet .feature-icon {
  background: rgba(183, 156, 255, 0.14);
  color: var(--violet);
}

.workflow-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.steps article {
  min-height: 220px;
  padding: 24px;
}

.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  font-weight: 820;
}

.download-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: var(--panel-strong);
}

.download-section div {
  max-width: 760px;
}

.download-section h2 {
  margin-bottom: 14px;
}

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

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 720;
}

.faq-list p {
  padding-top: 14px;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 46px;
  color: var(--subtle);
  font-size: 14px;
}

@media (max-width: 920px) {
  .site-nav {
    display: none;
  }

  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 60px;
  }

  .product-stage {
    order: -1;
  }

  .feature-grid,
  .steps,
  .intro-strip {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .site-header {
    width: calc(100% - 24px);
    gap: 12px;
  }

  .brand span {
    max-width: 138px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-cta {
    padding: 0 14px;
  }

  .hero-section,
  .section,
  .site-footer {
    width: calc(100% - 24px);
  }

  h1 {
    font-size: 40px;
  }

  .hero-text {
    font-size: 16px;
  }

  .desktop-frame {
    aspect-ratio: 0.92;
  }

  .island.expanded {
    top: 22%;
    width: calc(100% - 24px);
    padding: 12px;
  }

  .input-row {
    align-items: stretch;
    flex-direction: column;
  }

  .input-row button {
    width: 100%;
  }

  .record-list div {
    grid-template-columns: 48px 1fr;
  }

  .intro-strip div,
  .feature-card,
  .steps article,
  .download-section {
    padding: 22px;
  }

  .button {
    width: 100%;
  }

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