@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --color-bg: #f8fafc;
  --color-bg-soft: #0f172a;
  --color-surface: #ffffff;
  --color-surface-2: #f1f5f9;
  --color-ink: #f8fafc;
  --color-text: #0f172a;
  --color-text-muted: #64748b;
  --color-muted-dark: #cbd5e1;
  --color-border: rgba(255, 255, 255, 0.12);
  --color-border-light: #e2e8f0;
  --emerald-50: #ecfdf5;
  --emerald-600: #059669;
  --amber-50: #fffbeb;
  --amber-700: #b45309;
  --red-50: #fef2f2;
  --red-600: #dc2626;
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-300: #93c5fd;
  --primary-400: #60a5fa;
  --primary-500: #2563eb;
  --primary-600: #1d4ed8;
  --primary-700: #1e40af;
  --primary-800: #1e3a8a;
  --primary-900: #1e3270;
  --shadow-card: 0 22px 70px rgba(15, 23, 42, 0.13);
  --shadow-hover: 0 32px 90px rgba(15, 23, 42, 0.2);
  --radius-xl: 28px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100%;
  background: #f8fafc;
  color: var(--color-text);
  font-family: "Manrope", "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body.home {
  background:
    radial-gradient(circle at 18% 8%, rgba(37, 99, 235, 0.3), transparent 28rem),
    radial-gradient(circle at 82% 2%, rgba(56, 189, 248, 0.16), transparent 24rem),
    linear-gradient(180deg, #020617 0%, #0f172a 46%, #f8fafc 46%, #f8fafc 100%);
  color: var(--color-ink);
}

body.home::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.055;
  background-image:
    linear-gradient(rgba(255,255,255,0.42) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.28) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, black 0%, transparent 72%);
}

body.home::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(255,255,255,0.6) 0 1px, transparent 1px),
    radial-gradient(circle at 75% 55%, rgba(255,255,255,0.4) 0 1px, transparent 1px);
  background-size: 6px 6px, 10px 10px;
}

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

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

.skip-link {
  position: fixed;
  left: 18px;
  top: 18px;
  z-index: 100;
  transform: translateY(-150%);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text);
  padding: 10px 14px;
  font-weight: 800;
  transition: transform 240ms var(--ease-out);
}

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

.site-header {
  position: sticky;
  top: 18px;
  z-index: 30;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding-top: 18px;
}

.nav {
  margin: 0 auto;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(12, 16, 13, 0.74);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255,255,255,0.11);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--color-ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: var(--color-surface);
  box-shadow: inset 0 0 0 1px rgba(15,23,42,0.08);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(248, 244, 234, 0.68);
  font-size: 13px;
  font-weight: 700;
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 999px;
  transition: background 420ms var(--ease-out), color 420ms var(--ease-out), transform 420ms var(--ease-out);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255,255,255,0.1);
  color: var(--color-ink);
  transform: translateY(-1px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(37, 99, 235, 0.55);
  border-radius: 999px;
  background: var(--primary-500);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.32), 0 18px 48px rgba(37, 99, 235, 0.22);
  transition: transform 520ms var(--ease-out), background 520ms var(--ease-out), border-color 520ms var(--ease-out), box-shadow 520ms var(--ease-out);
}

.button i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-style: normal;
  transition: transform 520ms var(--ease-out), background 520ms var(--ease-out);
}

.button:hover {
  background: #60a5fa;
  border-color: rgba(96, 165, 250, 0.86);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.38), 0 24px 60px rgba(37, 99, 235, 0.32);
  transform: translateY(-2px);
}

.button:hover i { transform: translate(2px, -2px); }

.button:active { transform: scale(0.98); }

.button:focus-visible,
.nav-links a:focus-visible,
.help-nav a:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.44);
  outline-offset: 3px;
}

.button.secondary {
  background: rgba(255,255,255,0.08);
  color: var(--color-ink);
  border-color: rgba(255,255,255,0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.button.secondary:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.28);
}

