:root {
  --bg: #fbfbfd;
  --bg-soft: #f4f6fb;
  --bg-warm: #fff7f5;
  --ink: #242d3d;
  --ink-med: #536074;
  --ink-dim: #7a8596;
  --line: #e4e8f0;
  --line-strong: #d7dce8;
  --accent: #6268d8;
  --accent-2: #74b7d9;
  --mint: #96d8bd;
  --rose: #f1a7b9;
  --sun: #efc76f;
  --shadow: 0 28px 80px rgba(55, 66, 94, 0.16);
  --shadow-soft: 0 16px 45px rgba(55, 66, 94, 0.09);
  --radius: 8px;
  --ui: "Inter Tight", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.72), rgba(251,251,253,0.92) 34%, rgba(248,250,252,0.98)),
    radial-gradient(circle at 8% 7%, rgba(241, 167, 185, 0.26), transparent 32%),
    radial-gradient(circle at 86% 9%, rgba(116, 183, 217, 0.26), transparent 31%),
    radial-gradient(circle at 78% 74%, rgba(150, 216, 189, 0.22), transparent 35%),
    linear-gradient(90deg, rgba(98, 104, 216, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(98, 104, 216, 0.05) 1px, transparent 1px),
    var(--bg);
  background-size: auto, auto, auto, auto, 56px 56px, 56px 56px, auto;
  color: var(--ink);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 100%;
  height: 3px;
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
  background: linear-gradient(90deg, var(--rose), var(--accent), var(--accent-2), var(--mint));
}

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

img {
  max-width: 100%;
}

svg {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

a svg,
button svg {
  flex: 0 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(251, 251, 253, 0.78);
  border-bottom: 1px solid rgba(228, 232, 240, 0.82);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.site-header.is-elevated {
  background: rgba(251, 251, 253, 0.9);
  border-bottom-color: rgba(215, 220, 232, 0.95);
  box-shadow: 0 14px 34px rgba(55, 66, 94, 0.08);
}

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

.brand img {
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(98, 104, 216, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  color: var(--ink-med);
  font-size: 14px;
  font-weight: 550;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color 160ms ease;
}

.nav-links a:not(.nav-icon-link)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: transform 180ms ease;
}

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

.nav-links a.is-active {
  color: var(--ink);
}

.nav-links a.is-active::after,
.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-icon-link {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255,255,255,0.66);
}

.nav-icon-link svg,
.icon-text svg,
.release-link svg {
  fill: currentColor;
  stroke: none;
}

.header-cta {
  padding: 8px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  background: rgba(255,255,255,0.78);
  box-shadow: 0 8px 22px rgba(55,66,94,0.07);
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(98, 104, 216, 0.36);
  box-shadow: 0 12px 26px rgba(55,66,94,0.1);
}

.section-shell {
  width: min(1280px, calc(100% - 36px));
  margin: 0 auto;
}

.journey-nav {
  position: fixed;
  right: clamp(18px, 3vw, 44px);
  top: 50%;
  z-index: 12;
  display: grid;
  gap: 8px;
  transform: translateY(-50%);
  padding: 8px;
  border: 1px solid rgba(228, 232, 240, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 44px rgba(55, 66, 94, 0.1);
  backdrop-filter: blur(14px);
}

.journey-nav a {
  display: grid;
  grid-template-columns: 28px auto;
  align-items: center;
  gap: 9px;
  min-width: 116px;
  padding: 8px 10px;
  border-radius: 7px;
  color: var(--ink-med);
  font-size: 13px;
  font-weight: 700;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.journey-nav a:hover,
.journey-nav a.is-active {
  color: var(--ink);
  background: rgba(237, 240, 255, 0.82);
  transform: translateX(-2px);
}

.journey-nav span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
}

.hero {
  min-height: min(760px, calc(100vh - 64px));
  display: grid;
  grid-template-columns: minmax(360px, 0.74fr) minmax(640px, 1.26fr);
  gap: 34px;
  align-items: center;
  padding: 58px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-family: var(--serif);
  font-size: clamp(50px, 5.6vw, 78px);
  line-height: 0.95;
  letter-spacing: 0;
  font-weight: 600;
}

h2 {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 600;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.25;
}

.hero-lede {
  max-width: 650px;
  color: #465269;
  font-size: 20px;
  line-height: 1.5;
}

.hero-actions,
.footer-links,
.download-options,
.trust-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 7px;
  border: 1px solid var(--line-strong);
  font-weight: 700;
  gap: 8px;
  position: relative;
  overflow: hidden;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transition: transform 420ms ease;
}

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

.button:hover::after {
  transform: translateX(120%);
}

.button.primary {
  background: linear-gradient(135deg, #4e55cc, #697ee6 54%, #65b6d3);
  color: white;
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(83, 90, 208, 0.24);
}

.button.subtle {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 26px rgba(55,66,94,0.07);
}

.button.large {
  min-height: 52px;
  padding: 12px 20px;
}

.trust-strip {
  margin-top: 24px;
  color: var(--ink-dim);
  font-family: var(--mono);
  font-size: 12px;
}

.trust-strip span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 22px rgba(55,66,94,0.05);
}

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

.hero-stage::before,
.hero-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(12px);
}

