:root {
  color-scheme: dark;
  --ink-strong: #f7f9fc;
  --ink: #d9e2f1;
  --ink-muted: #91a0b6;
  --ink-faint: #66758c;
  --canvas: #070b12;
  --canvas-soft: #0b111c;
  --surface: #101826;
  --surface-raised: #151f30;
  --surface-soft: #1a2537;
  --line: rgba(188, 208, 238, 0.14);
  --line-strong: rgba(188, 208, 238, 0.26);
  --blue: #2f7df4;
  --blue-bright: #55a5ff;
  --blue-deep: #0e4db1;
  --cyan: #73d8ff;
  --gold: #f5bd72;
  --green: #5bd5a7;
  --warning: #ffca7a;
  --danger: #ff8f8f;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 18px 55px rgba(0, 0, 0, 0.24);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --max: 1720px;
  --font-display: "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  --font-body: "HarmonyOS Sans SC", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  --font-mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--canvas);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 3%, rgba(47, 125, 244, 0.14), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(115, 216, 255, 0.08), transparent 25rem),
    var(--canvas);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

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

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

button,
input {
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: #06101c;
  background: var(--cyan);
  border-radius: 10px;
  transform: translateY(-150%);
}

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

.container {
  width: min(calc(100% - clamp(40px, 6vw, 120px)), var(--max));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 104px 0;
}

.section-tight {
  padding: 76px 0;
}

.section-kicker {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-kicker::before {
  width: 26px;
  height: 1px;
  content: "";
  background: currentColor;
  box-shadow: 7px 0 16px currentColor;
}

.section-title {
  max-width: 760px;
  margin: 0;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 720;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.section-lead {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--ink-muted);
  font-size: clamp(17px, 1.8vw, 20px);
}

.content-offset-sm {
  margin-top: 32px;
}

.content-offset-lg {
  margin-top: 58px;
}

.section-title-compact {
  font-size: clamp(30px, 4vw, 48px);
}

.full-span {
  grid-column: 1 / -1;
}

.eyebrow {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  min-height: 32px;
  padding: 5px 12px;
  color: #c9e7ff;
  background: rgba(47, 125, 244, 0.12);
  border: 1px solid rgba(85, 165, 255, 0.28);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(91, 213, 167, 0.8);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(7, 11, 18, 0.74);
  backdrop-filter: blur(20px) saturate(130%);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(7, 11, 18, 0.92);
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 34px;
  align-items: center;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  overflow: hidden;
  background: #224e7f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  display: block;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 760;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.brand-subtitle {
  display: block;
  margin-top: 3px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  line-height: 1;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
}

.main-nav a {
  position: relative;
  padding: 10px 0;
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 650;
  transition: color 160ms ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 999px;
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--ink-strong);
}

.main-nav a[aria-current="page"]::after,
.main-nav a:hover::after {
  transform: scaleX(1);
}

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

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--ink-strong);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
}

.theme-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--ink-strong);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  place-items: center;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.theme-toggle:hover {
  color: var(--cyan);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(85, 165, 255, 0.38);
  transform: rotate(8deg);
}

.theme-icon {
  width: 19px;
  height: 19px;
}

html[data-theme="dark"] .theme-icon-moon,
html[data-theme="light"] .theme-icon-sun {
  display: none;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.button {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  color: #07111e;
  background: var(--ink-strong);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  font-weight: 760;
  line-height: 1.2;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  background: #fff;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
  transform: translateY(-2px);
}

.button svg {
  width: 19px;
  height: 19px;
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-deep));
  border-color: rgba(108, 179, 255, 0.42);
  box-shadow: 0 18px 44px rgba(21, 95, 214, 0.34);
}

