/* ================================================================
   beviset.no — Datamynt proof showcase
   Paper and ink, navy for the proof, gold for the seal.
   ================================================================ */

/* ---------- Self-hosted fonts (variable woff2, latin + latin-ext) ---------- */
/* ---------- Self-hostede fonter (variable woff2, latin + latin-ext) ---------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/inter-tight-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/inter-tight-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --paper:      #F4EFE6;
  --paper-2:    #EBE4D5;
  --paper-edge: #DDD3BF;
  --ink:        #0E1116;
  --ink-2:      #2A2F38;
  --ink-3:      #5C6470;
  --rule:       #C9BEA6;

  --navy:       #0F2740;
  --navy-2:     #14304E;
  --navy-3:     #1B3D62;
  --navy-ink:   #E9E2D2;
  --navy-mute:  #A9B4C2;

  --gold:       #C9994A;
  --gold-2:     #B68534;
  --gold-3:     #8E6520;
  --verified:   #2F7D4F;
  --verified-l: #5DB884;
  --bad:        #B5391F;
  --bad-l:      #E0775F;
  --warn:       #C9994A;

  --serif: "Fraunces", "Times New Roman", Georgia, serif;
  --sans:  "Inter Tight", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(42px, 6.4vw, 88px); line-height: 1.0; letter-spacing: -0.035em; }
h1 em { font-style: italic; color: var(--gold); }
h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.06; letter-spacing: -0.028em; max-width: 18ch; }
h3 { font-size: 22px; line-height: 1.2; font-weight: 500; }
p { margin: 0; text-wrap: pretty; }
.mono { font-family: var(--mono); font-feature-settings: "zero"; }
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-3);
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 16px/1.2 var(--sans);
  padding: 15px 22px; border-radius: 999px;
  text-decoration: none; border: 1px solid transparent;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #D8AA5C; }
.btn-ghost { border-color: rgba(233, 226, 210, 0.35); color: var(--navy-ink); }
.btn-ghost:hover { border-color: var(--navy-ink); }
.btn-small { padding: 9px 16px; font-size: 14px; background: var(--ink); color: var(--paper); }
.btn-small:hover { background: var(--navy); }
.btn-big { font-size: clamp(18px, 2.4vw, 24px); padding: 20px 34px; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 39, 64, 0.92);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  color: var(--navy-ink);
  border-bottom: 1px solid rgba(233, 226, 210, 0.08);
}
.top-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 28px; height: 28px; color: var(--gold); flex: none; }
.brand-name { font: 500 22px/1 var(--serif); letter-spacing: -0.02em; }
.brand-by { font-size: 13px; color: var(--navy-mute); padding-left: 10px; border-left: 1px solid rgba(233, 226, 210, 0.2); }
.top-nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.top-nav a:not(.btn) { text-decoration: none; color: var(--navy-mute); transition: color .15s; }
.top-nav a:not(.btn):hover { color: var(--navy-ink); }
.top .btn-small { background: var(--gold); color: var(--navy); }
.top .btn-small:hover { background: #D8AA5C; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 600px at 85% 20%, rgba(201, 153, 74, 0.13), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(27, 61, 98, 0.9), transparent 70%),
    var(--navy);
  color: var(--navy-ink);
  padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 9vw, 120px);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: #F6F1E7; }
.hero .lede { font-size: clamp(18px, 1.5vw, 21px); color: var(--navy-mute); max-width: 36em; margin-top: 28px; line-height: 1.55; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-seal { position: relative; aspect-ratio: 1; width: 100%; max-width: 440px; justify-self: center; }
.seal-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 60s linear infinite; }
.ring-outer { fill: none; stroke: rgba(201, 153, 74, 0.55); stroke-width: 1.5; }
.ring-inner { fill: rgba(9, 25, 42, 0.55); stroke: rgba(201, 153, 74, 0.35); stroke-width: 1; stroke-dasharray: 3 5; }
.ring-text { font: 600 17px var(--sans); letter-spacing: 0.34em; fill: var(--gold); }
.seal-core { position: absolute; inset: 27%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.seal-caption { font: italic 400 clamp(15px, 1.6vw, 19px)/1.2 var(--serif); color: var(--navy-ink); text-align: center; min-height: 1.2em; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Fingerprint grid ---------- */
.print { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; width: 100%; aspect-ratio: 1; }
.cell {
  --v: 0.2;
  border-radius: 3px;
  background: currentColor;
  opacity: var(--v);
  transition: opacity .45s ease, background-color .45s ease, transform .45s ease;
}
.cell.hot { background: var(--gold); opacity: 1; }
.print-hero { color: #D9CDB3; max-width: 170px; }
.print-toy { color: var(--ink); max-width: 220px; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-dark { background: var(--navy); color: var(--navy-ink); }
.section-dark h2 { color: #F6F1E7; }
.section-paper2 { background: var(--paper-2); }
.muted-light { color: var(--navy-mute); }

/* Four questions */
.four {
  list-style: none; margin: 56px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
}
.four li { padding: 28px 28px 8px 0; border-right: 1px solid var(--rule); }
.four li + li { padding-left: 28px; }
.four li:last-child { border-right: 0; }
.four-n { font: 500 13px var(--mono); color: var(--gold-3); letter-spacing: 0.1em; }
.four h3 { font-size: clamp(28px, 2.6vw, 36px); margin: 10px 0 12px; }
.four p { color: var(--ink-2); font-size: 16px; }

/* Toy */
.toy {
  margin-top: 64px;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  background: #FBF8F2;
  border: 1px solid var(--paper-edge);
  border-radius: 20px;
  padding: clamp(22px, 4vw, 44px);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 24px 60px -32px rgba(14, 17, 22, 0.35);
}
.toy-label { display: block; font: 600 13px var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-3); margin-bottom: 12px; }
.toy textarea {
  width: 100%; resize: vertical; min-height: 110px;
  font: 400 clamp(18px, 1.7vw, 22px)/1.45 var(--serif); color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule); border-radius: 12px;
  padding: 16px 18px;
}
.toy textarea:focus { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.toy-note { margin-top: 12px; font-size: 14px; color: var(--ink-3); }
.toy-output { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.toy-hex { font-size: 12.5px; line-height: 1.7; color: var(--ink-3); max-width: 34ch; overflow-wrap: anywhere; }
.toy-diff { font-size: 15px; color: var(--ink-2); min-height: 3em; max-width: 24em; }

/* ---------- Proof check ---------- */
.section-dark#sjekk {
  background:
    radial-gradient(900px 480px at 100% 0%, rgba(201, 153, 74, 0.10), transparent 60%),
    var(--navy);
}
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.check-copy > p:not(.eyebrow) { margin-top: 18px; font-size: 18px; max-width: 30em; }
.check-copy a { color: var(--gold); }

.tamper { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tamper-title { width: 100%; font: 600 13px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin: 0 0 4px; }
.chip {
  font: 500 15px var(--sans);
  color: var(--navy-ink);
  background: rgba(233, 226, 210, 0.06);
  border: 1px solid rgba(233, 226, 210, 0.25);
  border-radius: 999px; padding: 10px 16px; cursor: pointer;
  transition: background-color .15s, border-color .15s, transform .15s;
}
.chip:hover:not(:disabled) { border-color: var(--gold); transform: translateY(-1px); }
.chip.active { background: rgba(224, 119, 95, 0.16); border-color: var(--bad-l); }
.chip-reset.active, .chip-reset { border-style: dashed; }
.chip:disabled { opacity: 0.55; cursor: progress; }

.cert {
  position: relative;
  scroll-margin-top: 80px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 18px;
  padding: clamp(22px, 3.4vw, 36px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(201, 153, 74, 0.25);
  transition: box-shadow .4s ease;
}
.cert::before {
  content: ""; position: absolute; inset: 8px; border-radius: 12px; pointer-events: none;
  border: 1px solid var(--paper-edge);
}
.cert[data-state="ok"] { box-shadow: 0 40px 80px -40px rgba(0,0,0,.6), 0 0 0 2px var(--verified-l); }
.cert[data-state="bad"] { box-shadow: 0 40px 80px -40px rgba(0,0,0,.6), 0 0 0 2px var(--bad-l); }
.cert-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
.cert-kicker { font: 600 12px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-3); }
.cert-title { font: 400 26px/1.2 var(--serif); margin-top: 4px; }
.cert-stamp { width: 58px; height: 58px; color: var(--rule); flex: none; transition: color .3s, transform .5s cubic-bezier(.2,1.6,.4,1); }
.cert-stamp .stamp-ok, .cert-stamp .stamp-bad { opacity: 0; transition: opacity .3s; }
.cert[data-state="ok"] .cert-stamp { color: var(--verified); transform: rotate(-8deg) scale(1.04); }
.cert[data-state="ok"] .stamp-ok { opacity: 1; }
.cert[data-state="bad"] .cert-stamp { color: var(--bad); transform: rotate(6deg) scale(1.04); }
.cert[data-state="bad"] .stamp-bad { opacity: 1; }
.cert[data-state="warn"] .cert-stamp { color: var(--warn); }

.cert-rows { list-style: none; margin: 8px 0 0; padding: 0; }
.row { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px dashed var(--paper-edge); }
.row-q { font-weight: 600; font-size: 16px; }
.row-a { font-size: 15px; color: var(--ink-3); margin-top: 2px; transition: color .2s; }
.dot {
  width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  border: 1.5px solid var(--rule); position: relative; transition: all .25s ease;
}
.dot::after { content: ""; position: absolute; inset: 0; background: center/12px no-repeat; }
.row[data-status="checking"] .dot { border-color: var(--gold-2); border-top-color: transparent; animation: spin .7s linear infinite; }
.row[data-status="ok"] .dot { background: var(--verified); border-color: var(--verified); }
.row[data-status="ok"] .dot::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.2 2.2 4.8-5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.row[data-status="bad"] .dot { background: var(--bad); border-color: var(--bad); }
.row[data-status="bad"] .dot::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.5 3.5l5 5M8.5 3.5l-5 5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.row[data-status="warn"] .dot { background: var(--warn); border-color: var(--warn); }
.row[data-status="warn"] .dot::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2.8v4M6 9.2v.1' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.row[data-status="skip"] .dot { border-style: dashed; }
.row[data-status="ok"] .row-a { color: var(--verified); }
.row[data-status="bad"] .row-a { color: var(--bad); }
.row[data-status="warn"] .row-a { color: var(--gold-3); }

.verdict { margin-top: 20px; padding: 18px 20px; border-radius: 12px; background: var(--paper-2); transition: background-color .3s; }
.verdict-title { font: 500 24px/1.2 var(--serif); }
.verdict-sub { font-size: 15px; color: var(--ink-2); margin-top: 4px; }
.cert[data-state="ok"] .verdict { background: #E3EFE4; }
.cert[data-state="ok"] .verdict-title { color: var(--verified); }
.cert[data-state="bad"] .verdict { background: #F6E1DA; }
.cert[data-state="bad"] .verdict-title { color: var(--bad); }
.cert[data-state="warn"] .verdict { background: #F3E8D2; }

.cert-foot { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 20px; font-size: 14px; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linkish:hover { color: var(--ink); }
.nerd { color: var(--ink-3); flex: 1 1 100%; }
.nerd summary { cursor: pointer; }
.nerd dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 12px 0 0; }
.nerd dt { color: var(--ink-3); }
.nerd dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.nerd-note { margin-top: 10px; }
.noscript { margin-top: 14px; color: var(--bad); }

/* ---------- Live examples ---------- */
.live { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.live-card {
  display: flex; flex-direction: column; gap: 12px;
  text-decoration: none;
  background: #FBF8F2;
  border: 1px solid var(--paper-edge);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.live-card:hover { transform: translateY(-3px); border-color: var(--gold-2); box-shadow: 0 24px 50px -30px rgba(14, 17, 22, 0.4); }
.live-kind { font: 600 12px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-3); }
.live-card h3 { font-size: 30px; }
.live-card p:not(.live-kind) { color: var(--ink-2); font-size: 16px; flex: 1; }
.live-link { font-weight: 600; font-size: 15px; }

/* ---------- Uses ---------- */
.uses {
  list-style: none; margin: 48px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--rule);
  border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden;
}
.uses li { background: var(--paper-2); padding: 28px; }
.uses h3 { font-size: 22px; margin-bottom: 8px; }
.uses p { color: var(--ink-2); font-size: 16px; }
.uses-foot { margin-top: 32px; font: 400 clamp(20px, 2vw, 26px)/1.35 var(--serif); max-width: 34em; }

/* ---------- Why now ---------- */
.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px clamp(32px, 6vw, 88px); }
.why { list-style: none; margin: 0; padding: 0; }
.why li { padding: 24px 0; border-top: 1px solid var(--rule); }
.why li:last-child { border-bottom: 1px solid var(--rule); }
.why h3 { font-size: 23px; margin-bottom: 6px; }
.why p { color: var(--ink-2); }
.fine { grid-column: 2; font-size: 14px; color: var(--ink-3); max-width: 42em; }

/* ---------- CTA ---------- */
.cta {
  text-align: center;
  background:
    radial-gradient(700px 360px at 50% 0%, rgba(201, 153, 74, 0.16), transparent 70%),
    var(--navy);
}
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta h2 { max-width: 16ch; }
.cta p { color: var(--navy-mute); font-size: 19px; max-width: 30em; }
.cta .btn-big { margin-top: 8px; }

/* ---------- Footer ---------- */
.foot { background: #0A1C2F; color: var(--navy-mute); font-size: 14px; padding: 28px 0; }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.foot a { color: var(--navy-ink); }

/* ---------- Plain pages (personvern, 404) ---------- */
.plain { padding: clamp(56px, 8vw, 104px) 0; }
.plain .wrap { max-width: 760px; }
.plain h1 { font-size: clamp(38px, 5vw, 60px); margin-bottom: 28px; }
.plain h2 { font-size: 26px; margin: 40px 0 12px; max-width: none; }
.plain p:not(.eyebrow), .plain li { color: var(--ink-2); margin-bottom: 12px; }
.plain ul { padding-left: 20px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .check-grid, .why-grid { grid-template-columns: 1fr; }
  .hero-seal { max-width: 340px; order: -1; }
  .four { grid-template-columns: repeat(2, 1fr); }
  .four li:nth-child(2) { border-right: 0; }
  .four li:nth-child(3) { padding-left: 0; }
  .four li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .live, .uses { grid-template-columns: 1fr 1fr; }
  .fine { grid-column: 1; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .top-nav a:not(.btn) { display: none; }
  .brand-by { display: none; }
  .hero-seal { max-width: 260px; }
  .hero-cta .btn { width: 100%; }
  .four { grid-template-columns: 1fr; }
  .four li, .four li + li { padding: 22px 0 10px; border-right: 0; }
  .four li + li { border-top: 1px solid var(--rule); }
  .toy { grid-template-columns: 1fr; }
  .live, .uses { grid-template-columns: 1fr; }
  .cert-title { font-size: 22px; }
  .btn-big { width: 100%; font-size: 18px; }
  .nerd dl { grid-template-columns: 1fr; gap: 0; }
  .nerd dd { margin-bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
