:root {
  --bg: #05070b;
  --bg-2: #080b12;
  --surface: rgba(14, 18, 28, 0.78);
  --surface-strong: rgba(18, 24, 37, 0.92);
  --surface-soft: rgba(255, 255, 255, 0.055);
  --border: rgba(178, 194, 225, 0.16);
  --border-strong: rgba(92, 230, 255, 0.32);
  --text: #f4f7fb;
  --muted: #a5adbd;
  --faint: #6c7588;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --violet: #8b5cf6;
  --violet-hi: #a78bfa;
  --green: #4ade80;
  --amber: #fbbf24;
  --rose: #fb7185;
  --mx: 50%;
  --my: 20%;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(34, 211, 238, 0.16), transparent 440px),
    linear-gradient(180deg, var(--bg) 0%, #070915 42%, #05070b 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(115deg, rgba(34, 211, 238, 0.08), transparent 32%),
    linear-gradient(245deg, rgba(139, 92, 246, 0.13), transparent 38%);
  pointer-events: none;
}

img,
svg {
  display: block;
}

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

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

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.04), transparent),
    repeating-linear-gradient(0deg, transparent 0 7px, rgba(255, 255, 255, 0.025) 8px);
  opacity: 0.5;
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 20;
  width: min(1180px, calc(100% - 28px));
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(5, 7, 11, 0.68);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(34, 211, 238, 0.22);
  background: rgba(5, 7, 11, 0.88);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.5);
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 12px 28px rgba(59, 130, 246, 0.16);
}

.brand-mark img {
  width: 28px;
  height: 28px;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.site-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.header-actions,
.footer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
}

.language-switch a {
  min-width: 29px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  transition: color 180ms ease, background 180ms ease;
}

.language-switch a:hover,
.language-switch a:focus-visible,
.language-switch a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.12);
}

.nav-download {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--blue) 52%, var(--violet));
  color: white;
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: 0 15px 38px rgba(59, 130, 246, 0.28);
}

.nav-download-short {
  display: none;
}

.hero {
  position: relative;
  min-height: 84svh;
  isolation: isolate;
  display: grid;
  align-items: center;
  padding: 122px 24px 80px;
  overflow: hidden;
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: -1;
  perspective: 1400px;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(34, 211, 238, 0.1), transparent 25%, transparent 72%, rgba(139, 92, 246, 0.12)),
    linear-gradient(to bottom, transparent 0%, rgba(5, 7, 11, 0.72) 76%, var(--bg) 100%);
}

.desktop-preview {
  position: absolute;
  right: max(32px, calc((100vw - 1180px) / 2));
  top: 132px;
  width: min(780px, 58vw);
  min-width: 620px;
  border: 1px solid rgba(176, 205, 255, 0.18);
  border-radius: 8px;
  background: rgba(6, 9, 15, 0.86);
  box-shadow:
    0 36px 110px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 120px rgba(34, 211, 238, 0.08);
  transform: rotateX(8deg) rotateY(-12deg) rotateZ(1deg);
  transform-origin: center;
  transition: transform 220ms ease-out;
}

.window-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--faint);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  font-size: 0.76rem;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #3d4454;
}

.window-bar span:first-child {
  background: var(--rose);
}

.window-bar span:nth-child(2) {
  background: var(--amber);
}

.window-bar span:nth-child(3) {
  background: var(--green);
}

.window-bar strong {
  margin-left: 8px;
  color: var(--muted);
  font-weight: 600;
}

.ide-shell {
  height: 440px;
  display: grid;
  grid-template-columns: 52px 158px minmax(260px, 1fr) 220px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    #070a10;
}

.ide-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
}

.ide-rail span {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
}

.ide-rail .rail-active {
  border-color: rgba(34, 211, 238, 0.7);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.75), rgba(139, 92, 246, 0.75));
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.28);
}

