/* Tested Edge — "the testing lab". Tokens:
   ink #0A0F0D · panel #121A16 · line #22302A · signal #3DFF9A · loss #FF5A4E · amber #FFC34D · paper #E6EBE3 · graphite #26302B */
:root {
  --ink: #0a0f0d; --panel: #121a16; --line: #22302a; --text: #e9eee8; --mute: #93a19a;
  --signal: #3dff9a; --signal-d: #1f9a5e; --loss: #ff5a4e; --amber: #ffc34d;
  --paper: #e6ebe3; --paper-ink: #17201c; --graphite: #26302b;
  --display: "Archivo Black", Impact, sans-serif; --body: "Inter", system-ui, sans-serif;
  --maxw: 1140px; --r-big: 28px; --r-small: 10px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--ink); color: var(--text); font: 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
a { color: var(--signal); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.02; letter-spacing: -.015em; }
h1 { font-size: clamp(44px, 7.4vw, 92px); }
h2 { font-size: clamp(34px, 4.8vw, 58px); max-width: 16ch; }
h3 { font-size: 26px; }
p { max-width: 64ch; }
.mute { color: var(--mute); }
.small { font-size: 14px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(10,15,13,.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 20px var(--display); letter-spacing: .01em; }
.brand img { width: 30px; }
.nav ul { list-style: none; display: flex; gap: 26px; align-items: center; }
.nav ul a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 600; font-size: 16px; }
.nav ul a:not(.btn):hover { color: var(--signal); }
@media (max-width: 720px) { .nav .hide-m { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 999px;
  font: 700 17px var(--body); text-decoration: none; background: var(--signal); color: var(--ink); border: 2px solid var(--signal); cursor: pointer;
  transition: box-shadow .2s ease; }
.btn:hover { box-shadow: 0 0 0 6px rgba(61,255,154,.18); }
.btn.line { background: transparent; color: var(--text); border-color: var(--graphite); }
.btn.line:hover { border-color: var(--signal); box-shadow: none; }
.btn.sm { padding: 10px 18px; font-size: 15px; }

/* hero */
.hero { padding: 76px 0 40px; }
.hero h1 { max-width: 13ch; }
.hero h1 em { font-style: normal; color: var(--signal); }
.hero .lead { font-size: 21px; color: var(--mute); margin: 24px 0 0; max-width: 54ch; }

/* the trial (signature element) */
.trial { margin-top: 48px; display: grid; grid-template-columns: 300px 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r-big); overflow: hidden; background: var(--panel); }
.trial .pick { padding: 26px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.trial .pick p { font-weight: 700; margin-bottom: 6px; }
.trial .pick button { text-align: left; font: 600 17px var(--body); color: var(--text); background: transparent; border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 16px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.trial .pick button:hover { border-color: var(--mute); }
.trial .pick button[aria-pressed="true"] { border-color: var(--signal); background: rgba(61,255,154,.07); }
.trial .pick button span { font-size: 13px; color: var(--mute); font-weight: 600; }
.verdict { position: relative; padding: 36px 40px; min-height: 360px; display: grid; grid-template-columns: 1fr 200px; gap: 24px; align-items: start; }
.verdict h3 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 10px; }
.verdict .claim { color: var(--mute); font-size: 17px; margin-bottom: 22px; }
.verdict dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.verdict dl div { border-top: 2px solid var(--line); padding-top: 10px; }
.verdict dt { font-size: 14px; color: var(--mute); }
.verdict dd { font: 34px var(--display); line-height: 1.1; }
.verdict .src { margin-top: 18px; font-size: 14px; color: var(--mute); }
.verdict img { width: 170px; justify-self: center; align-self: end; }
.stamp { position: absolute; right: 34px; top: 28px; font: 30px var(--display); letter-spacing: .02em; padding: 8px 18px; border: 5px solid currentColor;
  border-radius: 12px; transform: rotate(-8deg); }
.stamp.fail { color: var(--loss); } .stamp.pass { color: var(--signal); }
.stamp.hit { animation: thud .38s cubic-bezier(.2,1.6,.4,1); }
@keyframes thud { from { transform: rotate(-8deg) scale(2.2); opacity: 0; } to { transform: rotate(-8deg) scale(1); opacity: 1; } }
@media (max-width: 900px) {
  .trial { grid-template-columns: 1fr; }
  .trial .pick { border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; flex-wrap: wrap; }
  .trial .pick p { width: 100%; }
  .trial .pick button { flex: 1 1 45%; }
  .verdict { grid-template-columns: 1fr; padding: 28px 22px 30px; }
  .verdict img { display: none; }
  .verdict dl { grid-template-columns: 1fr 1fr; }
  .stamp { position: static; display: inline-block; margin-bottom: 14px; font-size: 24px; }
}

/* sections */
section { padding: 96px 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } section { padding: 68px 0; } }

