:root {
  --ink: #172a26;
  --muted: #68746f;
  --paper: #f4f1e9;
  --surface: #fffdf8;
  --line: #d8d8ce;
  --accent: #e95e43;
  --accent-dark: #cc4630;
  --green: #315e52;
  --lime: #d8f16a;
  --stop: #a4382b;
  --review: #a36912;
  --keep: #277059;
  --shadow: 0 22px 60px rgba(30, 43, 38, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.site-header, footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header { height: 88px; border-bottom: 1px solid rgba(23, 42, 38, .15); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; letter-spacing: -.03em; font-size: 20px; }
.brand-mark { width: 25px; height: 25px; display: flex; gap: 3px; align-items: flex-end; transform: rotate(-3deg); }
.brand-mark i { display: block; width: 6px; border-radius: 1px; background: var(--accent); }
.brand-mark i:nth-child(1) { height: 12px; }
.brand-mark i:nth-child(2) { height: 19px; }
.brand-mark i:nth-child(3) { height: 25px; }
.header-link { font-size: 14px; font-weight: 750; text-underline-offset: 5px; }
.header-link span { color: var(--accent); margin-left: 4px; }

.hero { width: min(1040px, calc(100% - 48px)); margin: 0 auto; padding: 100px 0 84px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--green); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(233,94,67,.13); }
h1 { max-width: 980px; margin: 25px auto 24px; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(56px, 8.3vw, 104px); line-height: .92; letter-spacing: -.055em; }
h1 em { color: var(--accent); font-weight: 400; }
.hero-copy { max-width: 650px; margin: 0 auto; font-size: 19px; line-height: 1.65; color: var(--muted); }
.hero-actions { margin-top: 34px; display: flex; align-items: center; justify-content: center; gap: 28px; }
.button { border: 0; border-radius: 4px; min-height: 52px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--accent); box-shadow: 0 9px 24px rgba(204,70,48,.2); }
.button-primary:hover { background: var(--accent-dark); }
.button-dark { color: white; background: var(--ink); white-space: nowrap; }
.text-button, .example-button { padding: 4px 0; border: 0; border-bottom: 1px solid currentColor; background: none; color: var(--ink); font-weight: 750; cursor: pointer; }
.trust-row { margin: 65px auto 0; padding-top: 23px; max-width: 650px; border-top: 1px solid var(--line); display: flex; justify-content: space-around; color: var(--muted); font-size: 13px; }
.trust-row b { color: var(--ink); }

