:root {
  --green: #269b4d;
  --green-m: #208241;
  --green-d: #16532a;
  --green-text: #1a6c36;      --ink: #212121;
  --caramel: #c07a4e;
  --caramel-text: #8a4f2c;    --gold: #f6bb60;            --bg: #f7f8f4;
  --white: #fff;
  --mint: #e4f1e5;
  --mint-d: #c9e3cd;
  --line: #dbe0d3;
  --muted: #484e44;

  --font: Ubuntu, "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  --radius: 14px;
  --wrap: 1200px;
  --focus: var(--ink);

  --asset-wordmark: url("assets/pepecoin-brand-kit/pepecoin-wordmark.svg");
  --asset-symbol: url("assets/pepecoin-brand-kit/pepecoin-p-symbol.svg");
  --asset-shot: url("assets/pepecoin-brand-kit/pepecoin-core-wallet-screenshot.webp");
  --asset-downloads-hero-bg: url("assets/pepecoin-brand-kit/downloads-hero-texture.webp");
  --asset-security-bg: url("assets/pepecoin-brand-kit/security-soft-green-texture.webp");
  --asset-closing-bg: url("assets/pepecoin-brand-kit/closing-green-grunge-pattern.webp");
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
}

img, svg { max-width: 100%; }
img { display: block; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }

code {
  font-family: var(--mono);
  font-size: .9em;
  font-weight: 700;
  background: var(--mint);
  border: 1px solid var(--mint-d);
  border-radius: 6px;
  padding: .05em .4em;
  color: var(--green-d);
}

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico {
  width: 1.25em; height: 1.25em;
  flex: none;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.ico--lg { width: 28px; height: 28px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--gold); color: var(--ink);
  font-weight: 800; padding: 10px 16px; border-radius: 10px;
  border: 2px solid var(--ink);
}
.skip-link:focus { top: 12px; }

