:root {
  color-scheme: light dark;
  --bg: #f8fbff;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --text: #1f2328;
  --muted: #657080;
  --line: rgba(28, 36, 48, 0.12);
  --accent: #0078d4;
  --accent-2: #58c7ff;
  --accent-warm: #ffb84d;
  --ok: #0f7b4f;
  --accent-soft: rgba(0, 103, 192, 0.1);
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.1);
  --shadow-lift: 0 28px 70px rgba(20, 64, 112, 0.18);
  --radius-card: 24px;
  --radius-soft: 18px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111318;
    --surface: rgba(35, 38, 45, 0.74);
    --surface-strong: rgba(43, 47, 55, 0.92);
    --text: #f4f6f8;
    --muted: #b7c0cc;
    --line: rgba(255, 255, 255, 0.12);
    --accent: #60b7ff;
    --accent-2: #8fd0ff;
    --accent-soft: rgba(96, 183, 255, 0.14);
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  }
}

* { box-sizing: border-box; }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes softFloat {
  0%, 100% { transform: translateY(0) rotate(0.4deg); }
  50% { transform: translateY(-8px) rotate(0.4deg); }
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 4%, rgba(88, 199, 255, 0.28), transparent 380px),
    radial-gradient(circle at 84% 10%, rgba(255, 184, 77, 0.18), transparent 360px),
    linear-gradient(180deg, rgba(0, 120, 212, 0.08), transparent 520px),
    var(--bg);
  color: var(--text);
  font-family: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 2;
  backdrop-filter: blur(24px) saturate(150%);
  background: color-mix(in srgb, var(--surface-strong) 80%, transparent);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 650;
  letter-spacing: 0;
}

.brand img { width: 36px; height: 36px; border-radius: 9px; }

.links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.links a {
  color: var(--muted);
  padding: 8px 13px;
  border-radius: 999px;
  transition: background 180ms var(--ease-out), color 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.links a[aria-current="page"], .links a:hover {
  color: var(--text);
  background: var(--accent-soft);
  text-decoration: none;
}

.links a:hover { transform: translateY(-1px); }

.hero {
  padding: 64px 0 34px;
  animation: riseIn 700ms var(--ease-out) both;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: 34px;
  align-items: center;
}

.hero-icon { width: 70px; height: 70px; border-radius: 18px; margin-bottom: 18px; box-shadow: 0 18px 40px rgba(0, 120, 212, 0.16); }

.app-shot {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 18px;
  backdrop-filter: blur(20px) saturate(150%);
}

.window-chrome {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  margin: -4px -4px 16px;
  padding: 0 4px 12px;
}

.window-chrome span { width: 10px; height: 10px; border-radius: 50%; background: #d6dbe3; }
.window-chrome span:nth-child(1) { background: #ff5f57; }
.window-chrome span:nth-child(2) { background: #ffbd2e; }
.window-chrome span:nth-child(3) { background: #28c840; }

.device-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  background: color-mix(in srgb, var(--surface-strong) 80%, transparent);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  margin-top: 10px;
}

.device-row.active { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }

.device-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 21px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 650;
  padding: 4px 10px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(38px, 7vw, 64px);
  line-height: 1.06;
  letter-spacing: 0;
}

.lede {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0 16px;
  font-weight: 650;
  background: var(--surface-strong);
  color: var(--text);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset;
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out), background 180ms var(--ease-out), border-color 180ms var(--ease-out);
}

.button.primary {
  background: linear-gradient(180deg, #31b8ff, var(--accent));
  color: white;
  border-color: color-mix(in srgb, var(--accent) 70%, black);
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  border-radius: 999px;
  padding: 10px 20px 10px 14px;
  border: 1px solid color-mix(in srgb, #0067c0 72%, #003a75);
  background: linear-gradient(180deg, #1598ff, #0067c0);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 18px 46px rgba(0, 103, 192, 0.28), 0 1px 0 rgba(255, 255, 255, 0.34) inset;
  backdrop-filter: blur(18px) saturate(150%);
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out), background 180ms var(--ease-out), border-color 180ms var(--ease-out);
}

.store-badge img {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 5px;
  image-rendering: auto;
}

.store-badge:hover {
  text-decoration: none;
  transform: translateY(-2px);
  background: linear-gradient(180deg, #2aa3ff, #0072d8);
  border-color: color-mix(in srgb, #0072d8 72%, #003a75);
  box-shadow: 0 24px 58px rgba(0, 103, 192, 0.34), 0 1px 0 rgba(255, 255, 255, 0.38) inset;
}

.store-badge:active { transform: translateY(0) scale(0.98); }

.language-picker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

.language-picker select {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--text);
  font: inherit;
  padding: 0 12px;
  transition: border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.language-picker select:hover {
  border-color: color-mix(in srgb, var(--accent) 28%, var(--line));
  box-shadow: 0 8px 22px rgba(0, 120, 212, 0.08);
  transform: translateY(-1px);
}

.button.store { color: var(--accent); }

.button:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 120, 212, 0.14); }
.button:active { transform: translateY(0) scale(0.98); }

.meta {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}

.content {
  padding: 10px 0 64px;
}

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

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(140%);
  padding: clamp(22px, 4vw, 34px);
  margin: 18px 0;
}

.bright-panel {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(226, 246, 255, 0.86));
}

.screenshot-frame {
  margin: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(231,248,255,0.94));
  border: 1px solid rgba(0, 120, 212, 0.14);
  border-radius: 28px;
  box-shadow: var(--shadow-lift);
  padding: 12px;
  overflow: hidden;
  transition: transform 420ms var(--ease-out), box-shadow 420ms var(--ease-out), border-color 420ms var(--ease-out);
}

.hero-shot {
  animation: softFloat 7s ease-in-out infinite;
}

.screenshot-frame:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
  box-shadow: 0 34px 84px rgba(20, 64, 112, 0.22);
}

