:root {
  color-scheme: dark;
  --ink: #05060a;
  --ink-raised: #0a0d14;
  --paper: #f3f6ff;
  --muted: #99a3b8;
  --line: rgba(211, 223, 255, 0.18);
  --blue: #8ee3ff;
  --violet: #a58bff;
  --amber: #ffd39d;
  --gradient: linear-gradient(112deg, var(--blue), var(--violet) 52%, var(--amber));
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 78% 8%, rgba(69, 104, 186, .13), transparent 28rem),
    var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

::selection { background: #98dfff; color: #08101c; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }

.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 100; transform: translateY(-200%); background: white; color: black; padding: .75rem 1rem; }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
  padding: 0 clamp(1rem, 3vw, 3rem);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.site-header.scrolled { background: rgba(5, 6, 10, .82); border-color: var(--line); backdrop-filter: blur(18px); }
.wordmark { display: inline-flex; align-items: center; gap: .72rem; width: max-content; font-size: .85rem; letter-spacing: .28em; font-weight: 650; }
.mini-glyph, .section-glyph, .closing-glyph { position: relative; display: inline-block; flex: 0 0 auto; }
.mini-glyph { width: 17px; height: 25px; border: 1px solid var(--blue); clip-path: polygon(50% 0, 100% 100%, 50% 78%, 0 100%); background: linear-gradient(145deg, rgba(142,227,255,.9), rgba(165,139,255,.12)); }
.site-header nav { display: flex; gap: 2.2rem; color: var(--muted); font-size: .78rem; letter-spacing: .08em; }
.site-header nav a, .header-cta { transition: color .2s ease; }
.site-header nav a:hover, .site-header nav a:focus-visible, .header-cta:hover, .header-cta:focus-visible { color: var(--paper); }
.header-cta { justify-self: end; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }

main { overflow: hidden; }
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 8rem);
  max-width: var(--max);
  margin: 0 auto;
  padding: 8rem clamp(1.25rem, 4vw, 4rem) 4rem;
}
.eyebrow, .section-number, .triad, .use-index, .demo-topline, .prototype-visual span, .roadmap span, .closing > p {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .74rem;
  font-weight: 650;
  color: var(--muted);
}
.hero h1 { margin: .15rem 0 0; font-size: clamp(5.5rem, 16vw, 14rem); font-weight: 300; line-height: .82; letter-spacing: -.085em; }
.hero-statement { margin: clamp(2rem, 5vw, 4rem) 0 1.7rem; font-size: clamp(1.65rem, 3.7vw, 3.8rem); line-height: 1.08; letter-spacing: -.045em; }
.triad { display: flex; align-items: center; gap: .75rem; color: #c6ccda; }
.triad i { width: 3px; height: 3px; border-radius: 50%; background: var(--blue); }
.scroll-cue { display: flex; justify-content: space-between; align-items: center; gap: 2rem; max-width: 390px; margin-top: clamp(3rem, 8vh, 6rem); padding: 1rem 0; border-top: 1px solid var(--line); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.scroll-cue span:last-child { font-size: 1.3rem; color: var(--blue); }

.hero-mark-wrap { position: relative; display: grid; place-items: center; min-height: 560px; isolation: isolate; }
.hero-mark-wrap::before { content: ""; position: absolute; width: min(46vw, 540px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(116,190,255,.16), transparent 62%); filter: blur(12px); z-index: -1; }
.hero-mark { width: min(70%, 330px); filter: drop-shadow(0 28px 45px rgba(76, 119, 255, .18)); animation: float 7s ease-in-out infinite; }
.hero-mark-wrap p { position: absolute; bottom: 2rem; margin: 0; font-size: .68rem; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.signal-orbit { position: absolute; border: 1px solid rgba(148,195,255,.15); border-radius: 50%; }
.orbit-one { width: 430px; height: 430px; animation: spin 18s linear infinite; }
.orbit-two { width: 540px; height: 540px; border-style: dashed; animation: spin 28s linear infinite reverse; }
.orbit-one::after, .orbit-two::after { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 16px var(--blue); top: 10%; left: 20%; }

.directory { max-width: var(--max); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 4rem) 8rem; }
.directory a { position: relative; display: grid; grid-template-columns: 36px 36px minmax(180px, .72fr) 1fr; align-items: center; gap: 1rem; padding: 1.35rem 0; border-top: 1px solid var(--line); overflow: hidden; }
.directory a:last-child { border-bottom: 1px solid var(--line); }
.directory a::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: var(--gradient); transform: translateX(-102%); transition: transform .55s cubic-bezier(.2,.8,.2,1); }
.directory a:hover::after, .directory a:focus-visible::after { transform: translateX(0); }
.directory a > span:nth-child(2) { color: #667087; font-size: .7rem; }
.directory strong { font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 500; }
.directory em { color: var(--muted); font-style: normal; font-size: .9rem; }
.section-glyph { width: 18px; height: 25px; border: 1px solid #6e7890; clip-path: polygon(50% 0, 100% 100%, 50% 80%, 0 100%); transition: background .25s ease, border-color .25s ease, filter .25s ease; }
.directory a:hover .section-glyph, .directory a:focus-visible .section-glyph { background: var(--gradient); border-color: var(--blue); filter: drop-shadow(0 0 9px rgba(142,227,255,.55)); }

.page-section { max-width: var(--max); margin: 0 auto; padding: clamp(5.5rem, 11vw, 10rem) clamp(1.25rem, 4vw, 4rem); }
.section-rule { display: flex; align-items: center; gap: 1rem; }
.section-rule > span:last-child { width: 100%; height: 1px; background: var(--line); }
.section-number { margin: 1.3rem 0 2.8rem; }
.section-heading h2, .closing h2 { margin: 0; font-size: clamp(2.8rem, 7vw, 7rem); line-height: .96; letter-spacing: -.065em; font-weight: 350; }
.uses .section-heading { max-width: 980px; }
.use-list { margin-top: clamp(3.5rem, 8vw, 8rem); }
.use-card { display: grid; grid-template-columns: 70px minmax(150px, .6fr) minmax(260px, 1fr) minmax(200px, .6fr); gap: 1.5rem; align-items: baseline; padding: 2rem 0; border-top: 1px solid var(--line); }
.use-card:last-child { border-bottom: 1px solid var(--line); }
.use-index { color: #5f687a; }
.use-card h3 { margin: 0; font-size: clamp(1.7rem, 3.4vw, 3.3rem); font-weight: 380; letter-spacing: -.035em; }
.use-card p { margin: 0; max-width: 520px; color: #b6bece; }
.use-verb { justify-self: end; color: var(--blue); font-size: .72rem; letter-spacing: .08em; }

.story-image { position: relative; max-width: calc(var(--max) - 2rem); margin: 2rem auto; padding: 0; overflow: hidden; background: #10131a; }
.story-image::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); pointer-events: none; }
.story-image img { width: 100%; aspect-ratio: 16/8.2; object-fit: cover; filter: saturate(.85) contrast(1.04); }
.story-image figcaption { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; gap: 2rem; padding: 4rem 2rem 1.5rem; background: linear-gradient(transparent, rgba(3,5,9,.9)); }
.story-image figcaption span { color: var(--blue); font-size: .7rem; text-transform: uppercase; letter-spacing: .17em; }
.story-image figcaption p { margin: 0; max-width: 520px; font-size: .9rem; text-align: right; }

.split-section { display: grid; grid-template-columns: 1.05fr .85fr; gap: clamp(3rem, 10vw, 10rem); }
.body-copy { align-self: end; }
.body-copy p, .safety-copy p, .build-copy p { color: #aeb7c8; }
.body-copy .lead, .safety-copy .lead, .build-copy .lead { color: var(--paper); font-size: clamp(1.3rem, 2.2vw, 2rem); line-height: 1.35; letter-spacing: -.02em; }
.status-note { display: flex; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.status-dot { width: 8px; height: 8px; margin-top: .45rem; border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px var(--blue); }
.status-note strong { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }
.status-note p { margin: .45rem 0 0; font-size: .9rem; }

.identity-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.identity-card { min-height: 330px; padding: 1.5rem; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.identity-card:last-child { border-right: 0; }
.identity-card > span { color: #596277; font-size: .72rem; }
.identity-card h3 { margin: auto 0 1rem; font-size: 2.5rem; font-weight: 350; }
.identity-card p { margin: 0; color: var(--muted); }

.safety { display: grid; grid-template-columns: 1fr .9fr; gap: 2rem clamp(3rem, 9vw, 9rem); }
.safety .section-heading { grid-column: 1 / -1; }
.permission-demo { background: linear-gradient(145deg, rgba(25,32,48,.95), rgba(9,12,19,.95)); border: 1px solid rgba(154,177,230,.25); padding: clamp(1.35rem, 4vw, 2.5rem); box-shadow: 0 32px 80px rgba(0,0,0,.25); }
.demo-topline { display: flex; justify-content: space-between; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.demo-topline span:last-child { color: #647087; }
.permission-demo h3 { margin: 2.4rem 0 .3rem; font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 400; letter-spacing: -.04em; }
.permission-demo > p { color: var(--muted); }
.permission-demo ul { list-style: none; margin: 2rem 0; padding: 0; }
.permission-demo li { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--line); }
.permission-demo li:last-child { border-bottom: 1px solid var(--line); }
.permission-demo li strong { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.permission-demo li .optional { color: var(--amber); }
.permission-demo li .not-shared { color: #697287; }
.demo-button { width: 100%; border: 0; padding: 1rem; color: #09101b; background: var(--gradient); font: inherit; font-weight: 700; letter-spacing: .06em; cursor: default; }
.safety-copy { align-self: center; }

.build-layout { display: grid; grid-template-columns: .75fr 1.15fr; gap: clamp(3rem, 10vw, 9rem); align-items: center; margin-top: 5rem; }
.prototype-visual { position: relative; max-width: 420px; justify-self: center; }
.prototype-visual::before { content: ""; position: absolute; inset: -1rem; border: 1px solid var(--line); transform: rotate(3deg); }
.prototype-visual img { width: 100%; aspect-ratio: 3/4; object-fit: cover; filter: saturate(.75) contrast(1.06); }
.prototype-visual span { position: absolute; left: -2rem; bottom: -2.2rem; color: var(--blue); white-space: nowrap; }
.roadmap { margin-top: 3rem; border-top: 1px solid var(--line); }
.roadmap div { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.roadmap strong { font-weight: 450; }

.closing { max-width: var(--max); margin: 0 auto; padding: clamp(8rem, 16vw, 15rem) clamp(1.25rem, 4vw, 4rem) 7rem; text-align: center; }
.closing-glyph { width: 46px; height: 68px; margin-bottom: 2rem; border: 1px solid var(--blue); clip-path: polygon(50% 0, 100% 100%, 50% 80%, 0 100%); background: var(--gradient); box-shadow: 0 0 70px rgba(137,205,255,.35); }
.closing > p { color: var(--blue); }
.primary-cta { display: flex; justify-content: space-between; align-items: center; max-width: 490px; margin: 4rem auto 1.5rem; padding: 1.15rem 1.3rem; border: 1px solid rgba(161,190,255,.38); background: rgba(14,19,29,.75); transition: border-color .25s ease, background .25s ease, transform .25s ease; }
.primary-cta:hover, .primary-cta:focus-visible { border-color: var(--blue); background: rgba(25,36,54,.9); transform: translateY(-2px); }
.primary-cta span:last-child { color: var(--blue); }
.closing small { color: #727d91; }

footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; max-width: var(--max); margin: 0 auto; padding: 2rem clamp(1.25rem, 4vw, 4rem); border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
footer p { margin: 0; }
footer p:last-child { justify-self: end; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@keyframes float { 0%,100% { transform: translateY(-8px) rotate(-.8deg); } 50% { transform: translateY(10px) rotate(.8deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 9rem; }
  .hero-mark-wrap { grid-row: 1; min-height: 420px; }
  .hero-copy { grid-row: 2; }
  .hero-mark { width: min(61vw, 260px); }
  .orbit-one { width: 310px; height: 310px; }
  .orbit-two { width: 390px; height: 390px; }
  .directory a { grid-template-columns: 28px 28px 1fr; }
  .directory em { display: none; }
  .use-card { grid-template-columns: 48px .55fr 1fr; }
  .use-verb { display: none; }
  .split-section, .safety { grid-template-columns: 1fr; }
  .safety .section-heading { grid-column: auto; }
  .identity-grid { grid-template-columns: 1fr; }
  .identity-card { min-height: 240px; border-right: 0; border-bottom: 1px solid var(--line); }
  .identity-card:last-child { border-bottom: 0; }
  .build-layout { grid-template-columns: 1fr; }
  .prototype-visual { max-width: 320px; margin-bottom: 2rem; }
}

@media (max-width: 620px) {
  .site-header { min-height: 64px; }
  .header-cta { font-size: .68rem; }
  .hero { min-height: auto; padding-top: 7rem; padding-bottom: 4rem; }
  .hero h1 { font-size: clamp(5rem, 30vw, 8rem); }
  .hero-mark-wrap { min-height: 360px; }
  .hero-mark-wrap p { bottom: .5rem; }
  .orbit-one { width: 270px; height: 270px; }
  .orbit-two { width: 330px; height: 330px; }
  .triad { font-size: .65rem; gap: .55rem; }
  .directory { padding-bottom: 4rem; }
  .directory a { grid-template-columns: 24px 22px 1fr; gap: .7rem; padding: 1.1rem 0; }
  .section-heading h2, .closing h2 { font-size: clamp(2.55rem, 14vw, 4.2rem); }
  .use-list { margin-top: 3rem; }
  .use-card { display: block; position: relative; padding: 1.5rem 0; }
  .use-index { position: absolute; top: 1.8rem; right: 0; }
  .use-card h3 { margin-bottom: .6rem; }
  .story-image { margin: 0; }
  .story-image img { aspect-ratio: 4/5; object-position: 63% center; }
  .story-image figcaption { display: block; padding: 6rem 1.25rem 1.2rem; }
  .story-image figcaption p { margin-top: .5rem; text-align: left; }
  .identity-card { min-height: 220px; padding-inline: 0; }
  .permission-demo { margin-inline: -.25rem; }
  .demo-topline span:last-child { display: none; }
  .prototype-visual span { left: 0; bottom: -2rem; white-space: normal; }
  .roadmap div { grid-template-columns: 70px 1fr; }
  footer { grid-template-columns: 1fr auto; }
  footer > p:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
