/* Kill Distraction: pure black, the app's neon violet, restraint everywhere
   the orb isn't. Layout rhythm after lookaway.com. */

:root {
  --ink: #F4F1FA;
  --ink-2: #B8B2C4;
  --ink-3: #8A8494;
  --faint: #5F5A6A;
  --violet: #B55DF0;
  --glow: #9B45EA;
  --rim: #DEB3F8;
  --label: #D4A3F6;
  --line: rgba(255, 255, 255, 0.08);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --orb: min(720px, 100vw);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: #000; scroll-behavior: smooth; }
body {
  background: #000;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* Navigation: a floating pill */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50;
  display: flex; align-items: center; gap: 26px;
  padding: 6px 6px 6px 16px;
  background: rgba(16, 14, 22, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--line); border-radius: 999px;
  white-space: nowrap;
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14px; letter-spacing: -0.01em; }
.brand.small { font-size: 13px; color: var(--ink-2); }
.mark { width: 22px; height: 22px; flex: none; border-radius: 6px; box-shadow: 0 0 12px rgba(155, 69, 234, 0.45); }
.brand.small .mark { width: 20px; height: 20px; }
.links { display: flex; gap: 22px; font-size: 13px; color: var(--ink-2); }
.links a:hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn-light { background: #fff; color: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 10px 40px rgba(155, 69, 234, 0.35); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3), 0 14px 50px rgba(155, 69, 234, 0.55); }
.btn-ghost { color: var(--ink-2); border: 1px solid rgba(255, 255, 255, 0.14); }
.btn-ghost:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.3); }
.btn-small { height: 32px; padding: 0 14px; font-size: 13px; }
/* Says where the app will be; there is nothing to click yet. */
.btn.is-static { cursor: default; }
.btn-light.is-static:hover { transform: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 10px 40px rgba(155, 69, 234, 0.35); }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }

