:root {
  --bg: #0b0d10;
  --bg-elev: #12151a;
  --card: #16181d;
  --line: #2a2e35;
  --text: #e6e8eb;
  --muted: #8b9098;
  --accent: #c8ccd2;
  --accent-soft: #1a1d22;
  --ok: #3fb950;
  --info: #58a6ff;
  --warn: #9aa0a8;
  --shadow: none;
  --radius: 16px;
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", "Cascadia Mono", ui-monospace, monospace;
  --nav-h: 73px;
  --section-pad: clamp(32px, 4vw, 52px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}

::selection {
  background: #16324a;
  color: var(--text);
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: clip;
}

code {
  font-family: var(--mono);
  font-size: 0.86em;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
}

.bg-fixed {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-fixed svg {
  width: 100%;
  height: 100%;
  display: block;
}

.float-a { animation: drift 32s ease-in-out infinite; }
.float-b { animation: drift 40s ease-in-out infinite reverse; }
.float-c { animation: drift 26s ease-in-out infinite; animation-delay: -10s; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(10px, -14px); }
}

.nav,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--text);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 80;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--info);
  color: #071018;
  font-weight: 600;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
  color: #071018;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav-links a {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-links a svg,
.btn svg,
.meta svg,
.icon svg,
.step-icon svg,
.faq h2 svg,
.faq summary svg,
.footer-cols h3 svg,
.card h3 svg,
.method svg {
  width: 1em;
  height: 1em;
  stroke-width: 1.75;
  flex-shrink: 0;
}

.icon svg,
.step-icon svg {
  width: 20px;
  height: 20px;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-cols h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.faq h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq summary {
  display: flex;
  align-items: center;
  gap: 10px;
}

.method-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn:focus-visible,
.carousel-btn:focus-visible,
.amounts button:focus-visible,
.nav-toggle:focus-visible,
.faq summary:focus-visible,
.carousel-dots button:focus-visible {
  outline: 2px solid var(--info);
  outline-offset: 2px;
}

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
}

.btn-primary:hover {
  color: var(--bg);
  background: #f3f4f6;
}

.nav-links .btn-primary {
  background: var(--info);
  border-color: var(--info);
  color: #fff;
}

.nav-links .btn-primary:hover,
.nav-links a.btn-primary:hover {
  background: #79b8ff;
  border-color: #79b8ff;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--accent-soft);
  border-color: #3a4048;
  color: var(--text);
}

.btn-donate {
  position: relative;
  overflow: visible;
  background: #ff4d8d;
  border-color: #ff4d8d;
  color: #fff;
}

.btn-donate:hover {
  background: #ff6ba3;
  border-color: #ff6ba3;
  color: #fff;
}

.btn-donate .hearts {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.btn-donate .hearts span {
  position: absolute;
  left: 50%;
  bottom: 80%;
  opacity: 0;
  font-size: 14px;
  line-height: 1;
}

.btn-donate:hover .hearts span {
  animation: float-heart 0.95s ease-out forwards;
}

.btn-donate:hover .hearts span:nth-child(1) { left: 18%; animation-delay: 0s; }
.btn-donate:hover .hearts span:nth-child(2) { left: 36%; animation-delay: 0.08s; }
.btn-donate:hover .hearts span:nth-child(3) { left: 52%; animation-delay: 0.04s; }
.btn-donate:hover .hearts span:nth-child(4) { left: 68%; animation-delay: 0.12s; }
.btn-donate:hover .hearts span:nth-child(5) { left: 84%; animation-delay: 0.18s; }
.btn-donate:hover .hearts span:nth-child(6) { left: 48%; animation-delay: 0.22s; }

@keyframes float-heart {
  0% { opacity: 0; transform: translate(-50%, 8px) scale(0.5); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -42px) scale(1.15); }
}

.hero {
  padding: var(--section-pad) 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  scroll-margin-top: var(--nav-h);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: rgba(22, 26, 34, 0.7);
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  margin: 18px 0 16px;
}

