:root {
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-border: #e2e8f0;
  --color-text: #0f172a;
  --color-text-muted: #64748b;
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-500: #2563eb;
  --primary-600: #1d4ed8;
  --primary-700: #1e40af;
  --emerald-50: #ecfdf5;
  --emerald-600: #059669;
  --amber-50: #fffbeb;
  --amber-700: #b45309;
  --red-50: #fef2f2;
  --red-600: #dc2626;
  --shadow-card: 0 1px 3px 0 rgb(0 0 0 / 0.07), 0 1px 2px -1px rgb(0 0 0 / 0.07);
  --shadow-hover: 0 8px 24px -18px rgb(15 23 42 / 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 250, 252, 0.94);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
}

.nav {
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: white;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 9px;
  transition: background 150ms ease, color 150ms ease;
}

.nav-links a:hover {
  background: #f1f5f9;
  color: var(--color-text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--primary-500);
  border-radius: 9px;
  background: var(--primary-500);
  color: white;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.08);
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.button:hover {
  background: var(--primary-600);
  border-color: var(--primary-600);
  box-shadow: 0 5px 16px -12px rgb(29 78 216 / 0.75);
}

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

.button.secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border-color: var(--color-border);
}

.button.secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.hero {
  max-width: 1440px;
  margin: 0 auto;
  padding: 72px 32px 56px;
  display: grid;
  grid-template-columns: minmax(420px, 0.82fr) minmax(620px, 1.18fr);
  gap: 58px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border: 1px solid var(--primary-200);
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary-700);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--color-text);
  letter-spacing: -0.015em;
  line-height: 1.08;
}

h1 {
  margin-top: 20px;
  max-width: 820px;
  font-size: clamp(42px, 5.2vw, 72px);
  font-weight: 800;
}

.lead {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--color-text-muted);
  font-size: 17px;
  line-height: 1.72;
}

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

.proof-row {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

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

.proof-item {
  padding-left: 14px;
  border-left: 3px solid var(--primary-200);
}

.proof-item strong {
  display: block;
  font-size: 19px;
  font-weight: 800;
}

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

.app-visual,
.card,
.download-card,
.device-card,
.doc-list,
.metric {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

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

.app-window {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-bg);
}

.real-screenshot {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: white;
  box-shadow: var(--shadow-card);
}

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

.screenshot-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-top: 1px solid var(--color-border);
  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);
  border-radius: 12px;
  background: white;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

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

.screen-card {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: white;
  box-shadow: var(--shadow-card);
}

.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);
}

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

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

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

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

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

.status-pill {
  border-radius: 999px;
  background: var(--primary-100);
  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: 12px;
  padding: 14px;
}

.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: 12px;
  padding: 16px;
}

.doc-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid #eef2f7;
  font-size: 14px;
  font-weight: 700;
}

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

.dark-panel {
  background: #0f172a;
  color: white;
}

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

.dark-panel strong {
  display: block;
  margin-top: 70px;
  color: white;
  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: #60a5fa;
}

.section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 76px 32px;
}

.section-head {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: 52px;
  margin-bottom: 36px;
}

.section h2,
.page-hero h1 {
  font-size: clamp(32px, 4.6vw, 50px);
  font-weight: 800;
}

.section-copy {
  font-size: 16px;
  line-height: 1.72;
}

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

.wide-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: stretch;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.wide-panel-copy {
  padding: 34px;
}

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

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

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

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

.module-tile span {
  display: block;
  margin-top: 8px;
  color: var(--color-text-muted);
  font-size: 14px;
}

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

.journey-step {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-surface);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.journey-step small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--primary-100);
  color: var(--primary-700);
  font-weight: 800;
}

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

.journey-step span {
  display: block;
  margin-top: 7px;
  color: var(--color-text-muted);
  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: 88px;
  display: grid;
  gap: 10px;
}

.help-nav a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
  padding: 14px 16px;
  color: var(--color-text-muted);
  font-weight: 700;
  box-shadow: var(--shadow-card);
}

.help-nav a:hover {
  color: var(--primary-700);
  border-color: var(--primary-200);
  background: var(--primary-50);
}

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

.help-section {
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-surface);
  padding: 26px;
  box-shadow: var(--shadow-card);
}

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

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

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

.help-section code {
  border: 1px solid var(--color-border);
  border-radius: 7px;
  background: #f8fafc;
  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: 1px solid var(--color-border);
  border-radius: 12px;
  background: #f8fafc;
  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: 1px solid var(--primary-200);
  border-radius: 14px;
  background: var(--primary-50);
  padding: 18px;
}

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

.card {
  border-radius: 14px;
  padding: 26px;
}

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

.card h3 {
  margin-top: 18px;
  font-size: 22px;
  font-weight: 800;
}

.dark-band {
  background: #0f172a;
  color: white;
}

.dark-band h2 { color: white; }

.dark-band .check-list li {
  color: #cbd5e1;
  border-top-color: rgba(148, 163, 184, 0.28);
}

.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);
}

.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: 70px 32px 40px;
}

.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: 14px;
  padding: 26px;
}

.download-card.primary {
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px #dbeafe;
}

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

.download-title {
  margin-top: 18px;
  font-size: 31px;
  font-weight: 800;
  line-height: 1.08;
}

.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: white;
  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: 14px;
  padding: 18px;
}

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

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

.notice {
  border: 1px solid #fde68a;
  border-radius: 14px;
  background: var(--amber-50);
  color: var(--amber-700);
  padding: 16px;
  font-size: 14px;
}

.price {
  margin-top: 22px;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
}

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

.featured {
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px #dbeafe;
}

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

.legal-body section {
  margin-top: 18px;
}

.legal-body h2 {
  font-size: 25px;
}

.site-footer {
  background: #0f172a;
  color: white;
}

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

.site-footer p,
.site-footer a {
  color: #cbd5e1;
  font-size: 14px;
}

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

.footer-title {
  color: white;
  font-weight: 800;
}

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

@media (max-width: 860px) {
  .nav { align-items: flex-start; }

  .nav-links { display: none; }

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

  .help-nav {
    position: static;
  }

  .hero {
    padding-top: 38px;
    gap: 32px;
  }

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

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

  .button { width: 100%; }

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

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

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