/* Hero */
.hero { position: relative; padding: 118px 24px 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
.announce {
  display: inline-flex; align-items: center; gap: 10px; position: relative; z-index: 2;
  padding: 5px 14px 5px 5px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
  font-size: 13px; color: var(--ink-2);
}
.announce:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.16); }
.announce .tag {
  padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, #B55DF0, #8E3FE0); box-shadow: 0 0 14px rgba(155, 69, 234, 0.6);
}
.hero-orb {
  position: relative; width: var(--orb); aspect-ratio: 1;
  margin: calc(var(--orb) * -0.21) auto calc(var(--orb) * -0.2);
  pointer-events: none;
}
.hero-orb canvas, .final-orb canvas { width: 100%; height: 100%; display: block; }
.orb-face {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: calc(var(--orb) * 0.008);
}
.orb-label {
  font: 500 calc(var(--orb) * 0.0155) / 1 var(--mono); letter-spacing: 0.34em; padding-left: 0.34em;
  color: var(--label); text-shadow: 0 0 12px rgba(155, 69, 234, 0.85);
}
.orb-time {
  font-weight: 200; font-size: calc(var(--orb) * 0.1); line-height: 1.05; letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums; color: #FBF9FF; text-shadow: 0 0 24px rgba(155, 69, 234, 0.55);
}
.orb-task { font-size: calc(var(--orb) * 0.0165); font-weight: 500; color: #D6D0E0; max-width: calc(var(--orb) * 0.3); }
h1 {
  position: relative; z-index: 2;
  font-size: clamp(40px, 6.2vw, 80px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700;
  max-width: 980px;
}
h1 em, h2 em { color: #fff; text-shadow: 0 0 30px rgba(155, 69, 234, 0.7); }
.lead { max-width: 640px; margin: 22px auto 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--ink-2); }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.meta {
  margin-top: 18px; font: 500 11.5px/1 var(--mono); letter-spacing: 0.08em; color: var(--faint);
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center;
}
.meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }

/* The app, framed */
.shot { padding: 96px 24px 0; }
.window {
  max-width: 1120px; margin: 0 auto; border-radius: 16px; overflow: hidden; background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 50px 160px rgba(155, 69, 234, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.6);
}
.titlebar, .browser-bar { height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #000; }
.titlebar i, .browser-bar i { width: 12px; height: 12px; border-radius: 50%; background: #3A3740; }
.titlebar i:nth-child(1), .browser-bar i:nth-child(1) { background: #FF5F57; }
.titlebar i:nth-child(2), .browser-bar i:nth-child(2) { background: #FEBC2E; }
.titlebar i:nth-child(3), .browser-bar i:nth-child(3) { background: #28C840; }

/* Benefits */
.benefits {
  max-width: 1000px; margin: 0 auto; padding: 110px 24px 20px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center;
}
.benefit p { margin-top: 18px; font-size: 18px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.glyph {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  box-shadow: 0 0 30px rgba(155, 69, 234, 0.18);
}
.glyph svg, .icon-sq svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; color: var(--rim); }
.glyph svg .fill { fill: #F691F8; stroke: none; }

/* Feature sections */
.feature { padding: 150px 24px 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
.icon-sq {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; margin-bottom: 28px;
  background: linear-gradient(145deg, #B55DF0, #6A2BC4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 0 0 1px rgba(222, 179, 248, 0.25), 0 18px 60px rgba(155, 69, 234, 0.55);
}
.icon-sq svg { width: 28px; height: 28px; color: #fff; stroke-width: 1.8; }
h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 700; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1120px; width: 100%; margin-top: 64px; text-align: left; }
.card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 30px 30px 0; border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
}
.card h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
.card p { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.card img { margin-top: auto; padding-top: 18px; border-radius: 12px 12px 0 0; }
.feed { list-style: none; margin: 10px 0 30px; display: flex; flex-direction: column; gap: 8px; font: 13px/1.2 var(--mono); }
.feed li {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); color: var(--ink-3);
}
.feed li:first-child { border-color: rgba(181, 93, 240, 0.35); box-shadow: 0 0 24px rgba(155, 69, 234, 0.18); }
.feed .x { color: #F691F8; text-shadow: 0 0 8px rgba(246, 145, 248, 0.7); }
.feed b { color: var(--ink); font-weight: 600; }
.feed time { margin-left: auto; color: var(--faint); font-variant-numeric: tabular-nums; }
.feed li.new { animation: feed-in 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
@keyframes feed-in { from { opacity: 0; transform: translateY(-10px); } }
.kicker { font: 500 11px/1 var(--mono); letter-spacing: 0.3em; color: var(--label); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span {
  padding: 8px 14px; border-radius: 999px; font-size: 13.5px; color: var(--ink-2);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
}
.chips.big { justify-content: center; max-width: 920px; margin: 40px auto 0; gap: 10px; }
.chips.big span { font-size: 15px; padding: 11px 18px; }
.browser, .display {
  max-width: 1120px; width: 100%; margin-top: 28px; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 140px rgba(155, 69, 234, 0.22);
}
.browser-bar .tab {
  margin-left: 18px; padding: 5px 14px; border-radius: 8px; font-size: 12px; color: var(--ink-3);
  background: rgba(255, 255, 255, 0.05);
}
.browser figcaption { padding: 18px; font-size: 14px; color: var(--ink-3); border-top: 1px solid var(--line); }
.display { margin-top: 64px; border-radius: 20px; border: 10px solid #0E0D12; outline: 1px solid rgba(255, 255, 255, 0.08); }

/* Built to hold */
.hold, .words { padding: 150px 24px 0; text-align: center; }
.eyebrow { font: 500 11.5px/1 var(--mono); letter-spacing: 0.34em; color: var(--label); margin-bottom: 18px; }

/* Quotes marquee */
.words h2 { margin-bottom: 48px; }
.marquee {
  overflow: hidden; margin: 0 -24px 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.track { display: flex; gap: 14px; width: max-content; animation: slide 90s linear infinite; }
.marquee.reverse .track { animation-direction: reverse; animation-duration: 110s; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.quote {
  width: 360px; flex: none; text-align: left; padding: 22px 24px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
}
.quote blockquote { font-size: 17px; line-height: 1.45; font-weight: 300; color: #FBF9FF; }
.quote figcaption { margin-top: 12px; font: 500 10.5px/1.4 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); }

/* Manifesto */
.manifesto { padding: 170px 24px 0; text-align: center; max-width: 900px; margin: 0 auto; }
.m-line { font-size: clamp(26px, 3.4vw, 42px); line-height: 1.25; letter-spacing: -0.02em; font-weight: 300; color: var(--ink-2); margin-top: 18px; }
.m-line.last { color: var(--ink); font-weight: 600; margin-top: 36px; }
.m-line.last em { text-shadow: 0 0 30px rgba(155, 69, 234, 0.7); }

/* FAQ */
.faq { padding: 150px 24px 0; text-align: center; }
.qas { max-width: 780px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.qa {
  border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  transition: border-color 0.2s ease, background 0.2s ease;
}
.qa[open] { border-color: rgba(181, 93, 240, 0.35); box-shadow: 0 0 40px rgba(155, 69, 234, 0.12); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 22px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa p { padding: 0 22px 22px; font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 680px; }
.qa p a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 3px; }
.qa p a:hover { text-decoration-color: var(--violet); }
.plus { position: relative; width: 14px; height: 14px; flex: none; }
.plus::before, .plus::after {
  content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 2px;
  background: var(--rim); transition: transform 0.25s ease;
}
.plus::after { transform: rotate(90deg); }
.qa[open] .plus::after { transform: rotate(0deg); }

/* Final call */
.final { padding: 60px 24px 120px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.final-orb { width: min(560px, 100vw); aspect-ratio: 1; margin: 0 auto -150px; pointer-events: none; }
.final h2 { position: relative; z-index: 2; }

.footer {
  display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap;
  max-width: 1120px; margin: 0 auto; padding: 28px 24px 40px;
  border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3);
}
.footer-links { display: flex; gap: 22px; }
.footer-links a:hover { color: var(--ink); }
.legal { flex-basis: 100%; max-width: 860px; font-size: 11.5px; line-height: 1.6; }

/* Scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
[data-reveal].in { opacity: 1; transform: none; }

/* Leaving? The takeover */
.takeover {
  position: fixed; inset: 0; z-index: 100; background: #000;
  opacity: 0; transition: opacity 0.5s ease;
}
.takeover.on { opacity: 1; }
.takeover canvas {
  position: absolute; left: 50%; top: 40vh; transform: translate(-50%, -50%);
  width: min(100vw, 100vh); height: min(100vw, 100vh);
  transition: filter 1.4s ease, opacity 1.4s ease;
}
.to-face {
  --orb: min(100vw, 100vh);
  position: absolute; left: 50%; top: 40vh; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.to-face .orb-time { font-size: calc(var(--orb) * 0.11); }
.to-text {
  position: absolute; left: 50%; transform: translateX(-50%);
  top: calc(40vh + min(100vw, 100vh) * 0.26 + 28px);
  width: min(760px, 92vw); text-align: center;
}
.to-text .kicker { display: block; margin-bottom: 16px; }
.to-text h2 { font-size: clamp(26px, 3.6vw, 44px); text-wrap: balance; transition: opacity 0.4s ease; }
.to-text .cta-row { margin-top: 28px; transition: opacity 0.4s ease; }
.takeover.dying canvas { filter: brightness(0.12) saturate(0.2); opacity: 0.6; }
.takeover.dying .orb-time { opacity: 0.25; transition: opacity 1.4s ease; }

@media (max-width: 860px) {
  .grid-2 { grid-template-columns: 1fr; }
  .feed time { display: none; }
  .benefits { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 720px) {
  .links { display: none; }
  .nav { gap: 14px; }
  .hero { padding-top: 96px; }
  .quote { width: 290px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { transform: none; transition: opacity 0.3s ease; }
  .track { animation: none; }
}