h1 span {
  color: var(--info);
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 20px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.meta strong {
  color: var(--text);
  font-weight: 600;
}

.dl-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.dl-count[hidden] {
  display: none;
}

.dl-count strong {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.download-banner .dl-count {
  margin-top: 4px;
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  font-family: var(--mono);
}

.pills {
  display: flex;
  gap: 6px;
}

.pill {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.pill.r { background: #f87171; }
.pill.y { background: #e3b341; }
.pill.g { background: #3fb950; }

.hero-logo {
  padding: 28px 28px 8px;
}

.hero-logo img {
  width: min(420px, 100%);
  height: auto;
  margin: 0 auto;
}

.app-preview {
  padding: 8px 22px 24px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: #9be9a8;
}

.app-preview .dim { color: #6e7681; }
.app-preview .ok { color: var(--ok); }
.app-preview .info { color: var(--info); }

main {
  scroll-margin-top: var(--nav-h);
}

.section {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  padding: var(--section-pad) 0;
  scroll-margin-top: var(--nav-h);
}

.section h2 {
  font-size: 2rem;
  letter-spacing: -0.04em;
  margin: 0 0 10px;
}

.sub {
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 32px;
}

.section > .sub,
.section > .hero-actions,
.section > .methods,
.section > .carousel,
.section > .grid-3,
.section > .grid-2,
.section > .download-banner,
.section > .donate-banner {
  margin-top: 0;
}

.section > .sub {
  margin-bottom: 0;
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 16px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.carousel {
  width: 100%;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.35s ease;
}

.carousel-page {
  box-sizing: border-box;
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.carousel-page .card {
  min-height: 196px;
  height: 100%;
}

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.carousel-btn svg {
  width: 18px;
  height: 18px;
}

.carousel-btn:hover {
  background: var(--accent-soft);
  border-color: #3a4048;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #3a3f46;
  cursor: pointer;
  transition: width 0.18s ease, background 0.18s ease;
}

.carousel-dots button.active {
  width: 18px;
  background: var(--text);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel-track,
  .toast,
  .btn,
  .card,
  .method,
  .carousel-dots button { transition: none; }
  .btn-donate:hover .hearts span { animation: none; }
  .float-a,
  .float-b,
  .float-c,
  .dash-flow,
  .dash-flow.delay,
  .pkt,
  .pkt.p2,
  .pkt.p3 {
    animation: none !important;
  }
}

@media (max-width: 640px) {
  .carousel-page { grid-template-columns: 1fr; }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color 0.18s ease;
}

.card:hover {
  border-color: #3a4048;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--bg-elev);
  color: var(--muted);
  margin-bottom: 14px;
}

.step {
  position: relative;
  padding-left: 70px;
}

.step-icon {
  position: absolute;
  left: 16px;
  top: 22px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--bg-elev);
  color: var(--muted);
}

.download-banner,
.donate-banner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  align-items: center;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-elev);
}

.download-banner .sub,
.donate-banner .sub {
  margin-bottom: 16px;
}

.download-banner .hero-actions {
  margin: 8px 0 14px;
}

.methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.method {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 118px;
  transition: border-color 0.18s ease;
}

.method:hover {
  border-color: #3a4048;
}

.method b {
  font-size: 0.95rem;
}

.method span,
.method code {
  color: var(--muted);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.method button,
.method a.btn {
  margin-top: auto;
  width: 100%;
}

.method .btn-donate {
  margin-top: auto;
}

.method .btn-donate + .btn {
  margin-top: 0;
}

.amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 22px;
}

.amounts button {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.amounts button.active,
.amounts button:hover {
  border-color: var(--text);
  background: var(--accent-soft);
  color: var(--text);
}

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 10px;
  transition: border-color 0.18s ease;
}

.faq details:hover {
  border-color: #3a4048;
}

.faq details[open] {
  border-color: #3a4048;
  background: var(--bg-elev);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  color: var(--muted);
  margin: 10px 0 4px;
}

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  scroll-margin-top: var(--nav-h);
}

.dash-flow {
  animation: dash 18s linear infinite;
}

.dash-flow.delay {
  animation-duration: 22s;
  animation-direction: reverse;
}

.pkt {
  offset-path: path("M300 443 C560 318, 820 318, 1060 443");
  offset-rotate: 0deg;
  animation: ride 7.2s linear infinite;
  opacity: 0.55;
}

.pkt.p2 {
  offset-path: path("M300 443 C560 568, 820 568, 1060 443");
  animation-duration: 8.6s;
  animation-delay: -2.4s;
}

.pkt.p3 {
  animation-duration: 4.6s;
  animation-delay: -1.2s;
  opacity: 0.55;
}

@keyframes dash {
  to { stroke-dashoffset: -240; }
}

@keyframes ride {
  0% { offset-distance: 0%; opacity: 0; }
  12% { opacity: 0.8; }
  88% { opacity: 0.8; }
  100% { offset-distance: 100%; opacity: 0; }
}

.footer-inner,
.footer-bar {
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(140px, 180px) 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0 36px;
}

.footer-brand {
  text-align: left;
}

.footer-brand a {
  display: inline-block;
  color: inherit;
}

.footer-brand img {
  width: min(160px, 100%);
  height: auto;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-cols h3 {
  margin: 0 0 12px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}

.footer-cols a,
.footer-cols p {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 8px;
}

.footer-cols a:hover {
  color: var(--text);
}

.footer-bar {
  border-top: 1px solid var(--line);
  padding: 16px 0 28px;
  color: var(--muted);
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 24px;
    padding: 36px 0 28px;
  }

  .footer-cols {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: start;
    text-align: left;
    gap: 16px 12px;
  }

  .footer-cols h3 {
    justify-content: flex-start;
  }

  .footer-bar {
    justify-content: center;
    text-align: center;
    padding-bottom: 20px;
  }
}

.wc-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.62);
  display: grid;
  place-items: center;
  padding: 16px;
}

.wc-modal[hidden] {
  display: none;
}

.wc-modal-card {
  width: min(360px, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}

.wc-modal-card h3 {
  margin: 0 0 8px;
}

.wc-modal-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.wc-amount {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  color: var(--text) !important;
  word-break: break-all;
}

.wc-modal-card img {
  width: 220px;
  height: 220px;
  margin: 0 auto 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.wc-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wc-modal-actions .btn {
  width: 100%;
}

.toast {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line);
  padding: 10px 16px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 50;
  font-size: 0.9rem;
  font-weight: 500;
  max-width: calc(100vw - 32px);
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  touch-action: manipulation;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.nav-toggle:hover {
  background: var(--accent-soft);
  border-color: #3a4048;
}

.page-hero {
  padding: 56px 0 12px;
  max-width: 46rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  margin: 18px 0 16px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  margin-bottom: 18px;
}

.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.crumbs span { color: var(--line); }

.compare-page .page-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  max-width: none;
  padding: 72px 0 40px;
}

.compare-page .page-hero h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
}

.compare-page .crumbs {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  gap: 10px;
}

.compare-page .crumbs span {
  color: var(--muted);
}

.compare-page .session-preview {
  padding: 22px 22px 26px;
  line-height: 1.7;
}

.compare-page .lead-window {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 18px;
}

.compare-page .lead-window > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  font-family: var(--mono);
}

.compare-page .lead-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
}

.compare-page .lead-brand img {
  width: min(360px, 100%);
  height: auto;
}

.compare-page .lead-copy h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.compare-page .lead-copy p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.compare-page .pid-line {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--info);
  margin: 0 0 6px;
}

