:root {
  --bg: #0f1514;
  --bg-deep: #0b100f;
  --surface: rgba(18, 28, 27, 0.88);
  --surface-soft: rgba(255, 255, 255, 0.08);
  --paper: #f5f0e8;
  --paper-2: #fffdf8;
  --ink: #f5f7f6;
  --ink-dark: #111816;
  --muted: #b6c6c1;
  --muted-dark: #53635e;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(17, 24, 22, 0.12);
  --green: #153d38;
  --green-2: #2f5f55;
  --green-soft: #214c46;
  --mint: #cfe8dd;
  --copper: #c98455;
  --radius: 8px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  letter-spacing: 0;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(110deg, rgba(21, 61, 56, 0.96), rgba(15, 21, 20, 0.64) 46%, rgba(15, 21, 20, 0.2)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 38%),
    var(--bg);
  content: "";
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.74), transparent 72%);
  content: "";
}

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

button {
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(13, 20, 19, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 780;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: currentColor;
  color: var(--ink);
}

.brand-mark::before {
  position: absolute;
  inset: 8px;
  border: 2px solid var(--bg);
  border-radius: 999px;
  content: "";
}

.brand-mark::after {
  position: absolute;
  right: 7px;
  bottom: 8px;
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: var(--bg);
  content: "";
  transform: rotate(45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 680;
}

.nav-links a {
  transition: color 0.16s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-action {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid rgba(245, 240, 232, 0.24);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--paper);
  font-size: 13px;
  font-weight: 760;
}

.hero {
  position: relative;
  display: grid;
  min-height: 760px;
  grid-template-columns: minmax(0, 0.95fr) minmax(540px, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  padding: clamp(54px, 8vw, 104px) clamp(20px, 5vw, 72px) 72px;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 740px;
  min-width: 0;
}

.hero-kicker,
.section-kicker {
  margin: 0 0 16px;
  color: var(--mint);
  font-size: 14px;
  font-weight: 760;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 60px;
  line-height: 1.03;
  letter-spacing: 0;
  text-wrap: normal;
}

.hero-text {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.78;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

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

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 760;
}

.button-light {
  background: var(--paper);
  color: var(--ink-dark);
}

.button-ghost {
  border: 1px solid rgba(245, 240, 232, 0.28);
  color: var(--paper);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
}

.hero-tags span,
.scene-index,
.device span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--paper);
  font-size: 12px;
  font-weight: 760;
}

.hero-stage {
  position: relative;
  min-height: 560px;
}

.browser-window {
  position: absolute;
  right: 0;
  bottom: 16px;
  width: min(710px, 100%);
  height: 440px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(18, 28, 27, 0.88);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.34);
}

.browser-top {
  display: flex;
  height: 40px;
  align-items: center;
  gap: 7px;
  padding: 0 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.browser-top span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}

.address {
  width: 180px;
  height: 16px;
  margin-left: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.article-lines {
  padding: 36px 42px;
}

.line {
  height: 10px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.line.short { width: 38%; }
.line.medium { width: 64%; }
.line.long { width: 86%; }
.line.selected {
  width: 58%;
  background: rgba(207, 232, 221, 0.24);
}

.lens-button {
  position: absolute;
  left: 178px;
  top: 112px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-dark);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.26);
}

.lens-button::before {
  position: absolute;
  inset: 11px;
  border: 2px solid currentColor;
  border-radius: 999px;
  content: "";
}

.lens-button::after {
  position: absolute;
  right: 10px;
  bottom: 11px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transform: rotate(45deg);
}

.answer-panel {
  position: absolute;
  right: 48px;
  bottom: 52px;
  width: 330px;
  border-radius: 8px;
  padding: 17px;
  background: rgba(245, 240, 232, 0.94);
  color: var(--ink-dark);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.mode-row {
  display: flex;
  gap: 8px;
  margin-bottom: 17px;
}

.mode-row span,
.mode-tabs button {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 0 11px;
  background: rgba(17, 24, 22, 0.07);
  color: #657069;
  font-size: 12px;
  font-weight: 760;
}

.mode-row .active,
.mode-tabs button.is-active {
  background: var(--green);
  color: #fff;
}

.answer-panel h2,
.mini-answer h3,
.mode-output h3 {
  margin: 0 0 9px;
  font-size: 14px;
  line-height: 1.25;
}

.answer-panel p,
.mini-answer p,
.mode-output p {
  margin: 0 0 12px;
  color: #39423e;
  font-size: 13px;
  line-height: 1.65;
}

.ask-bar {
  display: flex;
  height: 32px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(17, 24, 22, 0.1);
  border-radius: 8px;
  padding-left: 13px;
  background: #fff;
  color: #8b928e;
  font-size: 12px;
  font-weight: 650;
}

.ask-bar strong {
  display: grid;
  width: 26px;
  height: 26px;
  margin-right: 3px;
  place-items: center;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
}

.coming-pill {
  position: absolute;
  top: 42px;
  right: 18px;
  z-index: 8;
  display: flex;
  max-width: 420px;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 10px 15px 10px 10px;
  background: rgba(245, 240, 232, 0.12);
  color: var(--paper);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.plus {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-dark);
  font-weight: 800;
}

.coming-pill strong,
.coming-pill span {
  display: block;
}

.coming-pill strong {
  font-size: 13px;
}

.coming-pill div span {
  margin-top: 3px;
  color: #b8c4bf;
  font-size: 11.5px;
  font-weight: 650;
}

.use-moment,
.scenes,
.modes-section,
.roadmap,
.setup {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 72px);
}

