:root {
  color-scheme: dark;
  --bg: #090d12;
  --bg-soft: #0d131b;
  --surface: #111923;
  --surface-raised: #17212d;
  --surface-soft: rgba(19, 29, 39, 0.72);
  --line: rgba(207, 224, 238, 0.11);
  --line-strong: rgba(207, 224, 238, 0.2);
  --text: #f2f6f7;
  --muted: #91a0af;
  --muted-strong: #bac5ce;
  --accent: #7ddab9;
  --accent-strong: #49c99d;
  --accent-deep: #168a68;
  --accent-soft: rgba(125, 218, 185, 0.12);
  --violet: #aaa7ff;
  --violet-soft: rgba(170, 167, 255, 0.13);
  --warning: #eabf74;
  --danger: #ff8990;
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.44);
  --shadow-soft: 0 16px 44px rgba(0, 0, 0, 0.28);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 34px;
  --content: 1180px;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 0%, rgba(125, 218, 185, 0.1), transparent 30rem),
    radial-gradient(circle at 12% 32%, rgba(170, 167, 255, 0.06), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
  font: inherit;
}

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

a {
  color: inherit;
}

p,
h1,
h2,
h3,
h4 {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--text);
  font-family: var(--display);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 7.7vw, 6.7rem);
  font-weight: 760;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 5vw, 4.2rem);
  font-weight: 740;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  font-weight: 720;
}

code,
kbd {
  font-family: var(--mono);
}

code {
  color: #b6f5df;
}

kbd {
  padding: 2px 7px;
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--surface-raised);
  color: var(--muted-strong);
  font-size: 0.82em;
}

::selection {
  background: rgba(125, 218, 185, 0.27);
  color: white;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 9px 14px;
  transform: translateY(-160%);
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #07110d;
  font-weight: 800;
  text-decoration: none;
}

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

.container {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.narrow {
  max-width: 780px;
}

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

.section-compact {
  padding: 74px 0;
}

.section-glow::before {
  position: absolute;
  top: 15%;
  left: 50%;
  z-index: -1;
  width: min(860px, 90vw);
  height: 440px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(125, 218, 185, 0.065);
  filter: blur(90px);
  pointer-events: none;
  content: "";
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 1px;
  background: currentColor;
  content: "";
}

.section-copy {
  max-width: 690px;
  margin-bottom: 46px;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.18rem);
}

.text-gradient {
  background: linear-gradient(120deg, var(--text) 12%, var(--accent) 64%, var(--violet));
  background-clip: text;
  color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(9, 13, 18, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

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

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 780;
  text-decoration: none;
}

.brand img {
  width: 35px;
  height: 35px;
  filter: drop-shadow(0 7px 16px rgba(45, 212, 191, 0.18));
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a,
.language-link {
  padding: 8px 11px;
  border-radius: 9px;
  color: var(--muted-strong);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover,
.language-link:hover {
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

.language-link {
  border: 1px solid var(--line);
}

.nav-toggle {
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-soft);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  width: 18px;
  height: 1.5px;
  display: block;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before {
  position: absolute;
  top: -6px;
}

.nav-toggle span::after {
  position: absolute;
  top: 6px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: var(--surface-raised);
}

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #07120e;
  box-shadow: 0 12px 30px rgba(73, 201, 157, 0.2);
}

.button-primary:hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  box-shadow: 0 16px 38px rgba(73, 201, 157, 0.28);
}

.button-quiet {
  color: var(--muted-strong);
}

.button-small {
  min-height: 38px;
  padding: 7px 13px;
  font-size: 0.82rem;
}

.hero {
  min-height: min(780px, calc(100svh - 74px));
  display: grid;
  align-items: center;
  padding: 76px 0 86px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(500px, 1.14fr);
  gap: clamp(42px, 5.5vw, 72px);
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-copy h1 {
  max-width: 650px;
  font-size: clamp(3.25rem, 5.45vw, 5.2rem);
}

.hero-lead {
  max-width: 710px;
  margin-bottom: 31px;
  color: var(--muted-strong);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 25px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 0.82rem;
}

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

.hero-note span::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  content: "";
}

.hero-visual {
  position: relative;
  min-width: 0;
  min-height: 0;
}

.app-preview {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: perspective(1400px) rotateY(-2deg);
}

.app-preview img {
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--line);
  background: #0b1016;
}

.app-preview figcaption {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 15px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.preview-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.hero-orbit {
  position: absolute;
  inset: 2% -10% auto;
  height: 96%;
  border: 1px solid rgba(125, 218, 185, 0.1);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.hero-orbit::before,
.hero-orbit::after {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 20px var(--accent);
  content: "";
}

.hero-orbit::before {
  top: 18%;
  left: 7%;
}

.hero-orbit::after {
  right: 4%;
  bottom: 25%;
}

.app-window {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 27px;
  background: rgba(13, 19, 27, 0.94);
  box-shadow: var(--shadow);
  transform: perspective(1300px) rotateY(-5deg) rotateX(2deg);
}

.window-bar {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 17px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.traffic-lights {
  display: flex;
  gap: 7px;
}

.traffic-lights i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6f74;
}

.traffic-lights i:nth-child(2) {
  background: #eabf74;
}

.traffic-lights i:nth-child(3) {
  background: var(--accent);
}

.window-title {
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid rgba(125, 218, 185, 0.2);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 780;
}

.live-pill::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(125, 218, 185, 0.1);
  content: "";
  animation: pulse 1.8s ease-out infinite;
}

.window-content {
  display: grid;
  grid-template-columns: 126px 1fr;
  min-height: 455px;
}

.window-sidebar {
  padding: 18px 12px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.014);
}

.mini-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 6px 23px;
  font-size: 0.7rem;
  font-weight: 800;
}

