/* MinnowPoker Android download page
   Independent template: no external assets, fonts, images or frameworks. */

:root {
  --ink: #111814;
  --ink-2: #18241d;
  --ink-3: #233228;
  --lime: #8cf24b;
  --lime-soft: #dfffd0;
  --green: #36c96c;
  --green-dark: #0d6e3b;
  --paper: #f5f6ef;
  --paper-2: #ecefe6;
  --white: #ffffff;
  --muted: #69776e;
  --line: rgba(17, 24, 20, .15);
  --dark-line: rgba(255,255,255,.13);
  --max: min(1200px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a,
button {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 500;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--lime);
  transform: translateY(-170%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  height: 78px;
  position: sticky;
  top: 0;
  z-index: 120;
  color: var(--white);
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .2s ease, box-shadow .2s ease;
}

.site-header.is-scrolled {
  background: rgba(17,24,20,.96);
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
  backdrop-filter: blur(14px);
}

.header-shell {
  width: var(--max);
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-chip {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  border-radius: 7px 18px 7px 7px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -.5px;
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-copy strong {
  font-size: 18px;
  letter-spacing: -.4px;
}

.brand-copy small {
  color: #85968b;
  font-size: 8px;
  letter-spacing: 1.8px;
}

.desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 26px;
}

.desktop-nav a {
  color: #b9c5bd;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.desktop-nav a:hover {
  color: var(--lime);
}

.header-cta {
  padding: 12px 17px;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 5px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.menu-button,
.mobile-nav {
  display: none;
}

.hero {
  color: var(--white);
  background:
    linear-gradient(90deg, transparent 0 50%, rgba(255,255,255,.025) 50% 50.08%, transparent 50.08%),
    radial-gradient(circle at 8% 84%, rgba(140,242,75,.13), transparent 27%),
    var(--ink);
}

.hero-rail {
  width: 100%;
  min-height: 39px;
  padding: 0 max(20px, calc((100vw - 1200px) / 2));
  display: flex;
  align-items: center;
  gap: 20px;
  color: #7e8e83;
  background: #0b100d;
  border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 2.2px;
}

.hero-rail i {
  width: 4px;
  height: 4px;
  display: block;
  border-radius: 50%;
  background: var(--lime);
}

.hero-shell {
  width: var(--max);
  min-height: 705px;
  margin: 0 auto;
  padding: 80px 0 88px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 72px;
}

.eyebrow,
.section-label {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-size: 9px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 2.3px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  display: block;
  border-radius: 2px;
  background: var(--lime);
  transform: rotate(45deg);
}

.hero h1 {
  margin: 27px 0 23px;
  font-size: clamp(50px, 5.9vw, 84px);
  line-height: .96;
  letter-spacing: -4.5px;
}

.hero h1 span {
  display: block;
  margin-top: 12px;
  color: var(--lime);
  font-size: .72em;
}

.hero-lead {
  max-width: 590px;
  margin: 0;
  color: #a9b8ae;
  font-size: 16px;
  line-height: 1.9;
}

.android-status {
  min-height: 43px;
  margin-top: 26px;
  padding: 13px 15px;
  display: inline-flex;
  align-items: center;
  color: #cce0d2;
  background: rgba(140,242,75,.08);
  border-left: 3px solid var(--lime);
  font-size: 12px;
  font-weight: 700;
}

.android-status.is-android {
  color: var(--ink);
  background: var(--lime);
}

.hero-actions {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(210px, .7fr);
  gap: 12px;
}

.primary-download,
.copy-link {
  min-height: 78px;
  padding: 12px 16px;
  display: grid;
  align-items: center;
  text-align: left;
}

.primary-download {
  grid-template-columns: 50px 1fr auto;
  gap: 14px;
  color: var(--ink);
  background: var(--lime);
  border: 1px solid var(--lime);
  border-radius: 6px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.primary-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 35px rgba(140,242,75,.14);
}

.android-head {
  width: 44px;
  height: 34px;
  position: relative;
  display: block;
  border-radius: 18px 18px 6px 6px;
  background: var(--ink);
}

.android-head::before,
.android-head::after {
  content: "";
  width: 2px;
  height: 11px;
  position: absolute;
  top: -7px;
  background: var(--ink);
}

.android-head::before {
  left: 11px;
  transform: rotate(-27deg);
}

.android-head::after {
  right: 11px;
  transform: rotate(27deg);
}

.android-head i {
  width: 4px;
  height: 4px;
  position: absolute;
  top: 12px;
  border-radius: 50%;
  background: var(--lime);
}

.android-head i:first-child {
  left: 11px;
}

.android-head i:last-child {
  right: 11px;
}

.primary-download span:nth-child(2),
.copy-link span:nth-child(2) {
  display: grid;
  gap: 5px;
}

.primary-download small,
.copy-link small {
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1.4px;
  opacity: .62;
}

.primary-download strong,
.copy-link strong {
  font-size: 15px;
}

.primary-download > b {
  font-size: 20px;
}

.copy-link {
  grid-template-columns: 34px 1fr;
  gap: 12px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 6px;
  cursor: pointer;
}

.copy-link:hover {
  border-color: var(--lime);
}

.copy-link > span:first-child {
  font-size: 22px;
  color: var(--lime);
}

.copy-link.is-copied {
  color: var(--ink);
  background: var(--white);
}

.hero-checks {
  margin-top: 22px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-checks span {
  padding-left: 15px;
  position: relative;
  color: #7f9186;
  font-size: 9px;
}

.hero-checks span::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--lime);
}

.hero-console {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  background: #141e18;
  box-shadow: 0 36px 75px rgba(0,0,0,.32);
}

.console-head,
.console-footer {
  min-height: 48px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #0a0f0c;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.console-title,
.console-footer span {
  color: #819187;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 2px;
}

.console-state {
  padding: 5px 8px;
  color: var(--ink);
  background: var(--lime);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 1.4px;
}

.console-body {
  padding: 24px;
}

.package-card {
  min-height: 110px;
  padding: 17px;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
  background: var(--lime);
}

.package-card::after {
  content: "";
  width: 130px;
  height: 130px;
  position: absolute;
  right: -70px;
  top: -70px;
  border: 20px solid rgba(17,24,20,.12);
  border-radius: 50%;
}

.package-icon {
  width: 66px;
  height: 74px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 5px 22px 5px 5px;
  font-size: 17px;
  font-weight: 900;
}

.package-copy {
  display: grid;
  gap: 4px;
  color: var(--ink);
}

.package-copy small {
  font-size: 7px;
  letter-spacing: 1.2px;
}

.package-copy strong {
  font-size: 22px;
}

.package-copy span {
  font-size: 10px;
  opacity: .7;
}

.package-code {
  position: relative;
  z-index: 2;
  color: rgba(17,24,20,.25);
  font-size: 39px;
  font-weight: 900;
}

.console-lines {
  margin-top: 16px;
  border-top: 1px solid rgba(255,255,255,.11);
}

.console-lines div {
  min-height: 44px;
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.console-lines span {
  color: #6f8175;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1.6px;
}

.console-lines b {
  color: #d7e1da;
  font-size: 10px;
  letter-spacing: 1px;
}

.install-preview {
  min-height: 260px;
  margin-top: 20px;
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 35px;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    #0e1511;
  background-size: 22px 22px;
}

.preview-phone {
  width: 118px;
  height: 228px;
  padding: 7px;
  justify-self: end;
  border: 2px solid #4d5d52;
  border-radius: 20px;
  background: #090e0b;
}

.preview-screen {
  height: 100%;
  padding: 12px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 13px;
  background: #eff4ec;
}

.preview-status {
  width: 100%;
  position: absolute;
  align-self: start;
  justify-self: start;
  padding: 4px;
  color: var(--ink);
  font-size: 6px;
}

.preview-logo {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  border-radius: 8px 20px 8px 8px;
  font-size: 15px;
  font-weight: 900;
}

.preview-screen strong {
  margin-top: 11px;
  color: var(--ink);
  font-size: 10px;
}

.preview-screen small {
  margin-top: 3px;
  color: #7a877e;
  font-size: 5px;
  letter-spacing: 1px;
}

.preview-progress {
  width: 72px;
  height: 5px;
  margin-top: 22px;
  overflow: hidden;
  background: #dce3da;
}

.preview-progress i {
  width: 64%;
  height: 100%;
  display: block;
  background: var(--green);
}

.preview-caption {
  margin-top: 7px;
  color: #67766c;
  font-size: 6px;
}

.preview-steps {
  display: grid;
  gap: 17px;
}

.preview-steps span {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  color: #718278;
  font-size: 9px;
}

.preview-steps i {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: #829187;
  border: 1px solid #405047;
  border-radius: 50%;
  font-style: normal;
  font-size: 8px;
}

.preview-steps .is-done {
  color: var(--white);
}

.preview-steps .is-done i {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

.console-footer {
  border-top: 1px solid rgba(255,255,255,.09);
  border-bottom: 0;
}

.compatibility {
  padding: 112px 0;
  background: var(--paper-2);
}

.compatibility-shell,
.apk-route-shell,
.permission-shell,
.steps-shell,
.solver-shell,
.safety-shell,
.faq-shell,
.final-shell,
.footer-shell {
  width: var(--max);
  margin: 0 auto;
}

.compatibility-shell {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  align-items: start;
  gap: 85px;
}

.compatibility-heading {
  position: sticky;
  top: 110px;
}

.section-label.light {
  color: var(--lime);
}

.compatibility-heading h2,
.route-title h2,
.permission-copy h2,
.steps-heading h2,
.solver-heading h2,
.faq-heading h2 {
  margin: 15px 0 19px;
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.08;
  letter-spacing: -2.6px;
}

.compatibility-heading > p:last-child,
.solver-heading > p:last-child,
.faq-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.compatibility-board {
  border-top: 2px solid var(--ink);
  background: var(--paper);
}

.board-top {
  min-height: 62px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  color: var(--white);
  background: var(--ink);
}

.board-top span {
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 2px;
}

.board-top strong {
  color: var(--lime);
  font-size: 10px;
}

.board-row {
  min-height: 125px;
  padding: 25px 20px;
  display: grid;
  grid-template-columns: 45px 1fr auto;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid var(--line);
}

.row-index {
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 900;
}

.board-row div {
  display: grid;
  gap: 8px;
}

.board-row strong {
  font-size: 17px;
}

.board-row p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.row-result {
  padding: 7px 9px;
  color: var(--green-dark);
  border: 1px solid rgba(13,110,59,.25);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1px;
}

.row-result.is-pass {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

.apk-route {
  padding: 110px 0;
  background: var(--paper);
}

.route-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 45px;
}

.route-title > span {
  order: 2;
  color: var(--green-dark);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 2px;
}

.route-title h2 {
  margin-bottom: 0;
}

.route-flow {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.route-node {
  min-height: 280px;
  padding: 30px 20px;
  position: relative;
}

.node-number {
  position: absolute;
  right: 16px;
  top: 15px;
  color: #a5aea8;
  font-size: 9px;
  font-weight: 900;
}

.node-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  position: relative;
  color: var(--ink);
  background: var(--lime-soft);
}

.node-icon i {
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.browser-icon i {
  width: 36px;
  height: 27px;
  border: 2px solid var(--ink);
}

.browser-icon i::before {
  content: "";
  height: 6px;
  display: block;
  border-bottom: 2px solid var(--ink);
}

.file-icon {
  border-radius: 4px 22px 4px 4px;
}

.shield-icon {
  clip-path: polygon(50% 0, 90% 17%, 83% 74%, 50% 100%, 17% 74%, 10% 17%);
}

.app-icon {
  color: var(--white);
  background: var(--ink);
  border-radius: 12px;
}

.route-node h3 {
  margin: 32px 0 12px;
  font-size: 18px;
}

.route-node p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.route-arrow {
  display: grid;
  place-items: center;
  color: var(--green);
  font-size: 24px;
}

.route-download {
  min-height: 115px;
  padding: 25px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--white);
  background: var(--ink);
}

.route-download div {
  display: grid;
  gap: 8px;
}

.route-download span {
  color: var(--lime);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 2px;
}

.route-download strong {
  font-size: 22px;
}

.route-download > a {
  min-width: 180px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink);
  background: var(--lime);
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.permission-section {
  padding: 115px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 10% 90%, rgba(140,242,75,.12), transparent 24%),
    var(--ink-2);
}

.permission-shell {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 95px;
}

.permission-copy > p:nth-of-type(2) {
  margin: 0;
  color: #aab8af;
  font-size: 14px;
  line-height: 1.9;
}

.permission-note {
  margin-top: 35px;
  padding: 20px;
  display: grid;
  gap: 8px;
  border-left: 3px solid var(--lime);
  background: rgba(255,255,255,.04);
}

.permission-note strong {
  font-size: 14px;
}

.permission-note span {
  color: #8fa097;
  font-size: 11px;
  line-height: 1.7;
}

.permission-phone {
  width: min(100%, 480px);
  min-height: 480px;
  padding: 18px;
  justify-self: center;
  color: var(--ink);
  background: #e8ede6;
  border: 10px solid #080d0a;
  border-radius: 35px;
  box-shadow: 0 40px 80px rgba(0,0,0,.28);
}

.permission-phone-top {
  min-height: 45px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #4b5a50;
  border-bottom: 1px solid rgba(17,24,20,.1);
  font-size: 10px;
  font-weight: 800;
}

.permission-phone-top i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.permission-dialog {
  margin: 35px 13px 0;
  padding: 25px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(17,24,20,.14);
}

.dialog-app {
  display: flex;
  align-items: center;
  gap: 13px;
}

.dialog-app > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  border-radius: 7px 20px 7px 7px;
  font-size: 14px;
  font-weight: 900;
}

.dialog-app div {
  display: grid;
  gap: 4px;
}

.dialog-app strong {
  font-size: 14px;
}

.dialog-app small {
  color: #7d8a81;
  font-size: 9px;
}

.permission-dialog > p {
  margin: 28px 0 22px;
  color: #435148;
  font-size: 13px;
  line-height: 1.7;
}

.permission-toggle {
  min-height: 57px;
  padding: 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
}

.permission-toggle i {
  width: 42px;
  height: 22px;
  padding: 3px;
  display: flex;
  justify-content: flex-end;
  border-radius: 999px;
  background: var(--green);
}

.permission-toggle b {
  width: 16px;
  height: 16px;
  display: block;
  border-radius: 50%;
  background: var(--white);
}

.dialog-actions {
  margin-top: 25px;
  display: flex;
  justify-content: flex-end;
  gap: 25px;
  font-size: 11px;
  font-weight: 900;
}

.dialog-actions strong {
  color: var(--green-dark);
}

.permission-caption {
  margin-top: 24px;
  padding: 0 13px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #748279;
  font-size: 8px;
}

.install-steps {
  padding: 110px 0;
  background: var(--paper);
}

.steps-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
}

.steps-heading::after {
  content: "A—D";
  color: var(--lime-soft);
  font-size: 84px;
  line-height: .8;
  font-weight: 900;
  letter-spacing: -6px;
}

.install-steps ol {
  margin: 55px 0 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--ink);
}

.install-steps li {
  min-height: 140px;
  padding: 27px 0;
  display: grid;
  grid-template-columns: 85px 1fr 65px;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}

.step-key {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  font-size: 18px;
  font-weight: 900;
}

.step-copy span {
  color: var(--green-dark);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1.8px;
}

.step-copy h3 {
  margin: 7px 0 8px;
  font-size: 20px;
}

.step-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.step-check {
  color: #b5bdb7;
  font-size: 24px;
  font-weight: 900;
  text-align: right;
}

.solver {
  padding: 110px 0;
  background: var(--paper-2);
}

.solver-heading {
  max-width: 760px;
}

.solver-layout {
  margin-top: 50px;
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 0;
  border: 1px solid var(--line);
}

.solver-tabs {
  display: grid;
  align-content: start;
  background: #dfe4da;
}

.solver-tabs button {
  min-height: 85px;
  padding: 15px 20px;
  display: grid;
  grid-template-columns: 45px 1fr;
  align-items: center;
  gap: 15px;
  color: #435148;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(17,24,20,.12);
  cursor: pointer;
  text-align: left;
  font-size: 13px;
  font-weight: 800;
}

.solver-tabs button span {
  color: #88948d;
  font-size: 9px;
  letter-spacing: 1px;
}

.solver-tabs button.is-active {
  color: var(--white);
  background: var(--ink);
}

.solver-tabs button.is-active span {
  color: var(--lime);
}

.solver-panel {
  min-height: 420px;
  padding: 48px;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 10%, rgba(140,242,75,.12), transparent 30%),
    var(--ink);
}

.solver-code {
  color: var(--lime);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 2.2px;
}

.solver-panel h3 {
  margin: 16px 0 16px;
  font-size: 30px;
  letter-spacing: -1px;
}

.solver-panel > p {
  max-width: 630px;
  margin: 0;
  color: #aebbb3;
  font-size: 13px;
  line-height: 1.8;
}

.solver-panel ul {
  margin: 27px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.solver-panel li {
  padding-left: 23px;
  position: relative;
  color: #d9e2dc;
  font-size: 12px;
}

.solver-panel li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--lime);
}