.page-hero .button.secondary,
.section .button.secondary,
.download-card .button.secondary,
.card .button.secondary {
  color: var(--color-text);
  background: rgba(15,23,42,0.06);
  border-color: var(--color-border-light);
}

.hero {
  max-width: 1440px;
  margin: 0 auto;
  padding: 92px 32px 84px;
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(520px, 1.18fr);
  gap: 64px;
  align-items: center;
}

.motion-hero {
  min-height: calc(100dvh - 84px);
}

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

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border: 1px solid rgba(37, 99, 235, 0.34);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: #bfdbfe;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", system-ui, sans-serif;
  color: inherit;
  letter-spacing: 0;
  line-height: 0.98;
  text-wrap: balance;
}

h1 {
  margin-top: 22px;
  max-width: 820px;
  font-size: clamp(54px, 7.6vw, 112px);
  font-weight: 700;
}

.text-on-dark {
  color: var(--color-ink);
}

.text-on-dark-button {
  color: var(--color-ink) !important;
  border-color: rgba(255,255,255,0.24) !important;
  background: rgba(255,255,255,0.1) !important;
}

.text-on-dark-button:hover {
  background: rgba(255,255,255,0.16) !important;
  border-color: rgba(255,255,255,0.34) !important;
}

.lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--color-muted-dark);
  font-size: 18px;
  line-height: 1.75;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.product-stage {
  position: relative;
  min-height: 640px;
  z-index: 3;
  perspective: 1200px;
}

.stage-ring {
  position: absolute;
  inset: 10% 3% 3% 2%;
  border-radius: 46px;
  background:
    radial-gradient(circle at 55% 40%, rgba(37,99,235,0.34), transparent 18rem),
    linear-gradient(145deg, rgba(255,255,255,0.13), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.14);
  transform: rotate(-4deg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 48px 120px rgba(0,0,0,0.34);
}

.hero-device,
.floating-shot,
.signal-card,
.screen-card,
.workflow-card,
.conversion-section,
.app-visual,
.card,
.download-card,
.device-card,
.doc-list,
.metric,
.wide-panel,
.help-section,
.journey-step,
.formula-card,
.example-box {
  border: 1px solid var(--color-border-light);
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow-card);
}

.brand-watermark {
  position: absolute;
  right: -4%;
  top: -2%;
  z-index: 0;
  width: min(44vw, 420px);
  max-width: none;
  border-radius: 34px;
  opacity: 0.18;
  filter: saturate(1.08);
  transform: rotate(7deg);
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.22);
}

.hero-device {
  position: absolute;
  inset: 62px 18px auto 28px;
  z-index: 2;
  overflow: hidden;
  border-radius: 30px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.92);
  transform: rotateY(-8deg) rotateX(4deg);
}

.hero-device img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  border-radius: 22px;
}

.device-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px 14px;
  color: rgba(15,23,42,0.58);
  font-size: 12px;
  font-weight: 800;
}

.device-bar span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(15,23,42,0.22);
}

.device-bar strong {
  margin-left: 8px;
  color: rgba(15,23,42,0.72);
}

.floating-shot {
  position: absolute;
  z-index: 3;
  overflow: hidden;
  border-radius: 22px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.92);
}

.floating-shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  border-radius: 16px;
}

.shot-a {
  width: 42%;
  left: -6px;
  bottom: 64px;
  transform: rotate(-5deg);
}

.shot-b {
  width: 42%;
  right: -10px;
  bottom: 28px;
  transform: rotate(5deg);
}

.signal-card {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 3px;
  border-radius: 18px;
  padding: 15px 17px;
  background: #0f172a;
  color: var(--color-ink);
  border-color: rgba(255,255,255,0.12);
}

.signal-card small {
  color: rgba(248,250,252,0.62);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-card strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
}

.signal-one { right: 2%; top: 16%; }
.signal-two { left: 14%; top: 7%; }

