:root {
  color-scheme: light;
  --accent: #2b5ce6;
  --accent-dark: #1743b9;
  --ink: #111827;
  --muted: #526071;
  --faint: #7b8492;
  --surface: #ffffff;
  --panel: #f5f7fb;
  --rule: #d8deea;
  --rule-strong: #b8c2d4;
  --dark: #111827;
  --dark-panel: #1b2230;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--rule);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(12px);
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
}

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

.nav-links a {
  text-decoration: none;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 9px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 16px 30px -20px var(--accent);
}

.button:hover {
  background: var(--accent-dark);
}

.button.secondary {
  border: 1px solid var(--rule-strong);
  background: var(--surface);
  color: var(--ink);
  box-shadow: none;
}

.hero {
  padding: 88px 0 76px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: 68px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 11px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
}

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

h1 {
  max-width: 720px;
  font-size: clamp(44px, 7vw, 76px);
  letter-spacing: -0.04em;
  line-height: 0.96;
}

h1 span {
  color: var(--muted);
}

.hero-copy {
  max-width: 620px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 20px;
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  color: var(--faint);
  font-size: 14px;
  font-weight: 700;
}

.trust-row span::before {
  color: var(--accent);
  content: "✓ ";
}

.product-shot {
  position: relative;
  padding: 18px;
  border: 1px solid var(--rule);
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 28%),
    linear-gradient(160deg, #ffffff, #eef3ff);
  box-shadow: 0 30px 80px -46px #1e2b4a;
}

.browser-frame {
  overflow: hidden;
  border: 1px solid var(--rule-strong);
  border-radius: 18px;
  background: var(--surface);
}

.browser-top {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border-bottom: 1px solid var(--rule);
  background: #f8fafc;
}

.browser-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #cbd5e1;
}

.mock-popup {
  width: min(360px, 100%);
  margin: 24px auto;
  border: 1px solid var(--rule-strong);
  border-radius: 12px;
  background: #fbfcff;
  box-shadow: 0 22px 44px -34px #111827;
}

.mock-popup-header,
.mock-tabs,
.mock-card,
.mock-footer {
  padding: 15px 16px;
}

.mock-popup-header {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--rule);
}

.mock-popup-header img {
  width: 32px;
  height: 32px;
}

.mock-popup-header strong {
  display: block;
}

.mock-popup-header small,
.mock-card small,
.mock-footer {
  color: var(--faint);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mock-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--rule);
}

.mock-tabs span {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.mock-tabs span:first-child {
  background: var(--accent);
  color: #ffffff;
}

.mock-card {
  margin: 16px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: #ffffff;
}

.mock-card h3 {
  margin: 8px 0;
  font-size: 21px;
  line-height: 1.15;
}

.mock-card p {
  color: var(--muted);
  font-size: 14px;
}

.mock-footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  font-size: 11px;
  text-align: center;
}

.section {
  padding: 86px 0;
}

.section.alt {
  background: var(--panel);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 40px;
}

.section-heading h2 {
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1;
}

.section-heading p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 18px;
}

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

.feature-card,
.step-card {
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--surface);
  padding: 24px;
}

.feature-card .icon,
.step-card .number {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 12%, white);
  color: var(--accent);
  font-weight: 900;
}

.feature-card h3,
.step-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.feature-card p,
.step-card p {
  color: var(--muted);
}

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

.dark-cta {
  background: var(--dark);
  color: #ffffff;
}

.dark-cta p {
  color: #cbd5e1;
}

.footer {
  padding: 38px 0;
  background: #0b1220;
  color: #a8b3c4;
}

.footer .section-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
}

.welcome-body {
  min-height: 100vh;
  background: linear-gradient(180deg, #f6f8ff, #ffffff);
}

.welcome {
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
  padding: 54px 0;
  text-align: center;
}

.welcome .brand {
  justify-content: center;
}

.welcome h1 {
  margin: 24px auto 14px;
  font-size: clamp(36px, 6vw, 58px);
}

.welcome-intro {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 19px;
}

.welcome-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
  text-align: left;
}

.welcome-step {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--rule);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 24px 54px -42px #111827;
}

.welcome-step strong {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--accent);
  color: #ffffff;
}

.welcome-step h2 {
  margin-bottom: 8px;
  font-size: 22px;
}

.welcome-step p {
  color: var(--muted);
}

.welcome-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

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

  .hero-grid,
  .feature-grid,
  .steps,
  .welcome-steps {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 58px;
  }

  .product-shot {
    padding: 10px;
  }

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