:root {
  --ink: #142326;
  --muted: #526266;
  --teal: #123f46;
  --teal-dark: #092d33;
  --teal-soft: #d9ebe9;
  --amber: #d89025;
  --cloud: rgba(249, 252, 251, 0.91);
  --cloud-strong: rgba(255, 255, 255, 0.96);
  --line: rgba(18, 63, 70, 0.18);
  --shadow: 0 24px 60px rgba(5, 23, 27, 0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #0c2428;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("/assets/hero.webp") center center / cover no-repeat;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 17, 21, 0.44), rgba(7, 30, 35, 0.64));
}
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: #0c6970; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
:focus-visible { outline: 3px solid #f3b449; outline-offset: 3px; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.shell { width: min(1180px, calc(100% - 36px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: white;
  background: rgba(7, 30, 35, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; color: white; text-decoration: none; }
.brand:hover { color: white; }
.brand img { width: 170px; height: auto; border-radius: 9px; background: white; }
nav { display: flex; align-items: center; gap: 25px; }
nav a { color: rgba(255,255,255,.9); text-decoration: none; font-size: .9rem; font-weight: 650; }
nav a:hover { color: white; }

.hero-section { min-height: 76vh; display: grid; align-items: center; padding: 90px 0 52px; }
.cloud-card {
  background: var(--cloud);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(15px) saturate(115%);
}
.hero-card { width: min(740px, 100%); padding: clamp(30px, 5vw, 64px); }
.eyebrow { margin: 0 0 10px; color: #176169; font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; color: #102f35; line-height: 1.08; }
h1 { max-width: 720px; margin-bottom: 22px; font-size: clamp(2.65rem, 6vw, 5.6rem); letter-spacing: -.055em; }
h2 { margin-bottom: 15px; font-size: clamp(1.85rem, 4vw, 3rem); letter-spacing: -.035em; }
h3 { margin-bottom: 9px; font-size: 1.25rem; }
.hero-copy { max-width: 650px; color: #34484c; font-size: clamp(1.03rem, 1.8vw, 1.22rem); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 27px; }
.hero-trust span { padding: 8px 12px; border-radius: 999px; background: rgba(18,63,70,.09); border: 1px solid var(--line); color: var(--teal); font-size: .8rem; font-weight: 750; }

.finder-section { scroll-margin-top: 100px; display: grid; gap: 28px; padding-bottom: 28px; }
.finder-card, .result-card, .shops-card, .reading-card { padding: clamp(24px, 4vw, 46px); }
.section-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.button { min-height: 48px; padding: 0 18px; border: 0; border-radius: 12px; font-weight: 780; transition: transform .15s ease, box-shadow .15s ease; }
.button:hover { transform: translateY(-2px); }
.button:disabled { opacity: .5; cursor: wait; transform: none; }
.button-secondary { color: white; background: var(--teal); box-shadow: 0 8px 20px rgba(18,63,70,.22); }
a.button { display: inline-flex; align-items: center; text-decoration: none; }
.search-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 15px; }
.field { display: grid; gap: 7px; }
.field > span { color: #31484d; font-size: .82rem; font-weight: 760; }
.field input, .field select {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(18,63,70,.28);
  border-radius: 12px;
  color: var(--ink);
  background: rgba(255,255,255,.88);
}
.field input::placeholder { color: #758284; }
.match-area { margin-top: 25px; }
.match-count { margin-bottom: 10px; color: var(--muted); font-size: .82rem; }
.repair-list { max-height: 420px; overflow-y: auto; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.55); }
.repair-option {
  width: 100%;
  min-height: 66px;
  display: grid;
  grid-template-columns: 55px 1fr 24px;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-align: left;
  background: transparent;
}
.repair-option:last-child { border-bottom: 0; }
.repair-option:hover, .repair-option.active { background: rgba(211,234,231,.72); }
.repair-option strong, .repair-option small { display: block; }
.repair-option strong { font-size: .94rem; }
.repair-option small { margin-top: 2px; color: var(--muted); font-size: .74rem; }
.item-number { color: #23626a; font-size: .75rem; font-weight: 800; }
.list-note, .empty-state, .status { margin: 12px 0 0; color: var(--muted); font-size: .82rem; }
.empty-state { padding: 20px; text-align: center; }
.status { padding: 22px; border-radius: 12px; background: rgba(255,255,255,.65); }
.status.error { color: #7b261e; }

.result-card { background: var(--cloud-strong); scroll-margin-top: 100px; }
.result-head { display: flex; justify-content: space-between; align-items: start; gap: 18px; }
.result-head h2 { max-width: 820px; }
.difficulty { flex: 0 0 auto; padding: 8px 13px; border-radius: 999px; color: #254149; background: #dcebea; border: 1px solid var(--line); font-size: .78rem; font-weight: 800; }
.difficulty-difficult { color: #73271f; background: #f4dcd5; }
.difficulty-moderate { color: #705014; background: #f7e8bf; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 0; }
.price-panel { min-height: 168px; display: flex; flex-direction: column; justify-content: center; padding: 25px; border-radius: 18px; color: white; background: linear-gradient(145deg, #174d55, #0b343b); }
.price-panel p { margin-bottom: 6px; color: rgba(255,255,255,.75); font-size: .8rem; font-weight: 730; }
.price-panel strong { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1; }
.price-panel span { margin-top: 10px; font-weight: 700; }
.price-panel small { margin-top: 2px; color: rgba(255,255,255,.62); }
.repair-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.repair-facts div { padding: 18px; border-right: 1px solid var(--line); background: rgba(232,243,241,.52); }
.repair-facts div:last-child { border-right: 0; }
.repair-facts dt { color: var(--muted); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.repair-facts dd { margin: 5px 0 0; color: var(--teal-dark); font-weight: 780; }
.planning-note { margin-top: 18px; padding: 18px; border-left: 4px solid var(--amber); border-radius: 0 12px 12px 0; background: #f7f1e3; }
.planning-note strong { color: #614918; }
.planning-note p { margin: 4px 0 0; }
.result-disclaimer { margin: 16px 0 0; color: var(--muted); font-size: .76rem; }
.shops-card > p { max-width: 900px; color: var(--muted); }
.shops-card .search-grid { margin-top: 20px; }
.shop-picker { display: grid; align-content: start; gap: 10px; }
.shop-link {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: 10px;
  color: white;
  background: var(--teal);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 780;
}
.shop-link:hover { color: white; background: #0c5b63; }

.content-section { padding: 28px 0; }
.reading-card { background: var(--cloud); }
.three-column { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.three-column > div { padding-top: 18px; border-top: 2px solid var(--teal); }
.three-column p { margin: 0; color: var(--muted); }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.58); }
.faq-list summary { padding: 16px 18px; color: #183e45; font-weight: 780; cursor: pointer; }
.faq-list details p { padding: 0 18px 18px; margin: 0; color: var(--muted); }

.policy-main { min-height: 70vh; padding: 88px 0 64px; }
.policy-card { max-width: 940px; margin: 0 auto; padding: clamp(28px, 6vw, 70px); background: var(--cloud-strong); }
.policy-card h1 { max-width: none; font-size: clamp(2.6rem, 6vw, 4.8rem); }
.policy-intro { max-width: 760px; color: #3c5054; font-size: 1.15rem; }
.updated { color: #687779; font-size: .78rem; }
.policy-content { margin-top: 40px; }
.policy-content h2 { margin: 38px 0 10px; font-size: 1.7rem; }
.policy-content p, .policy-content li { color: #3a4d51; }
.policy-content li + li { margin-top: 7px; }
.policy-content a { font-weight: 680; }
.article-index { min-height: 75vh; padding: 76px 0 58px; }
.article-index-head { padding: clamp(28px, 5vw, 58px); margin-bottom: 24px; }
.article-index-head h1 { max-width: 900px; font-size: clamp(2.7rem, 6vw, 5.3rem); }
.article-index-head > p:not(.eyebrow) { max-width: 800px; color: var(--muted); font-size: 1.12rem; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.article-teaser { display: flex; flex-direction: column; min-height: 315px; padding: 26px; color: var(--ink); text-decoration: none; transition: transform .16s ease; }
.article-teaser:hover { color: var(--ink); transform: translateY(-3px); }
.article-teaser .article-category { margin: 0 0 12px; color: #176169; font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.article-teaser h2 { font-size: 1.65rem; }
.article-teaser > p { color: var(--muted); font-size: .91rem; }
.article-teaser footer { display: flex; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); color: var(--teal); font-size: .76rem; font-weight: 780; }
.article-main { padding: 76px 0 58px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; }
.article-card { padding: clamp(28px, 6vw, 70px); background: var(--cloud-strong); }
.article-card h1 { max-width: 900px; font-size: clamp(2.6rem, 6vw, 4.9rem); }
.article-deck { max-width: 780px; color: #3c5054; font-size: 1.18rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 38px; padding: 13px 0; border-block: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.article-body h2 { margin: 42px 0 12px; font-size: 1.85rem; }
.article-body p, .article-body li { color: #344b50; font-size: 1.02rem; }
.article-body p { margin-bottom: 20px; }
.article-body li + li { margin-top: 9px; }
.article-promise { margin: 34px 0; padding: 24px; border-left: 5px solid var(--amber); border-radius: 0 15px 15px 0; background: #f7f1e3; }
.article-promise h2 { margin-top: 0; }
.source-list { margin-top: 42px; padding-top: 26px; border-top: 2px solid var(--line); }
.source-list h2 { font-size: 1.4rem; }
.source-list li { font-size: .86rem; }
.article-sidebar { position: sticky; top: 102px; padding: 24px; }
.article-sidebar h2 { font-size: 1.35rem; }
.article-sidebar p { color: var(--muted); font-size: .86rem; }
.article-sidebar a { display: block; margin-top: 16px; font-weight: 780; }
.article-library-link { margin: 28px 0 0; text-align: center; }
.contact-email { display: inline-block; font-size: clamp(1.2rem, 4vw, 2rem); font-weight: 800; }
.safety-callout { margin-top: 30px; padding: 22px; border: 1px solid #e4a03d; border-radius: 14px; background: #fff3da; }
.safety-callout p { margin: 5px 0 0; }

.site-footer { margin-top: 50px; padding: 58px 0 24px; color: rgba(255,255,255,.75); background: rgba(5,24,28,.95); border-top: 1px solid rgba(255,255,255,.13); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.footer-grid h2 { margin-bottom: 12px; color: white; font-family: inherit; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid a { display: block; margin: 8px 0; color: rgba(255,255,255,.73); text-decoration: none; font-size: .86rem; }
.footer-grid a:hover { color: white; }
.footer-brand { margin-bottom: 8px; color: white; font-family: Georgia, "Times New Roman", serif; font-size: 1.4rem; font-weight: 700; }
.footer-brand span { color: #f0b24c; font-family: inherit; font-size: .75rem; }
.footer-grid p { max-width: 420px; font-size: .86rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom p { max-width: 48%; margin: 0; font-size: .72rem; }

@media (max-width: 820px) {
  .header-inner { min-height: 94px; }
  nav { gap: 14px; }
  nav a:nth-child(3), nav a:nth-child(4) { display: none; }
  .hero-section { min-height: 70vh; padding-top: 60px; }
  .search-grid, .price-grid, .three-column { grid-template-columns: 1fr; }
  .repair-facts { grid-template-columns: 1fr 1fr; }
  .repair-facts div:nth-child(2) { border-right: 0; }
  .repair-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .article-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 22px, 1180px); }
  .brand img { width: 120px; height: auto; }
  nav a { font-size: .78rem; }
  nav a:last-child { display: none; }
  .hero-section { min-height: auto; padding: 48px 0 35px; }
  .cloud-card { border-radius: 20px; }
  .hero-card, .finder-card, .result-card, .shops-card, .reading-card, .policy-card { padding: 24px 19px; }
  .section-heading, .result-head { display: grid; }
  .section-heading .button { width: 100%; }
  .difficulty { justify-self: start; }
  .repair-facts { grid-template-columns: 1fr; }
  .repair-facts div { border-right: 0; border-bottom: 1px solid var(--line); }
  .repair-facts div:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .footer-bottom { display: grid; }
  .footer-bottom p { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media print {
  body::before, body::after, .site-header, .site-footer, .repair-list, .shops-card { display: none; }
  body { background: white; }
  .cloud-card { box-shadow: none; border: 1px solid #aaa; backdrop-filter: none; }
}

.static-finder-status{margin:12px 0;color:var(--muted);font-size:.82rem}.static-hidden{display:none!important}