.hero-stage::before {
  width: 52%;
  height: 42%;
  left: -7%;
  top: -10%;
  background: rgba(241,167,185,0.24);
}

.hero-stage::after {
  width: 58%;
  height: 48%;
  right: -8%;
  bottom: -12%;
  background: rgba(150,216,189,0.24);
}

.stage-card {
  position: absolute;
  z-index: 3;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 8px;
  align-items: center;
  min-width: 168px;
  padding: 10px 12px;
  border: 1px solid rgba(228,232,240,0.9);
  border-radius: 8px;
  background: rgba(255,255,255,0.82);
  box-shadow: 0 18px 44px rgba(55,66,94,0.12);
  backdrop-filter: blur(14px);
}

.stage-card strong {
  font-size: 13px;
  line-height: 1.1;
}

.stage-card small {
  grid-column: 2;
  color: var(--ink-dim);
  font-family: var(--mono);
  font-size: 10px;
}

.top-left {
  left: -22px;
  top: 22px;
}

.bottom-right {
  right: -18px;
  bottom: 24px;
}

.mid-right {
  right: -8px;
  top: 42%;
}

.mini-dot {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 999px;
  background: var(--rose);
  box-shadow: 0 0 0 5px rgba(241,167,185,0.2);
}

.mini-dot.mint {
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(150,216,189,0.22);
}

.mini-dot.sky {
  background: var(--accent-2);
  box-shadow: 0 0 0 5px rgba(116,183,217,0.2);
}

.app-preview {
  overflow: hidden;
  border: 1px solid rgba(215, 220, 232, 0.98);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.window-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 246, 251, 0.72);
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--rose);
}

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

.window-bar strong {
  margin-left: 8px;
  color: var(--ink-med);
  font-size: 12px;
  font-weight: 650;
}

.real-preview {
  background: #fff;
  transform: perspective(1400px) rotateX(var(--preview-tilt-y, 1.5deg)) rotateY(var(--preview-tilt-x, -2deg));
  transform-origin: center;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.real-preview:hover {
  box-shadow: 0 32px 90px rgba(55, 66, 94, 0.18);
}

.real-app-shot {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  object-position: center;
  background: #f6f7f9;
}

.preview-layout {
  min-height: 500px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 180px;
}

.preview-sidebar,
.preview-graph {
  background: #f5f7fb;
  border-right: 1px solid var(--line);
  padding: 18px 14px;
}

.preview-sidebar img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  margin-bottom: 18px;
}

.preview-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
  padding: 7px 9px;
  border-radius: 6px;
  color: var(--ink-med);
  font-size: 13px;
}

.preview-row.active {
  color: var(--ink);
  background: #edf0ff;
}

.preview-tags {
  margin-top: 22px;
  display: grid;
  gap: 8px;
  color: var(--ink-dim);
  font-family: var(--mono);
  font-size: 11px;
}

.preview-note {
  padding: 36px 38px;
  background: rgba(255,255,255,0.86);
}

.note-title {
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 600;
}

.note-meta {
  margin-bottom: 28px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
}

.block {
  margin-bottom: 10px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.block.heading {
  border: 0;
  padding-left: 0;
  font-weight: 750;
  font-size: 18px;
  background: transparent;
}

.block.todo::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-right: 8px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  vertical-align: -2px;
}

.block.todo.done {
  color: var(--ink-dim);
  text-decoration: line-through;
}