.file-tree {
  padding: 20px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.file-tree p,
.agent-pane p {
  margin: 0 0 14px;
  color: var(--faint);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  font-size: 0.72rem;
  font-weight: 700;
}

.file-tree strong,
.file-tree span {
  display: block;
}

.file-tree strong {
  margin-bottom: 18px;
  color: var(--text);
  font-size: 0.88rem;
}

.file-tree span {
  margin: 10px 0;
  padding: 8px 9px;
  border-radius: 7px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.78rem;
}

.code-pane {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.tab-row {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.tab-row span {
  height: 100%;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.tab-row .changed {
  color: var(--green);
}

.code-pane pre {
  margin: 0;
  min-height: 0;
  flex: 1;
  padding: 26px 22px;
  overflow: hidden;
  color: #dde7f7;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  font-size: 0.92rem;
  line-height: 1.9;
}

.line {
  display: inline-block;
  width: 2.1em;
  user-select: none;
}

.muted {
  color: #566175;
}

.pink {
  color: #f472b6;
}

.blue {
  color: #60a5fa;
}

.green {
  color: #4ade80;
}

.yellow {
  color: #facc15;
}

.cyan {
  color: #22d3ee;
}

.terminal-strip {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.035);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  font-size: 0.78rem;
}

.terminal-strip span {
  color: var(--cyan);
}

.terminal-strip strong {
  color: var(--green);
  font-weight: 700;
}

.agent-pane {
  padding: 18px 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.07);
}

.bubble {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.065);
  color: #dbe4f4;
  font-size: 0.86rem;
}

.diff-mini {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(74, 222, 128, 0.22);
  border-radius: 8px;
  background: rgba(74, 222, 128, 0.055);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  color: #80f5b0;
  font-size: 0.72rem;
}

.diff-mini span:last-child {
  color: #ff9cac;
}

.hero-phone {
  position: absolute;
  right: max(-80px, calc((100vw - 1320px) / 2 - 50px));
  bottom: -170px;
  width: min(390px, 27vw);
  min-width: 270px;
  filter: drop-shadow(0 45px 80px rgba(0, 0, 0, 0.58));
  opacity: 0.9;
  transform: rotate(5deg);
  transition: transform 220ms ease-out;
}

.hero-wordmark {
  position: absolute;
  left: max(24px, calc((100vw - 1180px) / 2));
  top: 104px;
  width: 520px;
  max-width: 44vw;
  opacity: 0.08;
  filter: blur(0.2px);
}

.hero-content {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-top: 36px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #d7e2f4;
  font-size: 0.83rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(74, 222, 128, 0.85);
}

.eyebrow-meta {
  color: var(--cyan);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  max-width: 780px;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  font-size: 4.75rem;
}

h2 {
  font-size: 3.2rem;
}

h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.06rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-lead {
  width: min(660px, 100%);
  margin: 24px 0 0;
  color: #c8d2e5;
  font-size: 1.18rem;
  line-height: 1.72;
}

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

.button {
  min-height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(100%, 355px);
  padding: 12px 18px;
  border-radius: 16px;
  font-weight: 850;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible,
.installer:hover,
.installer:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.nav-download:hover,
.nav-download:focus-visible {
  transform: translateY(-2px);
}

.button small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

.button-primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue) 50%, var(--violet));
  color: white;
  box-shadow: 0 22px 60px rgba(59, 130, 246, 0.34);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.075);
  color: var(--text);
  backdrop-filter: blur(18px);
}

.button-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.16);
}

.button-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-points span,
.android-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #dce7fb;
  font-size: 0.85rem;
  font-weight: 750;
}

.trust-strip {
  width: min(1180px, calc(100% - 48px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: -34px auto 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--border);
  overflow: hidden;
  position: relative;
  z-index: 2;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.trust-item {
  min-height: 128px;
  padding: 22px;
  background: rgba(9, 12, 20, 0.9);
}

.trust-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.98rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 128px 0 0;
}

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

.section-heading p:not(.section-kicker),
.desktop-copy p,
.android-copy p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.section-kicker {
  color: var(--cyan);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 48px;
}

.feature-card,
.workflow-step,
.download-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
    rgba(10, 14, 23, 0.78);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.feature-card {
  min-height: 246px;
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 0 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.6), transparent);
  opacity: 0;
  transition: opacity 180ms ease;
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 8px;
  background: rgba(34, 211, 238, 0.08);
  color: var(--cyan);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  font-size: 0.78rem;
  font-weight: 800;
}

.feature-card p,
.workflow-step p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.62;
}

.desktop-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 48px;
  align-items: center;
}

.desktop-copy h2,
.android-copy h2 {
  max-width: none;
}

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

.desktop-list li {
  position: relative;
  padding-left: 28px;
  color: #d7e2f4;
  font-weight: 650;
}

.desktop-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(74, 222, 128, 0.45);
}

.download-panel {
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(34, 211, 238, 0.11), transparent 34%),
    rgba(10, 14, 23, 0.88);
}