.use-moment {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
  background: var(--paper);
  color: var(--ink-dark);
}

.section-copy h2,
.roadmap-copy h2,
.setup h2 {
  max-width: 760px;
  margin: 0;
  font-size: 62px;
  line-height: 1.05;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-copy p:not(.section-kicker),
.roadmap-copy p {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted-dark);
  font-size: 17px;
  line-height: 1.8;
}

.section-kicker {
  color: var(--green-2);
}

.moment-demo {
  position: relative;
  min-height: 360px;
}

.quote-block {
  position: absolute;
  inset: 52px 0 auto;
  height: 210px;
  border: 1px solid rgba(17, 24, 22, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.56)),
    var(--paper-2);
}

.quote-line {
  height: 11px;
  margin: 30px 34px 0;
  border-radius: 999px;
  background: rgba(17, 24, 22, 0.1);
}

.quote-line.wide { width: 78%; }
.quote-line.slim { width: 52%; }
.quote-line.highlight {
  width: 58%;
  background: rgba(47, 95, 85, 0.2);
}

.mini-answer {
  position: absolute;
  right: 42px;
  bottom: 8px;
  width: 292px;
  border-radius: 8px;
  padding: 17px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 10px 22px rgba(17, 24, 22, 0.12);
}

.mini-answer::after {
  position: absolute;
  top: 0;
  right: 0;
  border-top: 44px solid #e7ded1;
  border-left: 44px solid transparent;
  content: "";
}

.mini-mode {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  margin-bottom: 16px;
  padding: 0 11px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 760;
}

.scenes {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(460px, 1.22fr);
  gap: clamp(32px, 6vw, 90px);
  background: #101918;
}

.scenes .section-copy p:not(.section-kicker) {
  color: var(--muted);
}

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

.scene-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255, 255, 255, 0.045);
}

.scene-row h3 {
  margin: 0;
  font-size: 21px;
}

.scene-row p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.modes-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
  background: #eaf2f0;
  color: var(--ink-dark);
}

.mode-showcase {
  border: 1px solid rgba(17, 24, 22, 0.1);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.66);
}

.mode-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.mode-output {
  min-height: 142px;
  margin-top: 24px;
  border-radius: 8px;
  padding: 20px;
  background: var(--paper-2);
}

.mode-output h3 {
  font-size: 18px;
}

.mode-output p {
  max-width: 560px;
  font-size: 15px;
}

.roadmap {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
  background: var(--bg-deep);
}

.roadmap-copy p {
  color: var(--muted);
}

.device-roadmap {
  display: grid;
  gap: 14px;
}

.device {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.045);
}

.device.is-now {
  background: rgba(245, 240, 232, 0.1);
}

.device strong {
  display: block;
  margin-top: 16px;
  font-size: 24px;
}

.device p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.setup {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(420px, 1.16fr);
  gap: clamp(36px, 6vw, 90px);
  background: var(--paper);
  color: var(--ink-dark);
}

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

.setup li {
  display: grid;
  grid-template-columns: minmax(180px, 0.4fr) 1fr;
  gap: 20px;
  border-top: 1px solid rgba(17, 24, 22, 0.12);
  padding: 20px 0;
}

.setup strong {
  font-size: 18px;
}

.setup span {
  color: var(--muted-dark);
  font-size: 15px;
  line-height: 1.65;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: var(--bg-deep);
  color: var(--muted);
}

.site-footer .brand {
  color: var(--ink);
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

@media (max-width: 1080px) {
  .hero,
  .use-moment,
  .scenes,
  .modes-section,
  .roadmap,
  .setup {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 520px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .section-copy h2,
  .roadmap-copy h2,
  .setup h2 {
    font-size: 54px;
  }

  .browser-window {
    left: 0;
    right: 0;
    width: 100%;
  }

  .coming-pill {
    left: 0;
    right: auto;
  }
}

@media (max-width: 740px) {
  .site-header {
    position: static;
  }

  .nav-links,
  .nav-action {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1.06;
  }

  .hero-text {
    font-size: 16px;
    max-width: 360px;
    word-break: normal;
  }

  .hero-stage {
    min-height: 476px;
    margin-right: -20px;
    margin-left: -20px;
    padding: 0 20px;
  }

  .browser-window {
    left: 20px;
    right: auto;
    width: calc(100vw - 40px);
    height: 420px;
  }

  .answer-panel {
    right: auto;
    left: 84px;
    bottom: 28px;
    width: min(270px, calc(100% - 104px));
  }

  .lens-button {
    left: 42px;
  }

  .coming-pill {
    top: 0;
    left: 20px;
    max-width: calc(100% - 40px);
  }

  .coming-pill div span {
    white-space: normal;
  }

  .scene-row,
  .setup li {
    grid-template-columns: 1fr;
  }

  .section-copy h2,
  .roadmap-copy h2,
  .setup h2 {
    font-size: 42px;
    line-height: 1.08;
  }

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

@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;
  }
}