.pcoin, .frogmark {
  display: block;
  aspect-ratio: 1;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: auto 100%;
}
.pcoin { background-image: var(--asset-symbol); }
.frogmark { background-image: var(--asset-wordmark); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px;
  padding: .8em 1.5em;
  font: inherit; font-weight: 800; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 12px;
  transition: transform .14s ease, box-shadow .14s ease, background-color .14s ease;
}
.btn--primary { background: var(--green-m); color: #fff; box-shadow: 4px 4px 0 var(--ink); }
.btn--ghost   { background: var(--white); box-shadow: 4px 4px 0 var(--caramel); }
.btn--dark    { background: var(--ink); color: var(--white); box-shadow: 4px 4px 0 var(--green-d); border-color: var(--ink); }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); box-shadow: none; }
.btn--outline:hover { background: rgba(255,255,255,.1); border-color: #fff; box-shadow: none; }
.btn--sm { min-height: 42px; padding: .5em 1em; font-size: .86rem; gap: .5em; box-shadow: 3px 3px 0 var(--ink); }
.btn--sm .ico { width: 1.1em; height: 1.1em; }
.btn:hover { transform: translate(-2px, -2px); }
.btn--primary:hover { box-shadow: 6px 6px 0 var(--ink); background: #1b7138; }
.btn--ghost:hover   { box-shadow: 6px 6px 0 var(--caramel); }
.btn--dark:hover    { box-shadow: 6px 6px 0 var(--green-d); }
.btn--sm:hover { box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

.text-link {
  display: inline-flex; align-items: center; gap: .4em;
  font-weight: 800; color: var(--green-text);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.text-link:hover { color: var(--green-d); }
.text-link .ico { width: 1em; height: 1em; }
.text-link--inline { display: inline; word-break: break-word; }

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--ink); color: #fff;
  border-bottom: 2px solid #000;
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
  --focus: var(--gold);
  transition: box-shadow .18s ease;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 36px; width: auto; }
.brand-tag {
  font-weight: 800; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); background: var(--gold);
  padding: .25em .6em; border-radius: 999px; transform: rotate(-3deg);
}
.nav { display: flex; align-items: center; gap: 14px; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav ul { display: flex; gap: 2px; }
.nav ul a {
  display: block; padding: 8px 11px; border-radius: 10px;
  color: #e8efe4; font-weight: 700; font-size: .98rem; text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.nav ul a:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav ul a[aria-current="true"] { color: var(--gold); background: rgba(246,187,96,.12); }
.site-header .btn--primary { border-color: #000; box-shadow: 3px 3px 0 #0f3a1d; }
.site-header .btn--primary:hover { box-shadow: 5px 5px 0 #0f3a1d; }

.nav-toggle { display: none; }

.hero {
  position: relative;
  overflow: clip;
  padding: calc(68px + clamp(40px, 6vw, 80px)) 0 clamp(72px, 9vw, 120px);
  background:
    linear-gradient(90deg, rgba(247,248,244,.98) 0%, rgba(247,248,244,.92) 50%, rgba(247,248,244,.68) 100%),
    radial-gradient(800px 420px at 85% 10%, rgba(38,155,77,.18), transparent 70%),
    linear-gradient(180deg, #f7f8f4 0%, #edf3e8 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(22,83,42,.16) 1.4px, transparent 1.8px);
  background-size: 24px 24px;
  opacity: .65;
  -webkit-mask-image: radial-gradient(ellipse 72% 86% at 82% 22%, #000 0%, transparent 74%);
          mask-image: radial-gradient(ellipse 72% 86% at 82% 22%, #000 0%, transparent 74%);
}
.pcoin--hero { position: absolute; width: 190px; right: 8%; top: 30px; opacity: .1; transform: rotate(-12deg); }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}

h1 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -.03em;
  text-wrap: balance;
}
h1 em {
  display: block;
  font-style: italic;
  color: var(--green-text);
  padding-right: .1em;
}
.lede { margin-top: 20px; max-width: 34em; font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--muted); }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn--os { padding: .8em 1.25em; gap: .55em; min-width: 132px; }
.ico--fill { fill: currentColor; stroke: none; }
.cta-note { margin-top: 16px; font-size: .9rem; color: var(--muted); }

.hero-visual { position: relative; }
@media (min-width: 1340px) { .hero-visual { margin-right: -80px; } }
.window {
  border: 2px solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 12px 12px 0 var(--green), 0 40px 70px -30px rgba(0,0,0,.45);
}
.window img { width: 100%; }

.frag {
  position: absolute;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--caramel), 0 18px 30px -14px rgba(0,0,0,.35);
  font-size: .85rem; line-height: 1.35;
  animation: bob 6s ease-in-out infinite alternate;
}
.frag-head { display: flex; align-items: center; gap: .5em; font-weight: 800; font-size: .95rem; }
.frag-head .ico { color: var(--green-text); }
.frag-label { color: var(--muted); font-size: .8rem; }
.frag-title { font-weight: 800; font-size: .92rem; }
.frag--verify { left: 44%; bottom: -34px; padding: 12px 16px 12px 12px; display: flex; align-items: center; gap: 12px; animation-delay: -3s; box-shadow: 4px 4px 0 var(--green), 0 18px 30px -14px rgba(0,0,0,.35); }
.frag--verify .ico { color: var(--green-text); }

.addr {
  display: flex; align-items: center; gap: 2px;
  font-family: var(--mono); font-size: .95rem; letter-spacing: .04em;
  background: var(--bg); border: 1px dashed var(--green); border-radius: 8px;
  padding: .35em .6em; margin-top: 4px;
  overflow: hidden; white-space: nowrap;
}
.addr b { color: #fff; background: var(--green-d); border-radius: 5px; padding: 0 .4em; margin-right: .3em; }
.addr span { color: var(--muted); overflow: hidden; text-overflow: clip; }
.addr--light { margin-top: 16px; width: fit-content; max-width: 100%; }

.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }

.section-head { max-width: 46rem; margin-bottom: clamp(36px, 5vw, 60px); }

h2 { font-size: clamp(1.55rem, 2.7vw, 2.15rem); line-height: 1.1; font-weight: 800; letter-spacing: -.025em; text-wrap: balance; }
h3 { font-size: 1.15rem; line-height: 1.3; font-weight: 800; letter-spacing: -.01em; }
.section-sub { margin-top: 16px; font-size: 1.12rem; color: var(--muted); max-width: 40em; }
.section-sub--light { color: #d5e8d9; }

.features { position: relative; overflow: hidden; background: var(--white); }
.features::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(22,83,42,.18) 1.4px, transparent 1.8px);
  background-size: 24px 24px;
  opacity: .75;
  -webkit-mask-image: radial-gradient(ellipse 72% 86% at 18% 18%, #000 0%, transparent 74%);
          mask-image: radial-gradient(ellipse 72% 86% at 18% 18%, #000 0%, transparent 74%);
  pointer-events: none;
}
.features > .wrap { position: relative; }
.features-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.feature-list { display: grid; gap: 28px; }
.feature-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; }
.feature-list p { margin-top: 6px; color: var(--muted); }
.feature-icon {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  background: var(--mint); border: 2px solid var(--ink); border-radius: 14px;
  box-shadow: 3px 3px 0 var(--green);
  transition: transform .2s ease;
}
.feature-icon .ico { width: 26px; height: 26px; }
.feature-list li:hover .feature-icon { transform: rotate(-6deg) scale(1.05); }

.crop {
  background-image: var(--asset-shot);
  background-repeat: no-repeat;
  width: 100%;
}
.crop--toolbar { margin-top: 14px; aspect-ratio: 380 / 38; background-size: 259.47% auto; background-position: 0% 8.18%; border: 1px solid var(--line); border-radius: 8px; max-width: 420px; }
.crop--tx      { aspect-ratio: 484 / 300; background-size: 203.72% auto; background-position: 98.8% 27.8%; }
.crop--bal     { aspect-ratio: 240 / 132; background-size: 410.83% auto; background-position: 1.07% 18.45%; }

.shots { display: grid; gap: 22px; }
.shot {
  background: #f0f0f0;
  border: 2px solid var(--ink); border-radius: 12px; overflow: hidden;
  box-shadow: 6px 6px 0 var(--caramel);
}
.shot figcaption {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 9px 14px;
  background: var(--white); border-top: 2px solid var(--ink);
  font-weight: 800; font-size: .88rem;
}
.shot-note { font-weight: 600; font-size: .78rem; color: var(--muted); }
.shots-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 22px; align-items: center; }
.shot--bal { box-shadow: 6px 6px 0 var(--green); }

.frog-wrap { position: relative; display: grid; place-items: center; }
.frog {
  width: min(150px, 100%); aspect-ratio: 1;
  padding: 0; background: none; border: 0; border-radius: 50%; cursor: pointer;
  transition: transform .25s cubic-bezier(.3,1.6,.5,1);
}
.frog .frogmark { width: 100%; filter: drop-shadow(5px 5px 0 rgba(33,33,33,.9)); }
.frog:hover { transform: rotate(-8deg) scale(1.06); }
.frog.is-hop { animation: hop .5s ease; }
.bubble {
  position: absolute; top: -6px; right: -4px;
  background: var(--gold); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 12px 12px 12px 2px;
  padding: .2em .7em; font-weight: 800; font-size: .9rem;
  opacity: 0; transform: translateY(6px) scale(.9);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
.bubble.is-on { opacity: 1; transform: none; }

.security { padding: clamp(40px, 5vw, 64px) 0 0; background: var(--bg); }
.security + .how { padding-top: clamp(48px, 6vw, 80px); }
.sec-banner {
  position: relative; overflow: hidden;
  padding: clamp(24px, 3vw, 34px) clamp(22px, 3.5vw, 44px);
  background:
    linear-gradient(rgba(22,83,42,.78), rgba(22,83,42,.78)),
    radial-gradient(600px 260px at 0% 0%, rgba(38,155,77,.4), transparent 70%),
    var(--asset-security-bg) center / cover no-repeat,
    var(--green-d);
  color: #eaf5ec;
  border: 2px solid var(--ink); border-radius: 18px;
  --focus: var(--gold);
}
.sec-banner > * { position: relative; }
.sec-banner .pcoin--sec { position: absolute; width: 240px; right: -50px; bottom: -80px; opacity: .1; transform: rotate(14deg); filter: grayscale(1) brightness(2); pointer-events: none; }
.sec-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.2vw, 28px); }
.sec-points li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; line-height: 1.45; color: #d5e8d9; }
.sec-points strong { color: #fff; }
.sec-points .ico { color: var(--gold); margin-top: 2px; width: 22px; height: 22px; }

.how { background: var(--bg); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: none; }
.steps::before {
  content: ""; position: absolute; left: 28px; right: 28px; top: 27px;
  border-top: 3px dotted var(--green);
}
.steps li { position: relative; }
.step-num {
  position: relative;
  display: grid; place-items: center;
  width: 56px; height: 56px; margin-bottom: 20px;
  font-weight: 800; font-size: 1.4rem;
  background: var(--green); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 50%;
  box-shadow: 0 0 0 6px var(--bg), 3px 3px 0 var(--ink);
}
.step-num::after {
  content: ""; position: absolute; inset: -11px; border-radius: 50%;
  border: 2px dashed rgba(38,155,77,.55);
  animation: spin 24s linear infinite;
}
.steps p { margin-top: 8px; color: var(--muted); }
.steps .text-link { margin-top: 14px; }

.facts { background: var(--white); }
.facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fact {
  position: relative;
  padding: 26px 24px 28px;
  background: var(--bg);
  border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: 5px 5px 0 var(--mint-d);
  transition: transform .18s ease, box-shadow .18s ease;
}
.fact:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--green); }
.fact h3 { margin-top: 16px; font-size: 1.25rem; }
.fact p { margin-top: 8px; color: var(--muted); }
.fact-icon, .fact-symbol {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  background: var(--white); border: 2px solid var(--ink); border-radius: 50%;
}
.fact-icon .ico { width: 24px; height: 24px; color: var(--green-text); }
.fact-symbol { border: 0; background: none; }
.pcoin--tile { width: 52px; filter: drop-shadow(2px 2px 0 var(--ink)); }
.fact-icon--dots { display: flex; gap: 4px; }
.fact-icon--dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: ribbit 1.8s ease-in-out infinite; }
.fact-icon--dots i:nth-child(2) { animation-delay: .2s; background: var(--caramel); }
.fact-icon--dots i:nth-child(3) { animation-delay: .4s; background: var(--green-d); }
.glyph { font-style: normal; color: var(--green-text); }

