:root {
  color-scheme: light;
  --ink: #171a1f;
  --muted: #59616f;
  --line: #d9dde5;
  --paper: #f6f4ef;
  --panel: #ffffff;
  --graphite: #20242b;
  --teal: #0f766e;
  --amber: #b86b00;
  --red: #b42318;
  --green: #157347;
  --shadow: 0 18px 60px rgba(23, 26, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

a {
  color: inherit;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 28px;
  background: rgba(246, 244, 239, 0.94);
  border-bottom: 1px solid rgba(32, 36, 43, 0.1);
  backdrop-filter: blur(12px);
}

.brand,
.nav,
.hero-actions,
.close-actions,
.pay-head {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  text-decoration: none;
  font-weight: 760;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--graphite);
  color: #fff;
  font-size: 15px;
}

.nav {
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.nav a,
.text-link,
.footer a {
  text-decoration: none;
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 112px 28px 76px;
  background: #20242b;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
  opacity: 0.62;
}

.hero-shade {
  background: rgba(17, 19, 23, 0.54);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #6ee7d8;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin: 10px 0 10px;
  font-size: 18px;
  line-height: 1.2;
}

.lede {
  margin: 22px 0 0;
  max-width: 700px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 740;
  text-decoration: none;
}

.button.primary {
  background: #f4b740;
  color: #171a1f;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

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

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(760px, 100%);
  margin: 38px 0 0;
}

.proof-strip div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.proof-strip dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 720;
  text-transform: uppercase;
}

.proof-strip dd {
  margin: 6px 0 0;
  color: #fff;
  font-weight: 760;
}

.band {
  padding: 82px 28px;
}

.band > * {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.band.compact {
  background: var(--paper);
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.deliverable-grid,
.fit-grid,
.pay-grid,
.payment-steps {
  display: grid;
  gap: 16px;
}

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

.tile,
.fit-item,
.pay-box,
.report-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 1px 0 rgba(23, 26, 31, 0.04);
}

.tile {
  min-height: 228px;
  padding: 22px;
}

.tile-kicker {
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
}

.tile p,
.fit-item {
  color: var(--muted);
  line-height: 1.55;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: center;
  background: #fff;
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--teal);
  font-weight: 760;
}

.report-preview {
  padding: 14px;
}

.report-row {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  align-items: start;
  min-height: 66px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.report-row:last-child {
  border-bottom: 0;
}

.report-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 28px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 780;
}

.report-row.high span {
  background: var(--red);
}

.report-row.medium span {
  background: var(--amber);
}

.report-row.low span {
  background: var(--teal);
}

.report-row.pass span {
  background: var(--green);
}

.report-row strong {
  font-size: 15px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

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

.fit-item {
  min-height: 92px;
  padding: 22px;
  font-weight: 650;
}

.payment {
  background: #ece8df;
}

.request {
  background: #f7f4ea;
}

.request-tool {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(23, 26, 31, 0.04);
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  line-height: 1.45;
}

input,
select {
  padding: 0 12px;
}

textarea {
  min-height: 120px;
  padding: 12px;
  resize: vertical;
}

.brief-output {
  min-height: 280px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

.request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.payment-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: -4px auto 22px;
  padding: 0;
  list-style: none;
}

.payment-steps li {
  min-height: 86px;
  padding: 18px;
  border: 1px solid rgba(32, 36, 43, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
  color: #4d5664;
  font-weight: 680;
  line-height: 1.42;
}

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

.pay-box {
  padding: 20px;
}

.pay-head {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  font-weight: 780;
}

.copy-button {
  min-width: 68px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.copy-button:hover {
  border-color: var(--teal);
}

.qr-code {
  display: block;
  width: min(180px, 60%);
  aspect-ratio: 1;
  margin: 0 auto 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

code {
  display: block;
  padding: 14px;
  border-radius: 8px;
  background: #f7f7f4;
  color: var(--graphite);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

pre {
  min-width: 0;
  max-width: 100%;
  margin: 0;
}

pre code {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre;
  overflow-wrap: normal;
}

.close {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  background: var(--paper);
}

.close > div {
  margin: 0;
}

.close p {
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  padding: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.checklist-page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 104px 0 72px;
}

.checklist-hero {
  padding: 34px 0 38px;
  border-bottom: 1px solid var(--line);
}

.checklist-hero h1 {
  color: var(--ink);
  font-size: clamp(38px, 6vw, 70px);
}

.checklist-hero p,
.check-card li,
.checklist-close p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.checklist-hero p {
  max-width: 780px;
}

.checklist-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

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

.check-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.check-card span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
}

.check-card h2 {
  margin-top: 8px;
  font-size: 26px;
}

.check-card ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

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

.checklist-close {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.checklist-close > div {
  margin: 0;
}

.service-page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 104px 0 72px;
}

.service-hero {
  padding: 34px 0 38px;
  border-bottom: 1px solid var(--line);
}

.service-hero h1 {
  color: var(--ink);
  font-size: clamp(38px, 6vw, 70px);
}

.service-hero p,
.service-split p,
.service-list div,
.service-flow li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.service-hero p,
.service-split p {
  max-width: 780px;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.service-band {
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}

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

.service-summary div,
.service-list div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-summary div {
  padding: 18px;
}

.service-summary span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
}

.service-summary strong {
  display: block;
  margin-top: 8px;
  line-height: 1.35;
}

.service-split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: 36px;
  align-items: start;
}

.service-split > * {
  min-width: 0;
}

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

.service-list div {
  padding: 16px;
}

.compact-list div {
  font-weight: 650;
}

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

.radar-card {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.radar-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.radar-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.radar-card p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.score-badge {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  min-width: 52px;
  height: 36px;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 820;
}

.score-badge.high {
  background: var(--red);
}

.score-badge.medium {
  background: var(--amber);
}

.radar-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.radar-meta span {
  display: inline-flex;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.radar-finding {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.radar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.service-flow {
  border-bottom: 0;
}

.service-flow ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.service-flow li {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 650;
}

@media (max-width: 900px) {
  .topbar {
    padding: 0 18px;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 90vh;
    padding: 104px 20px 58px;
  }

  .hero-bg {
    object-position: 62% center;
  }

  .proof-strip,
  .deliverable-grid,
  .fit-grid,
  .radar-grid,
  .field-grid,
  .payment-steps,
  .pay-grid,
  .checklist-grid,
  .service-summary,
  .service-split,
  .service-flow ol,
  .split {
    grid-template-columns: 1fr;
  }

  .band {
    padding: 58px 20px;
  }

  .tile {
    min-height: 0;
  }

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

  .checklist-close {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .brand span:last-child {
    max-width: 210px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  h1 {
    font-size: 40px;
  }

  .lede {
    font-size: 17px;
  }

  .proof-strip div,
  .tile,
  .fit-item,
  .pay-box {
    padding: 16px;
  }

  .report-row {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .close-actions,
  .service-actions,
  .terms-actions,
  .request-actions,
  .checklist-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