.block.todo.done::before {
  background: var(--accent);
}

.block.quote {
  border-left: 3px solid var(--mint);
  color: var(--ink-med);
}

.link-card {
  margin-top: 22px;
  padding: 13px 14px;
  border: 1px solid #d9e5ef;
  border-radius: 7px;
  background: #f6fbff;
  color: var(--ink-med);
  font-family: var(--mono);
  font-size: 12px;
}

.preview-graph {
  position: relative;
  border-right: 0;
  border-left: 1px solid var(--line);
}

.preview-graph svg {
  position: absolute;
  inset: 40px 16px;
  width: calc(100% - 32px);
  height: 220px;
  fill: none;
  stroke: #b9c2d7;
  stroke-width: 2;
}

.node {
  position: absolute;
  z-index: 2;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 3px solid #fff;
  background: var(--accent);
  box-shadow: 0 5px 14px rgba(36,45,61,0.16);
}

.n1 { left: 42px; top: 92px; background: var(--accent); }
.n2 { right: 45px; top: 82px; background: var(--rose); }
.n3 { right: 28px; top: 210px; background: var(--mint); }
.n4 { left: 66px; top: 230px; background: var(--accent-2); }

.product-proof,
.local-first {
  scroll-margin-top: 88px;
}

.product-proof {
  padding: 30px 0 0;
}

.proof-grid,
.use-cases,
.feature-clusters {
  display: grid;
  gap: 16px;
}

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

.proof-grid article,
.use-cases article,
.feature-clusters article,
.local-first {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.78);
  box-shadow: var(--shadow-soft);
}

.proof-grid article,
.use-cases article,
.feature-clusters article {
  position: relative;
  overflow: hidden;
  padding: 24px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.proof-grid article::after,
.use-cases article::after,
.feature-clusters article::after {
  content: "";
  position: absolute;
  width: 84px;
  height: 84px;
  right: -36px;
  top: -36px;
  border-radius: 999px;
  background: rgba(116,183,217,0.13);
}

.proof-grid article:nth-child(2)::after,
.use-cases article:nth-child(2)::after,
.feature-clusters article:nth-child(2)::after {
  background: rgba(241,167,185,0.13);
}

.proof-grid article:nth-child(3)::after,
.use-cases article:nth-child(3)::after,
.feature-clusters article:nth-child(3)::after {
  background: rgba(150,216,189,0.16);
}

.proof-grid p,
.use-cases p,
.feature-clusters p,
.local-first p {
  color: var(--ink-med);
}

.proof-grid article:hover,
.use-cases article:hover,
.feature-clusters article:hover,
.local-first:hover,
.vision-points article:hover,
.feature-grid article:hover,
.workflow-steps article:hover,
.download-card:hover {
  transform: translateY(-3px);
  border-color: rgba(98, 104, 216, 0.22);
  box-shadow: 0 18px 46px rgba(55, 66, 94, 0.11);
}

.use-cases {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 76px 0 20px;
}

.use-cases span,
.feature-clusters span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.feature-clusters {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 92px 0;
}

.feature-clusters .section-heading {
  grid-column: 1 / -1;
}

.local-first {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.6fr);
  gap: 22px;
  align-items: center;
  padding: 30px;
  background:
    radial-gradient(circle at 10% 12%, rgba(241, 167, 185, 0.16), transparent 34%),
    radial-gradient(circle at 88% 80%, rgba(150, 216, 189, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,0.86), rgba(237,240,255,0.72)),
    #fff;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.local-first-copy {
  max-width: 780px;
}

.local-first-copy h2 {
  font-size: clamp(34px, 3.8vw, 52px);
}

.trust-list {
  display: grid;
  gap: 10px;
}

.trust-list span {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(228,232,240,0.96);
  border-radius: 7px;
  background: rgba(255,255,255,0.76);
  color: var(--ink);
  font-weight: 700;
}

.vision {
  scroll-margin-top: 88px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: 18px;
  align-items: stretch;
  padding: 30px;
  border: 1px solid rgba(215, 220, 232, 0.92);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 8% 8%, rgba(241, 167, 185, 0.18), transparent 34%),
    radial-gradient(circle at 92% 86%, rgba(150, 216, 189, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(237, 240, 255, 0.86), rgba(255, 255, 255, 0.82) 44%, rgba(247, 252, 249, 0.82)),
    #fff;
  box-shadow: var(--shadow-soft);
}

