:root {
  color-scheme: light;
  --ink: #071a3a;
  --ink-soft: #34425b;
  --muted: #6e7788;
  --line: rgba(7, 26, 58, 0.1);
  --paper: #f5f5f7;
  --white: #ffffff;
  --teal: #0d8c83;
  --teal-dark: #08645f;
  --blue: #2868d8;
  --orange: #e95f2a;
  --red: #c93a26;
  --shadow: 0 30px 80px rgba(10, 28, 56, 0.12);
  --radius-xl: 38px;
  --radius-lg: 28px;
  --max-width: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::selection {
  color: var(--white);
  background: var(--teal);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  padding: 12px 22px;
  transition: padding 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.site-header.is-scrolled {
  padding-top: 8px;
  padding-bottom: 8px;
  background: rgba(245, 245, 247, 0.76);
  box-shadow: 0 1px 0 rgba(7, 26, 58, 0.08);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
}

.nav-shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: var(--max-width);
  min-height: 48px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  width: fit-content;
  font-size: 19px;
  font-weight: 720;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  color: var(--white);
  background: linear-gradient(145deg, #18396f, #071a3a 64%, #0d8c83);
  box-shadow: 0 7px 18px rgba(7, 26, 58, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  font-size: 18px;
  font-weight: 800;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(7, 26, 58, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 8px 32px rgba(19, 38, 69, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.desktop-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 650;
  transition: color 160ms ease, background 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--ink);
  background: var(--white);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.beta-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid rgba(13, 140, 131, 0.2);
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(231, 249, 245, 0.82);
  font-size: 12px;
  font-weight: 700;
}

.beta-pill::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #20af8d;
  box-shadow: 0 0 0 5px rgba(32, 175, 141, 0.12);
  content: "";
}

.nav-download {
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  font-size: 13px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease;
}

.nav-download:hover {
  background: #173b76;
  transform: translateY(-1px);
}

.chapter-rail {
  position: fixed;
  z-index: 60;
  top: 50%;
  right: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(-50%);
}

.chapter-rail a {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
}

.chapter-rail span {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(7, 26, 58, 0.24);
  transition: width 180ms ease, height 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.chapter-rail a:hover span,
.chapter-rail a.is-active span {
  width: 9px;
  height: 9px;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(13, 140, 131, 0.12);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: 120px 24px 100px;
  background:
    radial-gradient(circle at 18% 24%, rgba(67, 142, 228, 0.16), transparent 34%),
    radial-gradient(circle at 82% 28%, rgba(20, 172, 145, 0.15), transparent 36%),
    linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 72%, #ffffff 100%);
}

.hero-aurora {
  position: absolute;
  top: 8%;
  left: 50%;
  width: min(1040px, 86vw);
  height: min(620px, 58vw);
  border-radius: 50%;
  background: conic-gradient(from 180deg at 50% 50%, rgba(45, 103, 214, 0.08), rgba(38, 190, 164, 0.12), rgba(255, 137, 70, 0.08), rgba(45, 103, 214, 0.08));
  filter: blur(54px);
  opacity: 0.88;
  transform: translateX(-50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin-top: -90px;
  text-align: center;
}

.hero-eyebrow {
  margin: 0 0 22px;
  color: var(--teal-dark);
  font-size: clamp(12px, 1.2vw, 15px);
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(82px, 15vw, 210px);
  font-weight: 820;
  letter-spacing: -0.085em;
  line-height: 0.82;
  background: linear-gradient(118deg, #061733 10%, #244f91 48%, #087f77 92%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 42px auto 0;
  color: var(--ink);
  font-size: clamp(30px, 4.4vw, 66px);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.hero-subcopy {
  max-width: 760px;
  margin: 24px auto 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.7vw, 22px);
  line-height: 1.75;
}

.hero-actions,
.download-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(7, 26, 58, 0.22);
}

.button-primary:hover {
  background: #173b76;
}

.button-quiet {
  border-color: rgba(7, 26, 58, 0.12);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 30px rgba(7, 26, 58, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.button-quiet:hover {
  border-color: rgba(7, 26, 58, 0.24);
  background: var(--white);
}

.hero-object {
  position: absolute;
  z-index: 1;
  right: 4vw;
  bottom: 8vh;
  width: min(430px, 32vw);
  height: min(310px, 24vw);
  opacity: 0.62;
  transform: rotate(-5deg);
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(13, 140, 131, 0.18);
  border-radius: 50%;
}

.orbit-one {
  inset: 4% 8%;
}

.orbit-two {
  inset: 17% -8% -8% 18%;
  border-color: rgba(40, 104, 216, 0.14);
}

.capsule {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 26px 56px rgba(12, 42, 76, 0.15), inset 0 1px 0 #fff;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.capsule-large {
  top: 22%;
  left: 21%;
  display: grid;
  width: 58%;
  min-height: 50%;
  place-items: center;
  align-content: center;
  border-radius: 28px;
  text-align: center;
}

.capsule-large strong {
  font-size: clamp(17px, 1.5vw, 23px);
}

.capsule-large small {
  margin-top: 7px;
  color: var(--muted);
}

.capsule-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 15px;
  color: var(--white);
  background: linear-gradient(145deg, var(--teal), #13509a);
  font-size: 24px;
}

.capsule-small {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 15px;
  border-radius: 18px;
  font-size: 12px;
}

.capsule-left {
  bottom: 2%;
  left: 2%;
}

.capsule-right {
  top: 2%;
  right: 0;
}

.capsule-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.capsule-dot.teal {
  background: var(--teal);
}

.capsule-dot.orange {
  background: var(--orange);
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 22px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  transform: translateX(-50%);
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 28px;
  background: linear-gradient(var(--muted), transparent);
  animation: scroll-pulse 1.8s ease-in-out infinite;
}

.story {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: center;
  padding: 110px 42px;
  background: var(--white);
}

.story-shell {
  display: grid;
  grid-template-columns: minmax(340px, 0.78fr) minmax(560px, 1.35fr);
  align-items: center;
  gap: clamp(44px, 5vw, 92px);
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.story-shell-reverse {
  grid-template-columns: minmax(560px, 1.35fr) minmax(340px, 0.78fr);
}

.story-shell-reverse .story-copy {
  grid-column: 2;
  grid-row: 1;
}

.story-shell-reverse .story-visual {
  grid-column: 1;
  grid-row: 1;
}

.story-shell-wide {
  display: flex;
  flex-direction: column;
  gap: 42px;
}

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

.story-copy-centered {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.chapter-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chapter-label span {
  display: inline-grid;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  place-items: center;
  border: 1px solid rgba(13, 140, 131, 0.18);
  border-radius: 999px;
  background: rgba(230, 249, 245, 0.8);
}

.story h2,
.bridge h2,
.invite h2,
.download h2 {
  margin: 0;
  font-size: clamp(42px, 5.2vw, 76px);
  font-weight: 790;
  letter-spacing: -0.062em;
  line-height: 1.08;
}

.story-intro {
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.82;
}

.story-punchline {
  margin: 28px 0 0;
  padding-left: 18px;
  border-left: 3px solid var(--orange);
  color: var(--ink);
  font-size: clamp(18px, 1.65vw, 23px);
  font-weight: 720;
  line-height: 1.55;
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.signal-row span {
  padding: 9px 13px;
  border: 1px solid rgba(201, 58, 38, 0.15);
  border-radius: 999px;
  color: #993322;
  background: #fff3ef;
  font-size: 13px;
  font-weight: 700;
}

.visual-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(7, 26, 58, 0.08);
  border-radius: var(--radius-xl);
  background: #eef1f3;
  box-shadow: var(--shadow);
}

.visual-card::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: inherit;
  pointer-events: none;
  content: "";
}

.visual-card img {
  width: 100%;
  height: auto;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.visual-card:hover img {
  transform: scale(1.018);
}

.story-pain {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.story-why {
  background: linear-gradient(180deg, #edf5fb, #f7fbfd 65%, #ffffff);
}

.visual-card-blue {
  background: #c9e1f0;
  box-shadow: 0 36px 90px rgba(14, 72, 123, 0.18);
}

.story-kitchen {
  padding-top: 130px;
  padding-bottom: 130px;
  background: linear-gradient(180deg, #fffaf1, #ffffff 42%, #f8fbfa);
}

.visual-card-kitchen {
  width: min(1220px, 100%);
  margin-inline: auto;
  box-shadow: 0 36px 90px rgba(119, 70, 26, 0.17);
}

.kitchen-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: min(1220px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.kitchen-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  padding: 20px;
  border: 1px solid rgba(7, 26, 58, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 38px rgba(7, 26, 58, 0.06);
}

.kitchen-steps li > span {
  display: grid;
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  color: var(--white);
  background: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.kitchen-steps strong {
  font-size: 16px;
}

.kitchen-steps small {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.45;
}

.story-security {
  background: linear-gradient(180deg, #f3f7f6, #ffffff);
}

.visual-card-security {
  box-shadow: 0 36px 90px rgba(13, 70, 73, 0.18);
}

.equation-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding: 18px;
  border: 1px solid rgba(7, 26, 58, 0.09);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(14, 62, 102, 0.08);
  text-align: center;
}

.equation-card span {
  padding: 12px 8px;
  border-radius: 15px;
  color: var(--ink);
  background: #ffffff;
  font-weight: 740;
}

.equation-card b {
  color: var(--orange);
  font-size: 32px;
}

.security-compare {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.security-compare > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 18px;
}

.security-compare small {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.security-compare strong {
  text-align: right;
}

.compare-risk {
  color: #8d2b1f;
  background: #fff0ec;
}

.compare-safe {
  color: #075c57;
  background: #e7f7f4;
}

.bridge {
  position: relative;
  display: grid;
  min-height: 62svh;
  place-items: center;
  overflow: hidden;
  padding: 100px 24px;
  text-align: center;
}

.bridge::before,
.bridge::after {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.38;
  content: "";
}

.bridge::before {
  top: -160px;
  left: -80px;
}

.bridge::after {
  right: -100px;
  bottom: -180px;
}

.bridge-copy {
  position: relative;
  z-index: 2;
  max-width: 1100px;
}

.bridge p {
  margin: 0 0 18px;
  font-size: clamp(16px, 1.7vw, 22px);
  font-weight: 680;
  letter-spacing: 0.02em;
}

.bridge h2 {
  font-size: clamp(40px, 5.4vw, 82px);
}

.bridge-blue {
  color: var(--white);
  background: linear-gradient(135deg, #071a3a, #103b70 54%, #08716b);
}

.bridge-blue p {
  color: #91d7d0;
}

.bridge-blue::before {
  background: #196ad8;
}

.bridge-blue::after {
  background: #0fa58e;
}

.bridge-warm {
  color: #48200f;
  background: linear-gradient(135deg, #fff4df, #ffd9b6 54%, #f6aa71);
}

.bridge-warm p {
  color: #b84b20;
}

.bridge-warm::before {
  background: #fff1bf;
}

.bridge-warm::after {
  background: #e95f2a;
}

.bridge-dark {
  color: var(--white);
  background: linear-gradient(135deg, #0b182d, #142c3d 52%, #0b5e58);
}

.bridge-dark p {
  color: #8bd6cd;
}

.bridge-dark::before {
  background: #d4492e;
}

.bridge-dark::after {
  background: #0fa58e;
}

.invite {
  position: relative;
  display: grid;
  min-height: 88svh;
  place-items: center;
  overflow: hidden;
  padding: 120px 24px;
  color: var(--white);
  background: #071326;
  text-align: center;
}

.invite::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.13) 0.8px, transparent 0.8px);
  background-size: 22px 22px;
  opacity: 0.22;
  content: "";
}

.invite-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(900px, 90vw);
  height: min(560px, 70vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 152, 139, 0.34), rgba(31, 86, 150, 0.18) 44%, transparent 72%);
  filter: blur(10px);
  transform: translate(-50%, -50%);
}

.invite-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
}

.chapter-label-light {
  color: #a6e3dc;
}

.chapter-label-light span {
  border-color: rgba(143, 224, 214, 0.22);
  background: rgba(52, 164, 150, 0.12);
}

.invite h2 {
  font-size: clamp(48px, 7vw, 96px);
}

.invite-content > p:not(.chapter-label) {
  max-width: 760px;
  margin: 28px auto 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(17px, 1.8vw, 23px);
  line-height: 1.75;
}

.invite-state {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  width: fit-content;
  margin: 34px auto;
  padding: 18px 22px;
  border: 1px solid rgba(150, 230, 218, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  text-align: left;
}

.state-dot {
  grid-row: 1 / 3;
  align-self: center;
  width: 10px;
  height: 10px;
  margin-right: 13px;
  border-radius: 50%;
  background: #36d4af;
  box-shadow: 0 0 0 7px rgba(54, 212, 175, 0.12), 0 0 24px rgba(54, 212, 175, 0.7);
}

.invite-state strong {
  font-size: 16px;
}

.invite-state small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.55);
}

.button-light {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
}

.download {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  min-height: 100svh;
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
  overflow: hidden;
  padding: 130px max(6vw, 32px);
  background:
    radial-gradient(circle at 78% 35%, rgba(29, 154, 142, 0.16), transparent 36%),
    linear-gradient(180deg, #f8fafb, #ffffff);
}

.download-content {
  max-width: 720px;
  justify-self: end;
}

.download h2 {
  font-size: clamp(48px, 5.3vw, 76px);
}

.download-intro {
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.65;
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  min-height: 24px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
}

.download-meta span:not(:empty)::before {
  margin-right: 6px;
  color: var(--teal);
  content: "•";
}

.download-actions {
  justify-content: flex-start;
}

.button-download {
  min-width: 186px;
  color: var(--white);
  background: linear-gradient(135deg, #0d8c83, #1268ac);
  box-shadow: 0 16px 34px rgba(13, 121, 125, 0.24);
}

.button-download.is-loading {
  cursor: wait;
  opacity: 0.66;
}

.compatibility-warning {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  max-width: 580px;
  margin: 14px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(196, 126, 25, 0.22);
  border-radius: 12px;
  color: #704c17;
  background: rgba(255, 247, 230, 0.9);
  font-size: 11px;
  line-height: 1.5;
  text-align: left;
}

.compatibility-warning::before {
  display: grid;
  grid-row: 1 / 3;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  place-items: center;
  color: #ffffff;
  background: #c78321;
  font-size: 10px;
  font-weight: 800;
  content: "!";
}

.compatibility-warning strong,
.compatibility-warning span {
  grid-column: 2;
}

.compatibility-warning strong {
  color: #5e3c0b;
  font-size: 11px;
  font-weight: 680;
}

.compatibility-warning span {
  margin-top: 1px;
}

.download-note {
  max-width: 600px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.download-device {
  position: relative;
  width: min(680px, 48vw);
  perspective: 1200px;
}

.device-window {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.24 / 1;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(225, 237, 240, 0.9));
  box-shadow: 0 52px 100px rgba(7, 34, 63, 0.2), inset 0 1px 0 #fff;
  transform: rotateY(-8deg) rotateX(3deg);
  transform-origin: center;
}

.device-bar {
  display: flex;
  gap: 7px;
  height: 48px;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1px solid rgba(7, 26, 58, 0.08);
  background: rgba(255, 255, 255, 0.6);
}

.device-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d3d8df;
}

.device-bar i:first-child {
  background: #f47b65;
}

.device-bar i:nth-child(2) {
  background: #eec55c;
}

.device-bar i:last-child {
  background: #53bd8b;
}

.device-body {
  position: relative;
  display: grid;
  height: calc(100% - 48px);
  place-items: center;
  align-content: center;
  background:
    radial-gradient(circle at 50% 46%, rgba(25, 142, 131, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(248, 251, 252, 0.82), rgba(216, 233, 236, 0.64));
}

.device-brand {
  display: grid;
  width: 116px;
  height: 116px;
  place-items: center;
  border-radius: 32px;
  color: var(--white);
  background: linear-gradient(145deg, #193c72, #071a3a 58%, #0b8179);
  box-shadow: 0 24px 50px rgba(7, 26, 58, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.34);
  font-size: 58px;
  font-weight: 800;
}

.device-lines {
  display: grid;
  gap: 8px;
  width: 46%;
  margin-top: 30px;
}

.device-lines i {
  height: 8px;
  border-radius: 999px;
  background: rgba(7, 26, 58, 0.13);
}

.device-lines i:nth-child(2) {
  width: 80%;
}

.device-lines i:nth-child(3) {
  width: 62%;
}

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

.device-capsules b {
  width: 70px;
  height: 54px;
  border-radius: 15px;
  background: #e8a442;
  box-shadow: 0 10px 20px rgba(7, 26, 58, 0.1);
}

.device-capsules b:nth-child(2) {
  background: #56a891;
}

.device-capsules b:nth-child(3) {
  background: #586ab2;
}

.device-shadow {
  width: 78%;
  height: 40px;
  margin: 22px auto 0;
  border-radius: 50%;
  background: rgba(10, 37, 63, 0.18);
  filter: blur(22px);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 28px max(5vw, 24px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--white);
  font-size: 12px;
}

.footer-brand {
  color: var(--ink);
  font-size: 16px;
}

.footer-brand .brand-mark {
  width: 29px;
  height: 29px;
  border-radius: 9px;
  font-size: 15px;
}

.site-footer p {
  margin: 0;
}

.site-footer p:last-child {
  justify-self: end;
}

.download-nav-shell {
  grid-template-columns: 1fr auto;
}

.download-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 16%, rgba(20, 159, 145, 0.16), transparent 30%),
    radial-gradient(circle at 14% 28%, rgba(42, 105, 215, 0.12), transparent 30%),
    #f7f8fa;
}

.installer-main {
  padding-top: 76px;
}

.installer-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  min-height: 76svh;
  align-items: center;
  gap: clamp(50px, 8vw, 130px);
  max-width: 1260px;
  margin: 0 auto;
  padding: 100px 32px 80px;
}

.installer-copy h1 {
  margin: 0;
  font-size: clamp(54px, 7vw, 102px);
  font-weight: 810;
  letter-spacing: -0.07em;
  line-height: 0.98;
}

.installer-copy > p:not(.chapter-label) {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.76;
}

.installer-copy > .button {
  margin-top: 32px;
}

.installer-icon {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 30%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(214, 234, 235, 0.8));
  box-shadow: 0 50px 100px rgba(7, 43, 67, 0.18), inset 0 1px 0 #fff;
  transform: rotate(-5deg);
}

.installer-icon span {
  position: relative;
  z-index: 2;
  display: grid;
  width: 58%;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 29%;
  color: var(--white);
  background: linear-gradient(145deg, #224d8d, #071a3a 56%, #0d8c83);
  box-shadow: 0 30px 60px rgba(7, 26, 58, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  font-size: clamp(80px, 11vw, 150px);
  font-weight: 820;
}

.installer-icon i {
  position: absolute;
  inset: 11%;
  border: 1px solid rgba(13, 140, 131, 0.18);
  border-radius: 50%;
  animation: installer-ring 7s linear infinite;
}

.install-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px 110px;
}

.install-steps article {
  padding: 30px;
  border: 1px solid rgba(7, 26, 58, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 20px 50px rgba(7, 26, 58, 0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.install-steps article > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  background: var(--ink);
  font-weight: 800;
}

.install-steps h2 {
  margin: 32px 0 0;
  font-size: 25px;
  letter-spacing: -0.04em;
}

.install-steps p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.installer-note {
  padding: 110px 24px;
  color: var(--white);
  background: linear-gradient(135deg, #071a3a, #0b5655);
  text-align: center;
}

.installer-note h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 70px);
  letter-spacing: -0.055em;
}

.installer-note p {
  max-width: 660px;
  margin: 22px auto 30px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  line-height: 1.7;
}

.installer-note .button-quiet {
  color: var(--ink);
  background: var(--white);
}

@keyframes installer-ring {
  to { transform: rotate(360deg); }
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1), transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.75); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

@media (max-width: 1120px) {
  .story-shell,
  .story-shell-reverse {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .story-shell-reverse .story-copy,
  .story-shell-reverse .story-visual {
    grid-column: 1;
  }

  .story-shell-reverse .story-copy {
    grid-row: 1;
  }

  .story-shell-reverse .story-visual {
    grid-row: 2;
  }

  .story-copy:not(.story-copy-centered) {
    max-width: 880px;
  }

  .story {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 120px;
  }

  .kitchen-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .download {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 130px;
    padding-bottom: 100px;
  }

  .download-content {
    max-width: 860px;
    justify-self: center;
    text-align: center;
  }

  .download-actions {
    justify-content: center;
  }

  .download-meta {
    justify-content: center;
  }

  .download-note {
    margin-right: auto;
    margin-left: auto;
  }

  .compatibility-warning {
    margin-right: auto;
    margin-left: auto;
  }

  .download-device {
    width: min(650px, 80vw);
    justify-self: center;
  }

  .installer-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .installer-copy > p:not(.chapter-label) {
    margin-right: auto;
    margin-left: auto;
  }

  .installer-copy .download-meta {
    justify-content: center;
  }

  .installer-icon {
    width: min(430px, 68vw);
    justify-self: center;
  }
}

@media (max-width: 820px) {
  .site-header {
    padding: 9px 14px;
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .brand {
    font-size: 17px;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
    border-radius: 10px;
    font-size: 16px;
  }

  .chapter-rail {
    display: none;
  }

  .hero {
    min-height: 100svh;
    padding: 112px 20px 96px;
  }

  .hero-content {
    margin-top: -40px;
  }

  .hero-object {
    right: -42px;
    bottom: 76px;
    width: 250px;
    height: 180px;
    opacity: 0.22;
  }

  .story {
    padding: 92px 20px;
  }

  .story-shell {
    gap: 30px;
  }

  .visual-card {
    border-radius: 24px;
  }

  .bridge {
    min-height: 54svh;
    padding: 86px 20px;
  }

  .invite {
    min-height: 78svh;
    padding: 100px 20px;
  }

  .download {
    padding: 110px 20px 80px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .site-footer p:nth-of-type(1) {
    display: none;
  }

  .installer-main {
    padding-top: 62px;
  }

  .installer-hero {
    min-height: auto;
    padding: 90px 20px 70px;
  }

  .install-steps {
    grid-template-columns: 1fr;
    padding: 0 20px 80px;
  }
}

@media (max-width: 560px) {
  .beta-pill {
    padding: 7px 10px;
    font-size: 10px;
  }

  .nav-download {
    display: none;
  }

  .hero h1 {
    font-size: clamp(72px, 23vw, 118px);
    line-height: 0.88;
  }

  .hero-lead {
    margin-top: 30px;
    font-size: 38px;
  }

  .hero-subcopy {
    font-size: 16px;
    line-height: 1.7;
  }

  .hero-subcopy br {
    display: none;
  }

  .hero-actions,
  .download-actions {
    flex-direction: column;
  }

  .hero-actions .button,
  .download-actions .button {
    width: 100%;
  }

  .story h2,
  .bridge h2,
  .invite h2,
  .download h2 {
    font-size: 40px;
    letter-spacing: -0.05em;
  }

  .story-intro {
    font-size: 16px;
    line-height: 1.75;
  }

  .story-punchline {
    font-size: 17px;
  }

  .chapter-label {
    margin-bottom: 18px;
    font-size: 11px;
  }

  .chapter-label span {
    min-width: 29px;
    height: 29px;
  }

  .signal-row {
    gap: 6px;
  }

  .signal-row span {
    padding: 8px 10px;
    font-size: 11px;
  }

  .visual-card {
    width: calc(100% + 16px);
    margin-left: -8px;
    border-radius: 20px;
  }

  .equation-card {
    gap: 7px;
    padding: 12px;
  }

  .equation-card span {
    padding: 10px 5px;
    font-size: 13px;
  }

  .equation-card b {
    font-size: 24px;
  }

  .kitchen-steps {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .kitchen-steps li {
    padding: 16px;
  }

  .security-compare > div {
    display: grid;
    gap: 5px;
  }

  .security-compare strong {
    text-align: left;
  }

  .invite-state {
    width: 100%;
    padding: 16px;
  }

  .invite-state small {
    font-size: 11px;
  }

  .download-device {
    width: 104vw;
    margin-left: -8vw;
  }

  .device-window {
    border-radius: 24px;
    transform: rotateY(-4deg) rotateX(2deg);
  }

  .device-brand {
    width: 76px;
    height: 76px;
    border-radius: 22px;
    font-size: 39px;
  }

  .device-capsules b {
    width: 46px;
    height: 38px;
    border-radius: 10px;
  }

  .site-footer {
    gap: 14px;
    padding: 22px 18px;
  }

  .installer-copy h1 {
    font-size: 52px;
  }

  .installer-copy > .button {
    width: 100%;
  }

  .installer-icon {
    width: 78vw;
  }

  .install-steps article {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