.compare-page .pid-line span {
  color: var(--ok);
}

.compare-page .lead-meta {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.compare-page .plist {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
}

.compare-page .plist-head,
.compare-page .plist-row summary {
  display: grid;
  grid-template-columns: 48px minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 0.8fr);
  gap: 12px;
  align-items: center;
}

.compare-page .plist-head {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 12px 18px;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line);
}

.compare-page .plist-row {
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.compare-page .plist-row:last-child {
  border-bottom: 0;
}

.compare-page .plist-row summary {
  padding: 14px 18px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  transition: background 0.18s ease;
}

.compare-page .plist-row summary::-webkit-details-marker {
  display: none;
}

.compare-page .plist-row summary:hover,
.compare-page .plist-row[open] summary {
  background: var(--bg-elev);
}

.compare-page .plist-row .pid,
.compare-page .plist-row .pclass,
.compare-page .plist-row .pcost,
.compare-page .plist-row .pdns {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.compare-page .plist-row .pname {
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.compare-page .brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
  padding: 2px;
  flex-shrink: 0;
}

.compare-page .plist-row .pclass {
  text-transform: uppercase;
}

.compare-page .plist-row p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--muted);
  font-size: 0.94rem;
}

.compare-page .route-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.compare-page .route-col {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.compare-page .route-col header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.compare-page .route-body {
  padding: 18px 16px 20px;
}

.compare-page .route-col h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.compare-page .route-col p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.compare-page .route-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 46rem;
}

