/* ==========================================================================
   Jaxx Liberty Wallet — Independent Guide
   Design system: "Midnight Ledger"
   ========================================================================== */

:root {
  --ink: #070a12;
  --ink-2: #0b1020;
  --ink-3: #101731;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #e9eefb;
  --muted: #9aa6c2;
  --muted-2: #6e7a97;
  --mint: #7df3c0;
  --indigo: #8091ff;
  --amber: #ffc06b;
  --rose: #ff8fa3;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9);
  --wrap: 1140px;

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --font-head: "Space Grotesk", var(--font-body);
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.68;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* grain + aurora background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: radial-gradient(
      900px 520px at 78% -6%,
      rgba(128, 145, 255, 0.22),
      transparent 62%
    ),
    radial-gradient(
      760px 460px at 8% 4%,
      rgba(125, 243, 192, 0.14),
      transparent 60%
    );
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

main,
.site-head,
.site-foot {
  position: relative;
  z-index: 1;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 22px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--mint);
  color: #04231a;
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  font-weight: 600;
  z-index: 99;
}
.skip:focus {
  left: 0;
}

/* ---------------------------------------------------------------- headings */
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 0.5em;
  color: #fff;
}

h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
}
h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
}
h3 {
  font-size: 1.12rem;
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 1.05em;
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.19rem);
  color: var(--muted);
  max-width: 60ch;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mint);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--mint), transparent);
}

.muted {
  color: var(--muted);
}
.mono {
  font-family: var(--font-mono);
  font-size: 0.86em;
  letter-spacing: -0.02em;
}

/* ------------------------------------------------------------------ header */
.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  background: rgba(7, 10, 18, 0.72);
  border-bottom: 1px solid var(--line);
}

.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.02rem;
  white-space: nowrap;
}

.brand .mark {
  flex: none;
  width: 34px;
  height: 34px;
}

.brand small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 400;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 0.93rem;
  color: var(--muted);
  transition: color 0.18s ease, background 0.18s ease;
}
.nav a:hover {
  color: #fff;
  background: var(--panel-2);
}
.nav a[aria-current="page"] {
  color: #fff;
}

.burger {
  margin-left: auto;
  display: none;
  width: 44px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 11px;
  cursor: pointer;
}
.burger span,
.burger span::before,
.burger span::after {
  content: "";
  display: block;
  width: 17px;
  height: 1.6px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.burger span::before {
  transform: translateY(-5.5px);
}
.burger span::after {
  transform: translateY(3.9px);
}
.burger[aria-expanded="true"] span {
  background: transparent;
}
.burger[aria-expanded="true"] span::before {
  transform: translateY(0) rotate(45deg);
}
.burger[aria-expanded="true"] span::after {
  transform: translateY(-1.6px) rotate(-45deg);
}

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--mint), #59e0d0 70%);
  color: #04241c;
  box-shadow: 0 14px 34px -16px rgba(125, 243, 192, 0.7);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -16px rgba(125, 243, 192, 0.8);
}
.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: var(--panel);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: var(--panel-2);
}
.btn.small {
  padding: 9px 16px;
  font-size: 0.87rem;
}

/* keep the header CTA readable next to .nav a colours */
.nav a.btn-primary {
  color: #04241c;
  background: linear-gradient(135deg, var(--mint), #59e0d0 70%);
}
.nav a.btn-primary:hover {
  color: #04241c;
  background: linear-gradient(135deg, #91f8ce, #6cecdc 70%);
}

/* -------------------------------------------------------------------- hero */
.hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 11px;
  border: 1px solid rgba(125, 243, 192, 0.28);
  background: rgba(125, 243, 192, 0.07);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 20px;
}
.badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(125, 243, 192, 0.16);
}

