:root {
  color-scheme: dark;
  --canvas: #050505;
  --surface: #101010;
  --raised: #171717;
  --ink: #f4f4f2;
  --muted: #969696;
  --faint: #666;
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.24);
  --page: min(1240px, calc(100vw - 64px));
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: var(--canvas);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100svh;
  color: var(--ink);
  background:
    radial-gradient(circle at 72% 44%, rgba(255, 255, 255, 0.055), transparent 31%),
    var(--canvas);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.shell {
  width: var(--page);
  min-height: 100svh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: 80px minmax(0, 1fr) auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: block;
  border-radius: 11px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.privacy-mark {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.privacy-mark span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.07);
}

.top-meta,
.top-links {
  display: flex;
  align-items: center;
}

.top-meta { gap: 24px; }
.top-links { gap: 14px; }
.top-links a {
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
}
.top-links a:hover { color: var(--ink); }

.hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(390px, 0.82fr) minmax(510px, 1.18fr);
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
  padding: clamp(54px, 8vh, 96px) 0 48px;
}

.hero-copy { position: relative; z-index: 2; }

.eyebrow {
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 22px;
  height: 1px;
  background: var(--ink);
}

h1 {
  margin: 0;
  max-width: 650px;
  font-size: clamp(58px, 6vw, 88px);
  line-height: 0.93;
  letter-spacing: -0.066em;
  font-weight: 720;
}

h1 span { color: #737373; }

.lede {
  max-width: 535px;
  margin: 29px 0 0;
  color: #aaa;
  font-size: 18px;
  line-height: 1.58;
  letter-spacing: -0.018em;
}

.actions {
  display: flex;
  gap: 10px;
  margin-top: 34px;
}

.button {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.button strong,
.button small { display: block; white-space: nowrap; }
.button strong { font-size: 14px; line-height: 1.2; }
.button small { margin-top: 4px; font-size: 11px; font-weight: 500; opacity: 0.56; }

.button-primary {
  min-width: 206px;
  color: var(--canvas);
  background: var(--ink);
  border-color: var(--ink);
}

.button-primary:hover { background: #fff; }

.button-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 20px;
  background: rgba(0, 0, 0, 0.08);
}

.button-secondary { color: var(--ink); background: var(--surface); }
.button-secondary:hover { background: var(--raised); border-color: var(--line-strong); }
.button-secondary .arrow { margin-left: 4px; color: var(--muted); font-size: 17px; }

.product-stage {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: center;
  perspective: 1200px;
}

.stage-glow {
  position: absolute;
  width: 440px;
  height: 440px;
  left: 45%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.038);
  filter: blur(2px);
}

.desktop-window {
  position: relative;
  z-index: 1;
  width: min(590px, 92%);
  min-height: 344px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: rgba(13, 13, 13, 0.94);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.56), inset 0 1px rgba(255, 255, 255, 0.04);
  transform: rotateY(-4deg) rotateX(1deg);
}

