@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700&family=Newsreader:ital,wght@1,500&display=swap');

:root {
  --ink: #10221c;
  --muted: #62716b;
  --paper: #f7f8f3;
  --white: #fff;
  --line: #dce3dd;
  --green: #25c277;
  --green-dark: #063f30;
  --green-deep: #052d24;
  --lime: #c9f36a;
  --amber: #f4b741;
  --shadow: 0 18px 50px rgba(7, 45, 35, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 15px/1.65 Manrope, system-ui, sans-serif; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
.shell { width: min(1160px, calc(100% - 42px)); margin-inline: auto; }

.site-header { height: 74px; padding: 0 max(22px, calc((100% - 1160px)/2)); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(247,248,243,.92); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; letter-spacing: -.04em; font-size: 17px; }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; color: var(--white); background: var(--green-dark); border-radius: 8px; font: 500 16px DM Mono, monospace; }
.brand em { color: #1ba966; font-style: normal; }
.site-header nav { display: flex; gap: 28px; }
.site-header nav a, .quiet-link { text-decoration: none; color: #42514b; font-size: 13px; font-weight: 600; }
.site-header nav a:hover, .quiet-link:hover { color: #10965b; }

.hero { min-height: 620px; display: grid; grid-template-columns: 1.4fr .8fr; align-items: center; gap: 80px; padding-block: 80px; }
.hero-copy { max-width: 720px; }
.eyebrow { margin: 0 0 18px; color: #1a9a60; text-transform: uppercase; letter-spacing: .12em; font: 500 11px DM Mono, monospace; }
.eyebrow span { display: inline-block; width: 24px; border-top: 1px solid currentColor; margin: 0 8px 3px 0; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(46px, 6vw, 78px); line-height: 1.02; letter-spacing: -.055em; font-weight: 600; }
h1 i { color: #188c58; font-family: Newsreader, Georgia, serif; font-weight: 500; }
.lead { max-width: 650px; color: var(--muted); font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; gap: 12px; margin: 32px 0 24px; }
.button { min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; cursor: pointer; font-weight: 700; transition: transform .15s, background .15s; }
.button:hover { transform: translateY(-1px); }
.button.primary { color: var(--white); background: #128955; }
.button.primary:hover { background: #0c7347; }
.button.secondary { background: var(--white); border-color: var(--line); }
.privacy-note { color: #718079; font-size: 12px; }
.privacy-note span { color: var(--green); margin-right: 7px; }
.hero-panel { padding: 32px; color: var(--white); background: var(--green-deep); border-radius: 18px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.hero-panel::after { content: ''; position: absolute; width: 180px; height: 180px; right: -80px; top: -90px; border: 36px solid rgba(201,243,106,.08); border-radius: 50%; }
.panel-kicker { color: #94cdb9; text-transform: uppercase; letter-spacing: .13em; font: 500 11px DM Mono, monospace; }
.hero-panel ol { margin: 0; padding: 0; list-style: none; }
.hero-panel li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); }
.hero-panel li > span { color: var(--lime); font: 500 12px DM Mono, monospace; }
.hero-panel strong, .hero-panel small { display: block; }
.hero-panel strong { margin-bottom: 4px; }
.hero-panel small { color: #a9c1b9; line-height: 1.45; }

.section { padding-block: 92px; scroll-margin-top: 70px; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-bottom: 42px; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -.045em; }
.section-heading > p { max-width: 530px; margin-bottom: 2px; color: var(--muted); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.metric-grid article { padding: 28px; border-right: 1px solid var(--line); }
.metric-grid article:last-child { border-right: 0; }
.metric-grid strong, .metric-grid span, .metric-grid small { display: block; }
.metric-grid strong { color: #147c4e; font: 500 34px DM Mono, monospace; letter-spacing: -.06em; }
.metric-grid span { margin: 8px 0 16px; font-weight: 700; }
.metric-grid small { color: #7b8983; font: 11px DM Mono, monospace; text-transform: uppercase; }
.decision { margin-top: 18px; padding: 20px 24px; display: grid; grid-template-columns: 210px 1fr; gap: 30px; border-left: 3px solid var(--green); background: #edf5ee; }
.decision span { color: #157a4d; text-transform: uppercase; font: 500 11px DM Mono, monospace; letter-spacing: .08em; }
.decision p { margin: 0; color: #42514b; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); }
.tab { padding: 13px 18px; border: 0; border-bottom: 2px solid transparent; background: none; cursor: pointer; font-weight: 700; }
.tab.active { color: #138552; border-bottom-color: #138552; }
.tab b { margin-left: 6px; padding: 2px 7px; border-radius: 12px; background: #e5ebe6; font: 500 10px DM Mono, monospace; }
.table-wrap { margin-top: 14px; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
table { width: 100%; border-collapse: collapse; min-width: 800px; }
th, td { padding: 18px 20px; text-align: left; border-bottom: 1px solid #e6ebe7; vertical-align: middle; }
th { color: #6f7c77; background: #f2f5f1; text-transform: uppercase; letter-spacing: .08em; font: 500 10px DM Mono, monospace; }
tbody tr:last-child td { border-bottom: 0; }
td { color: #4e5d57; font-size: 13px; }
td strong, td a { display: block; }
td strong { color: var(--ink); }
td a { color: #23845a; font-size: 11px; text-decoration: none; }
.badge, .status { display: inline-block; padding: 4px 8px; border-radius: 4px; font: 500 10px DM Mono, monospace; white-space: nowrap; }
.reference { color: #176b47; background: #dff4e7; }
.assisted { color: #4b6294; background: #e4ebfb; }
.translated { color: #8a641a; background: #fff0c9; }
.synthetic { color: #71458c; background: #f0e4f6; }
.status.included { color: #176b47; border: 1px solid #aad8bc; }
.status.optin { color: #8a641a; border: 1px solid #e7c977; }

.tools-section { color: var(--white); background: var(--green-deep); }
.section-heading.light .eyebrow { color: var(--lime); }
.section-heading.light > p { color: #a8bdb5; }
.tool-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid rgba(255,255,255,.16); }
.tool-tab { padding: 18px; border: 0; border-bottom: 2px solid transparent; color: #91a9a0; background: none; text-align: left; cursor: pointer; font-weight: 700; }
.tool-tab span { margin-right: 12px; color: #718c82; font: 500 11px DM Mono, monospace; }
.tool-tab.active { color: var(--white); border-bottom-color: var(--lime); }
.tool-tab.active span { color: var(--lime); }
.tool-panel { padding: 44px 0 0; display: grid; grid-template-columns: .7fr 1.3fr; gap: 68px; }
.tool-copy h3 { margin-bottom: 12px; font-size: 28px; }
.tool-copy p { color: #a8bdb5; }
.tool-copy ul { padding: 0; list-style: none; color: #d6e1dc; font-size: 12px; }
.tool-copy li::before { content: '✓'; margin-right: 10px; color: var(--lime); }
.tool-form { padding: 26px; border: 1px solid rgba(255,255,255,.15); border-radius: 12px; background: rgba(255,255,255,.05); }
.dropzone { min-height: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed #759087; border-radius: 9px; cursor: pointer; background: rgba(255,255,255,.025); text-align: center; }
.dropzone:hover, .dropzone.dragging { border-color: var(--lime); background: rgba(201,243,106,.05); }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone small { color: #91a9a0; }
.upload-icon { width: 40px; height: 40px; margin-bottom: 12px; display: grid; place-items: center; border-radius: 50%; color: var(--green-deep); background: var(--lime); font-size: 20px; }
.file-list { min-height: 26px; padding: 10px 0; color: #b7c8c1; font-size: 11px; }
.full { width: 100%; }
.two-files { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.two-files label { display: flex; flex-direction: column; gap: 7px; color: #dce6e2; font-size: 12px; font-weight: 700; }
.two-files input[type=file], .two-files input[type=text] { width: 100%; padding: 11px; color: var(--ink); border: 0; border-radius: 6px; background: #f4f7f4; }
.two-files input[type=range] { width: 100%; accent-color: var(--lime); }
.two-files .full, .two-files .form-status { grid-column: 1 / -1; }
.form-status { min-height: 20px; margin: 10px 0 0; color: #b7c8c1; font-size: 12px; }
.form-status.error { color: #ffb5ab; }
.output { grid-column: 1 / -1; margin-top: 26px; border: 1px solid rgba(255,255,255,.15); border-radius: 10px; overflow: hidden; }
.output > div { padding: 12px 16px; display: flex; justify-content: space-between; background: rgba(255,255,255,.07); }
.output button { border: 0; color: var(--lime); background: none; cursor: pointer; font: 500 11px DM Mono, monospace; }
.output pre { max-height: 520px; margin: 0; padding: 20px; overflow: auto; color: #c7ddd4; background: #021d17; font: 12px/1.7 DM Mono, monospace; white-space: pre-wrap; }

.methodology { padding-bottom: 120px; }
.rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.rules article { min-height: 210px; padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.rules span { color: #24a76a; font: 500 11px DM Mono, monospace; }
.rules h3 { margin: 42px 0 8px; font-size: 17px; }
.rules p { margin: 0; color: var(--muted); font-size: 13px; }
footer { padding: 36px 0; color: #d8e4df; background: #031f19; }
footer .shell { display: flex; align-items: center; gap: 36px; }
footer .brand-mark { color: var(--green-deep); background: var(--lime); }
footer p { margin: 0 auto 0 0; color: #8ca49b; font-size: 12px; }
footer a { margin-left: 22px; color: #b9ccc5; font-size: 12px; text-decoration: none; }

@media (max-width: 850px) {
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding-block: 60px; }
  .section-heading { grid-template-columns: 1fr; gap: 16px; }
  .metric-grid, .rules { grid-template-columns: 1fr 1fr; }
  .metric-grid article:nth-child(2) { border-right: 0; }
  .metric-grid article { border-bottom: 1px solid var(--line); }
  .tool-panel { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 28px, 1160px); }
  .quiet-link { display: none; }
  h1 { font-size: 42px; }
  .section { padding-block: 68px; }
  .metric-grid, .rules { grid-template-columns: 1fr; }
  .metric-grid article { border-right: 0; }
  .decision, .two-files { grid-template-columns: 1fr; gap: 12px; }
  .two-files .full, .two-files .form-status { grid-column: auto; }
  .tool-tabs { grid-template-columns: 1fr; }
  footer .shell { align-items: flex-start; flex-direction: column; }
  footer p { margin: 0; }
  footer a { margin: 0 20px 0 0; }
}

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