.hero h1 .grad {
  background: linear-gradient(104deg, #ffffff 12%, var(--mint) 52%, var(--indigo));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 6px 11px;
  border-radius: 8px;
}

/* wallet mock */
.mock {
  position: relative;
  border-radius: 24px;
  padding: 20px;
  background: linear-gradient(
    168deg,
    rgba(255, 255, 255, 0.075),
    rgba(255, 255, 255, 0.02) 55%
  );
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
.mock::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(
    150deg,
    rgba(125, 243, 192, 0.5),
    transparent 42%,
    rgba(128, 145, 255, 0.42)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.mock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.mock-top .label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.mock-balance {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 2px 0 4px;
}
.mock-balance span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
  margin-left: 6px;
}

.asset {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  margin-bottom: 8px;
}
.asset .coin {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: #050810;
}
.asset .coin.btc {
  background: linear-gradient(140deg, #ffcd7a, #f7931a);
}
.asset .coin.eth {
  background: linear-gradient(140deg, #b3c0ff, #6c7cf5);
}
.asset .coin.ltc {
  background: linear-gradient(140deg, #cfe6ff, #6fa8dc);
}
.asset b {
  font-size: 0.92rem;
  font-weight: 600;
  display: block;
  color: #fff;
}
.asset em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted-2);
}
.asset .val {
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--text);
}
.asset .val i {
  font-style: normal;
  display: block;
  font-size: 0.68rem;
  color: var(--mint);
}

.vault {
  margin-top: 14px;
  border: 1px dashed rgba(255, 192, 107, 0.4);
  background: rgba(255, 192, 107, 0.06);
  border-radius: 14px;
  padding: 13px 14px;
}
.vault .k {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 8px;
}
.vault .words {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.22em;
}
.vault .warn {
  margin: 9px 0 0;
  font-size: 0.76rem;
  color: var(--muted-2);
}

/* ------------------------------------------------------------------ notice */
.notice {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 192, 107, 0.28);
  background: linear-gradient(
    100deg,
    rgba(255, 192, 107, 0.1),
    rgba(255, 192, 107, 0.02)
  );
}
.notice svg {
  flex: none;
  margin-top: 3px;
}
.notice h3 {
  margin-bottom: 6px;
  color: #ffe4bd;
}
.notice p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------------------------------------------------------------- sections */
section {
  padding: clamp(46px, 7vw, 84px) 0;
  scroll-margin-top: 86px;
}
[id] {
  scroll-margin-top: 86px;
}
.section-head {
  max-width: 62ch;
  margin-bottom: 40px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head.center .eyebrow {
  justify-content: center;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.fact {
  background: rgba(11, 16, 32, 0.72);
  padding: 24px 22px;
}
.fact b {
  display: block;
  font-family: var(--font-head);
  font-size: 1.45rem;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.fact span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------------------------------------------------------------- timeline */
.timeline {
  position: relative;
  margin: 0;
  padding: 6px 0 6px 34px;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(
    var(--mint),
    var(--indigo) 60%,
    rgba(255, 255, 255, 0.06)
  );
}
.timeline li {
  position: relative;
  padding: 0 0 26px;
}
.timeline li:last-child {
  padding-bottom: 0;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--mint);
}
.timeline li:last-child::before {
  border-color: var(--amber);
}
.timeline .yr {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--indigo);
  display: block;
  margin-bottom: 3px;
}
.timeline h3 {
  font-size: 1.02rem;
  margin-bottom: 3px;
}
.timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* ------------------------------------------------------------------- cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 16px;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  background: linear-gradient(
    170deg,
    rgba(255, 255, 255, 0.045),
    rgba(255, 255, 255, 0.012)
  );
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(125, 243, 192, 0.3);
  background: linear-gradient(
    170deg,
    rgba(125, 243, 192, 0.07),
    rgba(255, 255, 255, 0.015)
  );
}
.card .ico {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: rgba(128, 145, 255, 0.1);
  color: var(--mint);
  margin-bottom: 15px;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* ------------------------------------------------------------------ safety */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  background: rgba(12, 17, 34, 0.66);
}
.panel.danger {
  border-color: rgba(255, 143, 163, 0.28);
  background: linear-gradient(
    170deg,
    rgba(255, 143, 163, 0.08),
    rgba(12, 17, 34, 0.7)
  );
}
.panel.safe {
  border-color: rgba(125, 243, 192, 0.24);
  background: linear-gradient(
    170deg,
    rgba(125, 243, 192, 0.07),
    rgba(12, 17, 34, 0.7)
  );
}

.flist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.flist li {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.94rem;
  color: var(--muted);
}
.flist li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.flist b {
  color: var(--text);
  font-weight: 600;
}
.flist .tick {
  flex: none;
  margin-top: 5px;
}
.panel.danger .tick {
  color: var(--rose);
}
.panel.safe .tick {
  color: var(--mint);
}

/* --------------------------------------------------------------------- faq */
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 44px 20px 0;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  position: relative;
  letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 1.8px solid var(--mint);
  border-bottom: 1.8px solid var(--mint);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.faq .answer {
  padding: 0 44px 22px 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.faq .answer p:last-child {
  margin-bottom: 0;
}

/* -------------------------------------------------------------- blog teaser */
.teaser {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 34px 32px;
  border-radius: 22px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(
    120deg,
    rgba(128, 145, 255, 0.13),
    rgba(125, 243, 192, 0.07) 60%,
    rgba(255, 255, 255, 0.02)
  );
}
.teaser .meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 12px;
}
.teaser p {
  margin: 0;
  color: var(--muted);
  max-width: 58ch;
}

/* -------------------------------------------------------------- article */
.article {
  padding: clamp(40px, 6vw, 76px) 0;
}
.article .wrap {
  max-width: 800px;
}
.article-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
  margin-bottom: 34px;
}
.article-head .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 18px;
}
.article-body h2 {
  font-size: 1.4rem;
  margin-top: 2em;
}
.article-body p,
.article-body li {
  color: #cfd7ea;
}
.article-body ul {
  color: var(--muted);
  padding-left: 20px;
  margin: 0 0 1.05em;
}
.article-body li {
  margin-bottom: 9px;
}
.article-body strong {
  color: #fff;
  font-weight: 600;
}
.pullquote {
  border-left: 2px solid var(--mint);
  padding: 4px 0 4px 20px;
  margin: 28px 0;
  font-family: var(--font-head);
  font-size: 1.12rem;
  color: #fff;
  line-height: 1.5;
}
.wordbox {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  background: var(--panel);
  margin: 32px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--muted);
}
.wordbox b {
  color: #fff;
  display: block;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

/* ------------------------------------------------------------------ footer */
.site-foot {
  border-top: 1px solid var(--line);
  background: rgba(7, 10, 18, 0.8);
  padding: 52px 0 34px;
  margin-top: 30px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 34px;
}
.foot-grid h4 {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 400;
  margin-bottom: 14px;
}
.foot-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.foot-grid li {
  margin-bottom: 9px;
}
.foot-grid a {
  color: var(--muted);
  font-size: 0.93rem;
  transition: color 0.16s ease;
}
.foot-grid a:hover {
  color: var(--mint);
}
.disclaimer {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  font-size: 0.82rem;
  color: var(--muted-2);
  line-height: 1.7;
}
.disclaimer p {
  margin: 0 0 10px;
}
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------------------------------------------------------------- reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------ responsive */
@media (max-width: 980px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }
  .mock {
    order: -1;
  }
  .facts {
    grid-template-columns: repeat(2, 1fr);
  }
  .split {
    grid-template-columns: 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .teaser {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }
  .burger {
    display: flex;
  }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 18px 18px;
    background: #0a0e1a;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 50px -24px #000;
    z-index: 50;
    margin-left: 0;
    display: none;
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    padding: 13px 10px;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .nav .btn {
    justify-content: center;
    margin-top: 10px;
    border-bottom: 0;
  }
  .facts {
    grid-template-columns: 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .panel {
    padding: 22px 20px;
  }
  .teaser {
    padding: 26px 22px;
  }
}

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