.apk-page { background: radial-gradient(circle at 82% 10%, rgba(71,174,255,.25), transparent 30rem), linear-gradient(#f8fcff, #fff 56rem); }
.apk-page .site-header nav a[aria-current="page"] { color: var(--blue); }
.apk-page main { overflow: hidden; }
.content-block { padding-block: 96px; }
.section-heading-simple { max-width: 790px; margin-bottom: 38px; }
.section-heading-simple h2 { margin: 16px 0 12px; font-size: clamp(34px, 4.5vw, 54px); }
.section-heading-simple > p { color: var(--muted); }
.breadcrumbs ol { display: flex; gap: 9px; margin: 0; padding: 0; color: #6f819a; font-size: 12px; font-weight: 750; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 9px; color: #a5b4c7; }
.breadcrumbs a:hover { color: var(--blue); }

.hero-apk { padding-block: 42px 84px; }
.hero-apk-copy { max-width: 880px; margin: 62px auto 46px; text-align: center; }
.hero-apk-copy .eyebrow { margin-inline: auto; }
.hero-apk h1 { margin: 23px 0 22px; font-size: clamp(45px, 6vw, 76px); }
.hero-apk .subheader { margin-inline: auto; }
.app-download-card { overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: rgba(255,255,255,.96); box-shadow: 0 30px 75px rgba(18,76,134,.13); }
.app-header { display: grid; grid-template-columns: 106px 1fr auto; align-items: center; gap: 25px; padding: 34px; background: linear-gradient(115deg, #f1f9ff, #fff); }
.app-icon { width: 106px; height: 106px; border-radius: 24px; box-shadow: 0 14px 32px rgba(3,43,91,.2); object-fit: cover; }
.app-info h2 { margin: 0 0 10px; font-size: 30px; }
.version-badge { display: inline-flex; padding: 6px 10px; border: 1px solid #cde8ff; border-radius: 999px; color: #0873de; background: #eaf6ff; font-size: 11px; font-weight: 850; }
.release-state { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 999px; color: #835900; background: #fff5d7; font-size: 11px; font-weight: 850; }
.release-state span { width: 8px; height: 8px; border-radius: 50%; background: #e8a500; box-shadow: 0 0 0 4px rgba(232,165,0,.13); }
.app-details { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); background: #fff; }
.app-details > div { min-height: 110px; padding: 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.app-details > div:last-child { border-right: 0; }
.app-details span { color: #7e8fa5; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.app-details strong { margin-top: 7px; font-size: 13px; }
.download-actions { display: flex; justify-content: center; gap: 12px; padding: 30px 34px; }
.download-safety-note { display: flex; align-items: flex-start; gap: 10px; max-width: 700px; margin: -12px auto 28px; padding: 13px 16px; border: 1px solid #cfe4f8; border-radius: 12px; background: #f2f9ff; color: #536b86; font-size: 12px; line-height: 1.55; }
.download-safety-note svg { width: 20px; height: 20px; flex: none; fill: var(--blue); }
.is-disabled { cursor: not-allowed; opacity: .66; filter: grayscale(.3); }
.checksum-box { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; padding: 34px; color: #fff; background: linear-gradient(145deg, #0a336b, #061b3b); }
.checksum-box h3 { margin: 17px 0 9px; font-size: 27px; }
.checksum-box p { margin: 0; color: #adc5e0; font-size: 13px; }
.checksum-box .eyebrow { border-color: rgba(93,208,255,.26); color: #6fd9ff; background: rgba(62,181,246,.08); }
.pending-hashes { display: grid; grid-template-columns: 72px 1fr; gap: 9px 14px; align-items: center; }
.pending-hashes span { color: #7ea4ca; font-size: 10px; font-weight: 800; }
.pending-hashes code { overflow: hidden; padding: 10px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; color: #d2e5f7; background: rgba(255,255,255,.05); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }

.activation-notice { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 30px; border: 1px solid #ffe3a5; border-radius: 20px; background: #fffaf0; box-shadow: 0 16px 44px rgba(126,89,0,.08); }
.notice-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 15px; background: #fff0c7; }
.notice-icon svg { width: 27px; height: 27px; fill: #bd7d00; }
.activation-notice .eyebrow { color: #a66b00; border-color: #f2d899; background: #fff4d6; }
.activation-notice h2 { margin: 13px 0 8px; font-size: 25px; }
.activation-notice p { max-width: 760px; margin: 0; color: #6c6e75; font-size: 13px; }

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step-card { min-height: 275px; padding: 27px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 14px 40px rgba(20,82,145,.07); }
.step-number { width: auto; height: auto; display: inline-flex; margin: 0; color: var(--blue); background: transparent; border-radius: 0; font-size: 30px; font-weight: 900; letter-spacing: -.05em; }
.step-card h3 { margin: 32px 0 13px; font-size: 20px; }
.step-card p { margin: 0; color: var(--muted); font-size: 13px; }
.step-card code { color: #066fd7; font-size: .94em; }

.terminal-features { width: min(1240px, calc(100% - 24px)); padding-inline: 30px; border-radius: 34px; background: linear-gradient(125deg, #f0f9ff, #fff 52%, #edf7ff); }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature-card { min-height: 210px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 13px 38px rgba(17,78,136,.06); }
.feature-icon { width: 26px; height: 26px; padding: 10px; box-sizing: content-box; border-radius: 13px; fill: var(--blue); background: #e9f5ff; }
.feature-card h3 { margin: 24px 0 11px; font-size: 21px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 13px; }

.two-column-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.info-column { min-height: 360px; padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.info-column h3 { margin-bottom: 20px; font-size: 25px; }
.pending-note { padding: 12px 14px; border-left: 3px solid #e9a800; color: #6d6248; background: #fff9e8; font-size: 12px; }
.info-column ul { display: grid; gap: 14px; }
.info-column li { color: var(--muted); font-size: 13px; }
.info-column li strong { color: var(--ink); }
.release-placeholder { margin-top: 30px; padding: 25px; border: 1px dashed #bdd8ef; border-radius: 16px; background: #f5faff; }
.release-placeholder span, .release-placeholder strong { display: block; }
.release-placeholder span { color: #7d90a8; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.release-placeholder strong { margin: 9px 0; font-size: 21px; }
.release-placeholder p { margin: 0; color: var(--muted); font-size: 13px; }

.safety-rules { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; }
.safety-intro h2 { margin: 17px 0 13px; font-size: clamp(36px, 4.3vw, 54px); }
.safety-intro p { color: var(--muted); }
.safety-list { display: grid; gap: 12px; }
.safety-list li { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 21px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.safety-icon { width: 22px; height: 22px; padding: 8px; box-sizing: content-box; border-radius: 10px; fill: var(--blue); background: #e9f5ff; }
.safety-list strong { font-size: 14px; }
.safety-list p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }

.faq-section { padding-top: 42px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; padding: 25px 50px 25px 0; cursor: pointer; font-weight: 850; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 6px; top: 20px; color: var(--blue); font-size: 24px; font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { max-width: 850px; padding: 0 40px 25px 0; margin: 0; color: var(--muted); font-size: 14px; }

.bottom-cta { width: min(1180px, calc(100% - 40px)); margin-bottom: 92px; padding: 50px; border-radius: 28px; color: #fff; background: linear-gradient(135deg, #0b376f, #06214a); box-shadow: 0 28px 65px rgba(3,45,93,.2); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 48px; }
.bottom-cta .eyebrow { border-color: rgba(108,210,255,.25); color: #75d8ff; background: rgba(68,187,255,.09); }
.bottom-cta h2 { margin: 18px 0 12px; font-size: clamp(34px, 4vw, 52px); }
.bottom-cta .subtext { max-width: 680px; margin: 0; color: #afc8e4; }

@media (max-width: 1000px) {
  .app-details { grid-template-columns: 1fr 1fr; }
  .app-details > div:nth-child(2) { border-right: 0; }
  .app-details > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .activation-notice { grid-template-columns: auto 1fr; }
  .activation-notice .btn-primary { grid-column: 2; justify-self: start; }
  .bottom-cta { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 780px) {
  .content-block { padding-block: 72px; }
  .hero-apk { padding-block: 26px 64px; }
  .breadcrumbs { display: none; }
  .hero-apk-copy { margin-top: 32px; }
  .hero-apk h1 { font-size: clamp(42px, 12vw, 62px); }
  .app-header { grid-template-columns: 84px 1fr; padding: 25px; }
  .app-icon { width: 84px; height: 84px; border-radius: 20px; }
  .release-state { grid-column: 1 / -1; justify-self: start; }
  .app-details { grid-template-columns: 1fr; }
  .app-details > div { min-height: 86px; border-right: 0; border-bottom: 1px solid var(--line); }
  .app-details > div:last-child { border-bottom: 0; }
  .download-actions { flex-direction: column; padding: 24px; }
  .checksum-box { grid-template-columns: 1fr; padding: 28px 24px; }
  .activation-notice { grid-template-columns: 1fr; }
  .activation-notice .btn-primary { grid-column: 1; }
  .terminal-features { width: min(100% - 20px, 660px); padding-inline: 18px; }
  .two-column-layout, .safety-rules { grid-template-columns: 1fr; }
  .safety-rules { gap: 25px; }
  .bottom-cta { width: min(100% - 28px, 660px); padding: 36px 28px; }
}

@media (max-width: 520px) {
  .hero-apk h1 { font-size: 40px; }
  .app-header { grid-template-columns: 68px 1fr; gap: 16px; }
  .app-icon { width: 68px; height: 68px; border-radius: 16px; }
  .app-info h2 { font-size: 23px; }
  .steps-grid, .features-grid { grid-template-columns: 1fr; }
  .step-card, .feature-card { min-height: auto; }
  .pending-hashes { grid-template-columns: 1fr; }
  .pending-hashes code { margin-bottom: 5px; }
  .bottom-cta .cta-group, .bottom-cta .btn-primary, .bottom-cta .btn-secondary { width: 100%; }
}

@media (max-width: 360px) {
  .hero-apk h1 { font-size: 35px; }
  .terminal-features { width: calc(100% - 12px); padding-inline: 12px; }
  .app-header, .download-actions, .checksum-box, .info-column { padding-inline: 20px; }
}
