:root {
  --ink: #171512;
  --muted: #655f56;
  --soft: #f7f3eb;
  --paper: #fffaf2;
  --line: #e5dacb;
  --green: #163f35;
  --blue: #172b4d;
  --gold: #c6a15b;
  --coral: #bd6046;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(23, 21, 18, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Calibri, "Songti SC", SimSun, "STSong", "Noto Serif CJK SC", serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(255, 250, 242, 0.9);
  border-bottom: 1px solid rgba(229, 218, 203, 0.72);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links,
.hero-actions,
.choice-grid,
.loop-track {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: 178px;
  height: auto;
}

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

.nav-links a:hover {
  color: var(--ink);
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 720;
  white-space: nowrap;
}

.header-cta,
.primary-button {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 12px 28px rgba(22, 63, 53, 0.18);
}

.header-cta {
  padding: 0 18px;
  font-size: 14px;
}

.primary-button,
.secondary-button {
  padding: 0 22px;
  font-size: 15px;
}

.secondary-button {
  color: var(--green);
  background: rgba(22, 63, 53, 0.08);
  border: 1px solid rgba(22, 63, 53, 0.18);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(48px, 8vw, 104px) clamp(20px, 5vw, 64px) 72px;
  overflow: hidden;
  background: #f3eadc;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.99) 0%, rgba(255, 250, 242, 0.97) 36%, rgba(255, 250, 242, 0.7) 50%, rgba(255, 250, 242, 0.06) 66%),
    radial-gradient(circle at 18% 52%, rgba(255, 250, 242, 0.72), transparent 32%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  transform: scale(1.02);
}

.eyebrow,
.section-kicker,
.finder-label,
.recommendation-kicker {
  margin: 0;
  color: var(--coral);
  font-size: 16px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: none;
}

.section-kicker {
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.25;
}

.section-kicker span,
.section-kicker small {
  display: block;
}

.section-kicker small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72em;
}

.eyebrow {
  color: #9f5b50;
  font-size: clamp(22px, 2.35vw, 30px);
  line-height: 1.35;
}

.hero h1 {
  max-width: 680px;
  margin: 18px 0 0;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 700;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: min(620px, 42vw);
}

.hero-text {
  max-width: 520px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.75;
}

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

.solution-finder {
  padding: clamp(22px, 3.4vw, 34px);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(229, 218, 203, 0.9);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.compact-finder {
  padding: 18px;
  box-shadow: 0 14px 34px rgba(23, 21, 18, 0.07);
}

.business-picker {
  padding: 34px clamp(20px, 5vw, 64px) clamp(56px, 7vw, 92px);
  background:
    radial-gradient(circle at 80% 10%, rgba(198, 161, 91, 0.14), transparent 30%),
    var(--paper);
}

.business-picker .solution-finder {
  max-width: 1080px;
  margin: 0 auto;
}

.compact-finder .recommendation {
  display: block;
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 10px;
}

.compact-finder .recommendation strong {
  font-size: 22px;
}

.compact-finder .recommendation p {
  font-size: 16px;
  line-height: 1.55;
}

.compact-finder .choice-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.compact-finder .choice {
  min-height: 42px;
  font-size: 15px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.choice {
  min-height: 50px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 720;
}

.choice:hover,
.choice.is-active {
  color: var(--paper);
  background: var(--blue);
  border-color: var(--blue);
}

.recommendation {
  margin-top: 20px;
  padding: 22px;
  background: var(--green);
  border-radius: 12px;
  color: var(--paper);
}

.recommendation-kicker {
  display: block;
  color: var(--gold);
}

.recommendation strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
}

.recommendation p {
  margin: 10px 0 0;
  color: rgba(255, 250, 242, 0.78);
  line-height: 1.65;
}

.problem-section,
.section,
.loop-section,
.closing-cta {
  padding: clamp(56px, 7vw, 96px) clamp(20px, 5vw, 64px);
}

.problem-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
  background: var(--ink);
  color: var(--paper);
}

.problem-section h2,
.section-heading h2,
.loop-section h2,
.closing-cta h2 {
  margin: 12px 0 0;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.16;
  letter-spacing: 0;
  font-weight: 700;
}

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

.contrast-card {
  min-height: 300px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 12px;
}

.contrast-card span {
  display: block;
  color: var(--gold);
  font-size: 25px;
  font-weight: 780;
}

.contrast-card ul {
  display: grid;
  gap: 18px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.contrast-card li {
  color: var(--paper);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.28;
}

.muted-card {
  background: rgba(255, 250, 242, 0.08);
  border: 1px solid rgba(255, 250, 242, 0.13);
}

.accent-card {
  background: var(--green);
  border: 1px solid rgba(198, 161, 91, 0.4);
}

.problem-grid p,
.solution-card p,
.fit-grid p {
  margin: 0;
  color: inherit;
  line-height: 1.7;
}

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

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

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

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

.solution-card,
.fit-grid article {
  min-height: 220px;
  padding: clamp(24px, 3.2vw, 36px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 38px rgba(23, 21, 18, 0.06);
}

.solution-card h3,
.fit-grid h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.18;
}

.solution-card h3 span,
.solution-card h3 small,
.fit-grid h3 span,
.fit-grid h3 small {
  display: block;
}

.solution-card h3 span {
  font-size: 30px;
  line-height: 1.16;
}

.solution-card h3 small,
.fit-grid h3 small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

.fit-grid h3 span {
  font-size: 30px;
  line-height: 1.16;
}

.solution-card p,
.fit-grid p {
  color: var(--muted);
}

.loop-section {
  background: var(--soft);
}

.loop-section h2 {
  max-width: 820px;
}

.loop-track {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.loop-track span {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 0 18px;
  color: var(--green);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 720;
}

.fit-section {
  background: var(--paper);
}

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

.fit-grid article {
  min-height: 170px;
}

.closing-cta {
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 80% 12%, rgba(198, 161, 91, 0.22), transparent 28%),
    linear-gradient(135deg, #fffaf2 0%, #f3eadc 52%, #edf4ef 100%);
  color: var(--ink);
}

.closing-cta h2 {
  margin-bottom: 28px;
}

.closing-cta .primary-button {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 12px 28px rgba(22, 63, 53, 0.18);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  padding: 18px 20px;
  color: rgba(255, 250, 242, 0.72);
  background: var(--ink);
  font-size: 13px;
}

.site-footer a {
  color: inherit;
}

.site-footer a:hover {
  color: var(--paper);
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .problem-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 680px) {
  .site-header {
    padding: 14px 16px;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .problem-section,
  .section,
  .loop-section,
  .closing-cta,
  .business-picker {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    gap: 24px;
    padding-top: 34px;
    padding-bottom: 44px;
    min-height: 720px;
    align-items: flex-start;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(255, 250, 242, 0.98) 0%, rgba(255, 250, 242, 0.94) 44%, rgba(255, 250, 242, 0.3) 70%, rgba(255, 250, 242, 0.04) 100%);
  }

  .hero-bg {
    object-position: center bottom;
  }

  .hero-copy {
    max-width: none;
  }

  .hero h1 {
    max-width: 100%;
  }

  .hero h1 {
    margin-top: 12px;
    font-size: 34px;
    line-height: 1.08;
  }

  .eyebrow {
    font-size: 25px;
    overflow-wrap: anywhere;
  }

  .section-kicker {
    font-size: 22px;
  }

  .problem-section h2 {
    font-size: 35px;
    line-height: 1.18;
  }

  .hero-text {
    max-width: 340px;
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.62;
  }

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

  .hero-actions .primary-button,
  .hero-actions .secondary-button {
    width: auto;
    padding: 0 12px;
  }

  .choice-grid,
  .solution-grid,
  .contrast-grid,
  .fit-grid {
    grid-template-columns: 1fr;
  }

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

  .solution-card,
  .fit-grid article {
    min-height: auto;
  }

  .solution-card h3,
  .fit-grid h3 {
    margin-top: 28px;
  }

  .solution-card h3 span {
    font-size: 32px;
  }

  .fit-grid h3 span {
    font-size: 32px;
  }

  .solution-card h3 small,
  .fit-grid h3 small {
    font-size: 18px;
  }

  .contrast-card {
    min-height: auto;
  }

  .contrast-card li {
    font-size: 27px;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }
}
