:root {
  color-scheme: light;
  --bg: #f8fafc;
  --panel: #ffffff;
  --ink: #111827;
  --muted: #64748b;
  --line: #e2e8f0;
  --accent: #3f6f62;
  --accent-2: #b48a5a;
  --soft: #edf4ef;
  --shadow: 0 24px 70px rgba(15, 23, 42, .10);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 900; }
.play-dot { display: grid; place-items: center; width: 34px; height: 28px; color: #fff; background: #ef4444; border-radius: 9px; font-size: 10px; text-transform: uppercase; letter-spacing: .04em; }
nav { display: flex; align-items: center; gap: 22px; color: var(--muted); font-weight: 750; }
.top-cta, .id-card button {
  border: 0;
  border-radius: 10px;
  padding: 12px 18px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 28px rgba(63, 111, 98, .24);
  font-weight: 900;
  cursor: pointer;
}
.trust-line, .eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
h1 {
  margin: 0 0 12px;
  max-width: 860px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}
.compact-hero {
  padding: 46px clamp(18px, 5vw, 72px) 58px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.compact-hero p:last-child {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  margin: 0;
}
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: linear-gradient(90deg, #2f5d52, #b48a5a);
  color: #fff;
}
.stat-band div { padding: 30px 24px; text-align: center; }
.stat-band strong { display: block; font-size: 34px; margin-bottom: 8px; }
.stat-band span { color: rgba(255,255,255,.82); line-height: 1.45; }
.tool-shell {
  width: min(1160px, calc(100% - 36px));
  margin: -38px auto 34px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.tabs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}
.tab {
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 18px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.tab.active { color: var(--accent); border-bottom-color: var(--accent); background: #fff; }
.panel { display: none; padding: 34px; }
.panel.active { display: block; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}
label { display: grid; gap: 9px; color: #334155; font-weight: 850; }
input, select {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 15px 16px;
  color: var(--ink);
  font: inherit;
  outline: 0;
  background: #fff;
}
input:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(63,111,98,.12); }
.result-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
output {
  display: block;
  min-height: 86px;
  padding: 18px;
  border-radius: 16px;
  background: var(--soft);
  color: var(--accent);
  font-size: 22px;
  font-weight: 950;
}
.large-output { font-size: clamp(28px, 5vw, 48px); min-height: auto; }
.ad-slot {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto 54px;
  padding: 22px 26px;
  border: 1px dashed #cbb392;
  border-radius: 18px;
  background: #fbf7ef;
}
.ad-slot span, .sources span { display: block; color: var(--accent-2); font-size: 12px; font-weight: 950; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.ad-slot strong { font-size: 20px; }
.id-finder, .benchmarks, .toolbox, .articles-preview {
  padding: 64px clamp(18px, 5vw, 72px);
}
.id-finder {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 28px;
  align-items: start;
  background: #fff;
  border-block: 1px solid var(--line);
}
h2 { margin: 0 0 14px; font-size: clamp(28px, 4vw, 48px); line-height: 1.03; }
p { color: var(--muted); line-height: 1.65; }
.id-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
pre {
  white-space: pre-wrap;
  margin: 0;
  min-height: 110px;
  border-radius: 14px;
  padding: 16px;
  background: #18221f;
  color: #eaf3ec;
  overflow: auto;
}
.section-head { max-width: 820px; margin-bottom: 24px; }
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
table { width: 100%; min-width: 760px; border-collapse: collapse; }
th, td { padding: 18px; border-bottom: 1px solid var(--line); text-align: left; }
th { color: var(--accent); text-transform: uppercase; font-size: 12px; letter-spacing: .08em; }
.tool-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.tool-list a, .article-list a {
  display: grid;
  gap: 8px;
  min-height: 144px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.tool-list strong { font-size: 20px; }
.tool-list span, .article-list span { color: var(--muted); line-height: 1.5; }
.usage-strip {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto 42px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.usage-strip article {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.usage-strip strong { color: var(--accent); font-size: 17px; }
.usage-strip span { color: var(--muted); line-height: 1.45; }
.articles-preview {
  background: #fff;
  border-top: 1px solid var(--line);
}
.article-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.sources {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 26px clamp(18px, 5vw, 72px);
  background: #fff;
  border-top: 1px solid var(--line);
}
.sources span { margin: 0 6px 0 0; }
.sources a { color: var(--accent); font-weight: 850; }
footer {
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}
@media (max-width: 900px) {
  nav, .top-cta { display: none; }
  .stat-band, .tabs, .form-grid, .result-grid, .id-finder, .tool-list, .usage-strip, .article-list { grid-template-columns: 1fr; }
  .tool-shell { margin-top: -24px; }
}