.mini-brand img {
  width: 23px;
  height: 23px;
}

.mini-nav-item {
  height: 31px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
  padding: 0 9px;
  border-radius: 8px;
  color: #758494;
  font-size: 0.58rem;
  font-weight: 680;
}

.mini-nav-item.active {
  background: var(--accent-soft);
  color: var(--accent);
}

.mini-nav-icon {
  width: 12px;
  height: 12px;
  border: 1px solid currentColor;
  border-radius: 4px;
}

.transcript-panel {
  padding: 24px 22px 22px;
}

.transcript-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 25px;
}

.transcript-top small {
  display: block;
  margin-bottom: 5px;
  color: var(--accent);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.transcript-top strong {
  display: block;
  font-family: var(--display);
  font-size: 1rem;
  line-height: 1.25;
}

.participant-stack {
  display: flex;
}

.participant-avatar {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  margin-left: -6px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: #273749;
  color: var(--muted-strong);
  font-size: 0.56rem;
  font-weight: 800;
}

.participant-avatar:first-child {
  margin-left: 0;
  background: rgba(125, 218, 185, 0.2);
  color: var(--accent);
}

.transcript-line {
  display: grid;
  grid-template-columns: 27px 1fr;
  gap: 10px;
  margin-bottom: 17px;
  opacity: 0.64;
}

.transcript-line.active {
  opacity: 1;
}

.speaker-dot {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--violet-soft);
  color: var(--violet);
  font-size: 0.56rem;
  font-weight: 800;
}

.transcript-line.active .speaker-dot {
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: 0 0 0 1px rgba(125, 218, 185, 0.13);
}

.transcript-copy strong {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 3px;
  font-size: 0.65rem;
}

.voice-bars {
  height: 10px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.voice-bars i {
  width: 2px;
  height: 4px;
  border-radius: 99px;
  background: var(--accent);
  animation: voice 900ms ease-in-out infinite alternate;
}

.voice-bars i:nth-child(2) {
  height: 9px;
  animation-delay: -400ms;
}

.voice-bars i:nth-child(3) {
  height: 6px;
  animation-delay: -650ms;
}

.transcript-copy p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.62rem;
  line-height: 1.55;
}

.floating-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: rgba(17, 25, 35, 0.92);
  box-shadow: var(--shadow-soft);
  color: var(--muted-strong);
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(14px);
}

.floating-chip::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  content: "";
}

.chip-discord {
  top: 5%;
  right: -3%;
}

.chip-local {
  right: 5%;
  bottom: 0;
}

.chip-local::before {
  background: var(--violet);
  box-shadow: 0 0 12px var(--violet);
}

.platform-strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}

.platform-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.platform-label {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.platform-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: 0.8rem;
  font-weight: 680;
}

.platform-badge i {
  width: 7px;
  height: 7px;
  border-radius: 3px;
  background: var(--accent);
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.feature-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  grid-column: span 4;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(23, 33, 45, 0.9), rgba(13, 19, 27, 0.86));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.feature-card.wide {
  grid-column: span 8;
}