.download-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.download-header img {
  width: 48px;
  height: 48px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.download-header strong,
.download-header span {
  display: block;
}

.download-header strong {
  font-size: 1.18rem;
}

.download-header span,
.download-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.installer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.installer-primary {
  border-color: rgba(34, 211, 238, 0.36);
  background: rgba(34, 211, 238, 0.085);
}

.installer:hover,
.installer:focus-visible {
  border-color: rgba(34, 211, 238, 0.48);
  background: rgba(255, 255, 255, 0.08);
}

.installer strong,
.installer small {
  display: block;
}

.installer strong {
  margin-bottom: 4px;
}

.installer small {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.installer b {
  min-width: 86px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: white;
  font-size: 0.86rem;
}

.download-note {
  margin: 16px 0 0;
}

.workflow {
  padding-top: 118px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 44px;
}

.workflow-step {
  min-height: 210px;
  padding: 24px;
}

.workflow-step span {
  display: inline-flex;
  margin-bottom: 36px;
  color: var(--cyan);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  font-size: 0.82rem;
  font-weight: 800;
}

.android-band {
  display: grid;
  grid-template-columns: minmax(360px, 520px) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
  padding-bottom: 96px;
}

.phone-stack {
  position: relative;
  min-height: 660px;
}

.phone-main {
  width: min(390px, 82%);
  border-radius: 28px;
  filter: drop-shadow(0 46px 90px rgba(0, 0, 0, 0.52));
}

.phone-side {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: min(310px, 58%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.44);
}

.android-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 30px;
  color: var(--cyan);
  font-weight: 850;
  transition: transform 180ms ease, color 180ms ease;
}

.text-link::after {
  content: "→";
  margin-left: 10px;
  color: var(--violet-hi);
}

.site-footer {
  width: min(1180px, calc(100% - 48px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto;
  padding: 34px 0 46px;
  border-top: 1px solid var(--border);
}

.footer-brand img {
  width: 42px;
  height: 42px;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand span {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-consent:hover,
.footer-consent:focus-visible {
  color: var(--text);
}

.footer-consent {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.consent-panel {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 60;
  width: min(1080px, calc(100% - 36px));
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 22px;
  margin: 0 auto;
  padding: 22px;
  border: 1px solid rgba(122, 213, 255, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(12, 18, 31, 0.98), rgba(7, 10, 19, 0.96)),
    radial-gradient(circle at 12% 10%, rgba(34, 211, 238, 0.16), transparent 260px);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(24px);
}

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

.consent-kicker {
  margin: 0 0 8px;
  color: var(--cyan);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.consent-panel h2 {
  margin: 0;
  font-size: clamp(1.28rem, 2.1vw, 1.75rem);
  line-height: 1.08;
}

.consent-panel p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.consent-panel a {
  color: var(--cyan);
  font-weight: 800;
}

.consent-controls {
  display: grid;
  gap: 10px;
}

.consent-option {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.consent-option input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--cyan);
}

.consent-option strong,
.consent-option small {
  display: block;
}

.consent-option strong {
  font-size: 0.94rem;
}

.consent-option small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.42;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.consent-actions button {
  min-height: 42px;
  padding: 0 15px;
  border-radius: 8px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 850;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.consent-actions button:hover,
.consent-actions button:focus-visible {
  transform: translateY(-1px);
}

.consent-actions .button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.consent-actions .button-primary {
  border: 0;
  background: linear-gradient(135deg, var(--cyan), var(--blue) 52%, var(--violet));
  color: white;
  box-shadow: 0 14px 38px rgba(59, 130, 246, 0.34);
}

.legal-main {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: 138px 0 64px;
}

.legal-hero {
  max-width: 820px;
  margin-bottom: 46px;
}

.legal-eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
}

.legal-lead {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.legal-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.legal-toc a,
.legal-toc button {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: left;
}

.legal-toc button {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.legal-toc a:hover,
.legal-toc a:focus-visible,
.legal-toc button:hover,
.legal-toc button:focus-visible {
  color: var(--text);
}

.legal-document {
  display: grid;
  gap: 30px;
}

.legal-section {
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

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

.legal-section h2 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 3vw, 2.05rem);
}

.legal-section h3 {
  margin: 22px 0 8px;
  font-size: 1.05rem;
}

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

.legal-section p {
  margin: 0 0 12px;
}

.legal-section ul {
  margin: 0;
  padding-left: 20px;
}

.legal-section li + li {
  margin-top: 7px;
}

.company-details {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 8px;
  background: rgba(34, 211, 238, 0.06);
}

.company-details p {
  margin: 0;
}


.about-main { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 138px 0 70px; }
.about-hero { position: relative; min-height: 520px; display: grid; align-content: center; overflow: hidden; padding: 52px; border: 1px solid rgba(122, 213, 255, 0.24); border-radius: 8px; background: linear-gradient(135deg, rgba(15, 22, 38, 0.9), rgba(5, 7, 11, 0.72)), radial-gradient(circle at 78% 20%, rgba(34, 211, 238, 0.18), transparent 330px), radial-gradient(circle at 15% 80%, rgba(139, 92, 246, 0.18), transparent 340px); box-shadow: 0 30px 90px rgba(0, 0, 0, 0.44); }
.about-wordmark { position: absolute; right: -120px; bottom: -110px; width: min(760px, 78vw); opacity: 0.08; pointer-events: none; }
.about-hero h1 { position: relative; max-width: 900px; margin: 0; font-size: clamp(2.65rem, 6vw, 5.3rem); line-height: 0.98; }
.about-lead { position: relative; max-width: 760px; margin: 28px 0 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.28rem); }
.about-actions, .contact-actions { position: relative; display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.founder-panel { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 24px; margin-top: 28px; }
.about-card, .contact-band { border: 1px solid var(--border); border-radius: 8px; background: rgba(255, 255, 255, 0.055); box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28); }
.about-card { min-height: 420px; padding: 34px; }
.about-card h2, .contact-band h2 { margin: 0; font-size: clamp(1.85rem, 4vw, 3.15rem); line-height: 1.02; }
.about-card p, .contact-band p { color: var(--muted); font-size: 1rem; }
.about-card p a { color: var(--cyan); font-weight: 850; }
.about-card p a:hover, .about-card p a:focus-visible { color: var(--text); }
.founder-card { background: linear-gradient(155deg, rgba(34, 211, 238, 0.1), transparent 42%), rgba(255, 255, 255, 0.06); }
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.about-tags span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 8px; background: rgba(255, 255, 255, 0.06); color: var(--text); font-size: 0.82rem; font-weight: 850; }
.contact-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; margin-top: 28px; padding: 38px; background: linear-gradient(135deg, rgba(34, 211, 238, 0.11), rgba(139, 92, 246, 0.11)), rgba(255, 255, 255, 0.055); }
.contact-actions { justify-content: flex-end; margin-top: 0; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.hero-content.reveal {
  opacity: 1;
  transform: none;
}

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

@media (max-width: 1080px) {
  .site-nav {
    display: none;
  }

  .hero {
    padding-top: 112px;
  }

  .desktop-preview {
    right: -220px;
    top: 160px;
    opacity: 0.72;
  }

  .hero-phone {
    right: -70px;
    width: 300px;
    opacity: 0.74;
  }

  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.55rem;
  }

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

  .desktop-band,
  .android-band {
    grid-template-columns: 1fr;
  }

  .download-panel {
    max-width: 620px;
  }

  .android-band {
    gap: 34px;
  }

  .phone-stack {
    min-height: 560px;
  }

  .consent-panel {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 36px);
    overflow-y: auto;
  }

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

  .legal-toc {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 58px;
    padding: 8px 9px;
    gap: 10px;
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .brand-mark img {
    width: 25px;
    height: 25px;
  }

  .nav-download {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .header-actions {
    gap: 7px;
  }

  .language-switch {
    padding: 2px;
  }

  .language-switch a {
    min-width: 24px;
    min-height: 30px;
    font-size: 0.68rem;
  }

  .hero {
    min-height: auto;
    padding: 94px 18px 34px;
  }

  .hero-scene {
    opacity: 0.82;
  }

  .desktop-preview {
    display: none;
  }

  .hero-phone {
    right: -102px;
    bottom: -62px;
    width: 240px;
    min-width: 220px;
    opacity: 0.36;
    transform: rotate(8deg);
  }

  .hero-wordmark {
    top: 82px;
    left: 10px;
    width: 420px;
    max-width: 94vw;
    opacity: 0.07;
  }

  .eyebrow {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.75rem;
  }

  .eyebrow-meta {
    width: 100%;
    margin-left: 19px;
  }

  h1 {
    max-width: 12ch;
    font-size: 2.55rem;
    line-height: 1.04;
  }

  h2 {
    font-size: 2.05rem;
    line-height: 1.08;
  }

  .hero-lead {
    font-size: 1rem;
    line-height: 1.64;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .button {
    width: 100%;
    min-height: 66px;
    justify-content: flex-start;
    border-radius: 14px;
  }

  .trust-strip,
  .section,
  .site-footer {
    width: min(100% - 32px, 1180px);
  }

  .trust-strip {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .trust-item {
    min-height: auto;
  }

  .section {
    padding-top: 88px;
  }

  .feature-grid,
  .workflow-grid {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .feature-card,
  .workflow-step {
    min-height: auto;
  }

  .desktop-band {
    gap: 30px;
  }

  .download-panel {
    padding: 16px;
  }

  .installer {
    align-items: flex-start;
    flex-direction: column;
  }

  .installer b {
    width: 100%;
  }

  .android-band {
    padding-bottom: 70px;
  }

  .phone-stack {
    min-height: 520px;
    order: 2;
  }

  .android-copy {
    order: 1;
  }

  .phone-main {
    width: 260px;
  }

  .phone-side {
    right: 4px;
    bottom: 42px;
    width: 220px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .consent-panel {
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: calc(100% - 20px);
    padding: 16px;
    gap: 14px;
  }

  .consent-panel p {
    font-size: 0.88rem;
  }

  .consent-actions {
    justify-content: stretch;
  }

  .consent-actions button {
    flex: 1 1 100%;
    min-height: 44px;
  }

  .legal-main {
    width: min(100% - 32px, 1080px);
    padding-top: 108px;
  }

  .legal-hero {
    margin-bottom: 32px;
  }

  .legal-hero h1 {
    max-width: none;
    font-size: 2.45rem;
  }
}

@media (max-width: 420px) {
  .brand {
    gap: 9px;
  }

  .brand-name {
    font-size: 0.9rem;
  }

  .header-actions {
    gap: 4px;
  }

  .nav-download {
    padding: 0 9px;
  }

  .nav-download-full {
    display: none;
  }

  .nav-download-short {
    display: inline;
  }

  .language-switch a {
    min-width: 23px;
  }

  .consent-option {
    grid-template-columns: 20px minmax(0, 1fr);
    padding: 10px;
  }

  h1 {
    font-size: 2.28rem;
  }

  h2 {
    font-size: 1.82rem;
  }

  .button {
    padding: 12px;
  }

  .button-icon {
    width: 38px;
    height: 38px;
  }

  .phone-stack {
    min-height: 470px;
  }

  .phone-main {
    width: 236px;
  }

  .phone-side {
    width: 190px;
  }
}

@media (max-width: 360px) {
  .brand-name {
    display: none;
  }
}


@media (max-width: 1080px) {
  .founder-panel, .contact-band { grid-template-columns: 1fr; }
  .contact-actions { justify-content: flex-start; }
}

@media (max-width: 720px) {
  .about-main { width: min(100% - 32px, 1120px); padding-top: 106px; }
  .about-hero { min-height: auto; padding: 28px 20px; }
  .about-wordmark { right: -160px; bottom: -76px; width: 560px; }
  .about-card, .contact-band { padding: 22px; }
  .about-card { min-height: auto; }
  .about-actions .button, .contact-actions .button { width: 100%; }
}

@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;
  }
}


/* SEO multi-page structure */
.seo-main { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 138px 0 76px; }
.seo-hero { position: relative; overflow: hidden; padding: 52px; border: 1px solid rgba(122, 213, 255, 0.24); border-radius: 8px; background: linear-gradient(135deg, rgba(15, 22, 38, 0.92), rgba(5, 7, 11, 0.72)), radial-gradient(circle at 78% 18%, rgba(34, 211, 238, 0.18), transparent 340px), radial-gradient(circle at 12% 84%, rgba(139, 92, 246, 0.16), transparent 330px); box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42); }
.seo-hero h1 { max-width: 960px; margin: 0; font-size: clamp(2.45rem, 5.8vw, 5.1rem); line-height: 0.98; }
.seo-lead { max-width: 780px; margin: 26px 0 0; color: var(--muted); font-size: clamp(1.04rem, 2vw, 1.25rem); }
.seo-answer { max-width: 820px; margin-top: 28px; padding: 18px 20px; border: 1px solid rgba(34, 211, 238, 0.28); border-radius: 8px; background: rgba(34, 211, 238, 0.08); color: var(--text); }
.seo-section { padding-top: 56px; padding-bottom: 0; }
.seo-faq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.seo-faq { padding: 24px; border: 1px solid var(--border); border-radius: 8px; background: rgba(255, 255, 255, 0.055); }
.seo-faq h3 { margin: 0 0 12px; font-size: 1.05rem; }
.seo-faq p { margin: 0; color: var(--muted); }
.seo-cta { width: 100%; padding: 32px; border: 1px solid var(--border); border-radius: 8px; background: rgba(255, 255, 255, 0.055); }
.seo-cta h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.04; }
.seo-cta p { max-width: 760px; color: var(--muted); }
.seo-download-band { align-items: stretch; }
@media (max-width: 900px) { .seo-faq-grid { grid-template-columns: 1fr; } .seo-main { width: min(100% - 32px, 1120px); padding-top: 106px; } .seo-hero { padding: 30px 22px; } }



.article-main {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 138px 0 84px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 300px;
  gap: 36px;
  align-items: start;
}

.article-header {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  padding: 48px;
  border: 1px solid rgba(122, 213, 255, 0.24);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(15, 22, 38, 0.94), rgba(5, 7, 11, 0.74));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--faint);
  font-size: 0.86rem;
  font-weight: 750;
}

.article-breadcrumb a:hover,
.article-breadcrumb a:focus-visible,
.article-meta a:hover,
.article-body a:hover,
.article-toc a:hover,
.article-source-list a:hover {
  color: var(--text);
}

.article-header h1 {
  max-width: 960px;
  margin: 0;
  font-size: 4.4rem;
  line-height: 0.98;
}

.article-deck {
  max-width: 820px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

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

.article-meta span + span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.article-meta a,
.article-body a {
  color: var(--cyan);
}

.article-image-frame {
  margin: 34px 0 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.055);
}

.article-image-frame img {
  width: 100%;
  height: auto;
}

.article-image-frame figcaption {
  padding: 12px 16px;
  color: var(--faint);
  font-size: 0.86rem;
}

.article-sidebar {
  position: sticky;
  top: 102px;
  display: grid;
  gap: 14px;
}

.article-toc,
.article-side-cta {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.article-toc strong,
.article-side-cta strong,
.article-side-cta span {
  display: block;
}

.article-toc strong {
  margin-bottom: 12px;
}

.article-toc a {
  display: block;
  padding: 9px 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.article-side-cta span {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.article-side-cta strong {
  margin: 8px 0 16px;
  font-size: 1.08rem;
}

.article-side-cta .button {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
}

.article-body {
  min-width: 0;
}

.article-body section {
  scroll-margin-top: 120px;
}

.article-body section + section {
  margin-top: 48px;
}

.article-body h2 {
  margin: 0 0 18px;
  font-size: 2.15rem;
  line-height: 1.05;
}

.article-body h3 {
  margin: 0 0 8px;
  font-size: 1.06rem;
}

.article-body p,
.article-body li {
  color: var(--muted);
  font-size: 1.02rem;
}

.article-body p {
  margin: 0 0 18px;
}

.article-body ul {
  margin: 0;
  padding-left: 20px;
}

.article-body li + li {
  margin-top: 8px;
}

.article-body code {
  padding: 2px 6px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.92em;
}

.article-answer {
  margin-bottom: 24px;
  padding: 20px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 8px;
  background: rgba(34, 211, 238, 0.08);
  color: var(--text);
}

.article-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.article-checklist article,
.article-card,
.article-next-grid a {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.article-checklist article {
  padding: 20px;
}

.article-checklist span,
.article-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  margin-bottom: 14px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 900;
}

.article-checklist p,
.article-card p,
.article-next-grid span {
  margin: 0;
  color: var(--muted);
}

.article-source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.article-source-list a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.article-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.article-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.article-table th,
.article-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.article-table th {
  color: var(--text);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.article-table td {
  color: var(--muted);
}

.article-table tr:last-child td {
  border-bottom: 0;
}

.article-download {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 24px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(34, 211, 238, 0.26);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.1), rgba(139, 92, 246, 0.09));
}

.article-download h2 {
  margin-bottom: 12px;
}

.article-download-actions {
  display: grid;
  gap: 12px;
}

.article-faq-grid {
  grid-template-columns: 1fr;
}

.article-read-next {
  padding-top: 6px;
}

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

.article-next-grid a {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.article-next-grid strong {
  color: var(--text);
}

.article-hub-section {
  padding-top: 56px;
}

.article-hub-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.article-card-link {
  display: block;
  padding: 26px;
}

.article-card h3 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  line-height: 1.1;
}

.article-card-meta {
  display: block;
  margin-top: 18px;
  color: var(--faint);
  font-size: 0.88rem;
  font-weight: 750;
}

.article-topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-topic-list span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted);
  font-weight: 750;
}

@media (max-width: 980px) {
  .article-main {
    width: min(100% - 32px, 1120px);
    padding-top: 106px;
  }

  .article-layout,
  .article-download {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
    grid-row: auto;
  }

  .article-checklist,
  .article-next-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .article-header {
    padding: 28px 20px;
  }

  .article-header h1 {
    font-size: 2.35rem;
    line-height: 1.03;
  }

  .article-deck {
    font-size: 1.04rem;
  }

  .article-body h2 {
    font-size: 1.72rem;
  }

  .article-meta {
    display: grid;
    gap: 6px;
  }

  .article-meta span + span::before {
    display: none;
  }

  .article-download {
    padding: 20px;
  }
}


/* Quality pass: language-stable pillar pages and readable article index */
.pillar-main,
.article-index-main {
  width: min(1240px, calc(100% - 56px));
}

.pillar-hero,
.article-index-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 34px;
  align-items: end;
}

.pillar-hero h1,
.article-index-hero h1 {
  font-size: clamp(2.35rem, 4.6vw, 4.6rem);
}

.pillar-hero-panel {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.pillar-hero-panel span {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pillar-hero-panel b {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.pillar-card {
  min-height: 280px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.pillar-card h2 {
  margin: 16px 0 12px;
  font-size: 1.25rem;
  line-height: 1.12;
}

.pillar-card p,
.pillar-body p,
.pillar-aside p {
  color: var(--muted);
}

.pillar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 20px;
  align-items: stretch;
}

.pillar-body,
.pillar-aside,
.article-index-box {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.pillar-body h2 {
  margin: 0 0 18px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.05;
}

.pillar-step-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.pillar-step-list span {
  min-height: 76px;
  padding: 14px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 8px;
  background: rgba(34, 211, 238, 0.07);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 750;
}

.pillar-aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pillar-aside h3,
.article-index-box h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.pillar-aside a,
.article-index-box a:not(.button) {
  min-height: 42px;
  display: flex;
  align-items: center;
  margin-top: 10px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-weight: 750;
}

.pillar-aside a:hover,
.article-index-box a:hover {
  color: var(--text);
  border-color: rgba(34, 211, 238, 0.35);
}

.article-index-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  margin-top: 46px;
  align-items: start;
}

.article-index-list {
  min-width: 0;
}

.article-list-item {
  margin-top: 14px;
}

.article-list-item a {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 88px;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.article-list-item a:hover {
  border-color: rgba(34, 211, 238, 0.38);
  background: rgba(255, 255, 255, 0.075);
  transform: translateY(-2px);
}

.article-list-number {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(34, 211, 238, 0.26);
  border-radius: 8px;
  color: var(--cyan);
  font-weight: 900;
}

.article-list-content {
  display: grid;
  gap: 8px;
}

.article-list-content b {
  font-size: 1.28rem;
  line-height: 1.16;
}

.article-list-content em {
  color: var(--muted);
  font-style: normal;
}

.article-list-content small {
  color: var(--faint);
  font-weight: 750;
}

.article-list-arrow {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.1);
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 850;
}

.article-index-sidebar {
  position: sticky;
  top: 102px;
  display: grid;
  gap: 14px;
}

.article-index-download span {
  display: block;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.article-index-download strong {
  display: block;
  margin: 8px 0 16px;
}

.article-index-download .button {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
}

.article-layout {
  grid-template-columns: minmax(0, 780px) minmax(260px, 320px);
  gap: 46px;
}

.article-header h1 {
  font-size: clamp(2.45rem, 4.2vw, 4.25rem);
}

.article-body {
  padding: 6px 0 0;
}

.article-body p,
.article-body li {
  line-height: 1.72;
}

.article-toc,
.article-side-cta {
  background: rgba(255, 255, 255, 0.065);
}

@media (max-width: 1080px) {
  .pillar-grid,
  .pillar-step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pillar-hero,
  .pillar-layout,
  .article-index-layout {
    grid-template-columns: 1fr;
  }

  .article-index-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  .pillar-main,
  .article-index-main {
    width: min(100% - 32px, 1120px);
  }

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

  .pillar-card {
    min-height: auto;
  }

  .pillar-body,
  .pillar-aside,
  .article-index-box {
    padding: 22px;
  }

  .article-list-item a {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
  }

  .article-list-arrow {
    width: max-content;
    padding: 0 16px;
  }
}


/* Mobile overflow guard for long SEO/article headings */
.article-index-hero h1,
.pillar-hero h1,
.article-header h1,
.article-list-content b {
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  .article-index-hero {
    padding-inline: 20px;
  }
}


@media (max-width: 1080px) {
  .article-index-hero {
    grid-template-columns: 1fr;
  }
}


/* Final article mobile layout override after desktop readability pass */
@media (max-width: 980px) {
  .article-layout,
  .article-download {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .article-body {
    width: 100%;
  }
}

/* Windows stable, Web + Android beta */
.hero-actions { flex-wrap: wrap; }
.button-disabled { opacity: .58; cursor: not-allowed; filter: saturate(.45); text-decoration: none; }
.platform-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; width: min(1180px,calc(100% - 40px)); margin: 0 auto; }
.platform-card { display:flex; flex-direction:column; gap:14px; min-width:0; padding:28px; border:1px solid var(--line); border-radius:22px; background:rgba(10,14,24,.76); }
.platform-card.featured { border-color:rgba(139,92,246,.7); box-shadow:0 20px 60px rgba(93,54,190,.16); }
.platform-card .button,.platform-card .installer { width:100%; box-sizing:border-box; }
.platform-card>a:last-child { margin-top:auto; }
.platform-label { width:fit-content; padding:5px 9px; border:1px solid rgba(167,139,250,.45); border-radius:999px; color:#c4b5fd; font:700 11px/1 var(--mono); letter-spacing:.11em; }
.mobile-gallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; width:min(1050px,calc(100% - 40px)); margin:30px auto 0; }
.mobile-gallery figure { margin:0; padding:10px; border:1px solid var(--line); border-radius:24px; background:rgba(10,14,24,.8); }
.mobile-gallery img { display:block; width:100%; height:auto; border-radius:16px; }
.mobile-gallery figcaption { padding:10px 6px 3px; color:var(--muted); text-align:center; }
.install-card,.privacy-clarification { width:min(960px,calc(100% - 40px)); margin:32px auto; padding:28px; border:1px solid var(--line); border-radius:22px; background:rgba(10,14,24,.7); }
.release-note { max-width:680px; color:var(--muted); }
.checksum { display:block; overflow-wrap:anywhere; padding:12px; border-radius:10px; background:rgba(0,0,0,.28); }
@media(max-width:900px){.platform-grid{grid-template-columns:1fr}.mobile-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.mobile-gallery{grid-template-columns:1fr}.platform-card{padding:22px}}


/* Investor and partnership page */
.investor-main{display:grid;gap:30px}.investor-hero{min-height:480px}.investor-section{padding:42px;border:1px solid var(--border);border-radius:8px;background:rgba(255,255,255,.035)}
.investor-proof-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:26px}.investor-proof-card{min-width:0;padding:26px;border:1px solid var(--border);border-radius:8px;background:rgba(255,255,255,.055)}
.investor-proof-card span{color:var(--cyan);font:800 .8rem/1 var(--mono)}.investor-proof-card h3{margin:18px 0 10px;font-size:1.3rem}.investor-proof-card p,.investor-card p,.investor-company p,.investor-disclaimer{color:var(--muted)}
.investor-collab-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:26px}.investor-card{min-height:240px}.investor-card h3{font-size:1.45rem}.investor-contact{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px;padding:36px}
.investor-company{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:36px;border:1px solid rgba(34,211,238,.25);border-radius:8px;background:linear-gradient(135deg,rgba(34,211,238,.08),rgba(139,92,246,.08))}.investor-company h2{margin:0 0 16px}.investor-company a:not(.button){color:var(--cyan)}.investor-disclaimer{margin:0;padding:0 4px 24px;font-size:.85rem;line-height:1.6}
@media(max-width:900px){.investor-proof-grid{grid-template-columns:1fr}.investor-collab-grid,.investor-contact{grid-template-columns:1fr}.investor-company{align-items:flex-start;flex-direction:column}.investor-company .button{width:100%}}
@media(max-width:560px){.investor-section,.investor-company{padding:22px}.investor-hero{min-height:auto}.investor-proof-card{padding:22px}}
