:root {
  --bg: #ffffff;
  --cream: #fff7ed;
  --peach: #ffe6d5;
  --lavender: #eee7ff;
  --mint: #e6f8ef;
  --orange: #ff8a3d;
  --navy: #121826;
  --text: #242a38;
  --muted: #5b6270;
  --border: #e8e2da;
  --soft-border: rgba(18, 24, 38, 0.08);
  --shadow: 0 24px 80px rgba(18, 24, 38, 0.08);
  --shadow-sm: 0 12px 40px rgba(18, 24, 38, 0.06);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.section {
  padding: 104px 0;
}

.section-sm {
  padding: 72px 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 16px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
}

.skip-link:focus {
  left: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(232, 226, 218, 0.72);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--peach), var(--lavender));
  border: 1px solid rgba(18, 24, 38, 0.08);
  color: var(--navy);
  font-size: 13px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--navy);
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid var(--soft-border);
  border-radius: 999px;
  background: var(--navy);
  color: #fff !important;
  box-shadow: 0 10px 26px rgba(18, 24, 38, 0.12);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
  border-radius: 999px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 86px;
}

.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(4px);
  opacity: 0.78;
  z-index: -1;
}

.hero-bg::before {
  width: 520px;
  height: 520px;
  right: -140px;
  top: 40px;
  background: radial-gradient(circle, var(--peach), rgba(255, 230, 213, 0));
}

.hero-bg::after {
  width: 380px;
  height: 380px;
  left: -130px;
  top: 210px;
  background: radial-gradient(circle, var(--mint), rgba(230, 248, 239, 0));
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.06;
  letter-spacing: -0.055em;
}

h1 {
  font-size: clamp(48px, 8vw, 82px);
  max-width: 790px;
}

h2 {
  font-size: clamp(34px, 5vw, 56px);
}

h3 {
  font-size: 21px;
  letter-spacing: -0.035em;
}

p {
  margin: 0;
  color: var(--muted);
}

