:root {
  --ink: #17130f;
  --paper: #f8f3e7;
  --paper-deep: #eadfc7;
  --line: rgba(23, 19, 15, 0.16);
  --blue: #1267ff;
  --green: #1f9d73;
  --red: #e64b38;
  --violet: #6b45c6;
  --shadow: 0 24px 80px rgba(34, 28, 20, 0.18);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(23, 19, 15, 0.035) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(0deg, rgba(23, 19, 15, 0.035) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--paper);
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 60px);
  border-bottom: 1px solid var(--line);
  background: rgba(248, 243, 231, 0.84);
  backdrop-filter: blur(18px);
}

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

.brand img {
  border-radius: 8px;
}

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

nav a,
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 750;
  font-size: 14px;
}

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

.nav-cta,
.button.primary {
  background: var(--ink);
  color: white;
}

.button.ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.44);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(248, 243, 231, 0.94), rgba(248, 243, 231, 0.72) 48%, rgba(248, 243, 231, 0.22)),
    linear-gradient(0deg, rgba(248, 243, 231, 0.96), transparent 44%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.1) contrast(1.02);
}

.hero-grid {
  position: relative;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 120px 0 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
}

.hero-copy,
.hero-copy *,
.signal-panel,
.signal-panel * {
  min-width: 0;
  overflow-wrap: anywhere;
}

.eyebrow,
.kicker,
.panel-label {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 12px;
  font-weight: 900;
  color: var(--red);
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(58px, 11vw, 156px);
  line-height: 0.86;
  letter-spacing: 0;
  max-width: 960px;
}

.lead {
  max-width: 720px;
  font-size: clamp(20px, 3vw, 34px);
  line-height: 1.12;
  font-weight: 760;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.signal-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.signal-panel p:last-child {
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.42;
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.fact-strip article {
  min-height: 280px;
  padding: clamp(22px, 4vw, 38px);
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.26);
}

.fact-strip article:nth-child(2) {
  background: rgba(18, 103, 255, 0.09);
}

.fact-strip article:nth-child(3) {
  background: rgba(31, 157, 115, 0.10);
}

.fact-strip article:nth-child(4) {
  background: rgba(230, 75, 56, 0.09);
  border-right: 0;
}

.fact-strip span {
  display: block;
  margin-bottom: 28px;
  font-size: 13px;
  font-weight: 900;
}

.fact-strip h2,
.pricing-section h2,
.matrix h2,
.faq h2,
.sources h2 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
}

.fact-strip p,
.feature-grid p,
.link-grid span,
.pricing-grid p,
.geo-intro p,
.answer-cards p,
.faq p,
.sources li,
.matrix span {
  line-height: 1.62;
}

.split-section,
.link-section,
.pricing-section,
.geo-section,
.faq,
.sources,
.matrix {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(70px, 10vw, 130px) 0;
}

.split-section {
  display: block;
}

.split-section h2,
.geo-intro h2 {
  font-size: clamp(38px, 6vw, 82px);
  line-height: 0.96;
}

.split-section h2 {
  max-width: 900px;
  margin-bottom: clamp(28px, 5vw, 58px);
}

.feature-grid,
.answer-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article,
.answer-cards article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.45);
}

.feature-grid h3,
.answer-cards h3 {
  font-size: 23px;
  margin-bottom: 10px;
}

.link-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 84px);
  border-top: 1px solid var(--line);
}

.link-section h2 {
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.98;
}

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

.link-grid a,
.pricing-grid article {
  display: block;
  min-height: 156px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.48);
  text-decoration: none;
}

.link-grid strong,
.link-grid span {
  display: block;
}

.link-grid strong {
  margin-bottom: 12px;
  font-size: 23px;
}

.pricing-section {
  padding-top: clamp(70px, 10vw, 120px);
}

.price-name {
  margin-bottom: 8px;
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
}

.price {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.95;
  font-weight: 950;
}

.pricing-note {
  max-width: 820px;
  margin-top: 20px;
  line-height: 1.6;
}

.quote-section {
  padding: clamp(70px, 10vw, 130px) 18px;
  background: var(--ink);
  color: var(--paper);
}

.quote-frame {
  width: min(980px, 100%);
  margin: 0 auto;
}

blockquote {
  margin: 0;
  font-size: clamp(30px, 5vw, 68px);
  line-height: 1.02;
  font-weight: 900;
}

.source-note {
  margin-top: 28px;
  color: rgba(248, 243, 231, 0.72);
}

.geo-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 84px);
}

.answer-cards {
  grid-template-columns: 1fr;
}

.matrix {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.matrix-grid div {
  min-height: 150px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.46);
}

.matrix-grid strong,
.matrix-grid span {
  display: block;
}

.matrix-grid strong {
  font-size: 24px;
  margin-bottom: 12px;
}

.faq {
  padding-top: 0;
}

details {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 900;
}

details p {
  max-width: 820px;
  margin: 18px 0 0;
}

.sources {
  padding-top: 0;
}

.sources ul {
  padding-left: 20px;
}

.sources li {
  margin-bottom: 12px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(18px, 4vw, 60px);
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero-grid,
  .split-section,
  .geo-section,
  .signal-panel {
    max-width: 620px;
  }

  .fact-strip,
  .feature-grid,
  .matrix-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .link-section,
  .link-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: static;
  }

  nav a {
    padding-inline: 10px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-grid {
    width: 100%;
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 56px;
  }

  .hero-copy,
  .signal-panel {
    width: min(340px, calc(100vw - 28px));
    max-width: 100%;
  }

  h1 {
    font-size: clamp(44px, 15vw, 58px);
    line-height: 0.92;
  }

  .lead {
    font-size: 20px;
    line-height: 1.15;
    max-width: 26ch;
  }

  .eyebrow {
    max-width: 100%;
    font-size: 11px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .signal-panel {
    padding: 20px;
  }

  .signal-panel p:last-child {
    font-size: 17px;
  }

  .fact-strip,
  .feature-grid,
  .link-grid,
  .pricing-grid,
  .matrix-grid {
    grid-template-columns: 1fr;
  }

  .fact-strip article {
    min-height: 210px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  blockquote {
    font-size: 32px;
  }

  .site-footer {
    flex-direction: column;
  }
}