.screenshot-frame img {
  display: block;
  width: 100%;
  border-radius: 20px;
  transition: transform 520ms var(--ease-out);
}

.screenshot-frame:hover img { transform: scale(1.012); }

.feature-showcase {
  padding: 18px 0 56px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin-bottom: 12px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(20px, 4vw, 42px);
  align-items: center;
  padding: clamp(24px, 5vw, 48px) 0;
  border-top: 1px solid var(--line);
  animation: riseIn 650ms var(--ease-out) both;
}

.feature-row.reverse {
  grid-template-columns: minmax(0, 0.58fr) minmax(240px, 0.42fr);
}

.feature-row.reverse .feature-copy {
  order: 2;
}

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

.feature-copy h3 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
  margin: 8px 0 12px;
}

.feature-copy p {
  color: var(--muted);
  font-size: 17px;
}

.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.68fr);
  gap: 22px;
  align-items: center;
}

.final-cta {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 860px;
  text-align: center;
  justify-items: center;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta > div:first-child {
  display: grid;
  justify-items: center;
  max-width: 720px;
}

.final-cta .status-stack {
  width: min(100%, 520px);
}

.status-stack,
.key-values {
  display: grid;
  gap: 10px;
}

.status-stack div,
.key-values div {
  border: 1px solid var(--line);
  border-radius: var(--radius-soft);
  background: color-mix(in srgb, var(--surface-strong) 74%, transparent);
  padding: 12px 14px;
}

.status-stack span,
.key-values span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.status-stack strong,
.key-values strong {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  font-weight: 650;
  overflow-wrap: anywhere;
}

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

.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.mini {
  background: color-mix(in srgb, var(--surface-strong) 78%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 18px;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms var(--ease-out);
}

.mini:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 24%, var(--line));
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.mini h2 { font-size: 17px; margin-bottom: 8px; }

.list-card {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 18px 20px;
  margin: 12px 0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.list-card.flush { margin: 0 0 12px; box-shadow: none; }

.list-card .symbol {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 22px;
}

.list-card .symbol img {
  width: 24px;
  height: 24px;
  border-radius: 5px;
}

.list-card .symbol.store-symbol {
  background: linear-gradient(180deg, #1598ff, #0067c0);
  box-shadow: 0 12px 28px rgba(0, 103, 192, 0.24);
}

h2 { margin: 0 0 14px; font-size: 24px; line-height: 1.25; letter-spacing: 0; }
h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.35; letter-spacing: 0; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 14px; padding-left: 22px; }
li + li { margin-top: 6px; }

.callout {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: var(--radius-soft);
  padding: 14px 16px;
  margin: 18px 0;
}

.footer {
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  font-size: 14px;
}

.support-hero { padding: 46px 0 28px; }

.support-app-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(145%);
  padding: clamp(22px, 4vw, 34px);
}

.support-title { display: flex; align-items: center; gap: 22px; min-width: 0; }

.support-title img {
  width: 72px;
  height: 72px;
  border-radius: 20px;
}

.support-app-card h1 { font-size: clamp(34px, 5vw, 50px); }
.support-app-card p { color: var(--muted); margin: 6px 0 0; }

.support-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-left: auto;
}

.support-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.support-sidebar {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  backdrop-filter: blur(16px) saturate(140%);
}

.support-sidebar a {
  color: var(--muted);
  border-radius: 999px;
  padding: 9px 10px;
}

.support-sidebar a:hover {
  color: var(--text);
  background: var(--accent-soft);
  text-decoration: none;
}

.compact-panel { padding: 18px; }

code {
  font-family: "Cascadia Mono", Consolas, monospace;
  font-size: 0.94em;
  background: color-mix(in srgb, var(--surface-strong) 72%, transparent);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 2px 5px;
}

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

@media (max-width: 720px) {
  .shell { width: min(100% - 28px, 1040px); }
  .nav { align-items: flex-start; flex-direction: column; padding: 14px 0; gap: 10px; }
  .links { justify-content: flex-start; }
  .hero { padding-top: 40px; }
  .hero-grid, .grid, .grid.three, .intro-grid, .split-panel, .support-layout, .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-copy { order: 0; }
  .feature-row { padding: 28px 0; }
  .support-app-card { align-items: flex-start; flex-direction: column; }
  .list-card { grid-template-columns: 42px 1fr; }
  .list-card .button { grid-column: 1 / -1; }
  .support-actions { justify-content: flex-start; }
  .support-sidebar { position: static; }
}
