:root {
  --ink: #14212b;
  --muted: #5d6a73;
  --paper: #f8faf7;
  --white: #ffffff;
  --line: #dce3df;
  --blue: #275d95;
  --green: #2f755f;
  --clay: #a15c44;
  --yellow: #f0c35a;
  --shadow: 0 22px 60px rgba(20, 33, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a:hover {
  text-decoration: underline;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

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

.site-header {
  align-items: center;
  background: rgba(248, 250, 247, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 6vw;
  position: sticky;
  top: 0;
  z-index: 5;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 780;
  gap: 10px;
  min-width: max-content;
}

.brand:hover,
.button:hover,
.nav-cta:hover,
.policy-links a:hover {
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: var(--white);
  display: inline-flex;
  font-size: 13px;
  height: 34px;
  justify-content: center;
  letter-spacing: 0;
  width: 34px;
}

nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-cta {
  background: var(--ink);
  border-radius: 8px;
  color: var(--white);
  padding: 10px 14px;
}

.hero {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  min-height: calc(100vh - 72px);
  padding: 82px 6vw 96px;
}

.hero-copy {
  align-self: center;
  max-width: 800px;
  min-width: 0;
}

.eyebrow {
  color: var(--green);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(42px, 7vw, 78px);
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 24px;
}

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

h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.lead {
  color: var(--muted);
  font-size: 20px;
  max-width: 720px;
}

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

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 760;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
}

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

.button.secondary {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
}

.report-visual {
  align-self: center;
  margin: 0;
  min-width: 0;
  max-width: 100%;
}

.report-sheet {
  background:
    linear-gradient(135deg, rgba(39, 93, 149, 0.13), transparent 48%),
    linear-gradient(160deg, rgba(240, 195, 90, 0.18), transparent 55%),
    var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
  min-height: 520px;
  min-width: 0;
  max-width: 100%;
  padding: 28px;
}

.sheet-top,
.rank-row,
.finding-strip {
  border: 1px solid var(--line);
  border-radius: 8px;
}

.sheet-top {
  align-items: center;
  background: var(--ink);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  padding: 18px;
}

.sheet-top span,
.query-block span,
.checkout-panel span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 780;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.sheet-top span {
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.query-block {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
  padding: 20px;
}

.query-block p {
  font-size: 22px;
  font-weight: 780;
  line-height: 1.22;
  margin-bottom: 0;
}

.rank-row {
  align-items: center;
  background: var(--white);
  display: grid;
  gap: 12px;
  grid-template-columns: 34px 1fr 76px;
  min-width: 0;
  padding: 16px;
}

.rank-row span {
  align-items: center;
  background: #eaf0ed;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  height: 34px;
  justify-content: center;
}

.rank-row p {
  font-weight: 760;
  min-width: 0;
  margin-bottom: 0;
}

.rank-row i {
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 999px;
  display: block;
  height: 12px;
}

.rank-row.muted i {
  background: linear-gradient(90deg, var(--clay), var(--yellow));
}

.finding-strip {
  background: #f2f5f0;
  padding: 18px;
}

.finding-strip p {
  color: var(--muted);
  margin-bottom: 0;
}

.split-band,
.pricing-band {
  align-items: start;
  background: var(--ink);
  color: var(--white);
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  padding: 72px 6vw;
}

.split-band .eyebrow,
.pricing-band .eyebrow {
  color: #a9d8c9;
}

.split-band p,
.pricing-band p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.section,
.page {
  padding: 72px 6vw;
}

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

.feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 30px;
}

.feature-grid article,
.checkout-panel,
.side-note,
.contact-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.feature-grid p,
.checkout-panel p,
.side-note p,
.contact-grid p,
.policy-layout article p,
.policy-layout article li {
  color: var(--muted);
}

.pricing-band {
  background: #edf3ef;
  color: var(--ink);
}

.pricing-band .eyebrow {
  color: var(--green);
}

.pricing-band p {
  color: var(--muted);
}

.checkout-panel {
  box-shadow: var(--shadow);
}

.compact {
  padding-top: 56px;
}

.policy-links {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 28px;
}

.policy-links a {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 760;
  min-height: 72px;
  padding: 18px;
}

.page {
  min-height: calc(100vh - 72px);
}

.page-hero {
  max-width: 860px;
  padding: 24px 0 40px;
}

.page-hero h1 {
  font-size: clamp(40px, 6vw, 68px);
}

.policy-layout {
  align-items: start;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1fr) 320px;
}

.policy-layout article {
  max-width: 860px;
}

.policy-layout article h2 {
  font-size: 26px;
  line-height: 1.15;
  margin-top: 34px;
}

.policy-layout article h2:first-child {
  margin-top: 0;
}

.policy-layout article a,
.contact-grid a,
.site-footer a {
  color: var(--blue);
  font-weight: 760;
}

.policy-layout ul {
  padding-left: 22px;
}

.side-note {
  position: sticky;
  top: 96px;
}

.side-note strong {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
}

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

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 28px 6vw;
}

.site-footer p {
  color: var(--muted);
  margin: 4px 0 0;
}

@media (max-width: 1020px) {
  .hero,
  .split-band,
  .pricing-band,
  .policy-layout {
    grid-template-columns: 1fr;
  }

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

  .side-note {
    position: static;
  }
}

@media (max-width: 700px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 20px;
    position: static;
  }

  nav {
    justify-content: flex-start;
  }

  .hero,
  .section,
  .page,
  .split-band,
  .pricing-band {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  h1,
  .page-hero h1 {
    font-size: clamp(34px, 10vw, 42px);
    line-height: 1.04;
  }

  .lead {
    font-size: 18px;
    max-width: 100%;
  }

  .hero-copy,
  .report-visual {
    width: 100%;
  }

  .report-sheet {
    min-height: auto;
    overflow: hidden;
    padding: 18px;
    width: 100%;
  }

  .sheet-top {
    flex-wrap: wrap;
    gap: 10px;
  }

  .query-block p {
    font-size: 20px;
  }

  .feature-grid,
  .policy-links,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .rank-row {
    grid-template-columns: 34px 1fr;
  }

  .rank-row i {
    grid-column: 1 / -1;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-left: 20px;
    padding-right: 20px;
  }
}