.compare-page .faq summary {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .wrap {
    width: min(1120px, calc(100% - 32px));
  }

  .nav {
    padding-top: env(safe-area-inset-top);
  }

  .nav-inner {
    min-height: 60px;
    gap: 12px;
  }

  .brand img {
    height: 30px;
  }

  .hero,
  .section {
    padding: 28px 0;
    gap: 16px;
  }

  .hero,
  .grid-3,
  .grid-2,
  .download-banner,
  .donate-banner,
  .methods,
  .compare-page .page-hero,
  .lead-window .lead-grid,
  .route-board,
  .compare-page .route-board {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2rem, 8.4vw, 2.55rem);
    margin: 14px 0 12px;
  }

  .lead {
    font-size: 1.02rem;
  }

  .hero-actions {
    margin: 20px 0 14px;
  }

  .hero-actions .btn,
  .download-banner .btn,
  .donate-banner .btn {
    width: 100%;
    min-height: 48px;
  }

  .section h2,
  .page-hero h1 {
    font-size: clamp(1.55rem, 6.4vw, 2rem);
  }

  .sub {
    font-size: 0.98rem;
  }

  .hero-logo {
    padding: 20px 18px 6px;
  }

  .app-preview {
    padding: 6px 16px 18px;
    font-size: 0.72rem;
  }

  .carousel-page .card {
    min-height: 0;
  }

  .card {
    padding: 18px;
  }

  .step {
    padding-left: 56px;
  }

  .step-icon {
    left: 12px;
    top: 18px;
  }

  .download-banner,
  .donate-banner {
    padding: 20px;
    gap: 16px;
  }

  .amounts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .amounts button {
    min-height: 44px;
    width: 100%;
    padding: 10px 8px;
  }

  .faq details {
    padding: 2px 14px;
  }

  .faq summary {
    min-height: 48px;
    padding: 12px 0;
  }

  .compare-page .page-hero {
    padding: 28px 0 8px;
    gap: 22px;
  }

  .compare-page .page-hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.4rem);
  }

  .compare-page .lead-grid {
    padding: 20px;
  }

  .compare-page .plist-head,
  .compare-page .plist-row summary {
    grid-template-columns: 40px 1fr 1fr;
    gap: 10px;
    padding: 12px 14px;
    font-size: 0.88rem;
    min-height: 52px;
  }

  .compare-page .plist-head span:nth-child(n+4),
  .compare-page .plist-row summary span:nth-child(n+4) {
    display: none;
  }

  .compare-page .plist-row p {
    padding: 0 14px 14px;
  }

  .nav-toggle { display: grid; place-items: center; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 14px;
    gap: 2px;
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
    box-shadow: 0 28px 48px rgba(0, 0, 0, 0.45);
  }

  .nav-links a {
    padding: 13px 4px;
    min-height: 48px;
    width: 100%;
    font-size: 1rem;
  }

  .nav-links .btn {
    width: 100%;
    margin-top: 10px;
    min-height: 48px;
  }

  .nav-links.open { display: flex; }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.48);
    z-index: 35;
  }

  .wc-modal-card {
    padding: 18px;
    max-height: min(92dvh, 100%);
    overflow: auto;
  }

  .wc-modal-card img {
    width: min(200px, 56vw);
    height: auto;
    aspect-ratio: 1;
  }
}

@media (max-width: 700px) {
  .compare-page .plist-head,
  .compare-page .plist-row summary {
    grid-template-columns: 40px 1fr;
  }

  .compare-page .plist-head span:nth-child(n+3),
  .compare-page .plist-row summary span:nth-child(n+3) {
    display: none;
  }

  .compare-page .route-board {
    grid-template-columns: 1fr;
  }

  .compare-page .lead-grid {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .wrap {
    width: min(1120px, calc(100% - 28px));
  }

  .hero,
  .section {
    padding: 26px 0;
  }

  h1 {
    font-size: clamp(1.85rem, 10vw, 2.2rem);
  }

  .meta {
    gap: 10px 14px;
    font-size: 0.84rem;
  }

  .amounts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }

  .footer-cols > :last-child {
    grid-column: 1 / -1;
  }

  .download-banner,
  .donate-banner {
    padding: 16px;
  }
}

@media (max-width: 900px) and (max-height: 500px) {
  .hero,
  .section {
    padding: 20px 0;
  }

  .nav-links {
    max-height: calc(100dvh - var(--nav-h));
  }
}
