:root {
  --bg: #f6f3ed;
  --paper: #fffaf1;
  --ink: #171613;
  --muted: #625d52;
  --line: rgba(45, 37, 25, 0.14);
  --accent: #8a5a12;
  --accent-2: #4f7c72;
  --accent-dark: #2c2214;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #fff9ee 0%, var(--bg) 42%, #ece7dc 100%);
  color: var(--ink);
  font: 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(246, 243, 237, 0.9);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
}

.brand img {
  width: 36px;
  height: 36px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

main,
.site-header {
  width: 100%;
}

.hero,
.section,
.links,
.cta {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: center;
  gap: 44px;
  min-height: 78vh;
  padding: 72px 0 44px;
}

.hero-copy {
  display: grid;
  gap: 18px;
}

.hero h1,
.section h2,
.cta h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.03;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(42px, 7vw, 86px);
}

.hero p {
  max-width: 690px;
  color: var(--muted);
  font-size: 20px;
}

.hero-summary {
  max-width: 720px;
  margin: 0;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-points li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.82);
  padding: 12px 14px;
  color: var(--muted);
  font-size: 15px;
}

.hero-points strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 15px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.button,
.links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--accent-dark);
  color: #fff;
  font-weight: 800;
}

.button.small {
  min-height: 38px;
}

.button.ghost,
.links a {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.hero-media {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 250, 241, 0.96), rgba(245, 238, 226, 0.96));
  box-shadow: 0 28px 80px rgba(45, 37, 25, 0.14);
  padding: 24px;
}

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

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-card-label {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(44, 34, 20, 0.08);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-card-score {
  color: var(--muted);
  font-size: 14px;
}

.hero-card h3 {
  margin: 0;
  font-size: 28px;
}

.hero-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

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

.hero-card-grid article {
  padding: 14px;
}

.hero-card-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-card-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hero-card-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 700;
}

.links {
  padding: 0 0 44px;
}

.section {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

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

.section h2,
.cta h2 {
  font-size: clamp(30px, 4vw, 52px);
}

.section-heading p,
.split p,
.cards p,
.steps p,
.faq p,
.cta p {
  color: var(--muted);
}

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

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

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

article,
details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.78);
  padding: 18px;
}

article img {
  width: 100%;
  height: 190px;
  margin-bottom: 16px;
  border-radius: 6px;
  object-fit: cover;
  background: #fff;
}

h3 {
  margin: 0 0 8px;
}

.comparison-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.78);
}

.comparison-row {
  display: grid;
  grid-template-columns: 0.72fr 1fr 1fr;
  border-top: 1px solid var(--line);
}

.comparison-row:first-child {
  border-top: 0;
  background: rgba(44, 34, 20, 0.08);
  font-weight: 900;
}

.comparison-row > * {
  margin: 0;
  padding: 16px;
  border-left: 1px solid var(--line);
}

.comparison-row > *:first-child {
  border-left: 0;
  font-weight: 800;
  color: var(--ink);
}

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

.prompt {
  display: grid;
  gap: 8px;
}

.prompt small,
.search-links span {
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.prompt p {
  margin: 0;
  color: var(--muted);
}

.search-links a {
  display: block;
}

.search-links strong {
  display: block;
  margin-bottom: 6px;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 30px;
}

.steps article span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--accent-2);
  color: #fff;
  font-weight: 900;
}

.faq {
  display: grid;
  gap: 12px;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

.cta {
  margin-bottom: 56px;
  padding: 38px;
  border-radius: 8px;
  background: var(--accent-dark);
  color: #fff;
}

.cta p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
}

.cta .button {
  background: #fff;
  color: var(--accent-dark);
}

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

  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .cards,
  .cards.three,
  .cards.two,
  .steps,
  .hero-points,
  .hero-card-grid,
  .hero-card-links,
  .comparison-row,
  .prompt-grid,
  .search-links {
    grid-template-columns: 1fr;
  }

  .comparison-row > * {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .comparison-row > *:first-child {
    border-top: 0;
  }

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