/* Inhouse landing — cinematic, dark, no dependencies.
   Type: system stack on purpose (no third-party fonts — it's the brand). */

:root {
  --bg: #07090b;
  --bg2: #0b1014;
  --ink: #eaf0f2;
  --dim: #8b969e;
  --faint: #4a555c;
  --accent: #3be0b4;
  --accent-dim: #1d8f74;
  --warm: #e8a85c;
  --maxw: 1060px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
}
em { font-style: italic; }
a { color: inherit; }
section { position: relative; padding: 0 24px; }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 28px;
  background: linear-gradient(rgba(7,9,11,.85), rgba(7,9,11,0));
  pointer-events: none;
}
.top > * { pointer-events: auto; }
.wordmark { font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.accent { color: var(--accent); }
.top nav { display: flex; gap: 22px; align-items: center; font-size: .92rem; color: var(--dim); }
.top nav a { text-decoration: none; }
.top nav a:hover { color: var(--ink); }
.ghost-btn {
  border: 1px solid #2a343a; border-radius: 999px; padding: 7px 16px;
  color: var(--ink) !important; transition: border-color .2s, background .2s;
}
.ghost-btn:hover { border-color: var(--accent-dim); background: rgba(59,224,180,.06); }

/* ---------- reveal machinery ---------- */
.reveal, .reveal-line {
  opacity: 0; transform: translateY(26px);
  transition: opacity .9s cubic-bezier(.2,.6,.2,1), transform .9s cubic-bezier(.2,.6,.2,1);
}
.in .reveal, .in .reveal-line, .reveal.in, .reveal-line.in { opacity: 1; transform: none; }

/* ---------- 1 · hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; gap: 34px;
}
.orb-wrap { position: absolute; inset: 0; overflow: hidden; z-index: -1; }
.orb {
  position: absolute; left: 50%; top: 38%; width: 46vmin; height: 46vmin;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 36%, rgba(59,224,180,.32), transparent 55%),
    radial-gradient(circle at 64% 64%, rgba(232,168,92,.10), transparent 60%),
    radial-gradient(circle at 50% 50%, #101a1c 0%, #0a1012 62%, transparent 72%);
  filter: blur(2px);
  animation: breathe 7s ease-in-out infinite;
}
.orb-glow {
  position: absolute; left: 50%; top: 38%; width: 80vmin; height: 80vmin;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(59,224,180,.07), transparent 60%);
  animation: breathe 7s ease-in-out infinite reverse;
}
@keyframes breathe {
  0%, 100% { scale: 1; opacity: .9; }
  50%      { scale: 1.06; opacity: 1; }
}
.hero-line {
  font-size: clamp(1.9rem, 5.6vw, 4.3rem);
  font-weight: 800; letter-spacing: -.035em; line-height: 1.08;
  max-width: 24ch;
}
.hero-line .reveal-line { display: block; }
.hero-line .reveal-line:nth-child(2) { transition-delay: .35s; }
.hero-line em { color: var(--dim); }
.hero-turn {
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  color: var(--accent); font-weight: 600; letter-spacing: -.01em;
  transition-delay: 1.1s;
}
.scroll-cue {
  position: absolute; bottom: 34px; display: flex; flex-direction: column; align-items: center;
  gap: 10px; color: var(--faint); font-size: .8rem; letter-spacing: .25em; text-transform: uppercase;
  transition-delay: 1.8s;
}
.scroll-cue span {
  width: 1px; height: 44px;
  background: linear-gradient(var(--accent), transparent);
  animation: drip 2.2s ease-in-out infinite;
}
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); } 100% { opacity: 0; } }

/* ---------- 2 · meet ---------- */
.meet {
  min-height: 92svh; display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center; gap: 42px;
}
.presence { width: 78px; height: 78px; position: relative; }
.presence-core {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, var(--accent), var(--accent-dim) 70%);
  box-shadow: 0 0 38px rgba(59,224,180,.45), 0 0 120px rgba(59,224,180,.18);
  animation: breathe 4.5s ease-in-out infinite;
}
.greeting {
  font-size: clamp(1.4rem, 3.4vw, 2.4rem);
  font-weight: 650; letter-spacing: -.02em; max-width: 24ch; min-height: 2.6em;
}
.caret {
  display: inline-block; width: 2px; height: 1em; margin-left: 3px;
  background: var(--accent); vertical-align: -0.12em;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.meet-sub { color: var(--dim); font-size: clamp(1rem, 1.8vw, 1.2rem); transition-delay: .5s; }

/* ---------- 3 · conversation ---------- */
.convo {
  display: grid; grid-template-columns: minmax(290px, 420px) 1fr;
  gap: clamp(36px, 7vw, 110px); align-items: center;
  max-width: var(--maxw); margin: 0 auto; padding: 18vh 24px;
}
.phone {
  background: var(--bg2); border: 1px solid #1a2228; border-radius: 26px;
  padding: 26px 20px 20px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.bubble {
  padding: 12px 16px; border-radius: 16px; font-size: .98rem; line-height: 1.45;
  max-width: 92%;
}
.bubble.you { align-self: flex-end; background: #15222b; border-bottom-right-radius: 4px; }
.bubble.it  { align-self: flex-start; background: #101a18; border: 1px solid rgba(59,224,180,.18); border-bottom-left-radius: 4px; }
.speaking-chip {
  align-self: flex-start; display: flex; align-items: center; gap: 7px;
  font-size: .78rem; color: var(--accent); padding: 6px 12px;
  border-radius: 999px; background: rgba(59,224,180,.07);
}
.speaking-chip i {
  width: 3px; height: 10px; background: var(--accent); border-radius: 2px;
  animation: eq 1s ease-in-out infinite;
}
.speaking-chip i:nth-child(2) { animation-delay: .18s; }
.speaking-chip i:nth-child(3) { animation-delay: .36s; }
@keyframes eq { 0%,100% { transform: scaleY(.4);} 50% { transform: scaleY(1.4);} }
.kicker {
  font-size: clamp(1.5rem, 3.2vw, 2.5rem); font-weight: 750; letter-spacing: -.03em;
  line-height: 1.15; color: var(--dim); margin-bottom: 14px;
}
.kicker.strong { color: var(--ink); }
.kicker:nth-child(2) { transition-delay: .2s; }
.kicker.strong { transition-delay: .4s; }
.footnote { color: var(--faint); margin-top: 26px; font-size: .95rem; max-width: 36ch; transition-delay: .6s; }

/* ---------- 4 · life ---------- */
.life {
  max-width: 760px; margin: 0 auto; padding: 16vh 24px;
  display: flex; flex-direction: column; gap: 13vh;
}
.section-whisper {
  color: var(--faint); letter-spacing: .3em; text-transform: uppercase; font-size: .8rem;
  text-align: center;
}
.vignette { display: flex; gap: 28px; align-items: baseline; }
.vignette:nth-child(odd) { flex-direction: row-reverse; text-align: right; }
.vtime {
  font-variant-numeric: tabular-nums; color: var(--warm); font-size: .9rem;
  letter-spacing: .08em; white-space: nowrap;
}
.vignette p { font-size: clamp(1.3rem, 2.8vw, 2rem); font-weight: 550; letter-spacing: -.02em; color: var(--dim); }
.vignette strong { color: var(--ink); font-weight: 750; }

/* ---------- 5 · twist ---------- */
.twist {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  align-items: center; text-align: center; gap: 40px;
  background: radial-gradient(ellipse 90% 60% at 50% 45%, #0c1417 0%, var(--bg) 70%);
}
.twist-intro { color: var(--warm); font-size: 1.05rem; letter-spacing: .04em; }
.twist-line {
  font-size: clamp(2rem, 5.4vw, 4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.1;
}
.twist-line em { color: var(--accent); }
.owned {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px 38px; color: var(--ink); font-weight: 600; transition-delay: .3s;
}
.owned li { display: flex; gap: 10px; align-items: baseline; }
.owned span { color: var(--faint); font-weight: 400; }
.twist-final {
  font-size: clamp(1.3rem, 2.6vw, 1.8rem); color: var(--dim); font-weight: 650;
  transition-delay: .55s;
}

/* ---------- 6 · why ---------- */
.why {
  max-width: 740px; margin: 0 auto; padding: 18vh 24px;
  display: flex; flex-direction: column; gap: 36px;
}
.why h2 { font-size: clamp(1.9rem, 4.6vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.why p { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--dim); line-height: 1.6; }
.why em { color: var(--warm); }
.why strong { color: var(--ink); }

/* ---------- 7 · how ---------- */
.how { max-width: var(--maxw); margin: 0 auto; padding: 14vh 24px; display: flex; flex-direction: column; gap: 56px; }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.spec {
  border: 1px solid #18222a; border-radius: 18px; padding: 26px 24px;
  background: linear-gradient(180deg, rgba(16,24,28,.6), rgba(10,14,17,.4));
}
.spec h3 { font-size: 1.08rem; letter-spacing: -.01em; margin-bottom: 10px; color: var(--accent); font-weight: 700; }
.spec p { color: var(--dim); font-size: .97rem; }
.spec:nth-child(2) { transition-delay: .1s; }
.spec:nth-child(3) { transition-delay: .2s; }
.spec:nth-child(4) { transition-delay: .3s; }
.terminal {
  border: 1px solid #1a242c; border-radius: 14px; overflow: hidden;
  background: #0a0f12; max-width: 640px; margin: 0 auto; width: 100%;
}
.term-bar { display: flex; gap: 7px; padding: 12px 14px; border-bottom: 1px solid #141d23; }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #1d2930; }
.terminal pre { padding: 20px 22px; overflow-x: auto; }
.terminal code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .92rem; line-height: 1.7; color: #c9e8dd;
}
.terminal .dim { color: var(--faint); }
.open-line { text-align: center; color: var(--faint); letter-spacing: .02em; }

/* ---------- 8 · cta ---------- */
.cta {
  min-height: 80svh; display: flex; flex-direction: column; justify-content: center;
  align-items: center; gap: 36px; text-align: center;
  background: radial-gradient(ellipse 70% 50% at 50% 60%, rgba(59,224,180,.06), transparent 70%);
}
.cta h2 { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 800; letter-spacing: -.04em; }
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; transition-delay: .2s; }
.btn {
  text-decoration: none; border-radius: 999px; padding: 15px 28px; font-weight: 650;
  font-size: 1rem; letter-spacing: -.01em; transition: transform .15s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--accent); color: #06231b; box-shadow: 0 8px 40px rgba(59,224,180,.25); }
.btn.primary:hover { box-shadow: 0 12px 50px rgba(59,224,180,.4); }
.btn.quiet { border: 1px solid #2a343a; color: var(--ink); }
.btn.quiet:hover { border-color: var(--accent-dim); }
.cta-sub { color: var(--faint); font-size: .95rem; transition-delay: .35s; }

/* ---------- footer ---------- */
footer {
  padding: 70px 24px 50px; text-align: center; color: var(--faint); font-size: .92rem;
  border-top: 1px solid #11181d; display: flex; flex-direction: column; gap: 18px;
}
footer strong { color: var(--accent); }
.foot-links a { color: var(--dim); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }

/* ---------- responsive & motion ---------- */
@media (max-width: 760px) {
  .convo { grid-template-columns: 1fr; padding-top: 10vh; }
  .vignette, .vignette:nth-child(odd) { flex-direction: column; gap: 8px; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-line { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Demo link in the meet section */
.meet-try { margin-top: 1.4rem; transition-delay: .8s; }
.meet-try a {
  color: var(--accent);
  text-decoration: none;
  font-size: clamp(.95rem, 1.6vw, 1.1rem);
  border-bottom: 1px solid var(--accent-dim);
  padding-bottom: 2px;
}
.meet-try a:hover { border-bottom-color: var(--accent); }