.proof-row {
  position: relative;
  z-index: 3;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.035);
}

.proof-grid {
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.proof-item {
  padding-left: 16px;
  border-left: 2px solid rgba(37,99,235,0.42);
}

.proof-item strong {
  display: block;
  color: var(--color-ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 21px;
  font-weight: 700;
}

.proof-item span {
  display: block;
  margin-top: 4px;
  color: var(--color-muted-dark);
  font-size: 14px;
}

.section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 104px 32px;
  color: var(--color-text);
}

.section-head {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 58px;
  margin-bottom: 44px;
}

.section h2,
.page-hero h1 {
  font-size: clamp(38px, 5.6vw, 72px);
  font-weight: 700;
}

.section-copy {
  max-width: 760px;
  color: var(--color-text-muted);
  font-size: 17px;
  line-height: 1.75;
  text-wrap: pretty;
}

.narrative-section,
.showcase-section,
.conversion-section {
  position: relative;
  z-index: 3;
}

.narrative-section .eyebrow,
.showcase-section .eyebrow,
.conversion-section .eyebrow,
.page-hero .eyebrow,
.card .eyebrow,
.download-card .eyebrow {
  background: rgba(37, 99, 235, 0.09);
  color: var(--primary-700);
  border-color: rgba(37, 99, 235, 0.22);
}

.workflow-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-auto-rows: minmax(230px, auto);
  gap: 18px;
}

.workflow-card {
  overflow: hidden;
  border-radius: 28px;
  padding: 28px;
  background: #ffffff;
}

.workflow-card.large {
  grid-row: span 2;
  display: grid;
  align-content: start;
}

.workflow-card.accent {
  background: #0f172a;
  color: var(--color-ink);
  border-color: rgba(255,255,255,0.12);
}

.workflow-card h3 {
  margin-top: 44px;
  max-width: 720px;
  font-size: clamp(30px, 4vw, 54px);
}

.workflow-card:not(.large) h3 {
  font-size: clamp(26px, 3vw, 38px);
}

.workflow-card p {
  max-width: 620px;
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.68;
}

.workflow-card.accent p { color: rgba(248,250,252,0.72); }

.workflow-card img {
  margin-top: 28px;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,0.1);
  aspect-ratio: 16 / 9.5;
  width: 100%;
  object-fit: cover;
  object-position: top left;
}

.step-index {
  font-family: "Space Grotesk", sans-serif;
  color: var(--primary-700);
  font-weight: 700;
}

.workflow-card.accent .step-index { color: #bfdbfe; }

.showcase-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 42px;
  align-items: start;
}

.showcase-copy {
  position: sticky;
  top: 126px;
}

.showcase-copy h2 {
  margin-top: 18px;
}

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

.screen-cascade .screen-card:nth-child(2) { margin-top: 72px; }
.screen-cascade .screen-card:nth-child(3) { grid-column: 1 / -1; margin-left: 18%; }

.screen-card {
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
}

.screen-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  display: block;
  border-bottom: 1px solid var(--color-border-light);
}

.screen-card div {
  padding: 18px;
  display: grid;
  gap: 6px;
}

.screen-card strong { font-size: 17px; }

.screen-card span {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.45;
}

.conversion-section {
  margin-bottom: 84px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 80% 20%, rgba(37,99,235,0.25), transparent 26rem),
    #0f172a;
  color: var(--color-ink);
  border-color: rgba(255,255,255,0.12);
  padding: 54px;
}

.conversion-section h2 {
  max-width: 920px;
}

.install-steps,
.journey {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.journey {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 0;
}

.journey-step {
  position: relative;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  padding: 22px;
}

.journey-step small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--primary-700);
  font-weight: 800;
}

.journey-step strong {
  display: block;
  margin-top: 18px;
  font-size: 18px;
}

.journey-step span {
  display: block;
  margin-top: 7px;
  color: var(--color-text-muted);
  font-size: 14px;
}

.app-visual {
  border-radius: 24px;
  padding: 16px;
  min-height: 520px;
}

