:root {
  --ink: #102033;
  --ink-strong: #08111f;
  --surface: #f7f3ea;
  --surface-strong: #fffdf8;
  --card: rgba(255, 253, 248, 0.92);
  --line: rgba(16, 32, 51, 0.12);
  --brand: #17624d;
  --brand-strong: #104c3b;
  --accent: #b85c38;
  --accent-soft: #f4e2d7;
  --gold: #d7a944;
  --muted: #5c6b7a;
  --shadow: 0 24px 60px rgba(8, 17, 31, 0.12);
  --shadow-soft: 0 14px 30px rgba(8, 17, 31, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --container: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(215, 169, 68, 0.2), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(23, 98, 77, 0.18), transparent 28%),
    linear-gradient(180deg, #f6f0e5 0%, #fcfbf8 42%, #fff 100%);
  font-family: "Segoe UI Variable Display", "Segoe UI", "Trebuchet MS", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

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

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 300;
  background: #fff;
  padding: 10px 14px;
  border-radius: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(14px);
  background: rgba(255, 252, 246, 0.88);
  border-bottom: 1px solid rgba(16, 32, 51, 0.08);
}

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

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--ink-strong);
}

.brand-badge {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand) 0%, #23936d 100%);
  color: #fff;
  box-shadow: 0 16px 30px rgba(23, 98, 77, 0.28);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 10px 14px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
  margin-left: auto;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(23, 98, 77, 0.08);
  color: var(--ink-strong);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 800;
  border: 1px solid transparent;
  white-space: nowrap;
}

.nav-cta.primary,
.button.primary {
  background: linear-gradient(135deg, var(--brand) 0%, #23936d 100%);
  color: #fff;
  box-shadow: 0 18px 30px rgba(23, 98, 77, 0.24);
}

.nav-cta.secondary,
.button.secondary {
  background: #fff;
  color: var(--ink-strong);
  border-color: var(--line);
}

.hero {
  padding: 72px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  gap: 28px;
  align-items: stretch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(23, 98, 77, 0.08);
  color: var(--brand-strong);
  font-size: 0.92rem;
  font-weight: 800;
}

.hero-copy,
.hero-card,
.panel,
.card,
.faq-item,
.step-card,
.metric-card,
.timeline-card,
.feature-card,
.quote-card,
.page-hero,
.detail-card,
.contact-card,
.pricing-card,
.placeholder-card,
.demo-card,
.form-shell,
.success-shell {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 34px;
}

.hero-copy h1,
.page-hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.4rem, 4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--ink-strong);
}

.hero-copy p.lead,
.page-hero .lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 22px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 22px 0 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 18px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
}

.button.ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.trust-row,
.meta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(16, 32, 51, 0.08);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-card {
  padding: 24px;
  display: grid;
  gap: 18px;
  align-content: start;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(249, 244, 235, 0.9)),
    radial-gradient(circle at top right, rgba(184, 92, 56, 0.12), transparent 30%);
}

.hero-card .section-header h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.8rem);
  line-height: 1.05;
}

.mini-stat-grid,
.card-grid,
.steps-grid,
.metrics-grid,
.detail-grid,
.landing-grid,
.faq-grid,
.footer-grid,
.pricing-grid,
.placeholder-grid,
.demo-grid {
  display: grid;
  gap: 18px;
}

.pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

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

.metric-card,
.card,
.feature-card,
.timeline-card,
.detail-card,
.contact-card,
.demo-card,
.placeholder-card {
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.metric-card strong,
.card h3,
.feature-card h3,
.timeline-card h3,
.detail-card h3,
.demo-card h3 {
  color: var(--ink-strong);
}

.metric-card span {
  display: block;
  color: var(--muted);
  font-size: 0.94rem;
}

main section,
.page-section {
  padding: 30px 0 0;
}

.section-header {
  margin-bottom: 22px;
}

.section-header h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  max-width: 820px;
}

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

.card-grid.three,
.steps-grid,
.metrics-grid,
.landing-grid,
.placeholder-grid,
.demo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

.panel {
  padding: 28px;
}

.step-card {
  padding: 22px;
  position: relative;
}