.feature-card::after {
  position: absolute;
  right: -60px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--accent-soft);
  filter: blur(22px);
  content: "";
}

.feature-card.violet::after {
  background: var(--violet-soft);
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 44px;
  border: 1px solid rgba(125, 218, 185, 0.22);
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.86rem;
  font-weight: 800;
}

.feature-card.violet .feature-icon {
  border-color: rgba(170, 167, 255, 0.23);
  background: var(--violet-soft);
  color: var(--violet);
}

.feature-card p {
  max-width: 480px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.feature-stat {
  position: absolute;
  top: 29px;
  right: 29px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: steps;
}

.step-card {
  position: relative;
  padding: 30px 28px 31px;
  border-top: 1px solid var(--line-strong);
  counter-increment: steps;
}

.step-card::before {
  display: block;
  margin-bottom: 54px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 800;
  content: "0" counter(steps);
}

.step-card:not(:last-child)::after {
  position: absolute;
  top: -4px;
  right: -13px;
  color: var(--line-strong);
  font-size: 1.6rem;
  content: "→";
}

.step-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.screenshot-shell {
  position: relative;
  padding: clamp(10px, 2vw, 22px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(125, 218, 185, 0.08), rgba(170, 167, 255, 0.05));
  box-shadow: var(--shadow);
}

.screenshot-shell img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.screenshot-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  padding: 0 8px 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.screenshot-caption strong {
  color: var(--muted-strong);
}

.privacy-intro {
  max-width: 960px;
  margin-bottom: 46px;
  text-align: center;
}

.privacy-intro .eyebrow {
  justify-content: center;
}

.privacy-intro h2 {
  font-size: clamp(2.7rem, 5.6vw, 4.9rem);
}

.privacy-intro p {
  max-width: 780px;
  margin: 0 auto;
  color: var(--muted-strong);
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
}

.privacy-boundary {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 18px;
  padding: clamp(12px, 2vw, 20px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background: rgba(17, 25, 35, 0.72);
  box-shadow: var(--shadow);
}

.local-vault,
.user-controlled-exit {
  min-width: 0;
  padding: clamp(22px, 3.5vw, 38px);
  border-radius: calc(var(--radius-xl) - 10px);
}

.local-vault {
  border: 1px solid rgba(125, 218, 185, 0.22);
  background:
    radial-gradient(circle at 50% 0%, rgba(125, 218, 185, 0.1), transparent 55%),
    rgba(9, 16, 20, 0.86);
}

.vault-label,
.exit-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 25px;
  font-size: 0.69rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.vault-label {
  color: var(--accent);
}

.vault-label::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
  content: "";
}

.vault-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.vault-grid > div {
  min-height: 185px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.vault-grid span,
.exit-card > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 850;
}

.vault-grid strong,
.vault-grid small,
.exit-card strong,
.exit-card small {
  display: block;
}

.vault-grid strong,
.exit-card strong {
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.vault-grid small,
.exit-card small {
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.55;
}

.user-controlled-exit {
  border: 1px dashed rgba(170, 167, 255, 0.24);
  background: rgba(170, 167, 255, 0.035);
}

.exit-label {
  color: var(--violet);
}

.exit-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 13px;
  margin-bottom: 12px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.018);
}

.exit-card > span {
  margin: 0;
  background: var(--violet-soft);
  color: var(--violet);
}

.user-controlled-exit > p {
  margin: 20px 2px 0;
  color: var(--muted-strong);
  font-size: 0.75rem;
}

.local-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(48px, 8vw, 100px);
  align-items: center;
}

.local-diagram {
  position: relative;
  display: grid;
  gap: 13px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(17, 25, 35, 0.75);
  box-shadow: var(--shadow-soft);
}

.data-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.018);
}

.data-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.67rem;
  font-weight: 850;
}

.data-row:nth-child(3) .data-icon {
  background: var(--violet-soft);
  color: var(--violet);
}

.data-copy strong,
.data-copy small {
  display: block;
}

.data-copy strong {
  font-size: 0.88rem;
}

.data-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.7rem;
}

.data-state {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 800;
}

.data-state.optional {
  background: var(--violet-soft);
  color: var(--violet);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 11px;
  color: var(--muted-strong);
}

.check-list li::before {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 900;
  content: "✓";
}

.guide-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.guide-preview {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  padding: 31px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease;
}