.real-screenshot,
.app-window {
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.real-screenshot img {
  width: 100%;
  height: auto;
}

.screenshot-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-top: 1px solid var(--color-border-light);
  color: var(--color-text-muted);
  font-size: 13px;
}

.hero-screenshot img {
  aspect-ratio: 16 / 9.5;
  object-fit: cover;
  object-position: top left;
}

.screenshot-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.screenshot-strip img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  border: 1px solid var(--color-border-light);
  border-radius: 16px;
  background: white;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
}

.window-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid var(--color-border-light);
  background: #ffffff;
}

.window-bar span,
.download-meta,
.device-card span,
.page-hero p,
.card p,
.legal-body p,
.legal-body li,
.help-section p,
.help-section li {
  color: var(--color-text-muted);
}

.status-pill {
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary-700);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

.mock-content { padding: 18px; }

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

.metric {
  border-radius: 18px;
  padding: 16px;
}

.metric span,
.list-head {
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 700;
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 21px;
  line-height: 1.1;
}

.mock-columns {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 12px;
  margin-top: 12px;
}

.doc-list,
.dark-panel {
  border-radius: 18px;
  padding: 18px;
}

.doc-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid rgba(15,23,42,0.08);
  font-size: 14px;
  font-weight: 700;
}

.doc-row span { color: var(--primary-700); }

.dark-panel {
  background: #0f172a;
  color: var(--color-ink);
}

.dark-panel small {
  color: #bfdbfe;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dark-panel strong {
  display: block;
  margin-top: 70px;
  color: var(--color-ink);
  font-size: 34px;
}

.progress {
  height: 8px;
  margin-top: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.progress span {
  display: block;
  width: 47%;
  height: 100%;
  border-radius: inherit;
  background: var(--primary-500);
}

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

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

.wide-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  align-items: stretch;
  border-radius: 28px;
  overflow: hidden;
}

.wide-panel-copy { padding: 38px; }
.wide-panel-copy h2 { margin-top: 14px; }

.module-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 26px;
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
  border-left: 1px solid var(--color-border-light);
}

.module-tile {
  min-height: 128px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-ink);
  padding: 18px;
}

.module-tile strong {
  display: block;
  font-size: 17px;
}

.module-tile span {
  display: block;
  margin-top: 8px;
  color: rgba(248,250,252,0.7);
  font-size: 14px;
}

.help-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
  align-items: start;
}

.help-nav {
  position: sticky;
  top: 126px;
  display: grid;
  gap: 10px;
}

.help-nav a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--color-border-light);
  border-radius: 16px;
  background: var(--color-surface);
  padding: 14px 16px;
  color: var(--color-text-muted);
  font-weight: 800;
  box-shadow: 0 14px 40px rgba(15,23,42,0.08);
  transition: transform 420ms var(--ease-out), background 420ms var(--ease-out), color 420ms var(--ease-out);
}

.help-nav a:hover {
  color: var(--primary-700);
  background: var(--primary-50);
  transform: translateY(-2px);
}

.help-content {
  display: grid;
  gap: 18px;
}

.help-section {
  border-radius: 22px;
  padding: 28px;
}

.help-section h2 { font-size: 34px; }

.help-section h3 {
  margin-top: 22px;
  font-size: 20px;
}

.help-section code {
  border: 1px solid var(--color-border-light);
  border-radius: 7px;
  background: rgba(15,23,42,0.06);
  color: var(--color-text);
  padding: 2px 6px;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
}

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

.formula-card {
  border-radius: 16px;
  background: rgba(15,23,42,0.04);
  padding: 16px;
}

.formula-card strong {
  display: block;
  font-size: 16px;
}

.formula-card span {
  display: block;
  margin-top: 7px;
  color: var(--color-text-muted);
  font-size: 14px;
}

.example-box {
  margin-top: 18px;
  border-color: rgba(37, 99, 235, 0.22);
  border-radius: 18px;
  background: var(--primary-50);
  padding: 18px;
}

