:root {
  color-scheme: light;
  --ink: #182536;
  --muted: #6b7280;
  --line: #e7dfd7;
  --soft: #f6f1eb;
  --paper: #fbf8f4;
  --brand: #f15a24;
  --brand-strong: #d94916;
  --green: #16816d;
  --green-soft: #e5f4ef;
  --navy: #172637;
  --white: #fff;
  --shadow: 0 18px 45px rgba(24, 37, 54, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  align-items: center;
  background: var(--brand);
  color: var(--white);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
  padding: 14px 32px;
}

.site-header nav {
  align-items: center;
  display: flex;
  gap: 22px;
  justify-content: flex-end;
}

.site-header nav a {
  font-size: 0.94rem;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
}

.brand {
  align-items: center;
  display: flex;
  gap: 11px;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--white);
  border-radius: 8px;
  color: var(--brand);
  display: inline-flex;
  font-weight: 900;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.brand strong {
  display: block;
  line-height: 1.1;
}

.brand small {
  color: rgba(255, 255, 255, 0.82);
  display: block;
  font-size: 0.78rem;
}

.header-search input {
  background: var(--white);
  border: 0;
  border-radius: 5px;
  color: var(--ink);
  min-height: 34px;
  padding: 8px 12px;
  width: 160px;
}

.trust-strip {
  align-items: center;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  gap: 12px;
  justify-content: center;
  min-height: 36px;
  padding: 8px 24px;
  font-size: 0.86rem;
}

.trust-strip span:first-child {
  color: #f5a623;
  letter-spacing: 1px;
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(140px, 1fr));
  padding: 42px max(24px, calc((100vw - 1160px) / 2));
}

.site-footer a {
  color: var(--white);
  display: block;
  font-size: 0.9rem;
  margin-top: 8px;
  text-decoration: none;
}

.site-footer strong {
  color: var(--white);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.72);
  margin: 8px 0 0;
}

.hero,
.page-head,
.intake-form,
.auth-panel,
.admin-head,
.data-table,
.detail-grid,
.comparison,
.steps {
  margin: 0 auto;
  max-width: 1160px;
  padding: 54px 24px;
}

.hero {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) 360px;
  min-height: 560px;
  text-align: center;
}

.hero-copy {
  justify-self: end;
  max-width: 680px;
}

.eyebrow,
.section-intro,
label,
select,
input {
  color: var(--muted);
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.page-head h1 {
  color: var(--ink);
  font-size: clamp(2.4rem, 5.4vw, 4.75rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0 0 18px;
}

.hero h1 span {
  color: var(--brand);
  display: block;
}

.hero p,
.page-head p {
  color: var(--muted);
  font-size: 1.08rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 640px;
}

.hero-actions,
.admin-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 26px;
}

.button {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  text-decoration: none;
}

.button.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

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

.button.secondary {
  background: var(--white);
  color: var(--brand);
}

.summary-panel,
article,
.auth-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(24, 37, 54, 0.06);
  padding: 24px;
}

.lead-card {
  box-shadow: var(--shadow);
  text-align: left;
}

.lead-card form {
  display: grid;
  gap: 15px;
}

.lead-card .button {
  width: 100%;
}

.microcopy {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  margin: 0;
  text-align: center;
}

.status-pill {
  background: var(--green-soft);
  border-radius: 999px;
  color: var(--green);
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 900;
  padding: 6px 11px;
  text-transform: uppercase;
}

.feature-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 22px max(24px, calc((100vw - 1160px) / 2));
}

.feature-strip article {
  border: 0;
  box-shadow: none;
  display: grid;
  gap: 4px;
  padding: 0;
}

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

.band {
  background: var(--soft);
  padding: 64px 24px;
}

.band > * {
  margin-left: auto;
  margin-right: auto;
  max-width: 1160px;
}

.band h2,
.steps h2,
.comparison h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  margin: 0 auto 10px;
  text-align: center;
}

.section-intro {
  margin: 0 auto 34px;
  max-width: 640px;
  text-align: center;
}

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

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

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

.grid article h3,
.step-row h3 {
  margin-top: 0;
}

.steps {
  background: var(--paper);
}

.step-row {
  display: grid;
  gap: 42px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: center;
}

.step-number {
  align-items: center;
  background: var(--brand);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.comparison {
  text-align: center;
}

.comparison table {
  background: var(--white);
  border-collapse: collapse;
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin: 28px auto 0;
  max-width: 780px;
  overflow: hidden;
  width: 100%;
}

.comparison th {
  background: var(--navy);
  color: var(--white);
}

.comparison th,
.comparison td {
  border-bottom: 1px solid var(--line);
  padding: 16px;
}

.comparison td:nth-child(2) {
  color: #e25b4d;
}

.comparison td:nth-child(3) {
  color: var(--green);
  font-weight: 900;
}

.pilot-cta,
.orange-cta {
  color: var(--white);
  padding: 72px 24px;
  text-align: center;
}

.pilot-cta {
  background: var(--green);
}

.orange-cta {
  background: var(--brand);
}

.pilot-cta p,
.orange-cta p {
  margin: 0 auto 26px;
  max-width: 620px;
}

.faq-list {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(24, 37, 54, 0.06);
  margin-top: 28px;
  max-width: 860px;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 18px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 850;
}

.content-head {
  padding-bottom: 34px;
}

.content-feature-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.content-section {
  background: var(--paper);
  padding: 64px 24px;
}

.content-block {
  display: grid;
  gap: 28px;
  margin: 0 auto;
  max-width: 1160px;
}

.content-block > div:first-child {
  margin: 0 auto;
  max-width: 760px;
  text-align: center;
}

.content-block h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0 0 10px;
}

.page-index-group {
  padding-bottom: 34px;
  padding-top: 42px;
}

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

.page-link-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(24, 37, 54, 0.06);
  display: grid;
  gap: 8px;
  padding: 18px;
  text-decoration: none;
}

.page-link-card strong {
  color: var(--ink);
}

.page-link-card span {
  color: var(--muted);
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

.intake-form,
.auth-panel form {
  display: grid;
  gap: 20px;
}

.intake-form,
.auth-panel {
  max-width: 860px;
}

fieldset {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 22px;
}

legend {
  color: var(--ink);
  font-weight: 900;
  padding: 0 8px;
}

label {
  display: grid;
  font-weight: 800;
  gap: 7px;
}

label.check {
  align-items: start;
  color: var(--ink);
  display: grid;
  grid-template-columns: 18px 1fr;
  font-weight: 650;
}

input,
select {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  font: inherit;
  min-height: 44px;
  padding: 10px 12px;
}

.admin-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.data-table {
  border-collapse: collapse;
  width: min(100%, 1160px);
}

.data-table th,
.data-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
}

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

.delivery-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.alert {
  background: #fff0eb;
  border: 1px solid #f1b499;
  border-radius: 8px;
  color: #8a3518;
  padding: 12px;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-header nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .header-search input {
    width: 100%;
  }

  .hero,
  .grid.four,
  .grid.three,
  .step-row,
  .feature-strip,
  .detail-grid,
  .page-link-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    justify-self: center;
  }

  .hero {
    text-align: left;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .admin-head {
    align-items: flex-start;
    flex-direction: column;
  }
}
