:root {
  --bg: #f6f8fc;
  --bg-soft: #edf4ff;
  --bg-warm: #fff8f1;
  --surface: #ffffff;
  --surface-soft: #f9fbff;
  --text: #10233d;
  --muted: #5f718b;
  --muted-strong: #41526b;
  --line: #dbe5f1;
  --line-strong: #cbd8e8;
  --brand: #1771f1;
  --brand-strong: #0f5ed1;
  --brand-soft: #e8f1ff;
  --accent: #ff9a3d;
  --accent-soft: #fff1e2;
  --success-tint: #f3fbf7;
  --danger-tint: #fff6f4;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow-lg: 0 24px 60px rgba(20, 42, 74, 0.08);
  --shadow-md: 0 14px 34px rgba(20, 42, 74, 0.06);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #f9fbff 0%, #f6f8fc 100%);
  color: var(--text);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

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

.site-shell,
.page-shell {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(203, 216, 232, 0.7);
}

.header-row,
.header-inner,
.footer-row,
.hero-grid,
.split-layout,
.card-grid,
.cta-banner,
.metric-strip,
.panel-stats,
.form-grid {
  display: grid;
  gap: 24px;
}

.header-row,
.header-inner,
.footer-row {
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 78px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--brand));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(23, 113, 241, 0.2);
}

.brand-name,
.brand-text,
.footer-brand-name {
  color: var(--text);
  letter-spacing: -0.025em;
}

.site-nav,
.nav,
.footer-links {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav a,
.nav a,
.footer-links a {
  text-decoration: none;
  color: var(--muted-strong);
  font-weight: 600;
}

.header-cta,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #fff !important;
  border: 1px solid rgba(15, 94, 209, 0.16);
  box-shadow: 0 12px 24px rgba(23, 113, 241, 0.16);
}

.hero-section {
  background:
    radial-gradient(circle at top left, rgba(255, 154, 61, 0.22), transparent 28%),
    radial-gradient(circle at top right, rgba(23, 113, 241, 0.18), transparent 32%),
    linear-gradient(180deg, #fffdf9 0%, #eff5ff 55%, #f6f8fc 100%);
  color: var(--text);
  padding: 86px 0 64px;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1.04fr);
  align-items: center;
  gap: 52px;
}

.eyebrow,
.card-label,
.panel-pill,
.eyebrow-dark,
.eyebrow-dark-soft {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.eyebrow,
.eyebrow-dark,
.eyebrow-dark-soft {
  color: var(--brand-strong);
  background: rgba(23, 113, 241, 0.08);
  border: 1px solid rgba(23, 113, 241, 0.12);
}

.panel-pill,
.card-label {
  color: #ad5b00;
  background: rgba(255, 154, 61, 0.12);
  border: 1px solid rgba(255, 154, 61, 0.18);
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.045em;
}

h1 {
  margin-top: 18px;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 0.95;
  max-width: 11ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.02;
}

h3 {
  font-size: 1.28rem;
  line-height: 1.18;
}

.hero-lead,
.intro-block p,
.card p,
.deliverable-row p,
.faq-item p,
.form-section-head p,
.site-footer p,
.text-column p,
.hero-quote p,
.section-head p,
.form-note p,
.cta-banner p {
  color: var(--muted);
}

.hero-lead {
  margin-top: 20px;
  max-width: 60ch;
  font-size: 1.12rem;
  line-height: 1.72;
}

.hero-actions,
.cta-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #fff;
  box-shadow: 0 16px 32px rgba(23, 113, 241, 0.2);
}

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

.button-secondary-dark {
  background: rgba(255, 255, 255, 0.82);
}

.hero-tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(203, 216, 232, 0.8);
  color: var(--muted-strong);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-tags svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.hero-panel-wrap {
  display: grid;
  gap: 16px;
}

.hero-panel,
.card,
.cta-banner,
.hero-quote,
.faq-item,
.form-note,
.intake-form {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.hero-panel {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  color: var(--text);
  padding: 26px;
  border: 1px solid rgba(219, 229, 241, 0.95);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.panel-note {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 700;
}

.panel-main p {
  margin-top: 10px;
}

.panel-main ul,
.feature-list,
.fit-card ul,
.boundaries-card ul,
.pricing-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.78;
}

.icon-list {
  list-style: none;
  padding-left: 0;
}

.icon-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 10px;
}

.icon-list svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
  margin-top: 4px;
}

.panel-stats {
  margin-top: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.panel-stats div {
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  border: 1px solid var(--line);
}

.panel-stats strong {
  display: block;
  font-size: 1rem;
}

.panel-stats span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-quote {
  background: linear-gradient(135deg, rgba(255, 154, 61, 0.12), rgba(23, 113, 241, 0.08));
  border: 1px solid rgba(255, 154, 61, 0.15);
  padding: 20px 22px;
}

.hero-quote p {
  margin: 0;
  color: var(--muted-strong);
}

.metric-strip-section {
  margin-top: -28px;
  position: relative;
  z-index: 2;
}

.metric-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  padding: 20px 24px;
}