.example-box strong { color: var(--primary-700); }

.card {
  border-radius: 22px;
  padding: 28px;
  transition: transform 520ms var(--ease-out), box-shadow 520ms var(--ease-out);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--primary-50);
  color: var(--primary-700);
  font-weight: 800;
}

.card h3 {
  margin-top: 20px;
  font-size: 24px;
  font-weight: 700;
}

.dark-band {
  background: #0f172a;
  color: var(--color-ink);
}

.dark-band h2 { color: var(--color-ink); }

.dark-band .check-list li {
  color: rgba(248,250,252,0.74);
  border-top-color: rgba(255, 255, 255, 0.14);
}

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

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-top: 14px;
  border-top: 1px solid var(--color-border-light);
}

.check-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--primary-500);
}

.page-hero {
  max-width: 1440px;
  margin: 0 auto;
  padding: 98px 32px 44px;
  color: var(--color-text);
}

.page-hero p {
  max-width: 760px;
  font-size: 17px;
}

.download-grid {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: 22px;
  align-items: start;
}

.download-card {
  border-radius: 24px;
  padding: 28px;
}

.download-card.primary,
.featured {
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 0 0 5px rgba(37,99,235,0.12), var(--shadow-card);
}

.download-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.download-title {
  margin-top: 18px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.05;
}

.download-meta {
  margin-top: 10px;
  font-size: 14px;
}

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

.download-actions .button { width: auto; }

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

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  color: var(--color-text-muted);
}

.steps li::before {
  content: counter(step);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--primary-500);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
}

.device-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.device-card {
  border-radius: 20px;
  padding: 20px;
}

.device-card strong {
  display: block;
  font-size: 18px;
}

.device-card span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
}

.notice {
  border: 1px solid rgba(137, 99, 35, 0.22);
  border-radius: 18px;
  background: var(--amber-50);
  color: var(--amber-700);
  padding: 16px;
  font-size: 14px;
}

.price {
  margin-top: 22px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 700;
  line-height: 1;
}

.price small {
  color: var(--color-text-muted);
  font-size: 15px;
  font-weight: 700;
}

.pricing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 32px;
}

.billing-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--color-border-light);
  border-radius: 999px;
  background: #e8edf5;
  padding: 4px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.68);
}

.billing-tab {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #475569;
  padding: 0 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background 320ms var(--ease-out), color 320ms var(--ease-out), box-shadow 320ms var(--ease-out);
}

.billing-tab span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--primary-500);
  color: white;
  padding: 4px 8px;
  font-size: 12px;
  line-height: 1;
}

.billing-tab.is-active {
  background: white;
  color: var(--color-text);
  box-shadow: 0 10px 24px rgba(15,23,42,0.12);
}

.compare-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: white;
  color: #475569;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(15,23,42,0.08);
  transition: transform 320ms var(--ease-out), border-color 320ms var(--ease-out), color 320ms var(--ease-out);
}

.compare-link:hover {
  transform: translateY(-2px);
  border-color: var(--primary-300);
  color: var(--primary-700);
}

.billing-yearly .monthly-price,
.billing-monthly .yearly-price {
  display: none;
}

.billing-note {
  margin-top: 8px;
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 700;
}

.billing-note del {
  color: #94a3b8;
  text-decoration-thickness: 2px;
}

.billing-note span {
  display: inline-flex;
  width: fit-content;
  margin-top: 6px;
  border-radius: 7px;
  background: #10b981;
  color: white;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 800;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.pricing-card p {
  min-height: 54px;
}

.pricing-card .check-list {
  margin-top: 18px;
  flex: 1;
}

.pricing-card .button {
  margin-top: 24px;
}

.enterprise-card {
  background:
    radial-gradient(circle at 82% 0%, rgba(37,99,235,0.12), transparent 18rem),
    var(--color-surface);
}

.pricing-note {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--color-border-light);
  border-radius: 16px;
  background: white;
  color: var(--color-text-muted);
  padding: 16px 18px;
  font-size: 14px;
}