.vision:hover,
.guide-callout:hover,
.download-panel:hover {
  border-color: rgba(98, 104, 216, 0.2);
  box-shadow: 0 22px 58px rgba(55, 66, 94, 0.12);
}

.vision-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
  padding: 8px 10px 8px 0;
}

.vision-copy h2 {
  max-width: 700px;
  font-size: clamp(36px, 4.2vw, 58px);
}

.vision-copy p:not(.eyebrow),
.vision-points p {
  color: var(--ink-med);
}

.vision-points {
  display: grid;
  gap: 10px;
}

.vision-points article {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(228, 232, 240, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.vision-points article::after {
  content: "";
  position: absolute;
  width: 72px;
  height: 72px;
  right: -34px;
  top: -34px;
  border-radius: 999px;
  background: rgba(116, 183, 217, 0.13);
}

.vision-points span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.vision-points article:hover,
.feature-grid article:hover,
.workflow-steps article:hover,
.download-card:hover {
  transform: translateY(-3px);
  border-color: rgba(98, 104, 216, 0.22);
  box-shadow: 0 18px 46px rgba(55, 66, 94, 0.11);
}

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

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

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

.feature-grid .section-heading {
  grid-column: 1 / -1;
}

.feature-grid article,
.workflow-steps article,
.download-panel,
.guide-callout,
.guide-card-grid div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.78);
  box-shadow: var(--shadow-soft);
}

.feature-grid article {
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.feature-grid article::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  right: -36px;
  top: -36px;
  border-radius: 999px;
  background: rgba(116,183,217,0.14);
}

.feature-grid article p,
.workflow-steps p,
.guide-callout p {
  color: var(--ink-med);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 7px;
  background: linear-gradient(135deg, #edf0ff, #f6fbff);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(98,104,216,0.08);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.feature-icon svg {
  width: 19px;
  height: 19px;
}

.workflow {
  padding: 76px 0;
}

.simple-page {
  padding: 54px 0 88px;
}

.page-hero {
  max-width: 920px;
  padding: 36px 0 28px;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--ink-med);
  font-size: 20px;
}

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

.workflow-steps article {
  padding: 24px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.workflow-steps span {
  display: block;
  margin-bottom: 24px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.guide-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  margin-top: 24px;
  background:
    linear-gradient(135deg, rgba(237,240,255,0.82), rgba(247,252,249,0.78)),
    #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.guide-callout div {
  max-width: 740px;
}

.updates {
  scroll-margin-top: 88px;
  padding: 92px 0 0;
}

.update-panel {
  display: grid;
  grid-template-columns: minmax(320px, 0.74fr) minmax(0, 1.26fr);
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 12% 12%, rgba(116, 183, 217, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.84), rgba(247,252,249,0.78)),
    #fff;
  box-shadow: var(--shadow-soft);
}

.update-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: 10px 4px 10px 2px;
}

.update-summary h3 {
  margin-bottom: 10px;
  font-size: 28px;
  line-height: 1.14;
}

.update-summary p {
  color: var(--ink-med);
}

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

.update-feed article {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(228,232,240,0.96);
  border-radius: 8px;
  background: rgba(255,255,255,0.78);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.update-feed article:hover {
  transform: translateY(-3px);
  border-color: rgba(98, 104, 216, 0.22);
  box-shadow: 0 18px 46px rgba(55, 66, 94, 0.11);
}

.update-feed span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.update-feed p {
  color: var(--ink-med);
}

.downloads {
  padding: 92px 0 104px;
}

.download-panel {
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 0%, rgba(241,167,185,0.18), transparent 36%),
    radial-gradient(circle at 92% 100%, rgba(150,216,189,0.18), transparent 34%),
    rgba(255,255,255,0.82);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.recommended-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px;
  border-bottom: 1px solid var(--line);
}

.recommended-download h3 {
  font-size: 26px;
  margin-bottom: 6px;
}

.recommended-download p {
  color: var(--ink-med);
}

.status-pill {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(238,248,243,0.86);
  color: #2f765c;
  font-family: var(--mono);
  font-size: 11px;
}