.guide-preview:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.guide-preview h3 {
  max-width: 330px;
  margin-top: 72px;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.guide-preview p {
  max-width: 430px;
  margin-bottom: 0;
  color: var(--muted);
}

.guide-preview .arrow {
  position: absolute;
  top: 27px;
  right: 28px;
  color: var(--accent);
  font-size: 1.5rem;
}

.guide-preview-tag {
  position: absolute;
  top: 29px;
  left: 30px;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.install-panel {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(42px, 8vw, 96px);
  align-items: center;
  padding: clamp(34px, 6vw, 72px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 90% 20%, rgba(125, 218, 185, 0.12), transparent 40%),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.install-panel h2 {
  font-size: clamp(2.2rem, 4.8vw, 4rem);
}

.install-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.terminal {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: #080c10;
  box-shadow: var(--shadow-soft);
}

.terminal-head {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 10px 0 15px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 750;
}

.copy-button {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted-strong);
  font-size: 0.68rem;
  font-weight: 750;
  cursor: pointer;
}

.copy-button:hover {
  border-color: rgba(125, 218, 185, 0.3);
  color: var(--accent);
}

.terminal pre {
  margin: 0;
  overflow-x: auto;
  padding: 23px;
  color: #d8e5e1;
  font-family: var(--mono);
  font-size: clamp(0.67rem, 1.3vw, 0.82rem);
  line-height: 1.85;
}

.terminal .prompt {
  color: var(--accent);
  user-select: none;
}

.terminal-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.74rem;
}

.faq-list {
  max-width: 860px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}

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

.faq-list summary {
  position: relative;
  padding: 23px 50px 23px 0;
  color: var(--text);
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

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

.faq-list summary::after {
  position: absolute;
  top: 21px;
  right: 4px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--accent);
  content: "+";
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 730px;
  margin: -3px 0 24px;
  color: var(--muted);
}

.site-footer {
  padding: 42px 0 30px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.01);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.6fr);
  gap: 34px;
  margin-bottom: 48px;
}