.solver-panel > a {
  margin-top: 34px;
  padding: 15px 18px;
  display: inline-flex;
  align-items: center;
  gap: 34px;
  color: var(--ink);
  background: var(--lime);
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.safety-strip {
  padding: 0;
  color: var(--ink);
  background: var(--lime);
}

.safety-shell {
  min-height: 160px;
  padding: 30px 0;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 30px;
}

.safety-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--lime);
  background: var(--ink);
  border-radius: 50%;
  font-size: 25px;
  font-weight: 900;
}

.safety-shell div {
  display: grid;
  gap: 8px;
}

.safety-shell strong {
  font-size: 22px;
}

.safety-shell p {
  margin: 0;
  color: #31543e;
  font-size: 12px;
  line-height: 1.7;
}

.safety-shell > a {
  min-width: 190px;
  padding: 15px 18px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--white);
  background: var(--ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.faq-section {
  padding: 110px 0 120px;
  background: var(--paper);
}

.faq-shell {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  align-items: start;
  gap: 85px;
}

.faq-heading {
  position: sticky;
  top: 110px;
}

.faq-list {
  border-top: 2px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  width: 100%;
  min-height: 90px;
  padding: 22px 0;
  display: grid;
  grid-template-columns: 45px 1fr 25px;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.faq-item button > span {
  color: var(--green-dark);
  font-size: 9px;
  font-weight: 900;
}

.faq-item button strong {
  font-size: 15px;
  line-height: 1.5;
}

.faq-item button i {
  width: 19px;
  height: 19px;
  position: relative;
}

.faq-item button i::before,
.faq-item button i::after {
  content: "";
  position: absolute;
  background: var(--green-dark);
}

.faq-item button i::before {
  width: 17px;
  height: 2px;
  left: 1px;
  top: 8px;
}

.faq-item button i::after {
  width: 2px;
  height: 17px;
  left: 8px;
  top: 1px;
  transition: transform .2s ease;
}

.faq-item button[aria-expanded="true"] i::after {
  transform: rotate(90deg);
}

.faq-answer {
  padding: 0 45px 26px 59px;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.final-cta {
  padding: 0 0 90px;
  background: var(--paper);
}

.final-shell {
  min-height: 265px;
  padding: 45px;
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 35px;
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 92% 0%, rgba(140,242,75,.18), transparent 32%),
    var(--ink);
}

.final-index {
  color: var(--lime);
  font-size: 65px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -4px;
}

.final-copy {
  display: grid;
  gap: 8px;
}

.final-copy p {
  margin: 0;
  color: var(--lime);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 2.2px;
}

.final-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 47px);
  line-height: 1.1;
  letter-spacing: -2px;
}