.window-bar {
  height: 49px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 16px;
  color: var(--faint);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #414141; }
.window-dots i:first-child { background: #a5a5a5; }

.window-bar b {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #a4a4a4;
  font-weight: 560;
}

.window-bar b i { width: 6px; height: 6px; border-radius: 50%; background: #e8e8e5; }

.terminal-body {
  min-height: 245px;
  padding: 26px 27px;
  color: #e1e1de;
  font: 13px/1.75 ui-monospace, "SFMono-Regular", Menlo, monospace;
}

.terminal-body p { margin: 0; }
.terminal-body .prompt { color: #fff; font-weight: 800; }
.terminal-body .output { color: #6f6f6f; }
.terminal-body em { color: #d4d4d0; font-style: normal; }
.terminal-body .command { margin-top: 22px; }
.terminal-body .command span:nth-child(2) { color: #fff; }
.terminal-body .command i,
.phone-terminal p:last-child i {
  display: inline-block;
  width: 7px;
  height: 15px;
  margin-left: 3px;
  vertical-align: -2px;
  background: #ecece8;
  animation: blink 1.1s steps(1) infinite;
}

.session-strip {
  height: 49px;
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 0 18px;
  border-top: 1px solid var(--line);
}

.session-strip span {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 7px;
  color: #777;
  background: #151515;
  font: 10px/1 ui-monospace, "SFMono-Regular", Menlo, monospace;
}

.session-strip i { width: 5px; height: 5px; border-radius: 50%; background: #777; }

.phone {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 11px;
  width: 180px;
  height: 356px;
  padding: 7px;
  border-radius: 42px;
  background: #ededeb;
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(255, 255, 255, 0.48);
  transform: rotate(3deg);
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 35px;
  color: #efefec;
  background: #080808;
}

.island { width: 57px; height: 16px; margin: 10px auto 17px; border-radius: 20px; background: #242424; }
.phone-head { display: flex; justify-content: space-between; padding: 0 15px 12px; border-bottom: 1px solid var(--line); color: #aaa; font-size: 10px; }
.phone-head i { width: 6px; height: 6px; border-radius: 50%; background: #eee; }

.phone-terminal { padding: 20px 14px; font: 10px/1.8 ui-monospace, "SFMono-Regular", Menlo, monospace; }
.phone-terminal p { margin: 0; white-space: nowrap; }
.phone-terminal b { color: #fff; }
.phone-terminal .dim { color: #686868; }
.phone-terminal p:last-child { margin-top: 14px; }
.phone-terminal p:last-child i { width: 5px; height: 11px; }

.phone-keys {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 11px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.phone-keys span { padding: 7px 0; text-align: center; border-radius: 7px; color: #888; background: #151515; font-size: 8px; }

.relay-pill {
  position: absolute;
  z-index: 4;
  left: 35%;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: #b9b9b7;
  background: rgba(21, 21, 21, 0.9);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  font-size: 10px;
  font-weight: 600;
}

.relay-pill i { width: 6px; height: 6px; border-radius: 50%; background: #eee; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08); }

.proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.proof article {
  min-height: 112px;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  align-items: center;
  padding: 24px clamp(18px, 2.5vw, 34px);
  border-right: 1px solid var(--line);
}

.proof article:first-child { padding-left: 0; }
.proof article:last-child { border-right: 0; padding-right: 0; }
.proof article > span { color: #555; font: 10px/1 ui-monospace, "SFMono-Regular", Menlo, monospace; }
.proof strong { font-size: 13px; }
.proof p { margin: 6px 0 0; max-width: 270px; color: #777; font-size: 11px; line-height: 1.45; }

@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 980px) {
  :root { --page: min(760px, calc(100vw - 44px)); }
  .shell { grid-template-rows: 70px auto auto; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 44px; padding: 56px 0 46px; }
  .hero-copy { text-align: center; }
  .eyebrow, .actions { justify-content: center; }
  h1, .lede { margin-left: auto; margin-right: auto; }
  h1 { font-size: clamp(54px, 11vw, 82px); }
  .product-stage { width: min(650px, 100%); min-height: 430px; margin: 0 auto; }
  .proof article:first-child { padding-left: 18px; }
  .proof article:last-child { padding-right: 18px; }
}

@media (max-width: 640px) {
  :root { --page: calc(100vw - 32px); }
  body { background: var(--canvas); }
  .topbar { height: 66px; }
  .privacy-mark { font-size: 11px; }
  .top-meta { gap: 12px; }
  .top-links { gap: 9px; }
  .top-links a { font-size: 11px; }
  .hero { gap: 34px; padding: 44px 0 32px; }
  .eyebrow { justify-content: flex-start; margin-bottom: 20px; font-size: 10px; }
  .hero-copy { text-align: left; }
  h1 { font-size: clamp(48px, 15.2vw, 68px); }
  .lede { margin-top: 23px; font-size: 15px; }
  .actions { display: grid; justify-content: stretch; }
  .button { justify-content: flex-start; }
  .button-secondary .arrow { margin-left: auto; }
  .product-stage { min-height: 330px; }
  .desktop-window { width: 96%; min-height: 270px; border-radius: 18px; }
  .window-bar { height: 42px; }
  .window-bar > span { display: none; }
  .window-bar { grid-template-columns: 1fr 1fr; }
  .terminal-body { min-height: 186px; padding: 20px; font-size: 10px; }
  .session-strip { height: 41px; overflow: hidden; }
  .phone { width: 128px; height: 254px; right: -2px; bottom: 4px; border-radius: 31px; padding: 5px; }
  .phone-screen { border-radius: 26px; }
  .island { width: 42px; height: 12px; margin: 8px auto 12px; }
  .phone-terminal { padding: 15px 10px; font-size: 7px; }
  .phone-keys { display: none; }
  .relay-pill { left: 18%; bottom: 12px; }
  .proof { grid-template-columns: 1fr; }
  .proof article { min-height: 82px; padding: 18px 2px; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof article:first-child, .proof article:last-child { padding-left: 2px; padding-right: 2px; }
  .proof article:last-child { border-bottom: 0; }
}

.legal-shell {
  width: min(760px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 72px;
}

.legal-header .brand-mark { width: 32px; height: 32px; border-radius: 9px; }
.legal-back { color: var(--muted); font-size: 13px; text-decoration: none; }
.legal-back:hover { color: var(--ink); }
.legal-copy h1 { font-size: clamp(42px, 8vw, 66px); line-height: 1; }
.legal-updated { margin: 18px 0 52px; color: var(--faint); font-size: 12px; }
.legal-copy section { margin-top: 38px; }
.legal-copy h2 { margin: 0 0 12px; font-size: 15px; }
.legal-copy p,
.legal-copy li { color: var(--muted); font-size: 14px; line-height: 1.7; }
.legal-copy ul { margin: 12px 0 0; padding-left: 20px; }
.legal-copy a { color: var(--ink); }
.support-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }

@media (max-width: 640px) {
  .privacy-mark { display: none; }
  .legal-shell { width: calc(100vw - 36px); padding-top: 32px; }
  .legal-header { margin-bottom: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
