:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #eff6ff;
  --text: #0f172a;
  --muted: #475569;
  --line: #dbe4f0;
  --blue: #1d4ed8;
  --blue-dark: #163da8;
  --blue-soft: #dbeafe;
  --shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 24px 64px rgba(29, 78, 216, 0.08);
  --radius: 20px;
  --radius-sm: 14px;
  --container: 1240px;
}

@font-face {
  font-family: "Candal";
  src: url("./fonts/Candal-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Public Sans";
  src: url("./fonts/PublicSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Public Sans", sans-serif;
  color: var(--text);
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(circle at top left, rgba(219, 234, 254, 0.9), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

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

img {
  max-width: 100%;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.narrow-container,
.section-heading.narrow {
  max-width: 760px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(248, 250, 252, 0.88);
  border-bottom: 1px solid rgba(219, 228, 240, 0.75);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-text {
  font-family: "Candal", sans-serif;
  font-size: 1.52rem;
  line-height: 2.25rem;
  font-weight: 400;
  letter-spacing: -0.05em;
}

.brand-word {
  font-family: "Candal", sans-serif;
  font-weight: 400;
  letter-spacing: -0.05em;
  display: inline !important;
}

.nav-links,
.nav-actions,
.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a,
.footer-links a,
.link-button {
  color: var(--muted);
  font-weight: 600;
}

.nav-links a:hover,
.footer-links a:hover,
.link-button:hover {
  color: var(--text);
}

.hero {
  padding: 86px 0 50px;
}

.hero-grid,
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(320px, 0.86fr);
  gap: 44px;
  align-items: center;
}

.split-section.reverse {
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
}

.eyebrow,
.mini-label {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.85rem, 5vw, 4.85rem);
  max-width: 13.5ch;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 16px;
}

h3 {
  font-size: 1.1rem;
}

.lead,
.section-heading p,
.split-copy p,
.info-card p,
.feature-card p,
.step-card p,
.stack-item p,
.faq-list p,
.toolset-callout p,
.footer-copy,
.final-cta-card p {
  color: var(--muted);
  line-height: 1.7;
}

.lead {
  max-width: 62ch;
  font-size: 1.1rem;
  margin: 20px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-actions.centered {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid transparent;
}

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

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

.button.secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}

.proof-list,
.check-list-card ul {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
}

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

.proof-list li,
.check-list-card li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.proof-list li::before,
.check-list-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--blue);
}

.hero-panel,
.toolset-callout,
.final-cta-card,
.check-list-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.hero-panel {
  padding: 10px 10px 14px;
}

.hero-illustration {
  display: block;
  width: 115%;
  max-width: none;
  margin-left: -7.5%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.hero-caption {
  margin: 14px 6px 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.sidebar,
.workspace,
.form-card,
.import-card,
.info-card,
.feature-card,
.step-card,
.stack-item,
.toolset-callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.sidebar {
  padding: 16px;
}

.sidebar-title {
  font-weight: 800;
  margin-bottom: 14px;
}

.sidebar-item {
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 600;
}

.sidebar-item.active {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.workspace {
  padding: 18px;
}

.workspace-top,
.import-top,
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.status-pill,
.mini-status {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 0.84rem;
  font-weight: 700;
}

.form-card,
.import-card {
  padding: 16px;
  margin-top: 16px;
}

.field-row {
  margin-top: 14px;
}

.field-row:first-child {
  margin-top: 0;
}

.field-row.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 700;
}

.input {
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #f8fafc;
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: var(--muted);
}

.toggle {
  position: relative;
  width: 52px;
  height: 30px;
  border-radius: 999px;
  background: #cbd5e1;
}

.toggle span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #fff;
}

.toggle.on {
  background: var(--blue);
}

.toggle.on span {
  left: 25px;
}

.import-bars {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.bar {
  height: 12px;
  border-radius: 999px;
  background: #dbeafe;
}

.bar.ok {
  background: linear-gradient(90deg, var(--blue) 0%, #60a5fa 100%);
}

.bar.warn {
  background: linear-gradient(90deg, #f59e0b 0%, #fde68a 100%);
}

.bar.short {
  width: 72%;
}

.logos-strip {
  padding: 6px 0 0;
}

.logos-strip-inner {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.logos-strip-inner p {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
}

.section {
  padding: 96px 0;
}

.section-heading {
  margin-bottom: 34px;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card,
.feature-card,
.step-card,
.stack-item {
  padding: 24px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.info-card:hover,
.feature-card:hover,
.step-card:hover,
.stack-item:hover {
  transform: translateY(-2px);
  border-color: #c9d8ea;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.card-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

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

.preorder-form {
  margin-top: 26px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  text-align: left;
}

.form-grid label {
  margin: 0;
}

.form-grid label span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 14px 15px;
  font: inherit;
  color: var(--text);
  outline: none;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.form-grid textarea {
  resize: vertical;
  min-height: 120px;
}

.full-row {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.form-note {
  max-width: 56ch;
  margin: 16px auto 0;
  color: var(--muted);
  line-height: 1.65;
}

.info-card h3,
.feature-card h3,
.step-card h3,
.stack-item h3 {
  margin-bottom: 10px;
}

.step-number {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--blue);
  font-weight: 800;
  font-size: 0.95rem;
}

.stacked-list {
  display: grid;
  gap: 14px;
}

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

.mockup-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.mockup-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
}

.mockup-card h3 {
  margin-top: 16px;
  margin-bottom: 8px;
}

.mockup-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.toolset-callout,
.final-cta-card,
.check-list-card {
  padding: 30px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

details p {
  margin: 12px 0 0;
}

.final-cta-card {
  text-align: center;
}

.fine-print {
  margin-top: 18px;
  font-size: 0.92rem;
}

.site-footer {
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
}

.thanks-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.thanks-section {
  width: 100%;
}

.thanks-wrap {
  max-width: 780px;
}

.privacy-wrap {
  max-width: 860px;
}

.thanks-brand {
  margin-bottom: 28px;
}

.thanks-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 38px;
}

.thanks-kicker {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.thanks-card h1 {
  max-width: none;
}

.thanks-lead {
  margin-top: 18px;
}

.thanks-points {
  margin-top: 24px;
}

.thanks-points p {
  margin: 0 0 12px;
  font-weight: 700;
  color: var(--text);
}

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

.thanks-actions {
  margin-top: 32px;
}

.privacy-card h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.privacy-section {
  margin-top: 28px;
}

.privacy-section p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 12px;
}

.privacy-section a {
  color: var(--blue-dark);
  font-weight: 700;
}

.thanks-contact {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.thanks-meta {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.thanks-contact a {
  color: var(--blue-dark);
  font-weight: 700;
}

.thanks-meta a,
.fine-print a {
  color: var(--blue-dark);
  font-weight: 700;
}

.footer-copy {
  max-width: 42ch;
  margin: 12px 0 0;
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-section,
  .split-section.reverse {
    grid-template-columns: 1fr;
  }

  .four-up,
  .three-up,
  .two-up,
  .steps-grid,
  .mockup-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nav {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 18px;
  }

  .proof-list,
  .four-up,
  .three-up,
  .two-up,
  .field-row.two,
  .form-grid,
  .steps-grid,
  .mockup-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 44px;
  }

  h1 {
    max-width: none;
  }

  .section {
    padding: 74px 0;
  }

  .workspace-top,
  .import-top,
  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .toolset-callout,
  .final-cta-card,
  .check-list-card,
  .thanks-card,
  .info-card,
  .feature-card,
  .step-card,
  .stack-item {
    padding: 22px;
  }

  .final-cta-card {
    text-align: left;
  }

  .form-note {
    margin-left: 0;
    margin-right: 0;
  }

  .form-actions {
    justify-content: stretch;
  }

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