@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/JetBrainsMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/JetBrainsMono-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #050b08;
  --bg-alt: #07110b;
  --panel: #0a1710;
  --panel-2: #0e2016;
  --line: #1b3828;
  --line-2: #2d5c40;
  --text: #eaf6ed;
  --muted: #a3b9ab;
  --dim: #74907f;
  --green: #5fe08f;
  --lime: #b9f56b;
  --amber: #ffc857;
  --red: #ff6068;
  --mono: 'JetBrains Mono', Consolas, 'Courier New', monospace;
  --sans: 'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --display: 'Segoe UI Variable Display', 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --r: 16px;
  --pad: clamp(18px, 4vw, 56px);
}

/* One page flows into the next, like the screens of the program do. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.22s ease-in both page-out; }
::view-transition-new(root) { animation: 0.32s ease-out both page-in; }
@keyframes page-out { to { opacity: 0; filter: blur(6px); } }
@keyframes page-in { from { opacity: 0; filter: blur(8px); transform: translateY(8px); } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--sans);
  overflow-x: hidden;
}
h1, h2, h3, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
p a, .faq-a a, .note a, .ticks a { color: var(--lime); text-decoration: underline; text-decoration-color: #b9f56b66; text-underline-offset: 3px; }
p a:hover, .faq-a a:hover, .note a:hover, .ticks a:hover { text-decoration-color: var(--lime); }
img, video, canvas { display: block; max-width: 100%; }
img, video { height: auto; }
button { font: inherit; color: inherit; }
strong, b { font-weight: 650; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lime); color: #0a150e; }

.wrap { width: min(1200px, 100% - var(--pad) * 2); margin-inline: auto; }
.skip {
  position: fixed; top: 10px; left: 10px; z-index: 50;
  padding: 0.6rem 1rem; border-radius: 8px;
  background: var(--lime); color: #081208; font-weight: 650;
  transform: translateY(-300%);
}
.skip:focus { transform: none; }
.i { flex: none; width: 1.25em; height: 1.25em; }

/* ------------------------------------------------------------ type */
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.5rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
h1 em { font-style: normal; background: linear-gradient(95deg, var(--lime), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.75rem); font-weight: 750; }
h3 { font-size: 1.13rem; font-weight: 650; letter-spacing: -0.005em; line-height: 1.3; }
.eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem;
  color: var(--green); font: 700 0.8rem/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase;
}
.lead { color: #c9dccf; font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.55; text-wrap: pretty; }
.zero { font-family: var(--mono); font-weight: 700; color: var(--lime); letter-spacing: -0.04em; white-space: nowrap; }
.prose { max-width: 62rem; color: var(--muted); }

.tag {
  display: inline-flex; align-items: center; padding: 0.22rem 0.6rem; border-radius: 999px;
  font: 700 0.72rem/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
}
.tag-free { background: var(--lime); color: #10200a; }
.tag-demo { border: 1px solid #5d4a1c; color: var(--amber); background: #1d1708; letter-spacing: 0.04em; text-transform: none; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 52px; padding: 0.7rem 1.4rem;
  border: 1px solid transparent; border-radius: 12px;
  font-weight: 650; font-size: 1.02rem; line-height: 1.2; text-align: center; cursor: pointer;
  transition: transform 0.15s, background-color 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, #c8fa85, #7fe36b); color: #0d1d09;
  box-shadow: 0 0 0 1px #d7ffa033 inset, 0 8px 30px #9df06b33;
}
.btn-primary:hover { background: linear-gradient(180deg, #dcffa8, #96ee7c); box-shadow: 0 0 0 1px #d7ffa055 inset, 0 10px 38px #9df06b55; }
.btn-ghost { border-color: #2f5e42; background: #0c1b12cc; color: var(--text); }
.btn-ghost:hover { border-color: var(--green); background: #12291b; }
.btn-sm { min-height: 42px; padding: 0.45rem 1rem; font-size: 0.93rem; border-radius: 10px; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.more { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--lime); font-weight: 650; }
.more .i { transition: transform 0.18s; }
a:hover > .more .i, a.more:hover .i { transform: translateX(4px); }

/* ------------------------------------------------------------ header */
.hdr {
  position: sticky; top: 0; z-index: 20;
  border-bottom: 1px solid #14291d;
  background: #050b08e0; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.hdr-in { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font: 700 1.08rem/1 var(--mono); letter-spacing: 0.18em; color: var(--text); }
.brand .mark { width: auto; height: 28px; }
.ftr .brand .mark { height: 24px; }
.nav { display: flex; gap: clamp(1rem, 2.4vw, 2.1rem); margin-left: auto; }
.nav a { position: relative; padding: 0.5rem 0; color: var(--muted); font-size: 0.96rem; white-space: nowrap; transition: color 0.15s; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--text); }
.nav a[aria-current='page']::after { position: absolute; inset: auto 0 0; height: 2px; border-radius: 2px; background: var(--lime); content: ''; }
.menu-btn { display: none; margin-left: auto; min-height: 42px; padding: 0.4rem 0.9rem; border: 1px solid #2f5e42; border-radius: 10px; background: #0c1b12; cursor: pointer; }

/* ------------------------------------------------------------ hero */
.hero, .phero { position: relative; isolation: isolate; overflow: hidden; }
.hero { padding-bottom: clamp(40px, 6vw, 84px); background: radial-gradient(ellipse 90% 60% at 50% 0, #0e2a19 0, #07130c 55%, var(--bg) 100%); }
.glyphs {
  position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%;
  -webkit-mask-image: radial-gradient(ellipse 75% 62% at 50% 22%, #000 12%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 62% at 50% 22%, #000 12%, transparent 78%);
}
.hero-in { display: grid; justify-items: center; gap: 1.5rem; padding-block: clamp(44px, 7vw, 96px) clamp(34px, 5vw, 60px); text-align: center; }
.hero-in .eyebrow { justify-content: center; }
.hero-in h1 { max-width: 17ch; }
.hero-in .lead { max-width: 46rem; }
.hero-in .actions { justify-content: center; margin-top: 0.4rem; }
.hero-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 2.4rem; margin-top: 0.6rem; }
.hero-facts li { display: grid; gap: 0.1rem; }
.hero-facts b { font: 700 1.25rem/1.2 var(--mono); color: var(--lime); letter-spacing: -0.02em; }
.hero-facts span { color: var(--dim); font-size: 0.9rem; }

/* ------------------------------------------------------------ program window */
.window {
  overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--r);
  background: #050b07; box-shadow: 0 30px 90px #000a, 0 0 80px #45e08a14;
}
.window.tour { box-shadow: 0 40px 120px #000c, 0 0 0 1px #7bf0a41a, 0 0 120px #45e08a26; }
.window-bar { display: flex; align-items: center; gap: 0.8rem; padding: 0.6rem 0.9rem; border-bottom: 1px solid var(--line); background: #0b1911; }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #23432f; }
.dots i:first-child { background: #3d7a55; }
.window-title { flex: 1; min-width: 0; overflow: hidden; color: var(--muted); font: 400 0.8rem/1.4 var(--mono); letter-spacing: 0.04em; text-overflow: ellipsis; white-space: nowrap; }
.window video, .window img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #040906; }
.window figcaption, .shot figcaption { padding: 0.7rem 0.95rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; background: #08130c; }
.tour figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem 1.4rem; }
.tour figcaption > span { color: var(--dim); font-size: 0.86rem; }
.chapters { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chapters button {
  min-height: 36px; padding: 0.3rem 0.8rem; border: 1px solid #25482f; border-radius: 999px;
  background: #0c1b12; color: var(--muted); font-size: 0.9rem; cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background-color 0.15s;
}
.chapters button:hover { color: var(--text); border-color: var(--green); }
.chapters button[aria-pressed='true'] { color: #10200a; border-color: var(--lime); background: var(--lime); font-weight: 650; }

.shot { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #050b07; box-shadow: 0 18px 60px #0008; }
.shot a { display: block; }
.shot img { width: 100%; transition: transform 0.4s; }
.shot a:hover img { transform: scale(1.015); }
.trio, .quad { display: grid; gap: 1rem; }
.trio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quad { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 1.6rem; }
.trio .shot figcaption, .quad .shot figcaption { font-size: 0.88rem; }

/* ------------------------------------------------------------ sections */
.section { padding-block: clamp(52px, 7vw, 104px); }
.section-alt { border-block: 1px solid #10231a; background: var(--bg-alt); }
.section-tight { padding-block: 0 clamp(40px, 5vw, 72px); }
.section-head { display: grid; gap: 0.9rem; max-width: 52rem; margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.section-lead { color: var(--muted); font-size: 1.1rem; text-wrap: pretty; }
.section-more { margin-top: 1.6rem; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(26px, 4.5vw, 70px); align-items: start; }
.split.flip .split-text { order: 2; }
/* The picture stays in view while a long column of text scrolls past it. */
.split-media { position: sticky; top: 92px; }
.split-text { display: grid; gap: 1.1rem; align-content: start; }
.split-text > p { color: var(--muted); }
.split-text > p strong { color: var(--text); }

.cards { display: grid; gap: 1rem; }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: grid; gap: 0.7rem; align-content: start; padding: clamp(18px, 2vw, 26px); border: 1px solid var(--line); border-radius: var(--r); background: linear-gradient(180deg, var(--panel-2), var(--panel)); }
.card p { color: var(--muted); font-size: 0.98rem; }
.card-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #2c5a3f; border-radius: 12px; background: #132b1b; color: var(--lime); }
.card-icon .i { width: 22px; height: 22px; }

.ticks { display: grid; gap: 0.75rem; }
.ticks li { display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.7rem; align-items: start; color: var(--muted); }
.ticks li > .i { margin-top: 0.22em; color: var(--lime); }
.ticks strong { color: var(--text); }

.steps { display: grid; gap: 0.9rem; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 2.6rem 1fr; gap: 1rem; align-items: start; counter-increment: step; }
.steps li::before {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 1px solid #3a6b47; border-radius: 12px;
  background: #132b1b; color: var(--lime); font: 700 1rem/1 var(--mono); content: counter(step);
}
.steps h3 { margin-top: 0.35rem; }
.steps p { margin-top: 0.3rem; color: var(--muted); font-size: 0.98rem; }

.note { margin-top: 1.5rem; padding: 0.9rem 1.1rem; border: 1px solid var(--line); border-left: 3px solid var(--green); border-radius: 10px; background: #0b1911; color: #c4d7ca; font-size: 0.98rem; }
.note-warn { border-left-color: var(--amber); }

/* ------------------------------------------------------------ how it works */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.cards + .flow { margin-top: clamp(1.6rem, 3vw, 2.6rem); }
.flow li { position: relative; display: grid; gap: 0.5rem; align-content: start; padding: 1.2rem 1.2rem 1.3rem; border: 1px dashed #2d5c40; border-radius: var(--r); }
.flow li:not(:last-child)::after { position: absolute; top: 50%; right: -0.85rem; z-index: 1; width: 0.7rem; height: 0.7rem; border-top: 2px solid var(--green); border-right: 2px solid var(--green); transform: translateY(-50%) rotate(45deg); content: ''; }
.flow-n { font: 700 0.8rem/1 var(--mono); color: var(--green); letter-spacing: 0.1em; }
.flow p { color: var(--muted); font-size: 0.95rem; }
.flow-end { border-style: solid; border-color: #4b8a4d; background: #10241680; }

.bands { display: flex; overflow: hidden; margin-bottom: 1rem; border: 1px solid var(--line-2); border-radius: 14px; }
.band { display: grid; gap: 0.15rem; padding: 1rem 1.1rem; min-width: 0; }
.band b { font-size: 1.02rem; }
.band span { font: 400 0.85rem/1.4 var(--mono); opacity: 0.85; }
.band-ok { flex: 5; background: linear-gradient(90deg, #0f2a1a, #17432a); color: #b9f7cd; }
.band-warn { flex: 3; background: linear-gradient(90deg, #3a2e0d, #5a430f); color: #ffe2a0; }
.band-bad { flex: 2; background: linear-gradient(90deg, #5a1418, #7d1a20); color: #ffd3d5; }

/* ------------------------------------------------------------ features grid */
.fgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.fcard { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; }
.fcard:hover { border-color: var(--green); transform: translateY(-4px); box-shadow: 0 18px 50px #0009, 0 0 40px #45e08a1c; }
.fcard-shot { display: block; overflow: hidden; border-bottom: 1px solid var(--line); background: #040906; }
.fcard-shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.5s; }
.fcard:hover .fcard-shot img { transform: scale(1.05); }
.fcard-body { display: grid; gap: 0.55rem; align-content: start; padding: 1.05rem 1.1rem 1.2rem; }
.fcard-title { display: flex; align-items: center; gap: 0.55rem; font: 650 1.06rem/1.25 var(--display); }
.fcard-title .i { color: var(--lime); }
.fcard-text { color: var(--muted); font-size: 0.94rem; line-height: 1.5; }
.fcard .more { margin-top: 0.2rem; font-size: 0.93rem; }

/* ------------------------------------------------------------ free */
.plan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 5vw, 72px); padding: clamp(24px, 4.6vw, 64px); border: 1px solid #40703f; border-radius: 22px; background: radial-gradient(ellipse 80% 90% at 0 40%, #183218, #0a170e 70%); }
.plan-offer { display: grid; gap: 1rem; align-content: start; }
.plan-offer > p:not(.eyebrow):not(.price) { color: var(--muted); }
.price .zero, .pricecard-price { font-size: clamp(3.6rem, 9vw, 7rem); line-height: 1; text-shadow: 0 0 60px #b9f56b55; }
.plan-steps { display: grid; gap: 1.2rem; align-content: center; }
.plan-steps > h3 { font-size: 1.35rem; }
.freeband { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.6rem 3rem; padding: clamp(24px, 4vw, 52px); border: 1px solid #40703f; border-radius: 22px; background: radial-gradient(ellipse 70% 120% at 0 50%, #183218, #0a170e 72%); }
.freeband > div:first-child { display: grid; gap: 0.8rem; max-width: 40rem; }
.freeband p:not(.eyebrow) { color: var(--muted); }
.freeband-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.pricecard { display: grid; gap: 1rem; align-content: start; padding: clamp(22px, 3vw, 38px); border: 1px solid #40703f; border-radius: 22px; background: radial-gradient(ellipse 120% 80% at 50% 0, #1b3a1b, #0a170e 75%); box-shadow: 0 0 90px #9df06b1c; }
.pricecard-label { color: var(--green); font: 700 0.8rem/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.pricecard-price { font-family: var(--mono); font-weight: 700; color: var(--lime); letter-spacing: -0.05em; }
.incl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
.incl { display: grid; grid-template-columns: 2.6rem 1fr; gap: 0.9rem; align-items: start; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); transition: border-color 0.18s, background-color 0.18s; }
.incl:hover { border-color: var(--green); background: var(--panel-2); }
.incl > .i { width: 2.6rem; height: 2.6rem; padding: 0.6rem; border: 1px solid #2c5a3f; border-radius: 12px; background: #132b1b; color: var(--lime); }
.incl span { display: grid; gap: 0.2rem; }
.incl small { color: var(--muted); font-size: 0.92rem; line-height: 1.45; }

/* ------------------------------------------------------------ faq, support */
.faq { display: grid; gap: 0.6rem; max-width: 58rem; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.faq details[open] { border-color: var(--line-2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; font-weight: 650; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { flex: none; width: 0.6rem; height: 0.6rem; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: translateY(-2px) rotate(45deg); transition: transform 0.2s; content: ''; }
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq-a { padding: 0 1.2rem 1.15rem; color: var(--muted); }
.support { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem 3rem; }
.support > div { display: grid; gap: 0.7rem; }
.support p:not(.eyebrow) { color: var(--muted); }

/* ------------------------------------------------------------ feature pages */
.phero { padding-block: clamp(20px, 3vw, 34px) clamp(40px, 5vw, 72px); border-bottom: 1px solid #10231a; background: radial-gradient(ellipse 80% 80% at 70% 10%, #0e2a19 0, #07130c 55%, var(--bg) 100%); }
.phero .glyphs { -webkit-mask-image: radial-gradient(ellipse 60% 70% at 25% 30%, #000 5%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 25% 30%, #000 5%, transparent 75%); }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: clamp(22px, 4vw, 48px); color: var(--dim); font-size: 0.9rem; }
.crumbs a:hover { color: var(--lime); }
.crumbs [aria-current] { color: var(--muted); }
.phero-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(26px, 4.5vw, 64px); align-items: center; }
.phero-text { display: grid; gap: 1.3rem; align-content: start; }
.phero h1 { font-size: clamp(2.1rem, 4.1vw, 3.5rem); }
.phero-free { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.8rem; margin-top: clamp(28px, 4vw, 52px); }
.facts li { display: grid; gap: 0.2rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: #0a1710cc; }
.facts b { font: 700 1.15rem/1.25 var(--mono); color: var(--lime); letter-spacing: -0.02em; }
.facts span { color: var(--muted); font-size: 0.9rem; }
.p404 { padding-block: clamp(60px, 10vw, 140px); border-bottom: 0; }
.p404 .wrap { display: grid; gap: 1.3rem; }

.decisions { display: grid; gap: 0.6rem; }
.decision { display: grid; grid-template-columns: 11.5rem 1fr; gap: 1rem; align-items: center; padding: 0.7rem; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.decision p { color: var(--muted); font-size: 0.95rem; }
.decision p strong { color: var(--text); }
.dbtn { display: grid; place-items: center; min-height: 44px; padding: 0.4rem 0.6rem; border: 1px solid #2f5e42; border-radius: 10px; background: #10241a; font-weight: 650; font-size: 0.92rem; text-align: center; }
.dbtn-primary { border-color: transparent; background: linear-gradient(180deg, #c8fa85, #7fe36b); color: #0d1d09; }
.dbtn-danger { border-color: #7a2c31; background: #2a1012; color: #ff8d93; }
.dbtn-warn { border-color: #7a5d1c; background: #2a2009; color: var(--amber); }

.pager { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; }
.pager a { display: grid; gap: 0.25rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); transition: border-color 0.18s; }
.pager a:hover { border-color: var(--green); }
.pager a:nth-child(2) { text-align: center; }
.pager a:last-child { text-align: right; }
.pager span { color: var(--dim); font-size: 0.85rem; }

/* ------------------------------------------------------------ footer */
.ftr { border-top: 1px solid #14291d; background: #040906; }
.ftr-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: 2rem 3rem; padding-block: clamp(34px, 5vw, 60px) 1.6rem; }
.ftr-brand { display: grid; gap: 0.9rem; align-content: start; }
.ftr-brand p { max-width: 22rem; color: var(--dim); font-size: 0.93rem; }
.ftr-col { display: grid; gap: 0.5rem 1.4rem; align-content: start; }
.ftr-col:nth-child(2) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ftr-col h2 { grid-column: 1 / -1; margin-bottom: 0.3rem; color: var(--dim); font: 700 0.75rem/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.ftr-col a { color: var(--muted); font-size: 0.94rem; }
.ftr-col a:hover { color: var(--lime); }
.ftr-low { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.4rem 2rem; padding-block: 1.1rem 1.6rem; border-top: 1px solid #10231a; color: var(--dim); font-size: 0.84rem; }

/* ------------------------------------------------------------ smaller screens */
@media (max-width: 1080px) {
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow li:nth-child(2)::after { display: none; }
  .quad { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { position: absolute; inset: 100% 0 auto; display: none; flex-direction: column; gap: 0; margin: 0; padding: 0.4rem var(--pad) 1rem; border-bottom: 1px solid #14291d; background: #050b08f5; }
  .nav.open { display: flex; }
  .nav a { padding: 0.85rem 0; border-bottom: 1px solid #10231a; font-size: 1.05rem; }
  .nav a[aria-current='page']::after { display: none; }
  .split, .phero-in, .phero-free, .plan { grid-template-columns: minmax(0, 1fr); }
  .split.flip .split-text { order: 0; }
  .split-media { position: static; }
  .cols-3 { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr-in { grid-template-columns: minmax(0, 1fr); }
  .trio { grid-template-columns: minmax(0, 1fr); }
  .incl-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .hdr-in { gap: 0.7rem; min-height: 60px; }
  .hdr-cta { min-height: 38px; padding-inline: 0.7rem; font-size: 0.86rem; }
  .brand { font-size: 0.98rem; letter-spacing: 0.14em; }
  .fgrid, .cols-4, .flow, .pager { grid-template-columns: minmax(0, 1fr); }
  .flow li::after { display: none; }
  .actions .btn, .freeband-actions .btn { flex: 1 1 100%; }
  .bands { flex-direction: column; }
  .decision { grid-template-columns: minmax(0, 1fr); }
  .pager a, .pager a:nth-child(2), .pager a:last-child { text-align: left; }
  .window-title { font-size: 0.72rem; }
  .tour figcaption { padding: 0.6rem; }
  .ftr-col:nth-child(2) { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
  @view-transition { navigation: none; }
}