.not-this {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 36px; padding: 18px 22px;
  background: #fbf0e6; border: 2px solid var(--ink); border-radius: var(--radius);
}
.not-this .ico { color: var(--caramel-text); margin-top: 3px; width: 24px; height: 24px; }

.faq {
  background:
    linear-gradient(rgba(247,248,244,.88), rgba(247,248,244,.88)),
    var(--asset-security-bg) center / cover no-repeat,
    var(--bg);
}
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.section-head--left { margin-bottom: 0; }
.section-head--left .text-link { margin-top: 22px; }

.faq-list { display: grid; gap: 14px; }
details {
  background: var(--white);
  border: 2px solid var(--ink); border-radius: var(--radius);
  transition: box-shadow .18s ease, transform .18s ease;
}
details:hover { box-shadow: 4px 4px 0 var(--mint-d); }
details[open] { box-shadow: 5px 5px 0 var(--green); }
summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; cursor: pointer; list-style: none;
  font-weight: 800; font-size: 1.08rem; line-height: 1.35;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--ink); background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat,
    var(--mint);
  transition: transform .25s ease, background-color .2s ease;
}
details[open] summary::after {
  transform: rotate(135deg);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat,
    var(--gold);
}
details p { padding: 0 22px 20px; color: var(--muted); max-width: 42em; }
details[open] p { animation: fade .3s ease; }