.download-picker {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.58fr);
  gap: 18px;
  align-items: end;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(247, 252, 249, 0.82), rgba(255, 255, 255, 0.72)),
    rgba(255, 255, 255, 0.58);
}

.picker-copy h3 {
  margin-bottom: 6px;
  font-size: 24px;
}

.picker-copy p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--ink-med);
}

.picker-control {
  display: grid;
  gap: 10px;
}

.picker-control label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.picker-control select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  box-shadow: 0 10px 26px rgba(55,66,94,0.06);
}

.picker-control .button {
  width: 100%;
}

.supported-os {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 28px 0;
  color: var(--ink-dim);
  font-size: 13px;
}

.supported-os span {
  margin-right: 4px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.supported-os strong {
  padding: 6px 9px;
  border: 1px solid rgba(228,232,240,0.96);
  border-radius: 6px;
  background: rgba(255,255,255,0.78);
  color: var(--ink-med);
  font-size: 12px;
  font-weight: 700;
}

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

.download-card {
  position: relative;
  min-height: 226px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid rgba(228,232,240,0.95);
  border-radius: 8px;
  background: rgba(255,255,255,0.76);
  box-shadow: 0 12px 34px rgba(55,66,94,0.07);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.download-card.is-detected {
  border-color: rgba(98,104,216,0.36);
  background: linear-gradient(180deg, rgba(237,240,255,0.78), rgba(255,255,255,0.82));
}

.download-card h3 {
  margin-bottom: 5px;
}

.download-card p {
  color: var(--ink-med);
  margin-bottom: 18px;
}

.download-card a {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.download-card a:hover {
  transform: translateY(-1px);
  border-color: rgba(98, 104, 216, 0.34);
  box-shadow: 0 10px 24px rgba(55,66,94,0.09);
}

.download-card.is-detected a {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #535ad0, #6884e7);
}

.platform-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--accent);
  background: #edf0ff;
  box-shadow: inset 0 0 0 1px rgba(98,104,216,0.08);
}

.platform-icon svg {
  width: 22px;
  height: 22px;
}

.download-options {
  padding: 0 18px 22px;
}

.download-options a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink-med);
  font-size: 14px;
  font-weight: 650;
  transition: transform 140ms ease, border-color 140ms ease, color 140ms ease;
}

.download-options a:hover {
  transform: translateY(-1px);
  border-color: rgba(98, 104, 216, 0.28);
  color: var(--ink);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,0.68);
}

.footer-brand img {
  width: 180px;
}

.footer-brand p {
  margin: 4px 0 0;
  color: var(--ink-dim);
  font-size: 14px;
}

.footer-links {
  color: var(--ink-med);
  font-size: 14px;
  font-weight: 650;
}

.icon-text {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.guide-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 44px;
  padding: 44px 0 88px;
}

.guide-nav {
  position: sticky;
  top: 82px;
  align-self: start;
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.76);
}

.guide-nav strong {
  margin: 0 0 8px;
}

.guide-nav a {
  padding: 7px 9px;
  border-radius: 6px;
  color: var(--ink-med);
  font-size: 14px;
}

.guide-nav a:hover {
  background: var(--bg-soft);
  color: var(--ink);
}

.guide-content {
  max-width: 840px;
}

.guide-hero {
  margin-bottom: 38px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.guide-hero p:not(.eyebrow) {
  color: var(--ink-med);
  font-size: 19px;
}

.guide-note {
  padding: 26px;
  border: 1px solid rgba(215, 220, 232, 0.92);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 8% 8%, rgba(241, 167, 185, 0.16), transparent 34%),
    radial-gradient(circle at 94% 80%, rgba(150, 216, 189, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(237, 240, 255, 0.86), rgba(255, 255, 255, 0.82) 48%, rgba(247, 252, 249, 0.82)),
    #fff;
  box-shadow: var(--shadow-soft);
}

.guide-note h2 {
  font-size: clamp(30px, 3.5vw, 46px);
}

.guide-note p:last-child {
  margin-bottom: 0;
}

.guide-content section {
  scroll-margin-top: 90px;
  margin-bottom: 52px;
}

.guide-content h2 {
  font-size: clamp(30px, 3vw, 42px);
}

.guide-content h3 {
  margin-top: 22px;
}

.guide-content p,
.guide-content li {
  color: var(--ink-med);
}

.guide-content code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.88em;
}