/* receipts: car vs data */
.receipt { border-radius: var(--r-small); padding: 28px; font-size: 17px; }
.receipt.them { background: var(--panel); border: 1px dashed var(--graphite); color: var(--mute); }
.receipt.us { background: var(--paper); color: var(--paper-ink); }
.receipt h3 { font-size: 22px; margin-bottom: 14px; }
.receipt ul { list-style: none; display: grid; gap: 10px; }
.receipt li { display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px dotted currentColor; padding-bottom: 8px; }
.receipt li b { font-weight: 700; }
.receipt.them li b { color: var(--loss); }
.receipt.us li b { color: #0d7a45; }

/* paper section: test certificates */
.paper { background: var(--paper); color: var(--paper-ink); }
.paper a { color: #0d7a45; }
.paper .mute { color: #56635c; }
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--paper-ink); margin-top: 36px; }
.cert { padding: 26px 24px 30px 0; border-bottom: 1px solid #b9c2bb; }
.cert:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid #b9c2bb; }
.cert h3 { font-size: 22px; margin: 10px 0 8px; }
.cert p { font-size: 16px; color: #3b4741; }
.verdict-tag { font: 15px var(--display); letter-spacing: .03em; }
.verdict-tag.fail { color: #c62d22; } .verdict-tag.pass { color: #0d7a45; }
@media (max-width: 860px) { .certs { grid-template-columns: 1fr; } .cert, .cert:not(:nth-child(3n+1)) { padding: 22px 0; border-left: 0; } }

/* grading bars */
.bars { display: grid; gap: 16px; margin-top: 26px; }
.bar { display: grid; grid-template-columns: 150px 1fr 70px; align-items: center; gap: 14px; font-weight: 600; }
.bar i { display: block; height: 22px; border-radius: 6px; background: var(--graphite); }
.bar.a i { background: var(--signal); }
.bar b { font: 22px var(--display); text-align: right; }
.bar.a b { color: var(--signal); }
.note { font-size: 14px; color: var(--mute); margin-top: 14px; }

/* product panel */
.offer { background: var(--panel); border: 2px solid var(--signal); border-radius: var(--r-big); padding: 34px; }
.offer .price { font: 60px var(--display); line-height: 1; margin: 12px 0 4px; }
.ticks { list-style: none; display: grid; gap: 12px; margin: 22px 0 26px; }
.ticks li { padding-left: 32px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 14px; height: 8px; border-left: 3px solid var(--signal); border-bottom: 3px solid var(--signal); transform: rotate(-45deg); }

/* episodes */
.eps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.ep { text-decoration: none; color: var(--text); }
.ep img { border-radius: 14px; border: 1px solid var(--line); aspect-ratio: 16/9; object-fit: cover; }
.ep span { display: block; margin-top: 10px; font-weight: 600; font-size: 16px; line-height: 1.35; }
.ep:hover img { border-color: var(--signal); }
@media (max-width: 960px) { .eps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .eps { grid-template-columns: 1fr; } }

/* free checklist */
.free { display: grid; grid-template-columns: 200px 1fr auto; gap: 36px; align-items: center; border: 1px solid var(--line); border-radius: var(--r-big); padding: 40px; background: var(--panel); }
.free img { width: 170px; }
@media (max-width: 860px) { .free { grid-template-columns: 1fr; text-align: left; padding: 30px 24px; gap: 18px; } .free img { width: 110px; } }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 20px 0; max-width: 820px; }
summary { cursor: pointer; font-weight: 700; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--signal); font-size: 24px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--mute); margin-top: 10px; }

/* legal + footer */
.legal h2 { font-size: 30px; margin: 46px 0 10px; max-width: none; }
.legal p, .legal li { color: #c7d0ca; margin: 10px 0; }
.legal ul { padding-left: 22px; }
.risk { border: 1px solid rgba(255,90,78,.45); background: rgba(255,90,78,.07); border-radius: 14px; padding: 16px 18px; color: #ffd9d5; font-size: 15px; max-width: none; }
footer { border-top: 1px solid var(--line); padding: 44px 0 60px; color: var(--mute); font-size: 15px; }
footer .wrap { display: grid; gap: 20px; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer nav a { color: var(--mute); }
@media (prefers-reduced-motion: reduce) { .stamp.hit { animation: none; } html { scroll-behavior: auto; } }

/* mobile polish */
.brand, .btn { white-space: nowrap; }
@media (max-width: 520px) {
  .brand { font-size: 17px; } .brand img { width: 26px; }
  .nav .btn.sm { padding: 9px 14px; font-size: 14px; }
  .trial .pick { padding: 18px; gap: 8px; }
  .trial .pick button { flex: 1 1 calc(50% - 8px); flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px; font-size: 15px; }
  .verdict dd { font-size: 26px; }
  .hero .lead { font-size: 18px; }
  .free { padding: 26px 20px; }
}

/* pricing: two ways in */
.plans { display: grid; grid-template-columns: 1.25fr .85fr; gap: 22px; margin-top: 34px; align-items: start; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-big); padding: 32px; }
.plan.main { border: 2px solid var(--signal); }
.plan-type { font-weight: 700; color: var(--signal); margin-bottom: 6px; }
.plan h3 { font-size: 30px; margin-bottom: 10px; }
.plan .price { font: 60px var(--display); line-height: 1; margin: 18px 0 4px; }
.tiers { display: grid; gap: 12px; margin: 24px 0 8px; }
.tier { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 16px;
  border: 1px solid var(--graphite); color: var(--text); text-decoration: none; transition: border-color .15s ease, background .15s ease; }
.tier:hover { border-color: var(--signal); background: rgba(61,255,154,.05); }
.tier span { display: grid; }
.tier b { font-size: 19px; }
.tier em { font-style: normal; color: var(--mute); font-size: 15px; }
.tier strong { font: 34px var(--display); white-space: nowrap; }
.tier strong small { font: 600 15px var(--body); color: var(--mute); margin-left: 2px; }
.tier.hot { border: 2px solid var(--amber); background: rgba(255,195,77,.07); }
.tier.hot b { color: var(--amber); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } .plan { padding: 24px 20px; } .tier strong { font-size: 28px; } }