.audit-shell, .results-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto 34px; padding: 50px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.audit-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; padding-bottom: 35px; border-bottom: 1px solid var(--line); }
.section-number { color: var(--accent); font-size: 11px; font-weight: 850; letter-spacing: .16em; }
h2 { margin: 9px 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 4vw, 50px); font-weight: 400; letter-spacing: -.035em; }
.audit-heading p, .principles p { margin: 0; color: var(--muted); line-height: 1.6; }
.currency-field { min-width: 125px; }
.currency-field span, .mobile-label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.currency-field select { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 3px; background: white; color: var(--ink); font-weight: 700; }
.column-labels, .tool-row { display: grid; grid-template-columns: minmax(250px, 1.65fr) minmax(130px, .65fr) minmax(170px, .85fr) 32px; gap: 14px; }
.column-labels { padding: 28px 12px 10px; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.tool-row { position: relative; align-items: center; margin-bottom: 10px; }
.tool-search { position: relative; }
.tool-input, .cost-input, .usage-input { width: 100%; height: 54px; border: 1px solid var(--line); border-radius: 3px; background: white; color: var(--ink); outline: 0; transition: border .15s, box-shadow .15s; }
.tool-input { padding: 0 16px; font-weight: 700; }
.cost-input { padding: 0 14px 0 34px; font-weight: 750; }
.usage-input { padding: 0 14px; cursor: pointer; }
.tool-input:focus, .cost-input:focus, .usage-input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(49,94,82,.1); }
.cost-field { position: relative; }
.cost-field i { position: absolute; left: 14px; top: 17px; color: var(--muted); font-style: normal; font-weight: 700; }
.mobile-label { display: none; }
.remove-tool { width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: #929b97; font-size: 23px; cursor: pointer; }
.remove-tool:hover { background: #f0ebe3; color: var(--stop); }
.search-results { position: absolute; z-index: 20; top: 58px; left: 0; right: 0; padding: 6px; border: 1px solid var(--line); border-radius: 5px; background: white; box-shadow: 0 15px 35px rgba(23,42,38,.14); }
.search-option { width: 100%; padding: 11px; display: flex; justify-content: space-between; gap: 15px; border: 0; border-radius: 3px; background: white; text-align: left; cursor: pointer; }
.search-option:hover, .search-option:focus { background: #f3f4ed; }
.search-option b { display: block; margin-bottom: 3px; font-size: 14px; }
.search-option small { display: block; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 310px; }
.tool-badges { display: flex; gap: 5px; align-items: center; }
.mini-badge { padding: 3px 6px; background: #edf4e7; color: var(--green); border-radius: 10px; font-size: 9px; font-weight: 850; text-transform: uppercase; white-space: nowrap; }
.form-footer { margin-top: 22px; display: flex; align-items: center; gap: 24px; }
.add-button { padding: 0; border: 0; background: none; color: var(--green); font-weight: 800; cursor: pointer; }
.add-button span { display: inline-flex; margin-right: 7px; width: 23px; height: 23px; align-items: center; justify-content: center; border: 1px solid currentColor; border-radius: 50%; }
.example-button { color: var(--muted); font-size: 13px; }
.analyze-button { margin-left: auto; min-width: 210px; }
.analyze-button.loading { opacity: .72; pointer-events: none; }
.form-error { min-height: 20px; margin: 15px 0 -15px; color: var(--stop); font-size: 13px; text-align: right; }

.results-shell { padding: 0; overflow: hidden; }
.results-topline { padding: 28px 48px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }
.share-button { padding: 0; border: 0; border-bottom: 1px solid currentColor; background: none; color: var(--muted); font-size: 12px; font-weight: 700; cursor: pointer; }
.result-hero { padding: 48px; display: flex; align-items: flex-end; justify-content: space-between; background: var(--green); color: white; }
.result-hero p { margin: 0 0 9px; color: #c5d8d0; font-size: 13px; font-weight: 700; }
.result-hero strong { font-family: Georgia, "Times New Roman", serif; font-size: clamp(60px, 8vw, 92px); font-weight: 400; letter-spacing: -.055em; }
.result-hero > div > span { color: #c5d8d0; }
.annual-card { min-width: 210px; padding: 22px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); }
.annual-card span, .annual-card small { display: block; color: #c5d8d0; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.annual-card b { display: block; margin: 6px 0 5px; font-family: Georgia, "Times New Roman", serif; font-size: 34px; font-weight: 400; }
.result-grid { padding: 44px 48px; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(250px, .75fr); gap: 42px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
.panel-heading h3, .overlap-panel h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 400; }
.panel-heading span { color: var(--muted); font-size: 11px; }
.action-item { padding: 20px 0; display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; gap: 16px; border-bottom: 1px solid var(--line); }
.status-pill { align-self: start; padding: 5px 8px; border-radius: 2px; font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; text-align: center; }
.status-stop { color: var(--stop); background: #fae6e1; }
.status-review { color: var(--review); background: #fbefd8; }
.status-keep { color: var(--keep); background: #e2f1e9; }
.action-copy b { display: block; margin-bottom: 5px; }
.action-copy p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.action-saving { font-weight: 800; color: var(--stop); white-space: nowrap; }
.alternative-line { margin-top: 10px; color: var(--muted); font-size: 11px; }
.alternative-line a { color: var(--green); font-weight: 750; text-underline-offset: 2px; }
.overlap-panel { padding: 22px; border: 1px solid var(--line); background: #f7f5ee; }
.overlap-panel h3 { margin-bottom: 14px; }
.overlap-item { padding: 14px 0; border-top: 1px solid var(--line); }
.overlap-names { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 750; }
.overlap-names span { color: var(--accent); }
.overlap-meter { height: 5px; margin-top: 9px; background: #dddcd2; border-radius: 5px; overflow: hidden; }
.overlap-meter i { display: block; height: 100%; background: var(--accent); }
.overlap-meta { margin-top: 5px; display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.empty-overlap { color: var(--muted); font-size: 13px; line-height: 1.55; }
.method-note { margin-top: 18px; padding: 20px; background: var(--ink); color: white; }
.method-note span { color: var(--lime); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .12em; }
.method-note p { margin: 9px 0 0; color: #bdc8c4; font-size: 12px; line-height: 1.6; }
.offer-panel { padding: 36px 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; border-top: 1px solid var(--line); background: #f1eddf; }
.offer-kicker { color: var(--accent); font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.offer-panel h3 { margin: 7px 0; font-family: Georgia, "Times New Roman", serif; font-size: 27px; font-weight: 400; }
.offer-panel p { margin: 0; color: var(--muted); font-size: 13px; }
.checkout-box { display: grid; grid-template-columns: auto minmax(190px, 1fr); gap: 8px 18px; align-items: center; }
.checkout-price { display: flex; align-items: baseline; gap: 5px; }
.checkout-price b { font-family: Georgia, "Times New Roman", serif; font-size: 40px; font-weight: 400; letter-spacing: -.04em; }
.checkout-price span { color: var(--muted); font-size: 12px; }
.checkout-box small { grid-column: 1 / -1; color: var(--muted); font-size: 10px; text-align: right; }
#payment-message { grid-column: 1 / -1; min-height: 16px; margin: 0; color: var(--stop); font-size: 11px; text-align: right; }
.paid-panel { padding: 24px 48px; border-top: 1px solid #a9ccbd; background: #e4f3eb; }
.paid-panel span { color: var(--keep); font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.paid-panel p { margin: 5px 0 0; color: var(--green); font-size: 13px; }
.locked-card { margin-top: 18px; padding: 21px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px dashed #c5bfae; background: #f5f1e7; }
.locked-card b { display: block; margin-bottom: 4px; font-family: Georgia, "Times New Roman", serif; font-size: 19px; font-weight: 400; }
.locked-card p { margin: 0; color: var(--muted); font-size: 12px; }
.lock-icon { font-size: 24px; filter: grayscale(1); }

.seo-section { width: min(1080px, calc(100% - 48px)); margin: 120px auto 0; }
.seo-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; }
.seo-intro h2 { line-height: 1; }
.seo-intro > p { margin: 0 0 8px; color: var(--muted); line-height: 1.7; }
.step-grid { margin-top: 50px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--surface); }
.step-grid article { min-height: 225px; padding: 30px; border-right: 1px solid var(--line); }
.step-grid article:last-child { border-right: 0; }
.step-grid article > span { color: var(--accent); font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.step-grid h3 { margin: 38px 0 9px; font-family: Georgia, "Times New Roman", serif; font-size: 24px; font-weight: 400; }
.step-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.faq-block { margin-top: 100px; display: grid; grid-template-columns: .65fr 1.35fr; gap: 70px; }
.faq-block h2 { font-size: 40px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { padding: 19px 0; border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding-right: 28px; font-weight: 750; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 3px; color: var(--accent); font-size: 21px; font-weight: 400; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list p { margin: 12px 35px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.evidence-note { margin: 38px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.evidence-note a { color: var(--green); font-weight: 750; text-underline-offset: 3px; }

.principles { width: min(1000px, calc(100% - 48px)); margin: 130px auto; display: grid; grid-template-columns: 1.4fr .6fr; gap: 80px; align-items: end; }
.principles h2 { line-height: 1.02; }
footer { min-height: 110px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
footer .brand { color: var(--ink); font-size: 17px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 780px) {
  .site-header, footer, .audit-shell, .results-shell { width: min(100% - 28px, 1180px); }
  .site-header { height: 72px; }
  .hero { width: min(100% - 28px, 1040px); padding: 72px 0 60px; }
  h1 { font-size: clamp(49px, 16vw, 76px); }
  .hero-copy { font-size: 16px; }
  .hero-actions { flex-direction: column; gap: 20px; }
  .trust-row { gap: 12px; font-size: 11px; }
  .audit-shell { padding: 27px 20px; }
  .audit-heading { display: block; }
  .currency-field { display: block; margin-top: 22px; max-width: 140px; }
  .column-labels { display: none; }
  #tool-rows { margin-top: 25px; }
  .tool-row { padding: 15px; grid-template-columns: 1fr 1fr 26px; gap: 12px; border: 1px solid var(--line); background: #f8f6ef; }
  .tool-search { grid-column: 1 / -1; }
  .mobile-label { display: block; }
  .cost-field i { top: 40px; }
  .remove-tool { grid-column: 3; grid-row: 2; align-self: end; margin-bottom: 10px; }
  .form-footer { flex-wrap: wrap; }
  .example-button { order: 2; }
  .analyze-button { order: 3; width: 100%; margin: 8px 0 0; }
  .form-error { text-align: left; }
  .results-topline, .result-hero, .result-grid, .offer-panel, .paid-panel { padding-left: 22px; padding-right: 22px; }
  .result-hero { display: block; }
  .result-hero strong { font-size: 70px; }
  .annual-card { margin-top: 28px; }
  .result-grid, .offer-panel, .principles { grid-template-columns: 1fr; }
  .action-item { grid-template-columns: 72px minmax(0, 1fr); }
  .action-saving { grid-column: 2; }
  .offer-panel { gap: 22px; }
  .checkout-box { grid-template-columns: 1fr; }
  .checkout-box small, #payment-message { grid-column: 1; text-align: left; }
  .locked-card { align-items: flex-start; }
  .seo-section { width: min(100% - 28px, 1080px); margin-top: 90px; }
  .seo-intro, .step-grid, .faq-block { grid-template-columns: 1fr; }
  .seo-intro, .faq-block { gap: 22px; }
  .step-grid { margin-top: 32px; }
  .step-grid article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .step-grid article:last-child { border-bottom: 0; }
  .step-grid h3 { margin-top: 25px; }
  .faq-block { margin-top: 70px; }
  .principles { margin: 90px auto; gap: 20px; }
  footer { padding: 30px 0; flex-wrap: wrap; gap: 15px; }
  footer p { order: 3; flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