.guide-figure {
  margin: 22px 0 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.guide-figure img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: #f6f7f9;
}

.guide-figure figcaption {
  margin: 0;
  padding: 11px 13px;
  border-top: 1px solid var(--line);
  color: var(--ink-med);
  font-size: 13.5px;
}

.crop-sidebar img {
  object-position: left top;
}

.crop-editor img {
  object-position: 70% 16%;
}

.guide-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.guide-content th,
.guide-content td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.guide-content th {
  color: var(--ink);
  background: var(--bg-soft);
}

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

  .guide-card-grid div {
  padding: 16px;
}

.shortcut-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.shortcut-grid span,
.shortcut-grid code {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.shortcut-grid code {
  border-left: 1px solid var(--line);
  white-space: nowrap;
  font-family: var(--mono);
  color: var(--ink-med);
  background: var(--bg-soft);
}

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

@media (max-width: 980px) {
  .hero,
  .vision,
  .local-first,
  .guide-shell {
    grid-template-columns: 1fr;
  }

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

  .app-preview {
    max-width: 100%;
  }

  .hero-stage {
    max-width: 860px;
    margin: 0 auto;
  }

  .real-preview {
    transform: none;
  }

  .top-left {
    left: 14px;
  }

  .bottom-right {
    right: 14px;
  }

  .preview-layout {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .preview-graph {
    display: none;
  }

  .feature-grid,
  .feature-clusters,
  .proof-grid,
  .use-cases,
  .workflow-steps,
  .download-picker,
  .platform-grid,
  .guide-card-grid,
  .update-panel,
  .update-feed {
    grid-template-columns: 1fr 1fr;
  }

  .guide-nav {
    position: static;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .guide-nav strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .site-header {
    gap: 12px;
  }

  .nav-links {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }

  h1 {
    font-size: 46px;
  }

  .hero-lede {
    font-size: 18px;
  }

  .vision,
  .local-first,
  .guide-note {
    padding: 22px;
  }

  .vision-copy {
    padding: 0;
  }

  .stage-card {
    display: none;
  }

  .preview-layout {
    grid-template-columns: 1fr;
  }

  .preview-sidebar {
    display: none;
  }

  .preview-note {
    padding: 26px 22px;
  }

  .feature-grid,
  .feature-clusters,
  .proof-grid,
  .use-cases,
  .workflow-steps,
  .download-picker,
  .platform-grid,
  .guide-card-grid,
  .update-panel,
  .update-feed,
  .guide-nav {
    grid-template-columns: 1fr;
  }

  .guide-callout,
  .recommended-download,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .button.large,
  .recommended-download .button {
    width: 100%;
  }

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

  .shortcut-grid code {
    border-left: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  body.motion-ready .reveal-target,
  body.motion-ready .feature-grid article,
  body.motion-ready .feature-clusters article,
  body.motion-ready .proof-grid article,
  body.motion-ready .use-cases article,
  body.motion-ready .workflow-steps article,
  body.motion-ready .vision-points article,
  body.motion-ready .download-card,
  body.motion-ready .guide-callout,
  body.motion-ready .update-feed article {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms ease, transform 520ms ease, border-color 160ms ease, box-shadow 160ms ease;
    transition-delay: calc(var(--reveal-index, 0) * 55ms);
  }

  body.motion-ready .is-visible,
  body.motion-ready .feature-grid article.is-visible,
  body.motion-ready .feature-clusters article.is-visible,
  body.motion-ready .proof-grid article.is-visible,
  body.motion-ready .use-cases article.is-visible,
  body.motion-ready .workflow-steps article.is-visible,
  body.motion-ready .vision-points article.is-visible,
  body.motion-ready .download-card.is-visible,
  body.motion-ready .guide-callout.is-visible,
  body.motion-ready .update-feed article.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  body.motion-ready .vision-points article.is-visible:hover,
  body.motion-ready .feature-grid article.is-visible:hover,
  body.motion-ready .feature-clusters article.is-visible:hover,
  body.motion-ready .proof-grid article.is-visible:hover,
  body.motion-ready .use-cases article.is-visible:hover,
  body.motion-ready .workflow-steps article.is-visible:hover,
  body.motion-ready .download-card.is-visible:hover,
  body.motion-ready .update-feed article.is-visible:hover {
    transform: translateY(-3px);
  }
}
