:root {
  --ink: #211812;
  --muted: #6f6259;
  --cream: #fff1de;
  --paper: #fffdf9;
  --espresso: #4d2c1d;
  --copper: #f05d2f;
  --sage: #0c7c78;
  --yellow: #f6c64a;
  --aqua: #53c8c1;
  --line: #ebd4c1;
  --shadow: 0 24px 65px rgba(88, 47, 24, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(77, 44, 29, .08);
  background: rgba(255, 253, 249, .9);
  backdrop-filter: blur(14px);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 850; letter-spacing: -.04em; font-size: 22px; }
.logo-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 12px; color: white; background: linear-gradient(135deg, var(--copper), #ff9747); font-size: 16px; box-shadow: 0 7px 18px rgba(240,93,47,.3); transform: rotate(-5deg); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { text-decoration: none; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-cta, .primary-button, .secondary-button {
  border: 0;
  border-radius: 999px;
  padding: 13px 19px;
  font-weight: 760;
}
.nav-cta, .primary-button { color: white; background: linear-gradient(135deg, var(--copper), #ff8440); box-shadow: 0 10px 24px rgba(240,93,47,.25); }
.nav-cta:hover, .primary-button:hover { background: linear-gradient(135deg, #d94c24, #f56f2a); transform: translateY(-1px); }
.secondary-button { color: var(--espresso); background: transparent; border: 1px solid #bca99a; }
.secondary-button:hover { background: rgba(255,255,255,.55); }

.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 12% 16%, rgba(246,198,74,.38), transparent 28%), radial-gradient(circle at 88% 82%, rgba(83,200,193,.34), transparent 30%), linear-gradient(135deg, #fff7e9, #ffe1c7); border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; left: -75px; bottom: -125px; width: 270px; height: 270px; border-radius: 50%; background: var(--copper); opacity: .1; }
.hero-grid { min-height: 670px; display: grid; grid-template-columns: .93fr 1.07fr; align-items: center; gap: 58px; padding-block: 72px; }
.eyebrow { margin: 0 0 18px; color: var(--copper); font-size: 12px; font-weight: 850; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: Georgia, "Times New Roman", serif; line-height: 1.03; letter-spacing: -.035em; }
h1 { max-width: 720px; margin-bottom: 25px; font-size: clamp(50px, 6.3vw, 86px); font-weight: 540; }
h1 em { color: var(--copper); font-weight: inherit; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 10px; text-underline-offset: -4px; text-decoration-skip-ink: none; }
.hero-copy { max-width: 600px; margin: 0 0 32px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 36px; color: var(--muted); font-size: 13px; }
.trust-row span::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 7px; border-radius: 50%; color: white; background: var(--sage); font-weight: 900; font-size: 11px; }

.hero-photo-wrap { position: relative; min-height: 500px; }
.hero-photo-wrap::before { content: ""; position: absolute; inset: 26px -18px -18px 28px; border-radius: 36px; background: var(--aqua); transform: rotate(2.5deg); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 7px solid white; border-radius: 34px; box-shadow: 0 30px 70px rgba(77,44,29,.22); }
.hero-photo-badge { position: absolute; z-index: 2; left: -18px; top: 28px; display: flex; align-items: center; gap: 9px; padding: 11px 16px; border-radius: 999px; color: white; background: var(--sage); box-shadow: 0 10px 28px rgba(12,124,120,.3); font-weight: 800; font-size: 13px; }
.hero-photo-badge span { width: 9px; height: 9px; border-radius: 50%; background: #b7ffad; box-shadow: 0 0 0 5px rgba(183,255,173,.16); }
.hero-photo-note { position: absolute; z-index: 2; right: -22px; bottom: 27px; width: min(280px, 66%); padding: 18px 20px; border-radius: 18px; background: white; box-shadow: 0 18px 45px rgba(77,44,29,.2); }
.hero-photo-note strong, .hero-photo-note span { display: block; }
.hero-photo-note strong { margin-bottom: 3px; color: var(--copper); font-size: 14px; }
.hero-photo-note span { color: var(--muted); font-size: 12px; }

.stats { margin-top: -1px; color: white; background: linear-gradient(100deg, #075f5c, #0b8580); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 32px 24px; border-right: 1px solid rgba(255,255,255,.15); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; margin-bottom: 5px; color: #fff2a8; font-family: Georgia, serif; font-size: 30px; font-weight: 500; }
.stat span { color: rgba(255,255,255,.67); font-size: 13px; }

.brands { padding-block: 105px; background: linear-gradient(180deg, var(--paper), #fff7eb); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head h2, .process h2, .problems h2 { margin-bottom: 18px; font-size: clamp(38px, 5vw, 61px); font-weight: 520; }
.section-head p, .process-intro, .problems-intro { color: var(--muted); font-size: 17px; }
.search-wrap { position: relative; margin: 34px 0 45px; }
.search-wrap input { width: 100%; padding: 19px 130px 19px 54px; border: 1px solid var(--line); border-radius: 18px; outline: none; background: #fff; box-shadow: 0 12px 35px rgba(65, 40, 27, .07); }
.search-wrap input:focus { border-color: var(--copper); box-shadow: 0 0 0 4px rgba(240,93,47,.12); }
.search-icon { position: absolute; left: 20px; top: 50%; translate: 0 -50%; color: var(--copper); font-size: 20px; }
#clear-search { position: absolute; right: 14px; top: 50%; translate: 0 -50%; border: 0; padding: 8px 12px; color: var(--muted); background: transparent; }
.brand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.brand-card { min-height: 390px; overflow: hidden; border: 1px solid var(--line); border-radius: 25px; background: white; box-shadow: 0 12px 35px rgba(88,47,24,.07); transition: transform .2s ease, box-shadow .2s ease; }
.brand-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.brand-card[hidden], .model-list li[hidden] { display: none; }
.brand-photo { position: relative; aspect-ratio: 4 / 1.16; overflow: hidden; background: #fff1df; }
.brand-photo::after { content: ""; position: absolute; inset: auto 0 0; height: 50%; background: linear-gradient(transparent, rgba(255,255,255,.3)); pointer-events: none; }
.brand-photo img { display: block; width: 100%; height: auto; }
.brand-body { padding: 25px 27px 28px; }
.brand-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.brand-card h3 { margin: 0; font-size: 31px; font-weight: 560; }
.brand-count { flex: 0 0 auto; padding: 6px 10px; border-radius: 999px; color: #a83a1b; background: #ffe0c9; font-size: 11px; font-weight: 800; }
.brand-card:nth-child(3n+2) .brand-count { color: #07635f; background: #d6f5ee; }
.brand-card:nth-child(3n+3) .brand-count { color: #735700; background: #fff0ad; }
.model-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px 10px; margin: 0; padding: 0; list-style: none; color: var(--ink); font-size: 12px; }
.model-list li { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 650; line-height: 1.2; }
.model-thumb { flex: 0 0 46px; width: 46px; height: 46px; border: 2px solid white; border-radius: 12px; background-repeat: no-repeat; background-size: 400% 300%; box-shadow: 0 5px 15px rgba(60,32,20,.14); }
.empty-state { padding: 50px; text-align: center; border: 1px dashed var(--line); border-radius: 20px; color: var(--muted); }

.problems { padding-block: 96px; background: linear-gradient(135deg, #ffe0c3, #fff0b6 52%, #d7f3ed); }
.problems-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 68px; align-items: start; }
.problems-heading { position: sticky; top: 110px; }
.problem-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.problem { position: relative; overflow: hidden; padding: 24px; border: 1px solid rgba(255,255,255,.85); border-radius: 20px; background: rgba(255,255,255,.78); box-shadow: 0 12px 30px rgba(91,49,25,.08); }
.problem::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--copper), #ffb31a); }
.problem:nth-child(even)::before { background: linear-gradient(90deg, var(--sage), #44bca8); }
.problem-number { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 27px; margin-bottom: 17px; border-radius: 999px; background: #fff0df; color: var(--copper); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.problem:nth-child(even) .problem-number { background: #dff6f0; color: #1d7667; }
.problem h3 { margin: 0 0 9px; font-size: 18px; line-height: 1.2; }
.problem-cause { min-height: 66px; margin: 0 0 17px; color: var(--muted); font-size: 13px; }
.problem-fix { padding: 14px 15px; border-radius: 13px; background: rgba(255,225,194,.65); }
.problem:nth-child(even) .problem-fix { background: rgba(208,241,233,.72); }
.problem-fix strong { display: block; margin-bottom: 5px; color: var(--ink); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.problem-fix span { display: block; color: var(--muted); font-size: 12px; line-height: 1.55; }

.process { padding-block: 105px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; counter-reset: steps; }
.step { position: relative; min-height: 220px; padding: 27px; border-top: 4px solid var(--copper); border-radius: 0 0 18px 18px; background: var(--cream); counter-increment: steps; }
.step:nth-child(even) { border-top-color: var(--sage); background: #e8f8f3; }
.step::before { content: "0" counter(steps); display: block; margin-bottom: 35px; color: var(--copper); font-family: Georgia, serif; font-size: 26px; }
.step h3 { margin-bottom: 10px; font-family: inherit; font-size: 17px; letter-spacing: -.01em; }
.step p { margin: 0; color: var(--muted); font-size: 13px; }

.cta { padding-block: 46px 95px; }
.cta-card { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 55px; border-radius: 28px; color: white; background: linear-gradient(120deg, var(--copper), #ff8a3d 50%, #0b8580 50%, #075f5c); overflow: hidden; }
.cta-card h2 { margin-bottom: 13px; font-size: clamp(34px, 4vw, 54px); font-weight: 520; }
.cta-card p { max-width: 640px; margin: 0; color: rgba(255,255,255,.68); }
.cta-card .primary-button { color: var(--espresso); background: #f8e7d0; box-shadow: none; }

.site-footer { padding-block: 32px; border-top: 1px solid var(--line); }
.footer-row { display: flex; justify-content: space-between; gap: 24px; color: var(--muted); font-size: 12px; }
.footer-row p { margin: 0; }

@media (max-width: 900px) {
  .nav-links a { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 55px; gap: 25px; }
  .hero-photo-wrap { min-height: 470px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.15); }
  .brand-grid { grid-template-columns: 1fr; }
  .problems-grid { grid-template-columns: 1fr; gap: 35px; }
  .problems-heading { position: static; }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 28px, 1160px); }
  .nav { min-height: 64px; }
  .logo { font-size: 19px; }
  .nav-cta { padding: 10px 13px; font-size: 12px; }
  .hero-grid { min-height: auto; padding-block: 50px 44px; }
  h1 { font-size: 46px; }
  .hero-copy { font-size: 16px; }
  .hero-photo-wrap { min-height: 360px; margin-top: 12px; }
  .hero-photo-note { right: 8px; bottom: 12px; }
  .hero-photo-badge { left: 8px; top: 14px; }
  .stats-grid, .brand-grid, .problem-list, .steps { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .brands, .process, .problems { padding-block: 72px; }
  .section-head h2, .process h2, .problems h2 { font-size: 39px; }
  .search-wrap input { padding-right: 95px; }
  .brand-body { padding: 22px 18px 24px; }
  .model-list { grid-template-columns: 1fr 1fr; gap: 12px 8px; }
  .model-thumb { flex-basis: 42px; width: 42px; height: 42px; }
  .cta-card { grid-template-columns: 1fr; padding: 35px 26px; }
  .footer-row { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