.pricing-note strong {
  color: var(--color-text);
}

.legal-body {
  max-width: 880px;
}

.legal-body section { margin-top: 18px; }
.legal-body h2 { font-size: 28px; }

.site-footer {
  position: relative;
  z-index: 3;
  background: #020617;
  color: var(--color-ink);
}

.footer-grid {
  max-width: 1440px;
  margin: 0 auto;
  padding: 54px 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 30px;
}

.site-footer p,
.site-footer a {
  color: rgba(248,250,252,0.66);
  font-size: 14px;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-title {
  color: var(--color-ink);
  font-weight: 800;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 22px;
  text-align: center;
  color: rgba(248,250,252,0.48);
  font-size: 12px;
}

.reveal {
  animation: reveal-up 900ms var(--ease-out) both;
}

.reveal:nth-child(2) { animation-delay: 90ms; }
.reveal:nth-child(3) { animation-delay: 160ms; }

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@media (max-width: 980px) {
  body.home {
    background:
      radial-gradient(circle at 18% 8%, rgba(37, 99, 235, 0.18), transparent 22rem),
      linear-gradient(180deg, #020617 0%, #0f172a 42%, #f8fafc 42%, #f8fafc 100%);
  }

  .site-header {
    top: 10px;
    width: min(100% - 20px, 760px);
    padding-top: 10px;
  }

  .nav {
    align-items: center;
    border-radius: 28px;
  }

  .nav-links { display: none; }

  .nav-cta {
    min-height: 42px;
    padding: 0 13px;
  }

  .hero,
  .section-head,
  .footer-grid,
  .wide-panel,
  .help-layout,
  .showcase-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 58px 20px 54px;
    gap: 34px;
  }

  h1 {
    font-size: clamp(46px, 14vw, 74px);
  }

  .product-stage {
    min-height: 520px;
  }

  .hero-device {
    inset: 36px 0 auto 0;
    transform: none;
  }

  .brand-watermark {
    right: -18%;
    top: -3%;
    width: 360px;
    opacity: 0.14;
  }

  .shot-a {
    left: 0;
    bottom: 72px;
    width: 48%;
    transform: rotate(-2deg);
  }

  .shot-b {
    right: 0;
    bottom: 48px;
    width: 48%;
    transform: rotate(2deg);
  }

  .signal-one { right: 3%; top: 6%; }
  .signal-two { left: 3%; top: auto; bottom: 4%; }

  .proof-grid,
  .feature-grid,
  .screens-grid,
  .screenshot-strip,
  .pricing-grid,
  .download-grid,
  .device-strip,
  .journey,
  .install-steps,
  .formula-grid,
  .metric-grid,
  .mock-columns,
  .workflow-grid,
  .screen-cascade {
    grid-template-columns: 1fr;
  }

  .screen-cascade .screen-card:nth-child(2),
  .screen-cascade .screen-card:nth-child(3) {
    margin-top: 0;
    margin-left: 0;
    grid-column: auto;
  }

  .showcase-copy,
  .help-nav {
    position: static;
  }

  .section,
  .page-hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .module-board {
    grid-template-columns: 1fr;
    border-left: 0;
    border-top: 1px solid var(--color-border-light);
  }

  .conversion-section {
    margin: 0 20px 64px;
    padding: 30px;
  }

  .pricing-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .billing-tabs,
  .compare-link {
    width: 100%;
  }

  .billing-tabs {
    justify-content: stretch;
  }

  .billing-tab {
    flex: 1;
    justify-content: center;
    padding: 0 10px;
  }

  .billing-tab span {
    display: none;
  }

  .compare-link {
    justify-content: center;
  }

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

@media (min-width: 981px) and (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .product-stage {
    min-height: 650px;
  }

  .feature-grid,
  .screens-grid,
  .journey {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
