:root {
  color-scheme: light;
  --ink: #121821;
  --muted: #647084;
  --quiet: #8a94a5;
  --line: #dbe1ea;
  --line-strong: #c9d2df;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-solid: #ffffff;
  --soft: #f5f7fb;
  --blue: #1570ef;
  --blue-strong: #0f5ed7;
  --blue-soft: #e7f0ff;
  --yellow: #f9ff00;
  --green: #039855;
  --shadow: 0 28px 80px rgba(18, 24, 33, 0.12);
  font-family: Geist, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 12%, rgba(21, 112, 239, 0.12), transparent 30%),
    radial-gradient(circle at 82% 22%, rgba(3, 152, 85, 0.1), transparent 28%),
    linear-gradient(rgba(18, 24, 33, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 24, 33, 0.038) 1px, transparent 1px),
    #fbfaf7;
  background-size: auto, auto, 34px 34px, 34px 34px, auto;
}

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

button,
input {
  font: inherit;
}

.site-header,
.site-footer,
.hero-section,
.workflow-section,
.tools-section,
.demo-section,
.pricing-section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: block;
}

.site-nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.site-nav a,
.footer-links a {
  border-radius: 8px;
}

.site-nav a:focus-visible,
.footer-links a:focus-visible,
.button:focus-visible,
.link-button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(21, 112, 239, 0.24);
  outline-offset: 2px;
}

.nav-cta {
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.hero-section {
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  align-items: center;
  gap: 44px;
  padding: 28px 0 70px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

h1 {
  max-width: 700px;
  margin-bottom: 20px;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.94;
  letter-spacing: -0.058em;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  letter-spacing: -0.028em;
}

.hero-text,
.section-heading p,
.workflow-grid p,
.pricing-section p,
.demo-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.hero-text {
  max-width: 610px;
  margin-bottom: 28px;
  font-size: 19px;
}

.hero-actions,
.portal-actions,
.auth-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.button.primary:hover {
  background: var(--blue-strong);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.78);
}

.button.ghost {
  background: transparent;
}

.button.full {
  width: 100%;
}

.button.is-disabled {
  opacity: 0.62;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
  margin: 30px 0 0;
}

.hero-proof div {
  min-width: 0;
  border: 1px solid rgba(18, 24, 33, 0.09);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-proof dt {
  margin-bottom: 4px;
  color: var(--quiet);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-proof dd {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.32;
}

.product-frame,
.auth-card,
.price-card,
.workflow-grid article,
.tools-section,
.onboarding-card,
.static-card {
  border: 1px solid rgba(18, 24, 33, 0.1);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.product-frame {
  border-radius: 18px;
  overflow: hidden;
}

.video-frame {
  background: rgba(255, 255, 255, 0.92);
}

.hero-video {
  transform: rotate(0.2deg);
}

.site-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--soft);
}

.workflow-section,
.tools-section,
.demo-section,
.pricing-section {
  padding: 44px 0;
}

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

.section-heading.compact {
  max-width: 720px;
}

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

.workflow-grid article {
  border-radius: 14px;
  padding: 20px;
}

.step-number {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.tools-section {
  border-radius: 18px;
  padding: 28px;
}

.tool-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tool-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 800;
}

.demo-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  align-items: center;
  gap: 28px;
}

.demo-copy {
  max-width: 560px;
}

.pricing-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: center;
  padding-bottom: 92px;
}

.price-label,
.fine-print,
.status-text {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.price-card,
.auth-card {
  border-radius: 14px;
  padding: 24px;
}

.price-card strong {
  display: block;
  margin: 6px 0 10px;
  font-size: 42px;
  letter-spacing: -0.05em;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.static-main {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 46px 0 84px;
}

.static-main h1 {
  margin-bottom: 14px;
  font-size: clamp(42px, 6vw, 70px);
}

.static-intro {
  max-width: 760px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.static-card {
  display: grid;
  gap: 22px;
  border-radius: 14px;
  padding: 26px;
}

.static-card section {
  display: grid;
  gap: 8px;
}

.static-card h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.12;
}

.static-card p,
.static-card li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.static-card p,
.static-list {
  margin: 0;
}

.static-card a {
  color: var(--blue);
  font-weight: 750;
}

.static-list {
  padding-left: 20px;
}

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

.route-tile {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.route-tile strong {
  display: block;
  margin-bottom: 4px;
}

.portal-body {
  min-height: 100vh;
}

.portal-shell {
  width: min(1080px, calc(100% - 40px));
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) 430px;
  gap: 30px;
  align-items: center;
  margin: 0 auto;
  padding: 34px 0;
}

.portal-brand h1 {
  margin-top: 38px;
  margin-bottom: 16px;
  font-size: clamp(44px, 6vw, 76px);
}

.portal-brand p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.download-checklist {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.download-checklist li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.download-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

.download-preview {
  margin-top: 24px;
  border: 1px solid rgba(18, 24, 33, 0.1);
  border-radius: 16px;
  box-shadow: 0 22px 60px rgba(18, 24, 33, 0.1);
  overflow: hidden;
}

.auth-card {
  min-height: 434px;
}

.onboarding-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(420px, 1fr);
  gap: 22px;
  align-items: center;
  border-radius: 16px;
  padding: 18px;
  overflow: hidden;
}

.onboarding-card .site-video {
  border-radius: 12px;
}

.onboarding-copy {
  padding: 6px 8px 6px 10px;
}

.onboarding-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
}

.auth-form,
.lead-form,
.portal-panel {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

label {
  font-size: 13px;
  font-weight: 800;
}

input {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  outline: none;
}

input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}

.two-column {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.two-column span {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.consent-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.consent-row input {
  width: 16px;
  height: 16px;
  margin-top: 1px;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.link-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 800;
  cursor: pointer;
}

.notice {
  margin-bottom: 16px;
  border: 1px solid #f3cf72;
  border-radius: 8px;
  padding: 12px;
  background: #fff7d6;
  color: #6b4e00;
  font-size: 13px;
  line-height: 1.45;
}

.license-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(246, 248, 251, 0.84);
}

.license-card span {
  color: var(--muted);
}

.hidden {
  display: none !important;
}

@media (max-width: 1020px) {
  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-section,
  .demo-section,
  .portal-shell {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }
}

@media (max-width: 840px) {
  .site-header,
  .site-footer,
  .hero-section,
  .workflow-section,
  .tools-section,
  .demo-section,
  .pricing-section,
  .portal-shell {
    width: min(100% - 28px, 640px);
  }

  .pricing-section {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .two-column {
    grid-template-columns: 1fr;
  }

  .onboarding-card {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .site-header {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  h1 {
    font-size: clamp(42px, 15vw, 58px);
  }

  h2 {
    font-size: clamp(30px, 10vw, 42px);
  }

  .hero-proof,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .tools-section,
  .price-card,
  .auth-card,
  .static-card {
    padding: 18px;
  }

  .tool-list {
    gap: 8px;
  }

  .tool-list span {
    min-height: 34px;
    padding: 0 11px;
    font-size: 13px;
  }

  .portal-shell {
    width: min(100% - 20px, 640px);
  }
}

@media (max-width: 390px) {
  .site-header,
  .site-footer,
  .hero-section,
  .workflow-section,
  .tools-section,
  .demo-section,
  .pricing-section,
  .static-main {
    width: calc(100% - 20px);
  }

  .brand-link {
    font-size: 20px;
  }

  .site-nav {
    font-size: 13px;
  }

  .hero-text,
  .section-heading p,
  .workflow-grid p,
  .pricing-section p,
  .demo-copy p {
    font-size: 16px;
  }
}
