:root {
  color-scheme: dark;
  --bg: #111827;
  --bg-deep: #0b1020;
  --surface: #171f33;
  --surface-raised: #1e2942;
  --text: #d8e2ff;
  --text-strong: #f4f7ff;
  --muted: #8e9abc;
  --accent: #7aa2f7;
  --accent-strong: #2e7de9;
  --green: #9ece6a;
  --red: #f7768e;
  --amber: #e0af68;
  --border: rgba(144, 163, 204, 0.22);
  --grid: rgba(122, 162, 247, 0.055);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.4);
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px),
    var(--bg);
  background-size: 56px 56px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 72% 8%, rgba(46, 125, 233, 0.2), transparent 32%),
    radial-gradient(circle at 10% 46%, rgba(122, 162, 247, 0.08), transparent 28%),
    linear-gradient(180deg, transparent 70%, rgba(11, 16, 32, 0.75));
  content: "";
  pointer-events: none;
}

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

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--bg-deep);
  background: var(--text-strong);
  border-radius: 6px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
footer {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-strong);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  border-radius: 7px;
}

.site-header nav,
footer nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.site-header nav a:hover,
footer nav a:hover,
.text-link:hover {
  color: var(--text-strong);
}

.nav-cta {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 5px;
}

.section {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
  padding: 102px 0;
}

.hero {
  display: grid;
  min-height: 660px;
  grid-template-columns: minmax(0, 0.94fr) minmax(380px, 1.06fr);
  align-items: center;
  gap: 52px;
  padding-top: 56px;
}

.eyebrow,
.card-label {
  margin: 0 0 24px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(158, 206, 106, 0.7);
}

.status-dot-amber {
  background: var(--amber);
  box-shadow: 0 0 18px rgba(224, 175, 104, 0.55);
}

h1,
h2,
h3,
.launch-date {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.06;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.2rem, 6.2vw, 5.8rem);
}

h1 span {
  color: var(--accent);
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.1rem);
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.035em;
}

.hero-lede,
.section-heading > p:last-child,
.pro-copy > p:last-child {
  max-width: 680px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.button {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 13px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: #f7f9ff;
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.button-primary:hover {
  background: #3d8cf5;
}

.button-secondary {
  color: var(--accent);
  background: rgba(23, 31, 51, 0.72);
}

.button-secondary:hover {
  border-color: rgba(122, 162, 247, 0.6);
}

.signal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  list-style: none;
}

.signal-list li::before {
  margin-right: 8px;
  color: var(--green);
  content: "✓";
}

.hero-visual {
  position: relative;
  min-height: 590px;
}

.grid-glow {
  position: absolute;
  inset: 50px -10px 40px 30px;
  background:
    linear-gradient(rgba(122, 162, 247, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 162, 247, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  border: 1px solid rgba(122, 162, 247, 0.1);
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

.phone {
  position: absolute;
  overflow: hidden;
  width: 252px;
  margin: 0;
  padding: 10px;
  background: #070b14;
  border: 1px solid rgba(216, 226, 255, 0.28);
  border-radius: 38px;
  box-shadow: var(--shadow);
}

.phone img {
  width: 100%;
  border-radius: 29px;
}

.phone-speaker {
  position: absolute;
  top: 16px;
  left: 50%;
  z-index: 2;
  width: 78px;
  height: 20px;
  background: #05070d;
  border-radius: 20px;
  transform: translateX(-50%);
}

.phone-primary {
  top: 24px;
  right: 28px;
  z-index: 2;
  transform: rotate(2.2deg);
}

.phone-secondary {
  top: 92px;
  left: 0;
  z-index: 1;
  opacity: 0.82;
  transform: rotate(-5deg) scale(0.9);
}

.agent-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  color: var(--text);
  background: rgba(23, 31, 51, 0.94);
  border: 1px solid var(--border);
  border-radius: 5px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.28);
  font-family: var(--mono);
  font-size: 11px;
}

.agent-chip span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.agent-working {
  top: 96px;
  left: 78px;
}

.agent-working span {
  background: var(--amber);
}

.agent-done {
  right: 5px;
  bottom: 98px;
}

.agent-done span {
  background: var(--green);
}

.intro-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 34px;
  padding: 30px;
  background: rgba(23, 31, 51, 0.72);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.intro-strip > div:not(.connector) {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 14px;
}

.intro-strip strong {
  color: var(--text-strong);
  font-family: var(--mono);
  font-size: 14px;
}

.intro-strip p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.step,
.connector {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 50px;
}

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

.feature-card,
.setup-grid article,
.pro-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  background: linear-gradient(145deg, rgba(30, 41, 66, 0.93), rgba(18, 25, 42, 0.92));
  border: 1px solid var(--border);
  border-radius: 8px;
}

.feature-card > p:not(.card-label),
.feature-copy > p:not(.card-label),
.setup-grid p {
  color: var(--muted);
}

.feature-wide {
  display: grid;
  min-height: 400px;
  grid-column: 1 / -1;
  grid-template-columns: 1fr 0.72fr;
  align-items: center;
  gap: 40px;
  padding-bottom: 0;
}

.feature-wide img {
  width: min(100%, 300px);
  align-self: end;
  justify-self: center;
  border: 1px solid var(--border);
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
}

.feature-image-left {
  grid-template-columns: 0.72fr 1fr;
}

.feature-promo {
  min-height: 460px;
  padding: 26px;
}

.feature-promo > img {
  width: min(100%, 360px);
  align-self: center;
  border: 1px solid rgba(122, 162, 247, 0.26);
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
}

.feature-setup {
  min-height: 500px;
  padding-bottom: 26px;
}

.screenshot-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: end;
  gap: 14px;
}