.footer-brand p {
  max-width: 330px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-column strong {
  display: block;
  margin-bottom: 13px;
  color: var(--muted-strong);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  width: max-content;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.74rem;
}

.footer-bottom a {
  color: var(--muted-strong);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* Guide pages */
.guide-hero {
  padding: 88px 0 58px;
}

.guide-hero h1 {
  max-width: 890px;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.guide-hero p {
  max-width: 710px;
  margin-bottom: 0;
  color: var(--muted-strong);
  font-size: 1.14rem;
}

.guide-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(42px, 7vw, 88px);
  align-items: start;
  padding-bottom: 110px;
}

.guide-toc {
  position: sticky;
  top: 100px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(17, 25, 35, 0.72);
}

.guide-toc strong {
  display: block;
  margin: 5px 8px 12px;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-toc a {
  display: block;
  padding: 8px;
  border-radius: 8px;
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
}

.guide-toc a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.guide-content {
  min-width: 0;
}

.guide-section {
  padding: 74px 0 16px;
  border-top: 1px solid var(--line);
}

.guide-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.guide-section > p {
  max-width: 760px;
  color: var(--muted);
}

.notice {
  display: flex;
  gap: 14px;
  margin: 24px 0;
  padding: 16px 18px;
  border: 1px solid rgba(234, 191, 116, 0.22);
  border-radius: 14px;
  background: rgba(234, 191, 116, 0.07);
  color: #d8c39e;
  font-size: 0.86rem;
}

.notice::before {
  color: var(--warning);
  font-weight: 900;
  content: "!";
}

.guide-steps {
  display: grid;
  gap: 16px;
  margin-top: 32px;
  counter-reset: guide-step;
}

.guide-step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 17px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(17, 25, 35, 0.64);
  counter-increment: guide-step;
}

.guide-step::before {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 850;
  content: counter(guide-step, decimal-leading-zero);
}

.guide-step h3 {
  margin: 3px 0 8px;
  font-size: 1.13rem;
}

.guide-step p,
.guide-step li {
  color: var(--muted);
  font-size: 0.9rem;
}

.guide-step p:last-child,
.guide-step ul:last-child {
  margin-bottom: 0;
}

.guide-step ul {
  padding-left: 20px;
}

.guide-image-button {
  position: relative;
  width: 100%;
  display: block;
  overflow: hidden;
  margin-top: 18px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #090d12;
  cursor: zoom-in;
}

.guide-image-button img {
  width: 100%;
  height: auto;
  opacity: 0.9;
  transition: opacity 160ms ease, transform 220ms ease;
}

.guide-image-button:hover img {
  transform: scale(1.012);
  opacity: 1;
}

.zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: rgba(9, 13, 18, 0.86);
  color: var(--text);
  font-size: 0.68rem;
  font-weight: 750;
  backdrop-filter: blur(10px);
}

.command-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.command-list li {
  display: grid;
  grid-template-columns: minmax(115px, auto) 1fr;
  gap: 14px;
  align-items: start;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.command-list code {
  width: max-content;
  padding: 4px 8px;
  border-radius: 7px;
  background: var(--accent-soft);
}

.lightbox {
  width: min(1200px, calc(100% - 28px));
  max-height: calc(100svh - 28px);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}

.lightbox::backdrop {
  background: rgba(3, 6, 9, 0.86);
  backdrop-filter: blur(9px);
}

.lightbox-head {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 13px 0 19px;
  border-bottom: 1px solid var(--line);
}

.lightbox-head strong {
  overflow: hidden;
  font-size: 0.86rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lightbox-close {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--muted-strong);
  cursor: pointer;
}

.lightbox img {
  width: 100%;
  max-height: calc(100svh - 84px);
  object-fit: contain;
  background: #080b10;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 560ms ease, transform 560ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.js [data-reveal].in-view {
  opacity: 1;
  transform: none;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(125, 218, 185, 0.35); }
  75%, 100% { box-shadow: 0 0 0 8px rgba(125, 218, 185, 0); }
}

@keyframes voice {
  to { transform: scaleY(0.45); }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: grid;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    display: none;
    padding: 14px;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    background: rgba(13, 19, 27, 0.98);
    box-shadow: var(--shadow-soft);
  }

  .nav-menu.is-open {
    display: block;
  }

  .nav-links,
  .nav-actions {
    align-items: stretch;
  }

  .nav-links {
    flex-direction: column;
  }

  .nav-links a {
    padding: 11px;
  }

  .nav-actions {
    margin-top: 9px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .hero-grid,
  .local-grid,
  .install-panel,
  .privacy-boundary {
    grid-template-columns: minmax(0, 1fr);
  }

  .install-panel > * {
    min-width: 0;
  }

  .hero {
    min-height: auto;
    padding-top: 80px;
  }

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

  .hero-visual {
    width: min(660px, 100%);
    min-height: auto;
    margin-inline: auto;
  }

  .app-preview {
    transform: none;
  }

  .feature-card,
  .feature-card.wide {
    grid-column: span 6;
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}

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

  .section {
    padding: 82px 0;
  }

  .section-compact {
    padding: 56px 0;
  }

  h1 {
    font-size: clamp(2.8rem, 13.2vw, 4.2rem);
  }

  .hero {
    padding: 57px 0 65px;
  }

  .hero-grid {
    width: 100%;
    gap: 58px;
  }

  .hero-orbit {
    display: none;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

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

  .vault-grid > div {
    min-height: 0;
  }

  .app-window {
    border-radius: 20px;
    transform: none;
  }

  .window-content {
    grid-template-columns: 1fr;
    min-height: 390px;
  }

  .window-sidebar {
    display: none;
  }

  .transcript-panel {
    padding: 20px 16px;
  }

  .floating-chip {
    display: none;
  }

  .platform-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 23px;
  }

  .platform-list {
    justify-content: flex-start;
  }

  .bento,
  .steps,
  .guide-preview-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-card.wide {
    min-height: 245px;
    grid-column: auto;
  }

  .step-card {
    padding-inline: 8px;
  }

  .step-card::before {
    margin-bottom: 26px;
  }

  .step-card:not(:last-child)::after {
    display: none;
  }

  .screenshot-caption,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .install-panel {
    padding: 28px 18px;
    border-radius: var(--radius-lg);
  }

  .footer-grid {
    gap: 28px;
  }

  .guide-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .guide-toc {
    position: static;
    display: flex;
    overflow-x: auto;
    padding: 9px;
  }

  .guide-toc strong {
    display: none;
  }

  .guide-toc a {
    flex: 0 0 auto;
  }

  .guide-step {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    padding: 17px 14px;
  }

  .guide-step::before {
    width: 35px;
    height: 35px;
  }

  .command-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

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

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
