:root {
  --bg: #070a0c;
  --surface: #0f1418;
  --surface-2: #151c21;
  --surface-3: #1a2329;
  --text: #f3f7f5;
  --muted: #a8b4b8;
  --line: #2b373d;
  --green: #20b978;
  --green-strong: #0f8f59;
  --blue: #52a9e8;
  --gold: #f0b34d;
  --danger: #f07a72;
  --max: 1180px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.reading-progress { position: fixed; inset: 0 0 auto; z-index: 80; height: 3px; background: transparent; }
.reading-progress span { display: block; width: 0; height: 100%; background: var(--green); transition: width 120ms linear; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 10, 12, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-size: 16px; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: 12px; }
.header-actions { display: flex; align-items: center; gap: 10px; }

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--green);
  color: #04110b;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: #43ce91; }
.button:disabled { opacity: 0.58; cursor: wait; }
.button-secondary { background: transparent; border-color: var(--line); color: var(--text); }
.button-secondary:hover { background: var(--surface-2); border-color: #52636b; }
.button-small { min-height: 40px; padding: 8px 13px; font-size: 14px; }
.button svg { width: 18px; height: 18px; }

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: #090d10; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #090d10 0%, rgba(9, 13, 16, 0.98) 38%, rgba(9, 13, 16, 0.68) 68%, rgba(9, 13, 16, 0.28) 100%);
  pointer-events: none;
}
.hero-grid {
  min-height: min(650px, calc(100vh - 112px));
  display: flex;
  align-items: center;
  padding: 30px 0 26px;
}
.hero-grid > div { position: relative; z-index: 2; width: min(680px, 62%); }
.eyebrow { margin: 0 0 14px; color: var(--green); font-size: 13px; font-weight: 850; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 14px; font-size: clamp(40px, 4.5vw, 54px); line-height: 1.02; letter-spacing: 0; }
h2 { margin-bottom: 16px; font-size: clamp(30px, 4vw, 45px); line-height: 1.1; letter-spacing: 0; }
h3 { margin-bottom: 10px; font-size: 21px; line-height: 1.25; letter-spacing: 0; }
.lead { max-width: 730px; color: #c2cdd0; font-size: clamp(18px, 1.7vw, 20px); }
.direct-answer { margin: 15px 0 0; padding: 10px 0 10px 18px; border-left: 4px solid var(--green); color: var(--text); font-size: 15px; font-weight: 650; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero-media { position: absolute; inset: 0 0 0 43%; z-index: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.media-note { position: absolute; right: 18px; bottom: 18px; left: 18px; padding: 12px 14px; background: rgba(7, 10, 12, 0.9); border: 1px solid rgba(255, 255, 255, 0.16); color: #d9e2e4; font-size: 13px; }

.answer-strip { border-bottom: 1px solid var(--line); background: var(--surface); }
.answer-strip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.answer-stat { min-height: 124px; padding: 25px 28px; border-right: 1px solid var(--line); }
.answer-stat:first-child { border-left: 1px solid var(--line); }
.answer-stat span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.answer-stat strong { display: block; font-size: 19px; line-height: 1.35; }

.page-band { border-bottom: 1px solid var(--line); }
.page-band:nth-of-type(even) { background: #0a0f12; }
.answer-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 64px; padding: 72px 0; }
.contents { position: sticky; top: 104px; align-self: start; }
.contents p { margin-bottom: 13px; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.contents nav { display: grid; }
.contents a { padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; text-decoration: none; }
.contents a:hover, .contents a[aria-current="true"] { color: var(--green); }
.answer-content { min-width: 0; }
.section-intro { max-width: 760px; color: var(--muted); font-size: 18px; }

.service-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.service-option { padding-top: 20px; border-top: 3px solid var(--green); }
.service-option:nth-child(2) { border-color: var(--blue); }
.service-option:nth-child(3) { border-color: var(--gold); }
.service-option p { color: var(--muted); }
.related-link { display: block; color: var(--text); text-decoration: none; }
.related-link strong { color: var(--green); font-size: 14px; }
.related-link:hover h3 { color: var(--green); }

.included-list { display: grid; gap: 0; margin: 30px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.included-list li { display: grid; grid-template-columns: 42px 1fr; gap: 15px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.included-list .number { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #35634e; color: var(--green); font-size: 13px; font-weight: 900; }
.included-list p { margin: 4px 0 0; color: var(--muted); }

.comparison { margin-top: 30px; border: 1px solid var(--line); overflow: hidden; }
.comparison-row { display: grid; grid-template-columns: 0.8fr 1fr 1fr; }
.comparison-row > * { padding: 16px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.comparison-row > *:last-child { border-right: 0; }
.comparison-row:last-child > * { border-bottom: 0; }
.comparison-head { background: var(--surface-3); color: var(--text); font-size: 13px; font-weight: 850; }
.comparison-label { color: var(--text); font-weight: 750; }
.comparison-value { color: var(--muted); }
.comparison-strong { color: #e7f7ed; font-weight: 720; }

.boundary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 30px; }
.boundary { padding: 24px 0 0; border-top: 3px solid var(--green); }
.boundary.repair { border-color: var(--danger); }
.boundary ul { margin: 18px 0 0; padding-left: 21px; color: var(--muted); }
.boundary li { margin: 9px 0; }

.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 34px; margin-top: 26px; }
.check-item { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.check-item svg { width: 20px; color: var(--green); }
.check-item p { margin: 4px 0 0; color: var(--muted); }

.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.proof-figure { margin: 0; min-width: 0; }
.proof-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface); }
.proof-figure figcaption { padding: 11px 0 0; color: var(--muted); font-size: 13px; }
.proof-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.proof-point { padding-top: 18px; border-top: 1px solid var(--line); }
.proof-point p { color: var(--muted); }

.options-area { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr); gap: 50px; align-items: start; }
.options-panel { padding: 28px; background: var(--surface-2); border: 1px solid var(--line); }
.options-panel h3 { margin: 8px 0 10px; font-size: 26px; }
.options-panel > p { color: var(--muted); }
.options-label { color: var(--green); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.options-form { display: grid; gap: 10px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.options-form[hidden], .options-continue[hidden] { display: none; }
.options-form label { margin-top: 4px; color: #dce7e9; font-size: 13px; font-weight: 800; }
.options-form input, .options-form select { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #3b474c; border-radius: 4px; background: #0a0f12; color: var(--text); font: inherit; }
.options-form input:focus, .options-form select:focus { outline: 2px solid var(--green); outline-offset: 2px; }
.options-form .button { margin-top: 8px; }
.form-note, .form-status { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.form-note a { color: #dce7e9; }
.form-status.success { color: var(--green); }
.form-status.error { color: #ffb0a8; }
.options-continue { margin-top: 18px; }
.area-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.area-list span { padding: 7px 10px; border: 1px solid var(--line); color: #cad4d7; font-size: 13px; }

.faq-list { margin-top: 28px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 21px 42px 21px 0; position: relative; cursor: pointer; font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 18px; color: var(--green); font-size: 24px; }
.faq-list details[open] summary::after { content: "-"; }
.faq-list details p { max-width: 800px; padding: 0 0 21px; color: var(--muted); }

.final-band { background: #10171b; }
.final-inner { padding: 72px 0 88px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; }
.final-inner p { max-width: 720px; color: var(--muted); }

.site-footer { padding: 34px 0 120px; color: var(--muted); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-inner a { color: #d5dfe1; }

.answer-helper { position: fixed; right: 20px; bottom: 20px; z-index: 90; }
.helper-toggle { box-shadow: var(--shadow); }
.helper-panel { width: min(420px, calc(100vw - 28px)); max-height: min(720px, calc(100vh - 28px)); overflow: auto; background: #0d1215; border: 1px solid #344249; box-shadow: var(--shadow); }
.helper-panel[hidden] { display: none; }
.helper-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 17px; background: #0d1215; border-bottom: 1px solid var(--line); }
.helper-head strong { display: block; }
.helper-head span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.icon-button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: var(--text); cursor: pointer; }
.icon-button svg { width: 18px; }
.helper-log { display: grid; gap: 10px; padding: 16px; }
.helper-message { max-width: 92%; padding: 11px 13px; border-radius: 6px; background: var(--surface-2); color: #e7edef; font-size: 14px; }
.helper-message.user { justify-self: end; background: #124f36; }
.helper-message a { display: inline-flex; margin-top: 9px; color: #84dcb3; font-weight: 800; }
.helper-questions { display: grid; gap: 8px; padding: 0 16px 16px; }
.helper-question { min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: var(--text); text-align: left; cursor: pointer; }
.helper-question:hover { border-color: var(--green); background: #111b17; }
.helper-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 16px; border-top: 1px solid var(--line); }
.helper-form label { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
.helper-form input { min-width: 0; padding: 11px; border: 1px solid var(--line); border-radius: 6px; background: #070a0c; color: var(--text); }
.helper-form button { padding: 10px 13px; border: 0; border-radius: 6px; background: var(--green); color: #04110b; font-weight: 850; cursor: pointer; }

@media (max-width: 940px) {
  .hero::after { background: linear-gradient(90deg, #090d10 0%, rgba(9, 13, 16, 0.96) 58%, rgba(9, 13, 16, 0.52) 100%); }
  .hero-grid > div { width: min(680px, 78%); }
  .hero-media { inset: 0 0 0 28%; }
  .answer-layout { grid-template-columns: 1fr; gap: 28px; }
  .contents { position: static; }
  .contents nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
  .service-options, .proof-points { grid-template-columns: 1fr; }
  .options-area { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 28px, var(--max)); }
  .header-inner { min-height: 68px; }
  .brand-copy small { display: none; }
  .header-actions .button-secondary { display: none; }
  .hero::after { background: rgba(7, 10, 12, 0.82); }
  .hero-grid { min-height: calc(100svh - 116px); padding: 28px 0 24px; }
  .hero-grid > div { width: 100%; }
  h1 { font-size: 38px; }
  .lead { font-size: 17px; }
  .hero-media { inset: 0; opacity: 0.52; }
  .media-note { display: none; }
  .answer-strip-grid { grid-template-columns: 1fr; }
  .answer-stat, .answer-stat:first-child { min-height: auto; padding: 18px 14px; border-left: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .answer-stat:last-child { border-bottom: 0; }
  .answer-layout { padding: 54px 0; }
  .contents nav { grid-template-columns: 1fr; }
  .comparison { overflow-x: auto; }
  .comparison-row { min-width: 680px; }
  .boundary-grid, .check-grid, .proof-grid { grid-template-columns: 1fr; }
  .final-inner { grid-template-columns: 1fr; align-items: start; }
  .answer-helper { right: 12px; bottom: 12px; left: 12px; }
  .helper-toggle { width: 100%; }
  .helper-panel { width: 100%; }
}

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