.closing {
  background:
    linear-gradient(rgba(38,155,77,.82), rgba(38,155,77,.82)),
    var(--asset-closing-bg) center / cover no-repeat,
    var(--green);
  padding: clamp(36px, 5vw, 56px) 0;
}
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.closing h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); color: var(--ink); }
.closing p { margin-top: 8px; font-weight: 600; color: #0f2e18; max-width: 36em; }

.site-footer { background: var(--ink); color: #d4dacf; padding: 56px 0 48px; --focus: var(--gold); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: center; }
.footer-brand img { height: 36px; width: auto; }
.footer-brand p { margin-top: 14px; }
.footer-brand strong { color: #fff; }
.footer-nav { display: flex; align-items: center; gap: 20px 32px; flex-wrap: wrap; justify-content: flex-end; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.footer-nav li a { display: inline-block; padding: 4px 0; font-weight: 700; color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 4px; }
.footer-nav li a:hover { text-decoration-color: var(--gold); color: var(--gold); }
.risk {
  grid-column: 1 / -1;
  padding: 16px 20px; font-size: .92rem; line-height: 1.55;
  border: 1px dashed rgba(246,187,96,.6); border-radius: 12px; color: #e9eee5;
}
.risk strong { color: var(--gold); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-8px); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes slidein { from { opacity: 0; transform: translateX(34px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hop { 0%,100% { transform: translateY(0); } 40% { transform: translateY(-16px) rotate(-6deg); } 70% { transform: translateY(0) rotate(3deg); } }
@keyframes ribbit { 0%,100% { transform: scale(1); } 50% { transform: scale(1.6); } }

.hero-copy > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > :nth-child(1) { animation-delay: .05s; }
.hero-copy > :nth-child(2) { animation-delay: .12s; }
.hero-copy > :nth-child(3) { animation-delay: .2s; }
.hero-copy > :nth-child(4) { animation-delay: .28s; }
.hero-copy > :nth-child(5) { animation-delay: .34s; }
.hero-copy > :nth-child(6) { animation-delay: .4s; }
.hero-visual { animation: slidein .9s cubic-bezier(.2,.7,.2,1) .15s both; }

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

@media (max-width: 1060px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 40rem; }
  .hero-visual { max-width: 760px; margin-right: 12px; margin-bottom: 40px; }
  .features-grid, .faq-grid { grid-template-columns: 1fr; }
  .sec-points { grid-template-columns: 1fr; }
  .section-head--left { margin-bottom: 8px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .steps::before { display: none; }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shots { max-width: 640px; }
}

@media (max-width: 1040px) {
  .nav-toggle {
    display: inline-grid; place-items: center;
    width: 48px; height: 48px; padding: 0;
    background: transparent; color: currentColor; cursor: pointer;
    border: 2px solid rgba(255,255,255,.35); border-radius: 12px;
  }
  .nav-toggle:hover { border-color: var(--gold); }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor;
    transition: transform .2s ease, background-color .2s ease;
  }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .js .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 14px;
    padding: 14px 20px 22px;
    background: var(--ink); border-bottom: 2px solid #000;
  }
  .js .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; }
  .nav ul a { padding: 14px 12px; font-size: 1.05rem; }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav .btn { width: 100%; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .nav { flex-wrap: wrap; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 8px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .brand img { height: 30px; }
  .cta-row { gap: 10px; }
  .btn--os { flex: 1 1 0; min-width: 0; padding: .8em .6em; }

  .hero-visual { margin-right: 0; margin-bottom: 0; }
  .window { box-shadow: 7px 7px 0 var(--green), 0 30px 50px -30px rgba(0,0,0,.45); }
  .frag { position: static; animation: none; width: auto; box-shadow: 3px 3px 0 var(--green); }
  .hero-visual { display: grid; gap: 18px; }
  .pcoin--hero { width: 140px; right: -20px; }

  .feature-list li { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
  .feature-icon { width: 48px; height: 48px; }
  .shots-row { grid-template-columns: minmax(0, 1fr) 110px; gap: 14px; }
  .steps { grid-template-columns: 1fr; gap: 0; padding-left: 4px; }
  .steps li { padding: 0 0 32px 76px; min-height: 76px; }
  .steps li:last-child { padding-bottom: 0; }
  .steps li::before { content: ""; position: absolute; left: 27px; top: 60px; bottom: 4px; border-left: 3px dotted var(--green); }
  .steps li:last-child::before { display: none; }
  .step-num { position: absolute; left: 0; top: 0; margin: 0; }
  .facts-grid { grid-template-columns: 1fr; }
  summary { padding: 16px 16px; font-size: 1.02rem; }
  details p { padding: 0 16px 18px; }
  .closing-inner .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
  .not-this { padding: 16px; }
}

.page-hero {
  position: relative; overflow: clip;
  padding: calc(68px + clamp(36px, 5vw, 64px)) 0 clamp(44px, 6vw, 72px);
  background:
    linear-gradient(90deg, rgba(247,248,244,.94) 0%, rgba(247,248,244,.78) 54%, rgba(247,248,244,.34) 100%),
    radial-gradient(800px 420px at 85% 10%, rgba(38,155,77,.14), transparent 70%),
    var(--asset-downloads-hero-bg) center / cover no-repeat,
    linear-gradient(180deg, #f7f8f4 0%, #edf3e8 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero .wrap { position: relative; }
.page-hero h1 em { display: inline; }
.crumbs { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; font-weight: 700; font-size: .92rem; color: var(--muted); }
.crumbs a { color: var(--green-text); text-underline-offset: 4px; }

.downloads { background: var(--bg); }
.os-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.os-card {
  display: flex; flex-direction: column; gap: 20px;
  padding: 26px 24px 28px;
  background: var(--white);
  border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: 5px 5px 0 var(--mint-d);
  scroll-margin-top: 96px;
}
.os-card:target { box-shadow: 8px 8px 0 var(--green); }
.os-head { display: flex; gap: 16px; align-items: center; }
.os-head h2 { font-size: 1.5rem; }
.os-head p { color: var(--muted); font-size: .98rem; }
.os-icon {
  display: grid; place-items: center; flex: none;
  width: 56px; height: 56px;
  background: var(--mint); border: 2px solid var(--ink); border-radius: 14px;
  box-shadow: 3px 3px 0 var(--green);
}
.os-icon .ico { width: 26px; height: 26px; }
.builds { display: grid; gap: 10px; }
.build {
  display: grid; gap: 2px;
  padding: 14px 16px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
}
.build-name { font-weight: 800; }
.build-meta { font-size: .9rem; color: var(--muted); }
.build--soon { border-style: dashed; border-color: var(--green); background: var(--mint); }

.verify {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px 48px;
  margin-top: clamp(32px, 5vw, 56px); padding: clamp(22px, 3vw, 34px);
  background: var(--white); border: 2px solid var(--ink); border-radius: 16px;
  box-shadow: 8px 8px 0 var(--gold);
}
.verify h2 { font-size: 1.5rem; margin-bottom: 16px; }
.verify-list { display: grid; gap: 16px; }
.verify-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.verify-list strong { color: var(--ink); }
.verify-list .ico { color: var(--green-text); margin-top: 3px; width: 24px; height: 24px; }
.verify-side { padding-left: clamp(0px, 3vw, 40px); border-left: 2px dashed var(--line); }
.verify-side p { margin-top: 8px; color: var(--muted); }
.verify-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

@media (max-width: 1060px) {
  .os-grid { grid-template-columns: 1fr; max-width: 640px; }
  .verify { grid-template-columns: 1fr; }
  .verify-side { padding-left: 0; border-left: 0; border-top: 2px dashed var(--line); padding-top: 24px; }
}
@media (max-width: 640px) {
  .page-hero .pcoin--hero { width: 110px; right: -10px; }
  .verify-actions .btn { flex: 1 1 100%; }
}