.button-primary:hover {
  background: linear-gradient(135deg, #6ab5ff, #175dc9);
  box-shadow: 0 24px 58px rgba(21, 95, 214, 0.44);
}

.button-secondary {
  color: var(--ink-strong);
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--line-strong);
  box-shadow: none;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.button-compact {
  min-height: 42px;
  padding: 9px 17px;
  font-size: 14px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: 58px;
  align-items: center;
  min-height: calc(100svh - 76px);
  padding: 86px 0 100px;
}

.hero::before {
  position: absolute;
  top: 8%;
  left: 48%;
  width: 420px;
  height: 420px;
  content: "";
  background: rgba(47, 125, 244, 0.13);
  border-radius: 50%;
  filter: blur(110px);
}

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

.hero-title {
  margin: 26px 0 24px;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: clamp(46px, 5.4vw, 74px);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1.03;
}

.hero-title .gradient-text {
  color: transparent;
  background: linear-gradient(105deg, #fff 0%, #b9d8ff 44%, #66bdff 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lead {
  max-width: 660px;
  margin: 0;
  color: var(--ink-muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 32px;
  color: var(--ink-faint);
  font-size: 13px;
}

.hero-meta span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.hero-meta span::before {
  width: 6px;
  height: 6px;
  content: "";
  background: var(--blue-bright);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(85, 165, 255, 0.7);
}

.device-stage {
  position: relative;
  min-height: 570px;
  isolation: isolate;
}

.device-stage::after {
  position: absolute;
  right: 2%;
  bottom: 3%;
  left: 8%;
  z-index: -2;
  height: 58px;
  content: "";
  background: #000;
  border-radius: 50%;
  filter: blur(36px);
  opacity: 0.7;
}

.monitor {
  position: absolute;
  top: 62px;
  right: 0;
  width: 82%;
  aspect-ratio: 16 / 11;
  padding: 12px;
  background: linear-gradient(145deg, #dbe8f7, #8798ae 45%, #dce6f1 78%);
  border-radius: 28px;
  box-shadow: var(--shadow);
  transform: perspective(1000px) rotateY(-8deg) rotateX(2deg);
}

.monitor-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 68% 24%, rgba(75, 161, 255, 0.46), transparent 38%),
    linear-gradient(145deg, #0d315b, #061422 68%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 19px;
}

.monitor-screen::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, transparent 49.7%, rgba(255, 255, 255, 0.06) 50%, transparent 50.3%),
    linear-gradient(transparent 49.7%, rgba(255, 255, 255, 0.06) 50%, transparent 50.3%);
  background-size: 80px 80px;
  opacity: 0.45;
}

.monitor-person {
  position: absolute;
  right: 16%;
  bottom: -11%;
  width: 48%;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 50% 27%, #a9d6ff 0 18%, transparent 18.8%),
    radial-gradient(ellipse at 50% 89%, #3b8fe5 0 36%, transparent 36.8%);
  filter: drop-shadow(0 0 28px rgba(74, 165, 255, 0.55));
  opacity: 0.95;
}

.monitor-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 7px 11px;
  color: #cdeaff;
  background: rgba(3, 12, 22, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  backdrop-filter: blur(14px);
}

.monitor-badge::before {
  width: 7px;
  height: 7px;
  content: "";
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(91, 213, 167, 0.8);
}

.monitor-stand {
  position: absolute;
  right: 22%;
  bottom: -61px;
  width: 30%;
  height: 70px;
  background: linear-gradient(90deg, #8393a8, #eef4fb 46%, #8999ad);
  clip-path: polygon(37% 0, 63% 0, 70% 73%, 94% 82%, 94% 100%, 6% 100%, 6% 82%, 30% 73%);
}

.phone {
  position: absolute;
  bottom: 12px;
  left: 0;
  z-index: 2;
  width: 42%;
  aspect-ratio: 9 / 18.2;
  padding: 9px;
  background: linear-gradient(145deg, #f1f4f8, #6d7b8d 42%, #f3f6fa 78%);
  border-radius: 42px;
  box-shadow: var(--shadow);
  transform: rotate(-4deg);
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 55% 34%, rgba(80, 157, 255, 0.38), transparent 30%),
    linear-gradient(165deg, #132c4f, #07101c 52%, #04070c);
  border-radius: 34px;
}

.phone-screen::before {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 46px;
  height: 13px;
  content: "";
  background: #030609;
  border-radius: 999px;
  transform: translateX(-50%);
}

.camera-preview {
  position: absolute;
  inset: 42px 11px 88px;
  overflow: hidden;
  background:
    linear-gradient(180deg, transparent 55%, rgba(1, 6, 12, 0.68)),
    url("./images/use-meeting.jpg") center / cover;
  border-radius: 23px;
}

.camera-ui {
  position: absolute;
  right: 16px;
  bottom: 19px;
  left: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.camera-ui span {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.camera-ui strong {
  width: 52px;
  height: 52px;
  background: var(--blue);
  border: 5px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--blue-bright), 0 0 26px rgba(47, 125, 244, 0.5);
}

.floating-chip {
  position: absolute;
  z-index: 4;
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 11px 14px;
  color: var(--ink-strong);
  background: rgba(16, 24, 38, 0.78);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(18px);
}

.floating-chip svg {
  width: 18px;
  height: 18px;
  color: var(--cyan);
}

.chip-one {
  top: 16px;
  left: 17%;
}

.chip-two {
  right: 1%;
  bottom: 73px;
}

.trust-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -34px;
  overflow: hidden;
  background: rgba(13, 21, 34, 0.84);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.trust-item {
  padding: 26px 28px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  display: block;
  color: var(--ink-strong);
  font-size: 17px;
}

.trust-item span {
  display: block;
  margin-top: 5px;
  color: var(--ink-faint);
  font-size: 13px;
}

.feature-grid,
.mode-grid,
.story-grid,
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 46px;
}

.feature-card,
.mode-card,
.story-card,
.download-card,
.content-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(24, 36, 54, 0.94), rgba(12, 19, 30, 0.94));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.feature-card,
.mode-card,
.story-card {
  min-height: 280px;
  padding: 28px;
}

.feature-card::after,
.mode-card::after {
  position: absolute;
  right: -40px;
  bottom: -50px;
  width: 160px;
  height: 160px;
  content: "";
  background: rgba(47, 125, 244, 0.08);
  border-radius: 50%;
  filter: blur(30px);
}

.feature-icon,
.mode-icon,
.step-icon {
  display: grid;
  width: 48px;
  height: 48px;
  color: #cfe9ff;
  background: rgba(47, 125, 244, 0.12);
  border: 1px solid rgba(85, 165, 255, 0.25);
  border-radius: 15px;
  place-items: center;
}

.feature-icon svg,
.mode-icon svg,
.step-icon svg {
  width: 23px;
  height: 23px;
}

.feature-card h3,
.mode-card h3,
.story-card h3 {
  margin: 24px 0 12px;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: 23px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.feature-card p,
.mode-card p,
.story-card p {
  margin: 0;
  color: var(--ink-muted);
}

.mode-card.recommended {
  border-color: rgba(85, 165, 255, 0.48);
  box-shadow: 0 24px 70px rgba(16, 85, 190, 0.18);
}

.mode-tag {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 5px 9px;
  color: #cfe9ff;
  background: rgba(47, 125, 244, 0.15);
  border: 1px solid rgba(85, 165, 255, 0.28);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 18px;
  margin-top: 48px;
}

.showcase-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.showcase-card:nth-child(2),
.showcase-card:nth-child(3) {
  min-height: 440px;
  margin-top: 80px;
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.showcase-card:hover img {
  transform: scale(1.025);
}

.showcase-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 17px 18px;
  color: var(--ink-strong);
  background: rgba(5, 10, 17, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  backdrop-filter: blur(16px);
}

.showcase-caption strong {
  display: block;
  font-size: 17px;
}

.showcase-caption span {
  display: block;
  margin-top: 3px;
  color: var(--ink-muted);
  font-size: 13px;
}

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 48px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 30%, rgba(107, 181, 255, 0.19), transparent 26rem),
    linear-gradient(135deg, #13243a, #0b121e 60%);
  border: 1px solid rgba(109, 176, 255, 0.24);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.cta-panel::before {
  position: absolute;
  right: -60px;
  bottom: -110px;
  width: 330px;
  height: 330px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(255, 255, 255, 0.018), 0 0 0 90px rgba(255, 255, 255, 0.012);
  pointer-events: none;
}

.cta-panel h2 {
  margin: 0;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.cta-panel p {
  max-width: 670px;
  margin: 14px 0 0;
  color: var(--ink-muted);
}

.page-hero {
  position: relative;
  padding: 104px 0 66px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-hero::after {
  position: absolute;
  top: -200px;
  right: -120px;
  width: 520px;
  height: 520px;
  content: "";
  background: rgba(47, 125, 244, 0.13);
  border-radius: 50%;
  filter: blur(120px);
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 22px 0 20px;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 76px);
  letter-spacing: -0.05em;
  line-height: 1.06;
}

.page-hero p {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0;
  color: var(--ink-muted);
  font-size: clamp(18px, 2vw, 21px);
}

.resource-layout,
.docs-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 46px;
  align-items: start;
  max-width: 1460px;
  margin-inline: auto;
}

.side-nav {
  position: sticky;
  top: 104px;
  padding: 18px;
  background: rgba(14, 22, 35, 0.76);
  border: 1px solid var(--line);
  border-radius: 20px;
  backdrop-filter: blur(18px);
}

.side-nav strong {
  display: block;
  padding: 8px 10px 12px;
  color: var(--ink-strong);
  font-size: 14px;
}

.side-nav a {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  margin-top: 3px;
  padding: 10px;
  color: var(--ink-muted);
  border-radius: 12px;
  font-size: 14px;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.side-nav a:hover,
.side-nav a.is-active {
  color: var(--ink-strong);
  background: rgba(255, 255, 255, 0.055);
}

.side-nav a.is-active {
  color: #d9edff;
  background: linear-gradient(90deg, rgba(47, 125, 244, 0.18), rgba(47, 125, 244, 0.055));
  box-shadow: inset 3px 0 var(--blue-bright), 0 8px 24px rgba(8, 74, 157, 0.12);
}

.side-nav a::after {
  position: absolute;
  right: 12px;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--blue-bright);
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 12px rgba(85, 165, 255, 0.8);
  transform: scale(0.5);
  transition: opacity 180ms ease, transform 180ms ease;
}

.side-nav a.is-active::after {
  opacity: 1;
  transform: scale(1);
}

.resource-main,
.docs-main {
  min-width: 0;
}

.resource-main [id],
.docs-main [id] {
  scroll-margin-top: 124px;
}

.featured-guide {
  position: relative;
  min-height: 430px;
  padding: 42px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(4, 9, 16, 0.95), rgba(4, 9, 16, 0.28)),
    url("./images/use-whiteboard.jpg") center / cover;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.featured-guide-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.featured-guide h2 {
  margin: 24px 0 18px;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 62px);
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.featured-guide p {
  color: #b7c4d5;
  font-size: 18px;
}

.step-list {
  display: grid;
  gap: 18px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.step-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  background: rgba(16, 24, 38, 0.78);
  border: 1px solid var(--line);
  border-radius: 18px;
  counter-increment: steps;
}

.step-list li::before {
  display: grid;
  width: 54px;
  height: 54px;
  color: #d9eeff;
  content: counter(steps, decimal-leading-zero);
  background: rgba(47, 125, 244, 0.12);
  border: 1px solid rgba(85, 165, 255, 0.24);
  border-radius: 16px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  place-items: center;
}

.step-list h3 {
  margin: 1px 0 5px;
  color: var(--ink-strong);
  font-size: 19px;
}

.step-list p {
  margin: 0;
  color: var(--ink-muted);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.topic-card {
  min-height: 220px;
  padding: 26px;
  background: rgba(16, 24, 38, 0.8);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: border-color 160ms ease, transform 160ms ease;
}

.topic-card:hover {
  border-color: rgba(85, 165, 255, 0.36);
  transform: translateY(-3px);
}

.topic-card .topic-type {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topic-card h3 {
  margin: 22px 0 9px;
  color: var(--ink-strong);
  font-size: 22px;
  line-height: 1.3;
}

.topic-card p {
  margin: 0;
  color: var(--ink-muted);
}

.portrait-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  gap: 30px;
  align-items: stretch;
  margin-top: 46px;
}

.portrait-copy {
  padding: 38px;
  background: linear-gradient(145deg, #17243a, #0c141f);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.portrait-copy h2 {
  margin: 20px 0 14px;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.portrait-copy p {
  color: var(--ink-muted);
}

.portrait-visual {
  position: relative;
  display: grid;
  min-height: 420px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 36%, rgba(81, 161, 255, 0.24), transparent 32%),
    linear-gradient(145deg, #132844, #080e17);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  place-items: center;
}

.portrait-visual img {
  width: min(70%, 330px);
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28%;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.46);
}

.principle-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.principle-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  color: var(--ink);
}

.principle-list li::before {
  width: 7px;
  height: 7px;
  margin-top: 10px;
  flex: 0 0 auto;
  content: "";
  background: var(--blue-bright);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(85, 165, 255, 0.7);
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: 46px;
}

.timeline::before {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 134px;
  width: 1px;
  content: "";
  background: linear-gradient(var(--blue-bright), rgba(85, 165, 255, 0.08));
}

.timeline-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 48px;
  padding: 0 0 42px;
}

.timeline-date {
  padding-top: 3px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: right;
}

.timeline-content {
  position: relative;
  padding: 0 0 0 18px;
}

.timeline-content::before {
  position: absolute;
  top: 8px;
  left: -31px;
  width: 11px;
  height: 11px;
  content: "";
  background: var(--canvas);
  border: 2px solid var(--blue-bright);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(47, 125, 244, 0.09);
}

.timeline-content h3 {
  margin: 0 0 8px;
  color: var(--ink-strong);
  font-size: 21px;
}

.timeline-content p {
  margin: 0;
  color: var(--ink-muted);
}

.docs-section {
  padding: 34px;
  background: rgba(16, 24, 38, 0.74);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.docs-section + .docs-section {
  margin-top: 22px;
}

.docs-section h2 {
  margin: 0 0 16px;
  color: var(--ink-strong);
  font-size: clamp(27px, 3vw, 38px);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.docs-section h3 {
  margin: 28px 0 8px;
  color: var(--ink-strong);
  font-size: 20px;
}

.docs-section p,
.docs-section li {
  color: var(--ink-muted);
}

.docs-section code,
.hash-code {
  color: #cde8ff;
  font-family: var(--font-mono);
  overflow-wrap: anywhere;
}

.release-note {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.release-note:first-of-type {
  border-top: 0;
}

.release-version {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.release-note h3 {
  margin: 0 0 7px;
}

.faq-list {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 22px 44px 22px 0;
  color: var(--ink-strong);
  cursor: pointer;
  font-size: 17px;
  font-weight: 680;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 10px;
  height: 10px;
  content: "";
  border-right: 2px solid var(--ink-muted);
  border-bottom: 2px solid var(--ink-muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 160ms ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}

.faq-answer {
  max-width: 820px;
  padding: 0 0 22px;
  color: var(--ink-muted);
}

.download-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.74fr);
  gap: 36px;
  align-items: start;
}

.download-panel {
  padding: 38px;
  background:
    radial-gradient(circle at 100% 0, rgba(85, 165, 255, 0.16), transparent 18rem),
    linear-gradient(145deg, #142239, #0b121d);
  border: 1px solid rgba(85, 165, 255, 0.28);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.download-panel h2 {
  margin: 18px 0 8px;
  color: var(--ink-strong);
  font-size: 34px;
  letter-spacing: -0.03em;
}

.download-panel .version-line {
  color: var(--ink-muted);
}

.download-panel .button {
  width: 100%;
  margin-top: 26px;
}

.button:disabled,
.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.release-gate {
  display: grid;
  gap: 5px;
  margin-top: 24px;
  padding: 15px 16px;
  color: #c6b69f;
  background: rgba(255, 190, 102, 0.07);
  border: 1px solid rgba(255, 202, 122, 0.24);
  border-radius: 15px;
  font-size: 13px;
}

.release-gate strong {
  color: #ffe2b5;
  font-size: 14px;
}

.release-gate[data-release-state="ready"] {
  border-color: rgba(70, 214, 153, 0.25);
  background: rgba(70, 214, 153, 0.08);
  color: #bcefd7;
}

.release-gate[data-release-state="ready"] strong {
  color: #e0fff0;
}

.download-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 26px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.download-fact {
  padding: 16px;
  background: rgba(7, 11, 18, 0.92);
}

.download-fact span {
  display: block;
  color: var(--ink-faint);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-fact strong {
  display: block;
  margin-top: 5px;
  color: var(--ink-strong);
  font-size: 14px;
}

.hash-panel {
  margin-top: 18px;
  padding: 18px;
  background: rgba(4, 8, 14, 0.72);
  border: 1px solid var(--line);
  border-radius: 15px;
}

.hash-panel span {
  display: block;
  color: var(--ink-faint);
  font-size: 12px;
}

.hash-panel code {
  display: block;
  margin-top: 8px;
  color: #d0eaff;
  font-family: var(--font-mono);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.advanced-check {
  margin-top: 18px;
  overflow: hidden;
  background: rgba(4, 8, 14, 0.38);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.advanced-check summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 16px 54px 16px 18px;
  color: var(--ink-strong);
  cursor: pointer;
  list-style: none;
}

.advanced-check summary::-webkit-details-marker {
  display: none;
}

.advanced-check summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--blue-soft);
  border-bottom: 2px solid var(--blue-soft);
  content: "";
  transform: translateY(-70%) rotate(45deg);
  transition: transform 180ms ease;
}

.advanced-check[open] summary::after {
  transform: translateY(-25%) rotate(225deg);
}

.advanced-check summary span {
  display: grid;
  gap: 4px;
}

.advanced-check summary strong {
  font-size: 14px;
}

.advanced-check summary small {
  color: var(--ink-faint);
  font-size: 12px;
}

.advanced-check-body {
  padding: 0 18px 18px;
  color: var(--ink-muted);
  border-top: 1px solid var(--line);
}

.advanced-check-body > p {
  margin: 16px 0 0;
  font-size: 13px;
}

.advanced-check .hash-panel {
  margin-top: 14px;
}

.advanced-check .button {
  margin-top: 14px;
}

.advanced-command {
  display: grid;
  gap: 9px;
  margin-top: 14px;
  padding: 16px;
  background: rgba(17, 31, 50, 0.62);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.advanced-command strong {
  color: var(--ink-strong);
  font-size: 13px;
}

.advanced-command code {
  overflow-wrap: anywhere;
}

.copy-status {
  min-height: 24px;
  margin: 8px 0 0;
  color: var(--green);
  font-size: 12px;
}

.notice-panel {
  padding: 28px;
  background: rgba(255, 190, 102, 0.07);
  border: 1px solid rgba(255, 202, 122, 0.24);
  border-radius: 20px;
}

.notice-panel h2,
.notice-panel h3 {
  margin-top: 0;
  color: #ffe2b5;
}

.notice-panel p,
.notice-panel li {
  color: #c6b69f;
}

.notice-panel strong {
  color: #ffe7c2;
}

.download-help-panel {
  position: sticky;
  top: 104px;
  padding: 30px;
  background:
    radial-gradient(circle at 100% 0, rgba(68, 153, 255, 0.16), transparent 17rem),
    linear-gradient(155deg, rgba(17, 31, 50, 0.96), rgba(8, 15, 25, 0.98));
  border: 1px solid rgba(85, 165, 255, 0.25);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.download-help-panel h2 {
  margin: 18px 0 12px;
  color: var(--ink-strong);
  font-size: 26px;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.download-help-lead {
  margin: 0;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.75;
}

.download-retain-steps {
  display: grid;
  gap: 0;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.download-retain-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 13px;
  padding: 0 0 20px;
}

.download-retain-steps li:not(:last-child)::before {
  position: absolute;
  top: 29px;
  bottom: 4px;
  left: 14px;
  width: 1px;
  background: linear-gradient(var(--blue), rgba(85, 165, 255, 0.08));
  content: "";
}

.step-number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #d9edff;
  background: #1566ba;
  border: 1px solid rgba(160, 211, 255, 0.34);
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  box-shadow: 0 8px 20px rgba(14, 102, 190, 0.24);
}

.download-retain-steps strong {
  display: block;
  color: var(--ink-strong);
  font-size: 14px;
}

.download-retain-steps p {
  margin: 5px 0 0;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.65;
}

.browser-safety-note {
  display: grid;
  gap: 5px;
  padding: 16px;
  color: #bcefd7;
  background: rgba(70, 214, 153, 0.07);
  border: 1px solid rgba(70, 214, 153, 0.2);
  border-radius: 14px;
}

.browser-safety-note strong {
  color: #e0fff0;
  font-size: 13px;
}

.browser-safety-note span {
  font-size: 12px;
  line-height: 1.6;
}

.system-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.system-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 12px;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--line);
}

.system-list li:last-child {
  border-bottom: 0;
}

.system-list strong {
  min-width: 92px;
  color: var(--ink-strong);
}

.privacy-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 44px;
  background: rgba(16, 24, 38, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.privacy-shell h2 {
  margin: 42px 0 12px;
  color: var(--ink-strong);
  font-size: 25px;
}

.privacy-shell h2:first-of-type {
  margin-top: 20px;
}

.privacy-shell p,
.privacy-shell li {
  color: var(--ink-muted);
}

.privacy-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}

.privacy-meta div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.privacy-meta span {
  display: block;
  color: var(--ink-faint);
  font-size: 11px;
}

.privacy-meta strong {
  display: block;
  margin-top: 5px;
  color: var(--ink-strong);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.site-footer {
  margin-top: 70px;
  padding: 52px 0 28px;
  background: #05080d;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 48px;
}

.footer-title {
  color: var(--ink-strong);
  font-size: 17px;
  font-weight: 740;
}

.footer-copy {
  max-width: 440px;
  margin: 12px 0 0;
  color: var(--ink-faint);
  font-size: 14px;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin-top: 13px;
}

.footer-links a {
  color: var(--ink-muted);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--ink-strong);
}

.footer-bottom {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: 42px;
  padding-top: 22px;
  color: var(--ink-faint);
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.filing-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.filing-links a:hover {
  color: var(--ink-strong);
}

.filing-pending {
  color: var(--warning);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

@media (max-width: 1040px) {
  .main-nav {
    gap: 18px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 70px;
  }

  .hero-copy {
    max-width: 820px;
  }

  .device-stage {
    width: min(100%, 680px);
    min-height: 570px;
    margin-inline: auto;
  }

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

  .showcase-card:first-child {
    grid-column: 1 / -1;
    min-height: 620px;
  }

  .showcase-card:nth-child(2),
  .showcase-card:nth-child(3) {
    margin-top: 0;
  }

  .feature-grid,
  .mode-grid,
  .story-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(calc(100% - 32px), var(--max));
  }

  .section {
    padding: 78px 0;
  }

  .nav-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav-actions .button {
    display: none;
  }

  .main-nav {
    position: absolute;
    top: 76px;
    right: 16px;
    left: 16px;
    display: none;
    gap: 3px;
    align-items: stretch;
    padding: 14px;
    background: rgba(10, 16, 26, 0.98);
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    padding: 12px 13px;
    border-radius: 11px;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.06);
  }

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

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .cta-panel {
    grid-template-columns: 1fr;
    padding: 36px;
  }

  .resource-layout,
  .docs-layout {
    grid-template-columns: 1fr;
  }

  .side-nav {
    position: static;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 8px;
    scrollbar-width: thin;
  }

  .side-nav strong {
    display: none;
  }

  .side-nav a {
    min-width: max-content;
  }

  .side-nav a.is-active {
    box-shadow: none;
  }

  .portrait-panel {
    grid-template-columns: 1fr;
  }

  .portrait-visual {
    min-height: 340px;
  }

  .privacy-meta {
    grid-template-columns: 1fr;
  }

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

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .brand-subtitle {
    display: none;
  }

  .hero {
    gap: 30px;
    padding: 54px 0 76px;
  }

  .hero::before {
    right: 0;
    left: auto;
    width: 100%;
  }

  .hero-title {
    font-size: clamp(40px, 12vw, 48px);
  }

  .hero-actions {
    display: grid;
  }

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

  .device-stage {
    min-height: 440px;
  }

  .monitor {
    top: 50px;
    width: 88%;
  }

  .monitor-stand {
    bottom: -50px;
  }

  .phone {
    width: 43%;
    border-radius: 31px;
  }

  .phone-screen {
    border-radius: 24px;
  }

  .camera-preview {
    inset: 35px 8px 69px;
    border-radius: 17px;
  }

  .camera-ui {
    right: 10px;
    bottom: 13px;
    left: 10px;
  }

  .camera-ui span {
    width: 22px;
    height: 22px;
  }

  .camera-ui strong {
    width: 39px;
    height: 39px;
  }

  .floating-chip {
    padding: 8px 10px;
    font-size: 11px;
  }

  .chip-one {
    left: 4%;
  }

  .chip-two {
    right: -2%;
    bottom: 46px;
  }

  .trust-strip,
  .feature-grid,
  .mode-grid,
  .story-grid,
  .showcase-grid,
  .topic-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .trust-item,
  .trust-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .showcase-card,
  .showcase-card:first-child,
  .showcase-card:nth-child(2),
  .showcase-card:nth-child(3) {
    grid-column: auto;
    min-height: 510px;
    margin-top: 0;
  }

  .page-hero {
    padding: 76px 0 54px;
  }

  .featured-guide {
    min-height: 500px;
    padding: 28px;
  }

  .step-list li {
    grid-template-columns: 1fr;
  }

  .portrait-copy,
  .docs-section,
  .download-panel,
  .privacy-shell {
    padding: 25px;
  }

  .timeline::before {
    left: 8px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 9px;
    padding-left: 33px;
  }

  .timeline-date {
    text-align: left;
  }

  .timeline-content {
    padding-left: 0;
  }

  .timeline-content::before {
    top: -24px;
    left: -30px;
  }

  .release-note {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .download-facts {
    grid-template-columns: 1fr;
  }

  .system-list li {
    display: grid;
  }

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

  .footer-grid > :first-child {
    grid-column: auto;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (min-width: 1600px) {
  .section {
    padding: 124px 0;
  }

  .section-tight {
    padding: 92px 0;
  }

  .section-title {
    max-width: 920px;
  }

  .section-lead {
    max-width: 820px;
  }

  .hero {
    grid-template-columns: minmax(0, 0.88fr) minmax(660px, 1.12fr);
    gap: clamp(72px, 6vw, 128px);
    min-height: min(900px, calc(100svh - 76px));
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-title {
    font-size: clamp(68px, 4.6vw, 88px);
  }

  .device-stage {
    min-height: 680px;
  }

  .monitor {
    top: 74px;
    width: 86%;
  }

  .phone {
    width: 38%;
  }

  .trust-item {
    padding: 30px 36px;
  }

  .feature-grid,
  .mode-grid,
  .story-grid,
  .download-grid {
    gap: 28px;
  }

  .feature-card,
  .mode-card,
  .story-card {
    min-height: 310px;
    padding: 34px;
  }

  .showcase-grid {
    grid-template-columns: 1.12fr 0.94fr 0.94fr;
    gap: 24px;
  }

  .showcase-card {
    min-height: 660px;
  }

  .showcase-card:nth-child(2),
  .showcase-card:nth-child(3) {
    min-height: 560px;
    margin-top: 100px;
  }

  .cta-panel {
    padding: 58px 64px;
  }

  .page-hero {
    padding: 124px 0 82px;
  }
}

html[data-theme="light"] {
  color-scheme: light;
  --ink-strong: #122036;
  --ink: #263750;
  --ink-muted: #5b6c83;
  --ink-faint: #79879a;
  --canvas: #f5f8fc;
  --canvas-soft: #edf3f9;
  --surface: #ffffff;
  --surface-raised: #f8fbff;
  --surface-soft: #e8eff8;
  --line: rgba(28, 55, 88, 0.12);
  --line-strong: rgba(28, 55, 88, 0.23);
  --blue: #216ee4;
  --blue-bright: #1677e8;
  --blue-deep: #114fae;
  --cyan: #0878aa;
  --green: #168866;
  --warning: #9a6108;
  --shadow: 0 28px 80px rgba(35, 62, 96, 0.17);
  --shadow-soft: 0 16px 46px rgba(35, 62, 96, 0.11);
}

html[data-theme="dark"] {
  color-scheme: dark;
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at 12% 3%, rgba(47, 125, 244, 0.13), transparent 30rem),
    radial-gradient(circle at 88% 18%, rgba(27, 151, 204, 0.1), transparent 28rem),
    var(--canvas);
}

html[data-theme="light"] body::before {
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(35, 71, 113, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 71, 113, 0.045) 1px, transparent 1px);
}

html[data-theme="light"] .site-header {
  background: rgba(248, 251, 255, 0.76);
}

html[data-theme="light"] .site-header.is-scrolled {
  background: rgba(248, 251, 255, 0.94);
}

html[data-theme="light"] .eyebrow {
  color: #125d9b;
  background: rgba(27, 112, 224, 0.08);
  border-color: rgba(27, 112, 224, 0.2);
}

html[data-theme="light"] .theme-toggle {
  background: rgba(24, 66, 112, 0.04);
}

html[data-theme="light"] .theme-toggle:hover,
html[data-theme="light"] .button-secondary:hover {
  background: rgba(24, 66, 112, 0.09);
}

html[data-theme="light"] .button-secondary {
  background: rgba(24, 66, 112, 0.045);
}

html[data-theme="light"] .hero-title .gradient-text {
  background: linear-gradient(105deg, #144fa5 0%, #1f78df 48%, #089ac1 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

html[data-theme="light"] .floating-chip {
  color: #f6f9ff;
  background: rgba(12, 26, 45, 0.82);
}

html[data-theme="light"] .trust-strip {
  background: rgba(255, 255, 255, 0.86);
}

html[data-theme="light"] .feature-card,
html[data-theme="light"] .mode-card,
html[data-theme="light"] .story-card,
html[data-theme="light"] .download-card,
html[data-theme="light"] .content-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 246, 252, 0.98));
}

html[data-theme="light"] .feature-icon,
html[data-theme="light"] .mode-icon,
html[data-theme="light"] .step-icon,
html[data-theme="light"] .mode-tag {
  color: #145da8;
}

html[data-theme="light"] .showcase-caption {
  color: #f7faff;
  background: rgba(8, 20, 37, 0.82);
}

html[data-theme="light"] .showcase-caption span {
  color: #bac8da;
}

html[data-theme="light"] .cta-panel {
  background:
    radial-gradient(circle at 82% 30%, rgba(48, 139, 242, 0.14), transparent 26rem),
    linear-gradient(135deg, #e5effc, #fafdff 60%);
}

html[data-theme="light"] .side-nav,
html[data-theme="light"] .step-list li,
html[data-theme="light"] .topic-card,
html[data-theme="light"] .docs-section,
html[data-theme="light"] .privacy-shell {
  background: rgba(255, 255, 255, 0.88);
}

html[data-theme="light"] .side-nav a:hover,
html[data-theme="light"] .side-nav a.is-active {
  background: rgba(27, 84, 145, 0.07);
}

html[data-theme="light"] .side-nav a.is-active {
  color: #1557a4;
  background: linear-gradient(90deg, rgba(33, 113, 209, 0.13), rgba(33, 113, 209, 0.045));
}

html[data-theme="light"] .featured-guide h2 {
  color: #f8fbff;
}

html[data-theme="light"] .portrait-copy {
  background: linear-gradient(145deg, #ffffff, #edf3fa);
}

html[data-theme="light"] .docs-section code,
html[data-theme="light"] .hash-code {
  color: #155a9d;
}

html[data-theme="light"] .download-panel {
  background:
    radial-gradient(circle at 100% 0, rgba(48, 139, 242, 0.14), transparent 20rem),
    linear-gradient(145deg, #ffffff, #edf4fc);
}

html[data-theme="light"] .download-facts {
  background: var(--line);
}

html[data-theme="light"] .download-fact {
  background: rgba(250, 252, 255, 0.98);
}

html[data-theme="light"] .hash-panel {
  background: rgba(235, 242, 250, 0.88);
}

html[data-theme="light"] .hash-panel code {
  color: #164f87;
}

html[data-theme="light"] .advanced-check {
  background: rgba(237, 244, 252, 0.7);
}

html[data-theme="light"] .advanced-command {
  background: rgba(225, 236, 248, 0.72);
}

html[data-theme="light"] .download-help-panel {
  background:
    radial-gradient(circle at 100% 0, rgba(48, 139, 242, 0.14), transparent 18rem),
    linear-gradient(150deg, #ffffff, #edf4fc);
}

html[data-theme="light"] .download-help-lead,
html[data-theme="light"] .download-retain-steps p {
  color: #526b84;
}

html[data-theme="light"] .browser-safety-note {
  color: #356c55;
  background: rgba(18, 137, 89, 0.07);
  border-color: rgba(18, 137, 89, 0.18);
}

html[data-theme="light"] .browser-safety-note strong {
  color: #155b3e;
}

html[data-theme="light"] .notice-panel p,
html[data-theme="light"] .notice-panel li,
html[data-theme="light"] .release-gate {
  color: #715a39;
}

html[data-theme="light"] .notice-panel h2,
html[data-theme="light"] .notice-panel h3,
html[data-theme="light"] .notice-panel strong,
html[data-theme="light"] .release-gate strong {
  color: #70460d;
}

html[data-theme="light"] .release-gate[data-release-state="ready"] {
  border-color: rgba(18, 137, 89, 0.18);
  background: rgba(18, 137, 89, 0.07);
  color: #356c55;
}

html[data-theme="light"] .release-gate[data-release-state="ready"] strong {
  color: #155b3e;
}

html[data-theme="light"] .privacy-meta div {
  background: rgba(30, 73, 120, 0.035);
}

html[data-theme="light"] .site-footer {
  background: #eaf0f7;
}

html[data-theme="light"] .main-nav {
  background-color: transparent;
}

@media (max-width: 820px) {
  html[data-theme="light"] .main-nav {
    background: rgba(248, 251, 255, 0.98);
  }

  html[data-theme="light"] .main-nav a[aria-current="page"] {
    background: rgba(27, 84, 145, 0.07);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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