.step-number {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(23, 98, 77, 0.12);
  color: var(--brand-strong);
  font-weight: 900;
  margin-bottom: 12px;
}

.list {
  margin: 14px 0 0;
  padding-left: 18px;
}

.list li + li {
  margin-top: 8px;
}

.split-callout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.image-frame {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #f5efe5);
}

.founder-photo {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #efe7da;
  box-shadow: var(--shadow-soft);
  margin-bottom: 18px;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.caption {
  color: var(--muted);
  font-size: 0.94rem;
  margin-top: 10px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.faq-item .faq-content {
  padding: 0 22px 22px;
  color: var(--muted);
}

.faq-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(23, 98, 77, 0.1);
  color: var(--brand-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 1.2rem;
}

.page-hero {
  padding: 30px;
}

.breadcrumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}

.breadcrumbs a {
  text-decoration: none;
}

.site-footer {
  margin-top: 42px;
  padding: 48px 0 56px;
  background: #0f1a27;
  color: #eef3f8;
}

.footer-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.site-footer a {
  color: rgba(238, 243, 248, 0.88);
  text-decoration: none;
}

.site-footer p {
  margin: 0 0 10px;
}

.footer-title {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 800;
}

.footer-copy,
.legal-note {
  color: rgba(238, 243, 248, 0.74);
}

.copyright {
  margin-top: 22px;
  color: rgba(238, 243, 248, 0.56);
  font-size: 0.92rem;
}

.legal-badge {
  margin-top: 16px;
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-badge .small {
  color: rgba(238, 243, 248, 0.74);
}

.legal-badge img {
  width: 180px;
  height: auto;
}

.note,
.small {
  color: var(--muted);
  font-size: 0.92rem;
}

.pricing-card {
  padding: 28px;
}

.pricing-card .price {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1;
  margin: 10px 0 6px;
  color: var(--ink-strong);
  font-weight: 900;
}

.pricing-card .price small {
  font-size: 1rem;
  color: var(--muted);
}

.pricing-card.highlight {
  background:
    linear-gradient(180deg, rgba(255, 247, 225, 0.98), rgba(255, 255, 255, 0.95)),
    #fff;
}

.form-shell,
.success-shell {
  padding: 28px;
}

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

.field,
.field-full {
  display: grid;
  gap: 8px;
}

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

.field label {
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: inherit;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field .error {
  color: #a11f0c;
  font-size: 0.9rem;
  min-height: 1.1em;
}

[data-pilot-form-status] {
  min-height: 1.2em;
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: rgba(161, 31, 12, 0.48);
  box-shadow: inset 0 0 0 1px rgba(161, 31, 12, 0.2);
}

.checkbox-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.checkbox-row input {
  margin-top: 4px;
}

.success-shell {
  display: none;
  margin-top: 18px;
  background: linear-gradient(180deg, rgba(226, 247, 238, 0.96), rgba(255, 255, 255, 0.96));
}

.success-shell.is-visible {
  display: block;
}

.iframe-shell {
  margin-top: 18px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 900px;
  background: #fff;
}

.iframe-shell iframe {
  width: 100%;
  min-height: 900px;
  border: 0;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-card {
  padding: 18px 22px;
}

.demo-steps {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.demo-step {
  min-width: 170px;
}

.demo-progress {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.94rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 1024px) {
  .hero-grid,
  .card-grid.three,
  .steps-grid,
  .metrics-grid,
  .landing-grid,
  .placeholder-grid,
  .demo-grid,
  .footer-grid,
  .split-callout,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .card-grid.two,
  .mini-stat-grid,
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    padding-bottom: 10px;
  }

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

  .header-row {
    flex-wrap: wrap;
  }

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

@media (max-width: 720px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .hero {
    padding-top: 42px;
  }

  .hero-copy,
  .hero-card,
  .panel,
  .page-hero,
  .form-shell,
  .success-shell {
    padding: 22px;
  }

  .card-grid.two,
  .mini-stat-grid,
  .pricing-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .cta-row,
  .trust-row,
  .meta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .nav-cta {
    width: 100%;
  }
}}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
