:root {
  --bg: #05070b;
  --bg-soft: #080b11;
  --surface: #0b0f16;
  --surface-2: #0e131c;
  --line: rgba(255,255,255,.085);
  --line-strong: rgba(255,255,255,.14);
  --text: #f5f7fb;
  --muted: #9aa3b2;
  --muted-2: #687384;
  --cyan: #28d8d4;
  --sky: #2bb8ff;
  --blue: #2d6cff;
  --green: #37d86f;
  --orange: #ff9f0a;
  --red: #ff4b44;
  --max: 1380px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.015), transparent 26rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
code {
  padding: .08em .32em;
  border-radius: 6px;
  background: rgba(255,255,255,.05);
  color: #d9f8ff;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .9em;
}

.ambient {
  position: fixed;
  z-index: -2;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(120px);
  opacity: .28;
}
.ambient-a { width: 520px; height: 520px; top: -220px; right: -120px; background: rgba(38,102,255,.14); }
.ambient-b { width: 420px; height: 420px; top: 520px; left: -260px; background: rgba(43,216,212,.08); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: min(var(--max), calc(100% - 48px));
  height: 82px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(5,7,11,.92), rgba(5,7,11,.68) 72%, transparent);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; }
.brand img { object-fit: contain; filter: drop-shadow(0 6px 18px rgba(43,184,255,.22)); }
.brand-wordmark { display: inline-flex; align-items: baseline; letter-spacing: -.045em; font-weight: 780; color: #fff; }
.brand-mcp {
  background: linear-gradient(105deg, var(--cyan), var(--sky) 58%, #27d7e8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav { display: flex; align-items: center; gap: 30px; color: #8f98a7; font-size: 13px; }
.nav a { transition: color .2s ease; }
.nav a:hover { color: #fff; }
.nav-cta {
  justify-self: end;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  border: 1px solid rgba(70,136,255,.42);
  border-radius: 10px;
  background: rgba(37,99,235,.09);
  color: #e9f2ff;
  font-size: 12px;
  font-weight: 720;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 0 24px rgba(37,99,235,.08);
}

main { width: 100%; }
.hero {
  position: relative;
  width: min(var(--max), calc(100% - 48px));
  min-height: 850px;
  margin: 0 auto;
  padding: 88px 0 112px;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  align-items: center;
  gap: 70px;
}
.hero-copy { position: relative; z-index: 4; padding-left: 10px; }
.hero-label, .micro, .section-index {
  color: #6daec8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 720px;
  margin: 20px 0 28px;
  font-size: clamp(60px, 7.2vw, 108px);
  line-height: .91;
  letter-spacing: -.073em;
  font-weight: 760;
}
.hero h1 span {
  background: linear-gradient(92deg, #fff 0%, #dfe9f3 22%, #6edaf6 58%, #38a7ff 83%, #2f76ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy > p {
  max-width: 590px;
  margin: 0;
  color: #a4adba;
  font-size: 18px;
  line-height: 1.72;
  letter-spacing: -.012em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 730;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  background: linear-gradient(106deg, var(--cyan), var(--sky) 48%, var(--blue));
  color: #041018;
  box-shadow: 0 16px 46px rgba(35,158,255,.17), inset 0 1px 0 rgba(255,255,255,.35);
}
.button-primary:hover { box-shadow: 0 18px 54px rgba(35,158,255,.23), inset 0 1px 0 rgba(255,255,255,.35); }
.button-ghost { border-color: var(--line-strong); background: rgba(255,255,255,.025); color: #d6dce5; }
.button-ghost:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.2); }
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 34px;
  color: #636e7c;
  font-size: 10px;
}
.hero-proof span { display: inline-flex; align-items: baseline; gap: 6px; }
.hero-proof b { color: #a7b2c0; font-size: 12px; }

.hero-product {
  position: relative;
  min-height: 670px;
  display: grid;
  place-items: center;
  isolation: isolate;
  perspective: 1200px;
}
.hero-grid {
  position: absolute;
  inset: 8% -10% 1%;
  z-index: -4;
  opacity: .28;
  background-image:
    linear-gradient(rgba(60,127,255,.19) 1px, transparent 1px),
    linear-gradient(90deg, rgba(60,127,255,.15) 1px, transparent 1px);
  background-size: 42px 42px;
  transform: perspective(700px) rotateX(69deg) translateY(150px) scale(1.12);
  transform-origin: center bottom;
  -webkit-mask-image: linear-gradient(to bottom, transparent 4%, #000 38%, #000 74%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 4%, #000 38%, #000 74%, transparent 100%);
}
.product-glow {
  position: absolute;
  z-index: -3;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41,137,255,.22), rgba(41,137,255,.055) 44%, transparent 72%);
  filter: blur(20px);
}
.product-platform {
  position: absolute;
  z-index: -1;
  bottom: 80px;
  width: 510px;
  height: 74px;
  border-radius: 50%;
  border: 1px solid rgba(47,134,255,.42);
  background: radial-gradient(ellipse, rgba(19,125,255,.16), rgba(4,8,14,.1) 58%, transparent 74%);
  box-shadow: 0 0 34px rgba(21,129,255,.2), inset 0 0 26px rgba(36,158,255,.15);
  transform: rotateX(66deg);
}
.control-panel {
  position: relative;
  margin: 0;
  isolation: isolate;
}
.control-panel img {
  width: 100%;
  height: auto;
  filter: saturate(1.02) contrast(1.015);
}
.hero-panel {
  width: min(470px, 78%);
  transform: rotateY(-7deg) rotateX(1.2deg) translateY(-6px);
  filter: drop-shadow(0 44px 70px rgba(0,0,0,.55)) drop-shadow(0 0 30px rgba(40,122,255,.11));
}
.status-float {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: rgba(8,12,18,.82);
  box-shadow: 0 18px 50px rgba(0,0,0,.36), inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: blur(16px);
}
.status-float small { display: block; color: #687382; font-size: 9px; }
.status-float strong { display: block; margin-top: 2px; color: #dfe5ed; font-size: 11px; font-weight: 680; }
.status-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px rgba(55,216,111,.65); }
.status-float-left { left: 5%; top: 33%; }
.status-float-right { right: 1%; bottom: 23%; }

.signal-strip {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto 30px;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.signal-strip > div {
  min-height: 96px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 12px;
  padding: 18px 22px;
  border-right: 1px solid var(--line);
}
.signal-strip > div:last-child { border-right: 0; }
.signal-strip span { grid-row: 1 / 3; align-self: start; padding-top: 2px; color: #405065; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.signal-strip strong { color: #dfe4eb; font-size: 12px; font-weight: 660; }
.signal-strip small { color: #687383; font-size: 9px; }

.section-shell {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 150px 10px;
  border-top: 1px solid var(--line);
}
.section-index { margin-bottom: 46px; color: #566273; }

.manifesto-grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 110px;
  align-items: start;
}
.manifesto h2, .permission-intro h2, .product-story h2, .security h2, .start h2, .download h2, .final-cta h2 {
  margin: 0;
  font-size: clamp(44px, 5.3vw, 76px);
  line-height: .98;
  letter-spacing: -.057em;
  font-weight: 700;
}
.manifesto-heading { position: sticky; top: 132px; }
.manifesto-lead { max-width: 690px; margin: 0 0 66px; color: #c4cad3; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.4; letter-spacing: -.032em; }
.principles { border-top: 1px solid var(--line); }
.principles article {
  display: grid;
  grid-template-columns: 56px 220px 1fr;
  gap: 26px;
  align-items: baseline;
  min-height: 142px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.principles article > span { color: #4b5869; font-size: 10px; font-weight: 800; }
.principles h3 { margin: 0; color: #e8ebf0; font-size: 18px; letter-spacing: -.025em; font-weight: 660; }
.principles p { margin: 0; color: #7f8998; font-size: 13px; line-height: 1.75; }

.permission-intro {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 70px;
}
.permission-intro p { max-width: 560px; margin: 0; color: #8b95a4; font-size: 16px; line-height: 1.75; }
.permission-rail { border-top: 1px solid var(--line); }
.permission-row {
  position: relative;
  min-height: 150px;
  display: grid;
  grid-template-columns: 56px 200px minmax(300px,1fr) auto;
  gap: 30px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: background .25s ease, padding .25s ease;
}
.permission-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  bottom: -1px;
  width: 2px;
  opacity: 0;
  transition: opacity .25s ease;
}
.permission-row:hover { padding-left: 16px; background: linear-gradient(90deg, rgba(255,255,255,.025), transparent 70%); }
.permission-row:hover::before { opacity: 1; }
.permission-read::before, .permission-write::before { background: var(--sky); }
.permission-full::before { background: var(--orange); }
.permission-unlock::before { background: var(--red); }
.permission-number { color: #425064; font-size: 10px; font-weight: 800; }
.permission-name { display: grid; gap: 4px; }
.permission-name strong { font-size: 20px; letter-spacing: -.03em; }
.permission-name small { color: #657183; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.permission-row > p { max-width: 650px; margin: 0; color: #818b9a; font-size: 13px; line-height: 1.7; }
.risk { justify-self: end; min-width: 110px; padding: 7px 10px; border-radius: 999px; text-align: center; font-size: 9px; font-weight: 780; letter-spacing: .04em; }
.risk-safe { color: #8cdcf4; border: 1px solid rgba(43,184,255,.18); background: rgba(43,184,255,.05); }
.risk-full { color: #ffc365; border: 1px solid rgba(255,159,10,.22); background: rgba(255,159,10,.055); }
.risk-unlock { color: #ff8b85; border: 1px solid rgba(255,75,68,.25); background: rgba(255,75,68,.06); }

.product-story-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 70px;
  align-items: center;
}
.product-story-copy { padding-right: 28px; }
.product-story-copy .micro { display: inline-block; margin-bottom: 22px; }
.product-story-copy > p { max-width: 560px; margin: 28px 0 0; color: #909aa8; font-size: 16px; line-height: 1.75; }
.product-story-copy ul { margin: 36px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.product-story-copy li { display: flex; align-items: center; gap: 11px; color: #b2bbc6; font-size: 12px; }
.product-story-copy li span { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(55,216,111,.38); }
.product-story-visual { position: relative; min-height: 690px; display: grid; place-items: center; }
.story-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(33,107,255,.14), transparent 68%); filter: blur(20px); }
.story-panel { width: min(420px, 78%); filter: drop-shadow(0 50px 90px rgba(0,0,0,.52)); }
.story-note {
  position: absolute;
  min-width: 210px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(7,10,15,.86);
  backdrop-filter: blur(16px);
  box-shadow: 0 22px 60px rgba(0,0,0,.34);
}
.story-note small { display: block; color: #677384; font-size: 9px; }
.story-note strong { display: block; margin-top: 5px; color: #d9dfe7; font-size: 11px; font-weight: 660; }
.story-note span { width: 7px; height: 7px; display: inline-block; margin-right: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(55,216,111,.5); }
.note-a { left: 2%; top: 38%; }
.note-b { right: 0; bottom: 23%; }

.security-heading h2 span { color: #7c8796; }
.security-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 70px;
  margin-top: 70px;
  align-items: center;
}
.architecture-wrap {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 45%, rgba(33,116,255,.08), transparent 44%),
    linear-gradient(150deg, rgba(255,255,255,.018), rgba(255,255,255,.006));
  overflow: hidden;
}
.architecture-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(69,121,191,.24) .65px, transparent .65px);
  background-size: 18px 18px;
  opacity: .32;
  -webkit-mask-image: radial-gradient(circle, #000 18%, transparent 72%);
  mask-image: radial-gradient(circle, #000 18%, transparent 72%);
}
.architecture-wrap img { position: relative; width: 100%; }
.security-list { border-top: 1px solid var(--line); }
.security-list article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.security-list article > span { color: #445166; font-size: 9px; font-weight: 800; }
.security-list strong { display: block; color: #dfe4eb; font-size: 14px; font-weight: 660; }
.security-list p { margin: 7px 0 0; color: #7b8695; font-size: 12px; line-height: 1.65; }

.start-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
.start-heading p { max-width: 500px; margin: 28px 0 0; color: #858f9e; font-size: 15px; line-height: 1.75; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); counter-reset: none; }
.steps li { display: grid; grid-template-columns: 46px 1fr; gap: 22px; padding: 27px 0; border-bottom: 1px solid var(--line); }
.steps li > span { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid rgba(43,184,255,.24); border-radius: 50%; color: #74d8ff; background: rgba(43,184,255,.04); font-size: 10px; font-weight: 800; }
.steps strong { display: block; color: #e5e9ef; font-size: 15px; font-weight: 660; }
.steps p { margin: 7px 0 0; color: #788392; font-size: 12px; line-height: 1.7; }

.download { padding-bottom: 120px; }
.download-topline { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: end; }
.download-topline .micro { display: inline-block; margin-bottom: 18px; }
.download-topline p { margin: 20px 0 0; color: #808b99; font-size: 14px; }
.release-pill { display: grid; justify-items: end; gap: 5px; padding-bottom: 8px; }
.release-pill strong { color: #dfe5ed; font-size: 14px; }
.release-pill span { color: #687485; font-size: 9px; }
.download-list { margin-top: 54px; border-top: 1px solid var(--line); }
.download-row {
  min-height: 112px;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: padding .2s ease, background .2s ease;
}
.download-row:hover { padding: 0 16px; background: linear-gradient(90deg, rgba(43,184,255,.035), transparent); }
.download-index { color: #425064; font-size: 9px; font-weight: 800; }
.download-row > div { display: grid; gap: 4px; }
.download-row strong { color: #e4e9ef; font-size: 18px; font-weight: 660; letter-spacing: -.025em; }
.download-row small { color: #6e7a8a; font-size: 10px; }
.download-action { color: #9edfff; font-size: 11px; font-weight: 700; }
.unsigned-note { margin: 18px 0 0; max-width: 760px; color: #5f6b7a; font-size: 10px; line-height: 1.65; }

.final-cta {
  min-height: 420px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 70px;
  align-items: center;
  border-top: 1px solid rgba(66,139,255,.24);
  border-bottom: 1px solid rgba(66,139,255,.2);
  background:
    radial-gradient(circle at 18% 50%, rgba(39,130,255,.12), transparent 34%),
    linear-gradient(90deg, rgba(43,216,212,.025), rgba(37,99,235,.035));
}
.final-cta .micro { display: inline-block; margin-bottom: 18px; }
.final-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

.footer {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 10px 72px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  color: #5f6b7a;
  font-size: 10px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand > div { display: grid; gap: 1px; }
.footer-brand strong { font-size: 13px; }
.footer-brand > div > span { font-size: 9px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { transition: color .2s ease; }
.footer-links a:hover, .footer p a:hover { color: #cbd4de; }
.footer p { grid-column: 1 / -1; margin: 0; }
.footer p a { color: #8190a1; }

@media (max-width: 1180px) {
  .topbar, .hero, .signal-strip, .section-shell, .footer { width: min(100% - 32px, 1080px); }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 78px; gap: 30px; }
  .hero-copy { max-width: 800px; padding-left: 0; }
  .hero-product { min-height: 720px; }
  .hero-panel { width: 440px; max-width: 72%; }
  .signal-strip { grid-template-columns: repeat(2,1fr); }
  .signal-strip > div:nth-child(2) { border-right: 0; }
  .signal-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .manifesto-grid, .product-story-grid, .security-grid, .start-grid { grid-template-columns: 1fr; gap: 62px; }
  .manifesto-heading { position: static; }
  .manifesto-lead { margin-bottom: 44px; }
  .permission-intro { grid-template-columns: 1fr; gap: 30px; }
  .permission-row { grid-template-columns: 48px 170px 1fr auto; }
  .product-story-copy { max-width: 720px; padding-right: 0; }
  .product-story-visual { min-height: 650px; }
}

@media (max-width: 760px) {
  .topbar, .hero, .signal-strip, .section-shell, .footer { width: calc(100% - 24px); }
  .topbar { height: 70px; grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .brand img { width: 34px; height: 34px; }
  .hero { padding: 62px 0 70px; }
  .hero h1 { font-size: clamp(50px, 15vw, 74px); }
  .hero-copy > p { font-size: 15px; }
  .hero-proof { gap: 10px 18px; }
  .hero-product { min-height: 570px; }
  .hero-panel { width: min(360px, 86vw); max-width: none; transform: none; }
  .product-platform { width: 80%; bottom: 52px; }
  .hero-grid { inset: 8% -22% 4%; }
  .status-float { min-width: 150px; padding: 10px 12px; }
  .status-float-left { left: 0; top: 24%; }
  .status-float-right { right: 0; bottom: 17%; }
  .signal-strip { grid-template-columns: 1fr; }
  .signal-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .signal-strip > div:last-child { border-bottom: 0; }
  .section-shell { padding: 96px 4px; }
  .section-index { margin-bottom: 32px; }
  .manifesto h2, .permission-intro h2, .product-story h2, .security h2, .start h2, .download h2, .final-cta h2 { font-size: clamp(42px, 12vw, 62px); }
  .manifesto-lead { font-size: 21px; }
  .principles article { grid-template-columns: 34px 1fr; gap: 14px; }
  .principles article h3 { grid-column: 2; }
  .principles article p { grid-column: 2; }
  .permission-row { grid-template-columns: 34px 1fr; gap: 12px; padding: 24px 0; }
  .permission-row > p, .risk { grid-column: 2; justify-self: start; }
  .permission-name strong { font-size: 18px; }
  .product-story-visual { min-height: 570px; }
  .story-panel { width: min(340px, 82vw); }
  .note-a { left: -2%; top: 34%; }
  .note-b { right: -2%; bottom: 18%; }
  .architecture-wrap { min-height: auto; padding: 22px; }
  .download-topline { grid-template-columns: 1fr; gap: 24px; }
  .release-pill { justify-items: start; }
  .download-row { grid-template-columns: 36px 1fr; gap: 12px; padding: 18px 0; }
  .download-action { grid-column: 2; }
  .final-cta { min-height: 380px; grid-template-columns: 1fr; gap: 40px; align-content: center; }
  .final-actions { justify-content: flex-start; }
  .footer { grid-template-columns: 1fr; }
  .footer-links { gap: 14px 18px; }
  .footer p { grid-column: 1; }
}

@media (max-width: 470px) {
  .status-float { display: none; }
  .hero-product { min-height: 500px; }
  .hero-panel { width: min(330px, 88vw); }
  .story-note { display: none; }
  .product-story-visual { min-height: 500px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-panel { animation: hero-float 8s ease-in-out infinite; }
  .status-float-left { animation: float-a 7.2s ease-in-out infinite; }
  .status-float-right { animation: float-b 8.6s ease-in-out infinite; }
  @keyframes hero-float {
    0%,100% { transform: rotateY(-7deg) rotateX(1.2deg) translateY(-6px); }
    50% { transform: rotateY(-5.6deg) rotateX(.7deg) translateY(-14px); }
  }
  @keyframes float-a { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
  @keyframes float-b { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
}


/* Motion + interaction polish ------------------------------------------------ */
:root { --scroll-progress: 0%; }

body::after {
  content: "";
  position: fixed;
  z-index: 120;
  top: 0;
  right: 0;
  width: 1px;
  height: var(--scroll-progress);
  pointer-events: none;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  box-shadow: 0 0 12px rgba(34,184,255,.35);
  opacity: .55;
}

.topbar {
  transition: background-color .35s ease, border-color .35s ease, box-shadow .35s ease, transform .35s ease;
}
.topbar.is-scrolled {
  border-color: rgba(255,255,255,.105);
  background: rgba(5,8,13,.82);
  box-shadow: 0 18px 60px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.025);
}
.nav a {
  position: relative;
  transition: color .25s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 14px;
  height: 1px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--cyan), var(--sky));
  opacity: 0;
  transform: translateX(-50%) scaleX(.35);
  transition: opacity .25s ease, transform .25s ease;
}
.nav a:hover::after,
.nav a.is-active::after { opacity: .9; transform: translateX(-50%) scaleX(1); }
.nav a.is-active { color: #eef6ff; }

.button, .nav-cta, .download-row {
  position: relative;
  overflow: hidden;
}
.button::before, .nav-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,.16) 48%, transparent 76%);
  transform: translateX(-125%);
  transition: transform .65s cubic-bezier(.22,1,.36,1);
}
.button:hover::before, .nav-cta:hover::before { transform: translateX(125%); }

.hero-product {
  --hero-panel-x: 0px;
  --hero-panel-y: 0px;
  --hero-grid-x: 0px;
  --hero-grid-y: 0px;
  --hero-glow-x: 0px;
  --hero-glow-y: 0px;
  --hero-float-left-x: 0px;
  --hero-float-left-y: 0px;
  --hero-float-right-x: 0px;
  --hero-float-right-y: 0px;
}
.hero-grid {
  translate: var(--hero-grid-x) var(--hero-grid-y);
  transition: translate .7s cubic-bezier(.22,1,.36,1);
}
.product-glow,
.product-platform {
  translate: var(--hero-glow-x) var(--hero-glow-y);
  transition: translate .8s cubic-bezier(.22,1,.36,1);
}
.hero-panel {
  translate: var(--hero-panel-x) var(--hero-panel-y);
  transition: translate .55s cubic-bezier(.22,1,.36,1);
  will-change: translate;
}
.status-float-left {
  translate: var(--hero-float-left-x) var(--hero-float-left-y);
  transition: translate .65s cubic-bezier(.22,1,.36,1);
}
.status-float-right {
  translate: var(--hero-float-right-x) var(--hero-float-right-y);
  transition: translate .65s cubic-bezier(.22,1,.36,1);
}

.permission-row, .download-row, .security-list article, .principles article {
  transition: background-color .3s ease, border-color .3s ease, transform .3s ease;
}
.permission-row:hover { background: rgba(255,255,255,.018); }
.permission-row:hover .permission-number { color: #8c9caf; }
.permission-row.permission-full:hover { background: rgba(255,159,10,.018); }
.permission-row.permission-unlock:hover { background: rgba(255,69,58,.018); }
.security-list article:hover, .principles article:hover { transform: translateX(4px); }
.download-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  transform: scaleY(0);
  transform-origin: center;
  transition: transform .32s cubic-bezier(.22,1,.36,1);
}
.download-row:hover::before { transform: scaleY(1); }
.download-action { transition: transform .3s ease, color .3s ease; }
.download-row:hover .download-action { transform: translateX(5px); color: #f3f9ff; }

.section-index {
  position: relative;
  padding-left: 18px;
}
.section-index::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  opacity: .7;
}

@media (prefers-reduced-motion: no-preference) {
  .motion-ready .hero-copy > *,
  .motion-ready .hero-product {
    opacity: 0;
  }
  .motion-ready .hero-copy > * { transform: translateY(20px); }
  .motion-ready .hero-product { transform: translateY(22px) scale(.985); }

  .motion-ready.site-ready .hero-copy > *,
  .motion-ready.site-ready .hero-product {
    opacity: 1;
    transform: none;
    transition-property: opacity, transform;
    transition-duration: .9s;
    transition-timing-function: cubic-bezier(.16,1,.3,1);
  }
  .motion-ready.site-ready .hero-copy > :nth-child(1) { transition-delay: .04s; }
  .motion-ready.site-ready .hero-copy > :nth-child(2) { transition-delay: .10s; }
  .motion-ready.site-ready .hero-copy > :nth-child(3) { transition-delay: .17s; }
  .motion-ready.site-ready .hero-copy > :nth-child(4) { transition-delay: .24s; }
  .motion-ready.site-ready .hero-copy > :nth-child(5) { transition-delay: .31s; }
  .motion-ready.site-ready .hero-product { transition-delay: .15s; }

  .motion-ready .reveal {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(5px);
    transition:
      opacity .72s cubic-bezier(.16,1,.3,1),
      transform .8s cubic-bezier(.16,1,.3,1),
      filter .72s ease;
    transition-delay: calc(var(--reveal-order, 0) * 55ms);
    will-change: opacity, transform, filter;
  }
  .motion-ready .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::after { display: none; }
  .hero-panel, .status-float-left, .status-float-right { animation: none !important; translate: none !important; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media (max-width: 760px) {
  body::after { display: none; }
  .hero-grid, .product-glow, .product-platform, .hero-panel, .status-float-left, .status-float-right { translate: none !important; }
}

/* Decorative layers may extend beyond the viewport, but must never create horizontal page scroll. */
html, body { overflow-x: hidden; }
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}