.final-copy span {
  color: #9cacA2;
  font-size: 11px;
}

.final-shell > a {
  min-width: 190px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink);
  background: var(--lime);
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.site-footer {
  color: #93a199;
  background: #0a0f0c;
}

.footer-shell {
  min-height: 170px;
  padding: 42px 0 75px;
  display: grid;
  grid-template-columns: .8fr 1.2fr auto;
  align-items: start;
  gap: 55px;
}

.footer-brand {
  display: grid;
  gap: 6px;
}

.footer-brand strong {
  color: var(--white);
  font-size: 20px;
}

.footer-brand span,
.footer-shell > p,
.footer-links a {
  font-size: 10px;
}

.footer-shell > p {
  margin: 0;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

.mobile-download {
  display: none;
}

@media (max-width: 1040px) {
  .desktop-nav {
    display: none;
  }

  .header-shell {
    grid-template-columns: auto 1fr auto auto;
  }

  .menu-button {
    width: 42px;
    height: 42px;
    justify-self: end;
    display: grid;
    place-content: center;
    gap: 6px;
    color: var(--white);
    background: transparent;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 5px;
    cursor: pointer;
  }

  .menu-button span {
    width: 19px;
    height: 2px;
    display: block;
    background: currentColor;
  }

  .mobile-nav.is-open {
    width: var(--max);
    margin: 0 auto;
    padding: 12px;
    display: grid;
    position: absolute;
    left: 50%;
    top: 70px;
    transform: translateX(-50%);
    background: var(--ink);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 20px 40px rgba(0,0,0,.28);
  }

  .mobile-nav.is-open a {
    padding: 13px 8px;
    color: #d0dad3;
    border-bottom: 1px solid rgba(255,255,255,.08);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .compatibility-shell,
  .permission-shell,
  .faq-shell {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .compatibility-heading,
  .faq-heading {
    position: static;
  }

  .route-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .route-arrow {
    display: none;
  }

  .route-node {
    border-bottom: 1px solid var(--line);
  }

  .route-node:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .permission-phone {
    justify-self: start;
  }

  .solver-layout {
    grid-template-columns: 1fr;
  }

  .solver-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .safety-shell {
    grid-template-columns: 65px 1fr;
  }

  .safety-shell > a {
    grid-column: 2;
    justify-self: start;
  }

  .final-shell {
    grid-template-columns: 75px 1fr;
  }

  .final-shell > a {
    grid-column: 2;
    justify-self: start;
  }

  .footer-shell {
    grid-template-columns: 1fr 1fr;
  }

  .footer-links {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  :root {
    --max: min(100% - 28px, 1200px);
  }

  body {
    padding-bottom: 69px;
  }

  .site-header {
    height: 70px;
  }

  .header-shell {
    gap: 10px;
  }

  .brand-chip {
    width: 38px;
    height: 38px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .brand-copy small {
    font-size: 7px;
  }

  .header-cta {
    display: none;
  }

  .hero-rail {
    overflow: hidden;
    white-space: nowrap;
  }

  .hero-shell {
    min-height: auto;
    padding: 70px 0 68px;
    gap: 42px;
  }

  .hero h1 {
    font-size: 49px;
    letter-spacing: -2.8px;
  }

  .hero-lead {
    font-size: 14px;
  }

  .android-status {
    width: 100%;
    line-height: 1.5;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .primary-download,
  .copy-link {
    width: 100%;
  }

  .hero-checks {
    display: grid;
    gap: 10px;
  }

  .console-body {
    padding: 15px;
  }

  .package-card {
    grid-template-columns: 58px 1fr;
  }

  .package-icon {
    width: 55px;
    height: 64px;
  }

  .package-code {
    display: none;
  }

  .console-lines div {
    grid-template-columns: 90px 1fr;
  }

  .install-preview {
    min-height: 430px;
    padding: 25px 15px;
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .preview-phone {
    justify-self: center;
  }

  .preview-steps {
    width: min(100%, 240px);
    justify-self: center;
  }

  .compatibility,
  .apk-route,
  .permission-section,
  .install-steps,
  .solver,
  .faq-section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .compatibility-heading h2,
  .route-title h2,
  .permission-copy h2,
  .steps-heading h2,
  .solver-heading h2,
  .faq-heading h2 {
    font-size: 36px;
    letter-spacing: -1.8px;
  }

  .board-row {
    grid-template-columns: 35px 1fr;
  }

  .row-result {
    grid-column: 2;
    justify-self: start;
  }

  .route-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .route-title > span {
    order: initial;
  }

  .route-flow {
    grid-template-columns: 1fr;
  }

  .route-node:nth-child(odd) {
    border-right: 0;
  }

  .route-download {
    align-items: stretch;
    flex-direction: column;
  }

  .route-download > a {
    width: 100%;
  }

  .permission-phone {
    min-height: 430px;
    padding: 11px;
    border-width: 7px;
  }

  .permission-dialog {
    margin-left: 5px;
    margin-right: 5px;
    padding: 21px;
  }

  .steps-heading {
    grid-template-columns: 1fr;
  }

  .steps-heading::after {
    font-size: 58px;
  }

  .install-steps li {
    grid-template-columns: 55px 1fr;
    gap: 17px;
  }

  .step-key {
    width: 47px;
    height: 47px;
  }

  .step-check {
    display: none;
  }

  .solver-tabs {
    grid-template-columns: 1fr;
  }

  .solver-panel {
    min-height: 0;
    padding: 34px 24px;
  }

  .solver-panel h3 {
    font-size: 26px;
  }

  .safety-shell {
    padding: 35px 0;
    grid-template-columns: 1fr;
  }

  .safety-shell > a {
    grid-column: 1;
    width: 100%;
  }

  .faq-item button {
    grid-template-columns: 34px 1fr 20px;
  }

  .faq-item button strong {
    font-size: 14px;
  }

  .faq-answer {
    padding-left: 48px;
    padding-right: 10px;
  }

  .final-cta {
    padding-bottom: 65px;
  }

  .final-shell {
    padding: 36px 24px;
    grid-template-columns: 1fr;
  }

  .final-index {
    font-size: 50px;
  }

  .final-copy h2 {
    font-size: 34px;
  }

  .final-shell > a {
    grid-column: 1;
    width: 100%;
  }

  .footer-shell {
    padding-bottom: 38px;
    grid-template-columns: 1fr;
    gap: 23px;
  }

  .footer-links {
    grid-column: 1;
    flex-wrap: wrap;
  }

  .mobile-download {
    height: 64px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 150;
    color: var(--white);
    background: rgba(17,24,20,.97);
    border-top: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(14px);
  }

  .mobile-download div {
    display: grid;
    gap: 3px;
  }

  .mobile-download strong {
    color: var(--lime);
    font-size: 10px;
    letter-spacing: 1px;
  }

  .mobile-download span {
    color: #aebbb3;
    font-size: 9px;
  }

  .mobile-download a {
    padding: 12px 16px;
    color: var(--ink);
    background: var(--lime);
    border-radius: 4px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 900;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}