.metric-strip article {
  display: grid;
  gap: 6px;
}

.metric-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-soft), #ffffff);
  color: var(--brand);
  border: 1px solid rgba(23, 113, 241, 0.12);
  margin-bottom: 4px;
}

.metric-icon svg {
  width: 20px;
  height: 20px;
}

.metric-strip strong {
  font-size: 1rem;
}

.metric-strip span {
  color: var(--muted);
  font-size: 0.92rem;
}

.content-section,
.section {
  padding: 88px 0;
}

.section-light {
  background: transparent;
}

.section-soft {
  background: linear-gradient(180deg, #fdfefe 0%, #f2f7ff 100%);
}

.narrow {
  max-width: 820px;
}

.intro-block,
.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: 36px;
}

.intro-block.centered {
  justify-items: center;
  text-align: center;
}

.intro-block h2,
.section-head h1 {
  max-width: 16ch;
}

.intro-block p,
.section-head p {
  max-width: 62ch;
}

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

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

.card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid var(--line);
  padding: 28px;
}

.quiet-card {
  box-shadow: var(--shadow-md);
}

.step-card,
.mini-icon-card {
  position: relative;
}

.step-icon,
.mini-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent-soft), #fff);
  color: var(--brand-strong);
  border: 1px solid rgba(255, 154, 61, 0.2);
  margin-bottom: 14px;
}

.step-icon svg,
.mini-icon svg {
  width: 22px;
  height: 22px;
}

.quiet-card h3,
.fit-card h3,
.pricing-card h3,
.boundaries-card h3,
.deliverable-row strong,
.faq-item h3 {
  margin-bottom: 10px;
}

.compact-cards {
  gap: 18px;
}

.split-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: 34px;
}

.text-column {
  display: grid;
  gap: 18px;
}

.deliverable-panel {
  background: linear-gradient(180deg, #ffffff 0%, #fffaf4 100%);
}

.deliverable-row {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.deliverable-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.fit-good {
  background: linear-gradient(180deg, #ffffff 0%, var(--success-tint) 100%);
}

.fit-bad {
  background: linear-gradient(180deg, #ffffff 0%, var(--danger-tint) 100%);
}

.pricing-card {
  display: grid;
  align-content: start;
  gap: 10px;
}

.featured-pricing {
  background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
  border-color: rgba(23, 113, 241, 0.16);
}

.muted-pricing {
  background: linear-gradient(180deg, #ffffff 0%, #fffaf5 100%);
}

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

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px 26px;
}

.cta-section {
  padding-top: 40px;
}

.cta-banner {
  background: linear-gradient(135deg, #fff8ef 0%, #eef5ff 100%);
  color: var(--text);
  padding: 34px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border: 1px solid rgba(255, 154, 61, 0.18);
}

.site-footer {
  padding: 34px 0 64px;
  background: linear-gradient(180deg, #eef5ff 0%, #edf2f8 100%);
  border-top: 1px solid var(--line);
}

.footer-links a,
.site-footer p {
  color: var(--muted-strong);
}

.form-shell {
  max-width: 940px;
}

.intake-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
  max-width: 15ch;
}

.form-note,
.intake-form {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid var(--line);
  padding: 28px;
}

.form-note {
  margin-bottom: 24px;
}

.intake-form {
  display: grid;
  gap: 22px;
}

.form-section {
  display: grid;
  gap: 18px;
  padding-top: 8px;
}

.form-section + .form-section {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.form-section-head {
  display: grid;
  gap: 8px;
}

.form-section-head h2 {
  font-size: 1.35rem;
}

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

.intake-form label {
  display: block;
}

.intake-form label span {
  display: block;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.45;
}

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

.intake-form input:focus,
.intake-form textarea:focus,
.intake-form select:focus {
  border-color: rgba(23, 113, 241, 0.5);
  box-shadow: 0 0 0 4px rgba(23, 113, 241, 0.08);
}

.intake-form textarea {
  resize: vertical;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

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

@media (max-width: 1080px) {
  .hero-grid,
  .split-layout,
  .card-grid.three-col,
  .card-grid.two-col,
  .cta-banner,
  .metric-strip {
    grid-template-columns: 1fr;
  }

  .panel-stats {
    grid-template-columns: 1fr;
  }
}

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

  .header-row,
  .header-inner,
  .footer-row {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 12px;
    padding: 18px 0;
  }

  .site-nav,
  .nav,
  .footer-links,
  .form-grid.two-col {
    justify-self: start;
    flex-wrap: wrap;
    gap: 12px;
  }

  .site-nav,
  .nav {
    gap: 12px;
  }

  .header-cta {
    display: none;
  }

  .hero-section,
  .content-section,
  .section {
    padding: 72px 0;
  }

  .card,
  .hero-panel,
  .cta-banner,
  .faq-item,
  .form-note,
  .intake-form {
    padding: 22px;
  }

  .intro-block h2,
  h1,
  .intake-title {
    max-width: none;
  }

  .hero-tags,
  .hero-actions,
  .cta-actions {
    gap: 10px;
  }
}
