@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap");

:root {
  --bg: #0b0c10;
  --surface: #131620;
  --surface-2: #1b1f2c;
  --surface-elevated: #232838;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f8fafc;
  --muted: #94a3b8;
  --text-subtle: #cbd5e1;
  --accent: #f59e0b;
  --accent-soft: rgba(245, 158, 11, 0.12);
  --accent-gradient: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  --red: #e11d48;
  --red-gradient: linear-gradient(135deg, #f43f5e 0%, #be123c 100%);
  --wa: #0d6e63;
  --tg: #0369a1;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 9999px;
  --nav-h: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  line-height: 1.6;
}

::selection {
  background: rgba(245, 158, 11, 0.35);
  color: #ffffff;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0b0c10;
}
::-webkit-scrollbar-thumb {
  background: #232838;
  border-radius: 5px;
  border: 2px solid #0b0c10;
}
::-webkit-scrollbar-thumb:hover {
  background: #333a4d;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 10000;
  background: var(--red);
  color: #fff;
  padding: 8px 16px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

.bg-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: min(840px, 100%);
  max-width: 100%;
  height: 480px;
  background: radial-gradient(ellipse, rgba(245, 158, 11, 0.08) 0%, rgba(225, 29, 72, 0.04) 38%, transparent 72%);
  z-index: -1;
  pointer-events: none;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 48px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(11, 12, 16, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s ease;
}

.logo { height: 34px; width: auto; object-fit: contain; }

.hamburger {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 8px;
  font-size: 1.35rem;
}

.nav-menu {
  display: flex;
  flex: 1;
  justify-content: space-between;
  align-items: center;
  margin-left: 44px;
}

.nav-center { display: flex; gap: 28px; align-items: center; }

.nav-link {
  color: var(--text-subtle);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav-link:hover { color: #fff; background-color: rgba(255, 255, 255, 0.05); }
.nav-link.is-active { color: #fff; font-weight: 600; background-color: rgba(255, 255, 255, 0.08); }

.nav-right { display: flex; gap: 12px; align-items: center; }

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  margin-right: 6px;
}

.btn {
  text-decoration: none;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  min-height: 48px;
  padding: 12px 24px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:active { transform: translateY(0); filter: brightness(0.95); }

.btn-outline-nav {
  min-height: 40px;
  padding: 8px 18px;
  border-color: var(--border-strong);
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.9rem;
}
.btn-outline-nav:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.btn-filled-nav {
  min-height: 40px;
  padding: 8px 20px;
  background: var(--accent-gradient);
  color: #0b0c10;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.btn-filled-nav:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

.btn-gold {
  background: var(--accent-gradient);
  color: #0b0c10;
  padding: 14px 28px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-gold:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-red {
  background: var(--red-gradient);
  color: #fff;
  padding: 14px 28px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-red:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-hero {
  min-height: 54px;
  padding: 14px 30px;
  font-size: 1.02rem;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: #f1f5f9;
  border-color: var(--border-strong);
  padding: 14px 26px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.btn-block { width: 100%; }

.hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 116px 48px 48px;
}

.hero-copy { max-width: 760px; }

.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  text-wrap: balance;
}

.hero-desc {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 65ch;
}

.hero-desc a,
.section-lead a,
.callout a,
.text-block a,
.legal-doc a {
  color: var(--accent);
  text-underline-offset: 4px;
  transition: opacity 0.2s ease;
}
.hero-desc a:hover,
.section-lead a:hover,
.callout a:hover,
.text-block a:hover,
.legal-doc a:hover {
  opacity: 0.85;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
  align-items: center;
}

.hero-anchors {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 0.9rem;
}
.hero-anchor {
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}
.hero-anchor:hover { color: var(--accent); }
.hero-anchors .sep { color: rgba(255, 255, 255, 0.2); }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-subtle);
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.banner-frame {
  margin-top: 36px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.banner-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.help-strip {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: center;
  max-width: 1400px;
  margin: 16px auto 0;
  padding: 24px 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.help-strip h2 { font-size: 1.55rem; font-weight: 700; margin-bottom: 6px; }
.help-strip p { color: var(--muted); line-height: 1.6; }

.contact-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  min-height: 48px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}
.btn-contact:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}
.btn-whatsapp { background: var(--wa); color: #ffffff; }
.btn-telegram { background: var(--tg); color: #ffffff; }

.intro-line {
  max-width: 1230px;
  margin: 28px auto 0;
  padding: 0 48px 8px;
  text-align: center;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.05rem;
}

.section, #download, #ios, #android, #faq, #install-guide, #specifications, #troubleshooting, #legal, #akaun, #games, #trust {
  scroll-margin-top: 96px;
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 48px;
}

.section-head { margin-bottom: 36px; }
.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-top: 12px;
  max-width: 72ch;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.card p:last-child { margin-bottom: 0; }
.card-note { color: var(--text-subtle) !important; font-size: 0.92rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}

.device-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
}

.device-visual {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0e1017;
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 20px;
  overflow: hidden;
}
.device-visual img {
  height: 175px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.device-card:hover .device-visual img {
  transform: scale(1.05);
}
.mascot { mix-blend-mode: lighten; }

.device-tag {
  display: inline-block;
  width: fit-content;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.meta-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.meta-list li {
  display: flex;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text);
}
.meta-list li span { color: var(--muted); min-width: 112px; flex-shrink: 0; }

.card-cta-group {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
}
.card-cta { width: 100%; }

.direct-sublink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.direct-sublink:hover { color: var(--accent); }

.callout {
  color: var(--text-subtle);
  font-size: 0.98rem;
  line-height: 1.65;
  border: 1px solid var(--border);
  padding: 18px 22px;
  margin-top: 32px;
  background: var(--surface-2);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.step {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.step:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}
.step-num {
  display: inline-block;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  background: var(--accent-soft);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}
.step h3 { font-size: 1.15rem; font-weight: 700; }
.step p { color: var(--muted); font-size: 0.92rem; margin-top: 6px; line-height: 1.5; }

.text-block { display: flex; flex-direction: column; gap: 14px; }
.text-block p { color: var(--muted); line-height: 1.65; font-size: 1.02rem; }

.game-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.game-pill {
  padding: 10px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text-subtle);
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.game-pill:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  color: #fff;
}

.factor-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.factor-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.factor-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.factor-card p { color: var(--muted); line-height: 1.6; margin-bottom: 10px; }
.factor-card p:last-child { margin-bottom: 0; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.compare-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px; }
.compare-card--accent { border-color: rgba(255, 255, 255, 0.2); background: var(--surface-elevated); }
.compare-card h3 { font-size: 1.05rem; margin: 6px 0 8px; }

.dash-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 10px 0 14px; }
.dash-list li {
  color: var(--text);
  font-size: 0.92rem;
  padding-left: 24px;
  position: relative;
}
.dash-list li::before {
  content: "\2014";
  color: var(--accent);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.stat {
  text-align: center;
  padding: 28px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.stat b {
  display: block;
  color: var(--accent);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.stat span { color: var(--muted); font-size: 0.9rem; font-weight: 500; }

.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.quote p { color: #e2e8f0; line-height: 1.6; margin-bottom: 14px; }
.quote cite { color: var(--accent); font-style: normal; font-size: 0.88rem; font-weight: 700; }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px;
  background: var(--surface);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.spec-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.spec-table th, .spec-table td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.94rem;
}
.spec-table thead th {
  color: var(--text-subtle);
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--surface-2);
  border-radius: 8px;
}
.spec-table tbody td { color: var(--muted); }
.spec-table tbody td:first-child { color: #fff; font-weight: 600; }
.spec-table tbody tr:last-child td { border-bottom: 0; }

.step-detail {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
.step-detail:last-child { margin-bottom: 0; }
.step-body h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.step-body p { color: var(--muted); line-height: 1.6; font-size: 0.95rem; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  transition: border-color 0.2s ease;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 22px 26px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .chevron {
  color: var(--muted);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}
.faq-item[open] .chevron { transform: rotate(180deg); color: var(--accent); }
.faq-item p {
  color: var(--muted);
  line-height: 1.68;
  padding: 0 26px 22px;
  font-size: 0.98rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 64px 48px 36px;
  max-width: 1400px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
}
.footer-brand p { color: var(--muted); font-size: 0.92rem; margin-top: 16px; max-width: 38ch; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  color: var(--text-subtle);
  text-decoration: none;
  font-size: 0.94rem;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; }
.footer-bottom p { color: var(--muted); font-size: 0.86rem; line-height: 1.6; }

.fab-stack {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 55;
}
.fab {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  font-size: 1.45rem;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.fab:hover {
  transform: scale(1.08);
  filter: brightness(1.1);
}
.fab-whatsapp { background: var(--wa); }
.fab-telegram { background: var(--tg); }
body.has-sticky-space .fab-stack {
  bottom: calc(92px + env(safe-area-inset-bottom));
}

#sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  background: rgba(11, 12, 16, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-strong);
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.4);
}
#sticky-cta.visible { display: block; }
body.has-sticky-space { padding-bottom: 88px; }
.sticky-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.sticky-inner span { font-size: 0.92rem; font-weight: 700; color: #fff; }
.sticky-actions { display: flex; gap: 10px; }
.sticky-actions .btn { min-height: 44px; padding: 10px 18px; font-size: 0.88rem; }

.legal-page { padding-top: 80px; }
.legal-hero { max-width: 1200px; margin: 0 auto; padding: 48px 48px 0; }
.legal-hero .banner-frame { margin-top: 24px; }
.legal-doc {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 48px 88px;
}
.legal-doc h1 {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.legal-doc h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 36px 0 14px;
}
.legal-doc p { color: var(--muted); line-height: 1.7; margin-bottom: 14px; font-size: 1rem; }
.legal-doc ul { margin: 0 0 18px 20px; color: var(--muted); }
.legal-doc li { margin-bottom: 8px; line-height: 1.6; }
.legal-doc strong { color: #fff; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 1100px) {
  .help-strip, .factor-list, .quote-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
  .navbar {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 14px 20px;
  }
  .hamburger { display: block; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin-left: 0;
    background: #0b0c10;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    display: none;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  }
  .nav-menu.open { display: flex; }
  .nav-center { flex-direction: column; align-items: flex-start; gap: 8px; width: 100%; }
  .nav-center .nav-link { width: 100%; min-height: 44px; display: flex; align-items: center; }
  .nav-right { flex-direction: column; width: 100%; }
  .nav-right .btn { width: 100%; min-height: 48px; }
  .fab-stack.visible { display: flex; }
  .card-grid, .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero--compact { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 768px) {
  .hero { padding: 98px 18px 32px; }
  .help-strip, .intro-line, .section, .site-footer, .legal-hero, .legal-doc { padding-left: 18px; padding-right: 18px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .cta-group { flex-direction: column; width: 100%; }
  .cta-group .btn { width: 100%; }
  .hero-anchors { justify-content: center; }
  .steps { grid-template-columns: 1fr; }
  .spec-table { min-width: 0; }
  .spec-table thead { display: none; }
  .spec-table, .spec-table tbody, .spec-table tr, .spec-table td { display: block; width: 100%; }
  .spec-table tr { padding: 14px 16px; border-bottom: 1px solid var(--border); }
  .spec-table td { padding: 6px 0; border: 0; }
  .spec-table td::before {
    content: attr(data-label);
    display: block;
    color: var(--muted);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
    font-weight: 600;
  }
  .hero--compact { grid-template-columns: 1fr; text-align: center; }
  .hero--compact .cta-group { justify-content: center; }
  .fork { grid-template-columns: 1fr; }
}

.cta-inline { margin-bottom: 28px; }

.hero--compact {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  min-height: auto;
  padding-top: 124px;
  padding-bottom: 44px;
}
.hero--compact .hero-copy { max-width: none; }
.hero--compact .center-col {
  min-width: 0;
  display: flex;
  justify-content: center;
  overflow: hidden;
}
.phone-img {
  max-width: 100%;
  max-height: 380px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}

.hidden { display: none !important; }

.ptest {
  max-width: 880px;
  margin: 0 auto;
  padding: 124px 24px 88px;
}
.ptest h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.ptest .lede { color: var(--muted); line-height: 1.65; margin-bottom: 36px; font-size: 1.05rem; }
.ptest h2 { font-size: 1.45rem; font-weight: 700; margin: 12px 0 16px; }
.ptest h3 { font-size: 1.1rem; font-weight: 650; margin: 18px 0 8px; }

.fork {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.fork-btn {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.fork-btn:hover, .fork-btn[aria-pressed="true"] {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.fork-btn .t { display: block; font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }
.fork-btn .d { display: block; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }

.field { margin: 16px 0; }
.field label { display: block; margin-bottom: 8px; font-size: 0.9rem; font-weight: 600; color: var(--text); }
.field select,
.field input {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: #fff;
  padding: 14px 16px;
  border-radius: 12px;
  font: inherit;
  font-size: 0.95rem;
}
.field select:focus,
.field input:focus {
  border-color: var(--accent);
  outline: none;
}
.field .hint { color: var(--muted); font-size: 0.82rem; margin-top: 6px; line-height: 1.45; }

.symptoms { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-subtle);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.chip-btn:hover { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.chip-btn[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.notice {
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 0.94rem;
  line-height: 1.6;
  margin: 16px 0;
  color: #e2e8f0;
}
.notice.warn { background: rgba(225, 29, 72, 0.12); border: 1px solid rgba(225, 29, 72, 0.35); }
.notice.info { background: var(--accent-soft); border: 1px solid rgba(245, 158, 11, 0.3); }
.notice.ok { background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.3); }

.grade { font-size: 1.8rem; font-weight: 800; margin-bottom: 8px; }
.grade-ok { color: #10b981; }
.grade-warn { color: var(--accent); }
.grade-bad { color: #f43f5e; }

.meter {
  height: 8px;
  background: #1e2230;
  border-radius: 99px;
  overflow: hidden;
  margin: 10px 0 18px;
}
.meter > span { display: block; height: 100%; background: var(--accent); width: 0; transition: width 0.4s ease; }

canvas#bench { position: absolute; left: -9999px; width: 1px; height: 1px; }

.ptest-rows { display: flex; flex-direction: column; margin-top: 16px; }
.ptest-row {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; background: #555; }
.dot.ok { background: #10b981; }
.dot.warn { background: var(--accent); }
.dot.bad { background: #f43f5e; }
.ptest-row .k { font-weight: 700; }
.ptest-row .v { color: #e2e8f0; font-size: 0.92rem; margin-top: 2px; }
.ptest-row .c { color: var(--muted); font-size: 0.9rem; margin-top: 6px; line-height: 1.5; }
.ptest-row .src { color: var(--muted); font-size: 0.78rem; margin-top: 4px; }
.probe {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.probe .st { margin-left: auto; color: var(--muted); font-size: 0.85rem; }
.probe.is-run .st { color: var(--accent); }
.probe.is-ok .st { color: #10b981; }
.probe.is-warn .st { color: var(--accent); }
.agentbox { margin-top: 20px; }
.agentbox textarea {
  width: 100%;
  min-height: 130px;
  background: var(--surface-2);
  color: #eee;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.5;
  resize: vertical;
}
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-subtle);
  margin: 14px 0;
  line-height: 1.5;
}
.tiny { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }
.muted { color: var(--muted); }
.notice.privacy { background: rgba(255,255,255,0.03); border: 1px solid var(--border); }
.find-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 16px 0; }
.find-list li { border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; background: var(--surface); }
.find-list .fa { font-weight: 700; margin-bottom: 4px; }
.find-list .fe { color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.find-list .fl { display: inline-block; margin-top: 8px; font-size: 0.9rem; color: var(--accent); }
#a-detected, #b-device { margin-bottom: 12px; }

@media (max-width: 768px) {
  .compare-grid { grid-template-columns: 1fr; }
}