.screenshot-pair figure {
  margin: 0;
}

.screenshot-pair img {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
}

.screenshot-pair figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  text-align: center;
}

.feature-card h3 {
  margin-bottom: 16px;
}

.key-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

kbd {
  min-width: 44px;
  padding: 9px 11px;
  color: var(--accent);
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-bottom-width: 3px;
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 12px;
  text-align: center;
}

pre {
  margin: 28px 0 0;
  padding: 20px;
  color: var(--green);
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 5px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
}

.setup-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.setup-grid article {
  min-height: 225px;
}

.setup-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 48px;
  place-items: center;
  color: var(--accent);
  background: rgba(122, 162, 247, 0.1);
  border: 1px solid rgba(122, 162, 247, 0.22);
  border-radius: 6px;
  font-family: var(--mono);
}

.setup-grid h3 {
  font-size: 1.05rem;
  letter-spacing: -0.025em;
}

.setup-grid p {
  margin-bottom: 0;
  font-size: 14px;
}

.pro-section,
.privacy-preview {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: center;
}

.pro-card ul {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pro-card li {
  display: flex;
  gap: 12px;
  color: var(--text-strong);
  font-family: var(--mono);
  font-size: 13px;
}

.pro-card li span {
  color: var(--green);
}

.pro-note {
  margin: 28px 0 0;
  padding-top: 20px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  font-size: 12px;
}

.privacy-preview {
  padding: 60px;
  background: rgba(11, 16, 32, 0.7);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.privacy-preview h2 {
  font-size: clamp(2rem, 4.8vw, 3.7rem);
}

.privacy-copy p {
  margin-top: 0;
  color: var(--muted);
}

.text-link {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 13px;
}

.launch-section {
  text-align: center;
}

.launch-section h2 {
  margin-bottom: 48px;
}

.platform-status-grid {
  display: grid;
  max-width: 920px;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  text-align: left;
}

.platform-status-card {
  padding: 28px;
  background: linear-gradient(145deg, rgba(30, 41, 66, 0.93), rgba(18, 25, 42, 0.92));
  border: 1px solid var(--border);
  border-radius: 8px;
}

.platform-kicker,
.platform-state,
.release-target {
  font-family: var(--mono);
}

.platform-kicker {
  margin: 0 0 40px;
  color: var(--accent);
  font-size: 14px;
}

.platform-state {
  margin: 0 0 10px;
  color: var(--text-strong);
  font-size: 15px;
}

.release-target {
  margin: 0;
  color: var(--text);
  font-size: 13px;
}

.platform-detail {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.store-badge,
.store-placeholder {
  width: 230px;
  max-width: 100%;
  margin-top: 24px;
}

.store-badge {
  position: relative;
}

.store-badge-image {
  width: 100%;
  aspect-ratio: 360 / 186;
  object-fit: contain;
}

.store-badge span {
  position: absolute;
  right: 9px;
  bottom: 9px;
  left: 9px;
  padding: 5px 8px;
  color: var(--text-strong);
  background: rgba(11, 16, 32, 0.88);
  border: 1px solid rgba(216, 226, 255, 0.2);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 10px;
  text-align: center;
}

.store-badge-disabled {
  opacity: 0.48;
  filter: grayscale(0.25) saturate(0.7) blur(0.2px);
  cursor: not-allowed;
  user-select: none;
}

.store-placeholder {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 14px;
  padding: 11px 18px;
  color: #fff;
  background: #050505;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 11px;
}

.store-placeholder > span:last-child {
  display: grid;
  gap: 1px;
}

.store-placeholder small,
.store-placeholder strong {
  font-family: var(--sans);
  line-height: 1;
}

.store-placeholder small {
  font-size: 8px;
  letter-spacing: 0.08em;
}

.store-placeholder strong {
  font-size: 21px;
  font-weight: 500;
}

.play-mark {
  font-size: 28px;
}

.launch-copy {
  max-width: 660px;
  margin: 30px auto 0;
  color: var(--muted);
}

.launch-section .hero-actions {
  justify-content: center;
}

footer {
  display: grid;
  min-height: 136px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  font-size: 12px;
}

footer p {
  margin: 0;
}

.policy-page {
  background-color: var(--bg-deep);
}

.policy-shell {
  width: min(calc(100% - 40px), 820px);
  margin-inline: auto;
  padding: 76px 0 104px;
}

.policy-back {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
}

.policy-header {
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.policy-header h1 {
  font-size: clamp(2.8rem, 8vw, 5.4rem);
}

.policy-summary {
  max-width: 700px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.policy-content {
  display: grid;
  gap: 48px;
  padding-top: 56px;
}

.policy-content section {
  scroll-margin-top: 30px;
}

.policy-content h2 {
  margin-bottom: 18px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.policy-content p,
.policy-content li {
  color: var(--muted);
}

.policy-content strong {
  color: var(--text-strong);
}

.policy-content ul {
  display: grid;
  gap: 12px;
  padding-left: 22px;
}

.policy-callout {
  padding: 24px;
  color: var(--text);
  background: rgba(122, 162, 247, 0.08);
  border: 1px solid rgba(122, 162, 247, 0.24);
  border-radius: 7px;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 76px;
  }

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

  .hero-visual {
    width: min(100%, 660px);
    margin-inline: auto;
  }

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

@media (max-width: 760px) {
  .site-header {
    min-height: 62px;
  }

  .site-header nav a:not(.nav-cta) {
    display: none;
  }

  .section {
    padding: 76px 0;
  }

  .hero {
    min-height: auto;
    gap: 26px;
    padding-top: 64px;
  }

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

  .phone {
    width: min(63vw, 260px);
  }

  .phone-primary {
    right: 2vw;
  }

  .phone-secondary {
    left: 2vw;
  }

  .agent-working {
    top: 90px;
    left: 8vw;
  }

  .intro-strip,
  .feature-grid,
  .feature-wide,
  .feature-image-left,
  .pro-section,
  .privacy-preview {
    grid-template-columns: 1fr;
  }

  .platform-status-grid {
    grid-template-columns: 1fr;
  }

  .intro-strip {
    gap: 24px;
  }

  .connector {
    padding-left: 39px;
    transform: rotate(90deg);
    transform-origin: left;
  }

  .feature-wide,
  .feature-image-left {
    gap: 28px;
  }

  .feature-promo {
    padding: 26px;
  }

  .feature-image-left img {
    order: 2;
  }

  .feature-promo > img {
    order: initial;
  }

  .privacy-preview {
    gap: 30px;
    padding: 32px;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 32px 0;
  }

  footer nav {
    flex-wrap: wrap;
    gap: 18px;
  }
}

@media (max-width: 520px) {
  .site-header,
  .section,
  footer,
  .policy-shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .brand span {
    font-size: 12px;
  }

  .nav-cta {
    padding: 7px 9px;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 3.8rem);
  }

  .hero-lede,
  .section-heading > p:last-child,
  .pro-copy > p:last-child {
    font-size: 16px;
  }

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

  .agent-chip {
    display: none;
  }

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

  .setup-grid article {
    min-height: 210px;
  }

  .setup-icon {
    margin-bottom: 34px;
  }

  .button {
    width: 100%;
  }

  .policy-shell {
    padding-top: 54px;
  }
}

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

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