.hero-subtitle {
  margin-top: 24px;
  max-width: 660px;
  color: #303747;
  font-size: clamp(20px, 2.5vw, 25px);
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.hero-text {
  margin-top: 18px;
  max-width: 680px;
  font-size: 17px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 18px 40px rgba(18, 24, 38, 0.16);
}

.btn-secondary {
  background: #fff;
  color: var(--navy);
  border-color: var(--border);
  box-shadow: 0 14px 34px rgba(18, 24, 38, 0.06);
}

.trust-note {
  margin-top: 22px;
  font-size: 14px;
  color: #6e7480;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -28px;
  background-image:
    linear-gradient(rgba(18, 24, 38, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 24, 38, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  border-radius: var(--radius-lg);
  mask-image: radial-gradient(circle, #000 0%, transparent 72%);
  z-index: -1;
}

.workflow-card {
  padding: 22px;
  border: 1px solid var(--soft-border);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.workflow-header {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-peach { background: var(--peach); }
.dot-lavender { background: var(--lavender); }
.dot-mint { background: var(--mint); }

.workflow-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.workflow-row.offset {
  padding-left: 34px;
}

.workflow-node {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(18, 24, 38, 0.08);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.workflow-node strong {
  color: var(--navy);
  line-height: 1.1;
}

.workflow-node small {
  color: var(--muted);
  line-height: 1.35;
}

.node-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.node-source { background: var(--cream); }
.node-enrich { background: var(--peach); }
.node-ai { background: var(--lavender); }
.node-score { background: var(--mint); }
.node-output { background: linear-gradient(135deg, var(--cream), #fff); }

.workflow-arrow {
  color: var(--navy);
  font-weight: 900;
  opacity: 0.5;
}

.workflow-output {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding-top: 6px;
}

.workflow-output .workflow-node {
  width: min(100%, 360px);
  min-height: 112px;
}

.section-heading {
  max-width: 770px;
}

.section-heading.centered {
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

.section-heading h2 + p,
.split-heading p,
.contact-copy h2 + p {
  margin-top: 18px;
  font-size: 18px;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 440px);
  gap: 42px;
  max-width: none;
  align-items: end;
  margin-bottom: 42px;
}

.problem-section,
.process-section,
.faq-section {
  background: linear-gradient(180deg, #fff, var(--cream));
}

.card-grid,
.offer-grid,
.process-grid,
.tag-grid {
  display: grid;
  gap: 18px;
}

.five-cards {
  grid-template-columns: repeat(5, 1fr);
}

.mini-card,
.offer-card,
.process-step,
.contact-form,
.contact-note,
.faq-list details,
.cta-panel,
.final-panel,
.table-wrap {
  border: 1px solid var(--soft-border);
  box-shadow: var(--shadow-sm);
}

.mini-card {
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
}

.mini-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--cream);
  color: var(--orange);
  font-weight: 900;
}

.mini-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.mini-card p {
  font-size: 14.5px;
}

.offer-grid {
  grid-template-columns: repeat(4, 1fr);
}

.offer-card {
  min-height: 100%;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #fff;
}

.offer-topline {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.offer-card h3 {
  margin-bottom: 12px;
}

.offer-card p {
  margin-bottom: 20px;
}

.offer-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.offer-card li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  color: #3a4250;
  font-size: 14.5px;
  border-top: 1px solid rgba(18, 24, 38, 0.06);
}

.offer-card li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 900;
}

.accent-peach { background: linear-gradient(180deg, var(--peach), #fff); }
.accent-mint { background: linear-gradient(180deg, var(--mint), #fff); }
.accent-lavender { background: linear-gradient(180deg, var(--lavender), #fff); }
.accent-cream { background: linear-gradient(180deg, var(--cream), #fff); }

.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

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

.why-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--soft-border);
  border-radius: 18px;
  background: #fff;
}

.why-item span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--navy);
  font-weight: 900;
}

.use-case-section {
  background:
    radial-gradient(circle at 14% 20%, rgba(238, 231, 255, 0.75), transparent 26%),
    radial-gradient(circle at 84% 70%, rgba(255, 230, 213, 0.8), transparent 30%),
    #fff;
}

.tag-grid {
  grid-template-columns: repeat(4, 1fr);
}

.tag-grid span {
  display: flex;
  align-items: center;
  min-height: 76px;
  padding: 18px;
  border: 1px solid var(--soft-border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--navy);
  font-weight: 700;
  box-shadow: 0 10px 32px rgba(18, 24, 38, 0.045);
}

.process-grid {
  grid-template-columns: repeat(4, 1fr);
  counter-reset: process;
}

.process-step {
  padding: 26px;
  border-radius: var(--radius-md);
  background: #fff;
}

.process-step span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 15px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
}

.process-step h3 {
  margin-bottom: 10px;
}

.cta-panel,
.final-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  padding: 42px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy), #202a43);
}

.cta-panel::after,
.final-panel::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 138, 61, 0.2);
}

.cta-panel h2,
.cta-panel p,
.final-panel h2,
.final-panel p {
  color: #fff;
}

.cta-panel p,
.final-panel p {
  opacity: 0.78;
  margin-top: 12px;
  max-width: 730px;
}

.cta-panel .btn,
.final-panel .btn {
  position: relative;
  z-index: 1;
  background: #fff;
  color: var(--navy);
  box-shadow: none;
  flex: 0 0 auto;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  background: #fff;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--soft-border);
  text-align: left;
  vertical-align: top;
}

.comparison-table thead th {
  background: var(--cream);
  color: var(--navy);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.comparison-table tbody th {
  width: 22%;
  color: var(--navy);
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.contact-section {
  background:
    radial-gradient(circle at 10% 12%, rgba(230, 248, 239, 0.9), transparent 26%),
    radial-gradient(circle at 88% 16%, rgba(238, 231, 255, 0.9), transparent 28%),
    linear-gradient(180deg, #fff, var(--cream));
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 48px;
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 104px;
}

.contact-note {
  margin-top: 26px;
  display: grid;
  gap: 8px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.76);
}

.contact-note strong {
  color: var(--navy);
}

.contact-note span {
  color: var(--muted);
}

.contact-form {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.form-row {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

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

.field-group {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}

label {
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  padding: 13px 14px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(255, 138, 61, 0.9);
  box-shadow: 0 0 0 4px rgba(255, 138, 61, 0.13);
}

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

.form-submit {
  width: 100%;
  margin-top: 4px;
}

.form-message {
  margin-top: 16px;
  font-weight: 700;
}

.form-message.success {
  color: #176b43;
}

.form-message.error {
  color: #a33b22;
}

.form-footnote {
  margin-top: 14px;
  font-size: 13px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 56px;
  align-items: start;
}

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

.faq-list details {
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
}

.faq-list summary {
  padding: 20px 22px;
  cursor: pointer;
  color: var(--navy);
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--orange);
  font-size: 22px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  padding: 0 22px 22px;
}

.final-cta {
  background: #fff;
}

.final-panel {
  display: grid;
  justify-items: center;
  text-align: center;
}

.final-panel p {
  margin-left: auto;
  margin-right: auto;
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--border);
  background: var(--cream);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  margin-bottom: 12px;
}

.disclaimer {
  margin-top: 4px;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--navy);
}

@media (max-width: 1060px) {
  .hero-grid,
  .why-grid,
  .contact-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 42px;
  }

  .hero-visual {
    max-width: 680px;
  }

  .five-cards,
  .offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tag-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 800px) {
  .section {
    padding: 76px 0;
  }

  .section-sm {
    padding: 56px 0;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-menu {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-sm);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    padding: 12px 10px;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cta-panel {
    display: grid;
    align-items: start;
  }

  .footer-grid {
    display: grid;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  h1 {
    font-size: clamp(42px, 12vw, 56px);
  }

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

  .hero-actions,
  .btn {
    width: 100%;
  }

  .workflow-row,
  .workflow-row.offset {
    grid-template-columns: 1fr;
    padding-left: 0;
  }

  .workflow-arrow {
    display: none;
  }

  .five-cards,
  .offer-grid,
  .tag-grid,
  .process-grid,
  .two-columns {
    grid-template-columns: 1fr;
  }

  .cta-panel,
  .final-panel,
  .contact-form {
    padding: 24px;
    border-radius: 24px;
  }
}
