:root {
  --ink: #182234;
  --text: #334156;
  --muted: #576479;
  --line: #e1e6ee;
  --paper: #ffffff;
  --wash: #f5f7fa;
  --slate: #111827;
  --purple: #a855f7;
  --plum: #63389b;
  --gold: #d48d39;
  --gold-light: #efbe78;
  --radius: 0.9rem;
  --page-width: 68rem;
  --gutters: clamp(1rem, 3.6vw, 2.75rem);
  color: var(--text);
  background: var(--paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 100%;
  line-height: 1.65;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 0; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
a { color: inherit; text-underline-offset: 0.2em; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 4px; }
[id] { scroll-margin-top: 1.5rem; }
[hidden] { display: none !important; }
h1, h2, h3 { color: var(--ink); line-height: 1.23; margin: 0; }
p { margin: 0.65rem 0 0; }

.container {
  width: min(100% - 2 * var(--gutters), var(--page-width));
  margin-inline: auto;
}

.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  z-index: 5;
  top: 0.6rem;
  left: 0.6rem;
  padding: 0.5rem 0.8rem;
  background: white;
  border-radius: 0.35rem;
}

.icon-set { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  flex: none;
  width: 1.17rem;
  height: 1.17rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  background: var(--slate);
  color: #f6f7fb;
  border-bottom: 1px solid #2c3544;
}

.site-header :focus-visible,
.hero :focus-visible { outline-color: var(--gold-light); }

.header-row {
  min-height: 4.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  flex: none;
  color: inherit;
  font-weight: 700;
  letter-spacing: -0.018em;
  text-decoration: none;
}

.brand-icon { flex: none; border-radius: 22%; }
.wordmark img { width: 2.1rem; height: 2.1rem; }

.header-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  column-gap: clamp(0.75rem, 3vw, 1.85rem);
  row-gap: 0.25rem;
}

.header-nav a {
  color: #e0e5ef;
  font-size: 0.92rem;
  font-weight: 560;
  text-decoration: none;
}

.header-nav a:hover,
.header-nav a:focus-visible { color: var(--gold-light); }

.hero {
  position: relative;
  isolation: isolate;
  color: #e3e8f2;
  background:
    radial-gradient(ellipse at 76% 38%, rgb(168 85 247 / 15%), transparent 57%),
    radial-gradient(ellipse at 100% 90%, rgb(234 179 8 / 13%), transparent 60%),
    linear-gradient(115deg, #111827 0%, #1e2338 65%, #282434 100%);
}

.hero-layout {
  padding-block: clamp(2.25rem, 5.3vw, 4.15rem);
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.38fr) minmax(20rem, 0.96fr);
  gap: clamp(2rem, 5.8vw, 4.65rem);
}

.hero h1 {
  color: #fbfbfe;
  font-size: clamp(2rem, 4.35vw, 2.9rem);
  font-weight: 740;
  letter-spacing: -0.038em;
  text-wrap: balance;
}

.hero-copy p {
  max-width: 53ch;
  margin-top: 1.05rem;
  font-size: 1.075rem;
  line-height: 1.65;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.28rem;
  color: #f6d4a4;
  font-size: 0.95rem;
  font-weight: 620;
}

.hero-link:hover { color: #ffebce; }
.hero-link .icon { width: 1rem; height: 1rem; }

.download-card {
  min-width: 0;
  padding: clamp(1.15rem, 2.2vw, 1.55rem);
  color: #f4f6fb;
  text-align: left;
  border: 1px solid rgb(234 218 255 / 20%);
  border-radius: 1.15rem;
  background: rgb(17 24 39 / 81%);
  box-shadow: 0 16px 38px rgb(12 15 25 / 22%);
}

.download-product { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1.05rem; }
.download-product img { width: 3.3rem; height: 3.3rem; }
.download-product p { margin: 0; }
.download-name { font-size: 1.125rem; font-weight: 700; line-height: 1.35; }
.download-size { color: #cbd4e4; font-size: 0.9rem; line-height: 1.6; }

.download-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.62rem;
  width: 100%;
  min-height: 3.15rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 0.62rem;
  background: var(--gold);
  color: #18131b;
  cursor: pointer;
  font-weight: 720;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}

.download-button:hover { background: #e5a353; }
.download-button .icon { width: 1.2rem; height: 1.2rem; }

.download-release {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.32rem 0.65rem;
  margin-top: 0.85rem;
  line-height: 1.4;
}

.release-version { color: #f4f6fb; font-size: 0.94rem; text-decoration: none; }
.release-version:hover { text-decoration: underline; }

.release-tag {
  padding: 0.14rem 0.48rem;
  border-radius: 999px;
  background: rgb(212 141 57 / 16%);
  color: #ffda9f;
  font-size: 0.78rem;
  font-weight: 650;
}

.release-date { flex-basis: 100%; margin: 0; color: #cbd4e4; font-size: 0.88rem; }

.download-security {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem 0.95rem;
  margin-top: 0.74rem;
  padding-top: 0.68rem;
  border-top: 1px solid rgb(234 218 255 / 17%);
}

.security-label {
  color: #dbe3f1;
  font-size: 0.88rem;
  font-weight: 610;
  text-decoration: none;
}

.security-label:hover { color: white; text-decoration: underline; }

.security-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.security-brands li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #eff2f8;
  font-size: 0.875rem;
  font-weight: 570;
}

.security-brands img { width: 1.5rem; height: 1.5rem; border-radius: 0.28rem; }

.download-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.62rem;
  color: #bdc8db;
  font-size: 0.8125rem;
}

.download-footer a { color: #ead8ff; }

.page-index {
  background: var(--wash);
  border-bottom: 1px solid var(--line);
}

.index-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: clamp(1rem, 3vw, 1.9rem);
  row-gap: 0.45rem;
  padding-block: 0.85rem;
  font-size: 0.9rem;
}

.index-label { color: var(--ink); font-weight: 690; }
.index-row a { color: var(--muted); text-decoration: none; }
.index-row a:hover, .index-row a:focus-visible { color: var(--plum); text-decoration: underline; }

.copy-section {
  padding-block: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}

.copy-section:last-child { border-bottom: 0; }
.copy-section h2 {
  position: relative;
  padding-left: 0.82rem;
  margin-bottom: 1.04rem;
  font-size: clamp(1.46rem, 2.4vw, 1.83rem);
  letter-spacing: -0.025em;
  font-weight: 720;
}

.copy-section h2::before {
  content: "";
  position: absolute;
  inset: 0.12em auto 0.1em 0;
  width: 0.2rem;
  border-radius: 1rem;
  background: var(--gold);
}

.copy-section h3 {
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 680;
  letter-spacing: -0.012em;
}

.copy-section h3 + p { margin-top: 0.42rem; }
.prose > p { max-inline-size: 70ch; }
.prose > p:first-child { margin-top: 0; }

.split-content {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(1.35rem, 5vw, 3.85rem);
  align-items: start;
}

.requirements-box {
  min-width: 0;
  border: 1px solid var(--line);
  padding: clamp(0.95rem, 2.3vw, 1.35rem);
  border-radius: var(--radius);
  background: var(--wash);
}

.requirements-box p { font-size: 0.96rem; }
.requirements-box .table-frame { margin: 0.95rem 0; }

.table-frame {
  margin-top: 0.78rem;
  border: 1px solid #dce3ed;
  border-radius: 0.72rem;
  overflow: hidden;
  background: var(--paper);
}

.data-table, .compare-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  text-align: left;
  font-size: 0.94rem;
  line-height: 1.5;
}

.data-table th, .data-table td {
  padding: 0.62rem clamp(0.6rem, 2vw, 0.95rem);
  vertical-align: top;
  overflow-wrap: anywhere;
}

.data-table thead th {
  color: #f6f8fc;
  background: #263347;
  font-weight: 640;
}

.data-table th:first-child { width: 37%; }
.data-table tbody tr + tr { border-top: 1px solid var(--line); }
.data-table tbody tr:nth-child(even) { background: #f8f9fc; }
.data-table tbody th { color: var(--ink); font-weight: 625; }

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.topic-card {
  min-width: 0;
  padding: clamp(0.92rem, 2.4vw, 1.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.features .topic-card { background: #fafbfc; }
.features .topic-card:nth-child(odd):last-child { grid-column: 1 / -1; }
.topic-card p { margin-top: 0.44rem; }

.catalog .topic-grid,
.troubleshooting .topic-grid,
.method-grid { gap: 1.05rem clamp(1.25rem, 4vw, 2.25rem); }

.catalog .topic-card,
.troubleshooting .topic-card,
.method-grid .topic-card {
  padding: 0.95rem 0 0.18rem;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.safety-panel {
  padding-inline-start: clamp(0.8rem, 2.5vw, 1.25rem);
  border-inline-start: 2px solid #d7c1ec;
}

.list { margin: 0.75rem 0 0; padding-inline-start: 1.35rem; }
.list li + li { margin-top: 0.42rem; }
.list li::marker { color: var(--plum); }

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  min-height: 2.32rem;
  padding: 0.1rem 0 0.86rem 2.75rem;
  counter-increment: step;
}

.steps li:last-child { padding-bottom: 0; }

.step-number {
  position: absolute;
  inset: 0 auto auto 0;
  display: grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: #f2ebfa;
  color: #55307f;
  font-size: 0.82rem;
  font-weight: 700;
}

.step-number::before { content: counter(step); }

.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.9rem;
  bottom: 0.15rem;
  left: 0.86rem;
  width: 1px;
  background: #e6dcee;
}

.steps p { margin: 0; }
.step-title { display: block; margin-bottom: 0.12rem; color: var(--ink); font-weight: 650; }

.method-grid { margin-top: 1rem; }
.method-grid .steps { margin-top: 0.8rem; }

.use-list { columns: 2; column-gap: 3.1rem; margin-top: 0; }
.use-list li { break-inside: avoid; margin-bottom: 0.45rem; }

.compare-frame { margin-top: 0.78rem; }

.compare-table {
  --column-gap: clamp(0.9rem, 2.3vw, 1.5rem);
  width: calc(100% + 2 * var(--column-gap));
  margin-inline: calc(-1 * var(--column-gap));
  border-collapse: separate;
  border-spacing: var(--column-gap) 0;
}

.compare-table th {
  padding: 0.8rem 1rem;
  color: #213740;
  background: #eef7f4;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 0.72rem 0.72rem 0 0;
}

.compare-table th:last-child,
.compare-table .mobile-col-title.cons-title { color: #573c22; background: #fbf1e4; }

.compare-table th .icon { margin-right: 0.42rem; vertical-align: -0.25em; }

.compare-table td { padding: 0; vertical-align: top; }

.compare-list {
  margin: 0;
  padding: 0.22rem 0 0.3rem;
  overflow: hidden;
  list-style: none;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 0.72rem 0.72rem;
}

.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.53rem;
  padding: 0.57rem 0.85rem;
}

.compare-list li + li { border-top: 1px solid #edf0f4; }
.compare-list .icon { margin-top: 0.12rem; width: 1rem; height: 1rem; color: #26735d; }
.compare-table td:last-child .icon { color: #9a5b24; }
.mobile-col-title { display: none; }

.reviews-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 1.8rem;
  margin: 0.95rem 0 0;
  padding: 0;
  list-style: none;
}

.review-card {
  padding: 0.1rem 0 0.18rem 0.85rem;
  border: 0;
  border-inline-start: 2px solid #d1b7f0;
  border-radius: 0;
}
.review-card p { margin: 0; }
.review-name { color: var(--ink); font-weight: 660; }

.topic-stack .topic-card {
  padding: 0.9rem 0;
  background: transparent;
  border-width: 0 0 1px;
  border-radius: 0;
}

.topic-stack .topic-card:last-child { border-bottom: 0; padding-bottom: 0; }

.faq-list {
  display: grid;
  gap: clamp(0.65rem, 1.2vw, 0.9rem);
}

.faq-row {
  border: 1px solid var(--line);
  border-radius: 0.72rem;
  background: #fbfcfe;
}

.faq-row[open] {
  border-color: #d9cbea;
  background: #f8f5fc;
}

.faq-row summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.55rem;
  padding: 0.86rem clamp(0.9rem, 2.4vw, 1.35rem);
  border-radius: inherit;
  list-style: none;
  cursor: pointer;
}

.faq-row summary::-webkit-details-marker { display: none; }
.faq-row summary::after {
  content: "";
  flex: none;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background:
    linear-gradient(var(--plum), var(--plum)) center / 0.65rem 2px no-repeat,
    linear-gradient(var(--plum), var(--plum)) center / 2px 0.65rem no-repeat,
    #ede6f8;
}

.faq-row summary:hover { background-color: #f2edf9; }
.faq-row summary:focus-visible { outline-offset: -3px; }

.faq-row summary h3 {
  color: var(--ink);
  font-size: clamp(1.04rem, 1.45vw, 1.125rem);
  font-weight: 660;
  line-height: 1.42;
  letter-spacing: 0;
}

.faq-row[open] summary::after {
  background:
    linear-gradient(var(--plum), var(--plum)) center / 0.65rem 2px no-repeat,
    #e5daf4;
}

.faq-answer {
  padding: 0 clamp(0.9rem, 2.4vw, 1.35rem) 1rem;
  line-height: 1.68;
}

.faq-answer p { max-width: 70ch; margin: 0; }

.site-footer {
  color: #edf0f8;
  background: var(--slate);
  border-top: 1px solid #2a3140;
}

.footer-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 1rem clamp(1.25rem, 3vw, 2.7rem);
  padding-block: 1.6rem;
}

.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 0.48rem; }
.footer-email { color: #e0e5ef; font-size: 0.9rem; overflow-wrap: anywhere; }
.footer-email:hover { color: var(--gold-light); }
.support-note { margin-top: 1.1rem; color: var(--text); }
.support-note a { color: var(--plum); font-weight: 590; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.55rem 1.3rem; }
.footer-nav a, .footer-top { font-size: 0.9rem; text-decoration: none; }
.footer-nav a:hover, .footer-top:hover { color: var(--gold-light); text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--gold-light); }

.header-nav [aria-current="page"] { color: var(--gold-light); }
.download-footer a { flex: none; }

.apk-verification {
  max-width: 70ch;
  margin: 0.7rem 0;
  padding: 0.6rem 0.85rem;
  background: #eee7f7;
  border-radius: 0.45rem;
}

.apk-verification dt { color: var(--ink); font-weight: 650; }
.apk-verification dd { margin: 0.12rem 0 0; }
.apk-verification code { overflow-wrap: anywhere; }
.faq-answer a, .reading-page a { color: var(--plum); font-weight: 590; }

.inner-hero-content { padding-block: clamp(1.9rem, 5vw, 3.7rem); }
.inner-hero h1 { max-width: 23ch; font-size: clamp(2rem, 4vw, 2.85rem); }
.inner-intro { max-width: 57ch; margin: 0.72rem 0 0; font-size: 1.0625rem; }
.inner-meta { margin-top: 0.95rem; color: #e6d5f5; font-size: 0.88rem; }

.breadcrumbs { margin-bottom: 1.02rem; font-size: 0.88rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.1rem 0.52rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.52rem; color: #c2afda; }
.breadcrumbs a { color: #f6d4a4; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.blog-page, .reading-page { padding-block: clamp(2rem, 4.2vw, 3.65rem); }

.blog-highlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(1.2rem, 4.2vw, 3.25rem);
}

.blog-image {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: #111827;
}

.blog-image img {
  width: 100%;
  aspect-ratio: 1.72;
  object-fit: cover;
}

.blog-story h2 { margin-block: 0.42rem 0; font-size: clamp(1.35rem, 2.5vw, 1.9rem); }
.blog-story h3 { margin-top: 0.36rem; font-size: 1.22rem; }
.blog-story h2 a, .blog-story h3 a { text-decoration: none; }
.blog-story h2 a:hover, .blog-story h3 a:hover { color: var(--plum); text-decoration: underline; }

.story-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 570;
}

.story-meta span, .inner-meta span { margin-inline: 0.16rem; }
.story-link { display: inline-flex; margin-top: 0.8rem; color: var(--plum); font-weight: 630; }
.guides-heading {
  margin-top: clamp(2rem, 4vw, 3.3rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 1.38rem;
}

.blog-guides {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem clamp(1.35rem, 4vw, 3.2rem);
  margin-top: 1rem;
}

.reading-page { max-width: 46rem; }
.reading-page h2 { margin-top: 1.8rem; font-size: clamp(1.23rem, 2.15vw, 1.52rem); }
.reading-page h2:first-child { margin-top: 0; }
.reading-page p { margin-top: 0.66rem; }
.reading-page li + li { margin-top: 0.45rem; }
.reading-page code { overflow-wrap: anywhere; }
.reading-page pre {
  white-space: pre-wrap;
  padding: 0.9rem 1rem;
  background: #f6f3fa;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  font-size: 0.9rem;
}

@media (max-width: 830px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 1.55rem;
  }

  .hero h1 { text-wrap: initial; }
  .download-card { max-width: 31rem; }
  .split-content { grid-template-columns: 1fr; }
  .requirements-box { max-width: 38rem; }
}

@media (max-width: 600px) {
  .header-row { min-height: 3.65rem; gap: 0.6rem; }
  .footer-row { grid-template-columns: 1fr auto; }
  .footer-nav { grid-column: 1 / -1; grid-row: 2; }
  .footer-top { justify-self: end; }
  .blog-highlight, .blog-guides { grid-template-columns: 1fr; }
  .blog-highlight { gap: 1rem; }
  .blog-guides .blog-story + .blog-story { border-top: 1px solid var(--line); padding-top: 1.2rem; }
  .wordmark { gap: 0.42rem; font-size: 0.95rem; }
  .wordmark img { width: 1.82rem; height: 1.82rem; }
  .header-nav { column-gap: 0.72rem; }
  .header-nav a { font-size: 0.86rem; }
  .header-nav a:first-child { display: none; }
  .hero-layout { padding-block: 1.85rem; gap: 1.25rem; }
  .hero-copy p { margin-top: 0.84rem; font-size: 1rem; }
  .hero-link { margin-top: 1.05rem; }
  .index-row { column-gap: 0.9rem; }
  .index-label { width: 100%; }
  .topic-grid, .reviews-list { grid-template-columns: 1fr; }
  .use-list { columns: auto; }
  .data-table th:first-child { width: 44%; }
  .compare-table thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .compare-table { width: 100%; margin-inline: 0; border-spacing: 0; }
  .compare-table tbody { display: block; }
  .compare-table tr { display: grid; gap: 0.95rem; }
  .compare-table td {
    display: block;
    border: 1px solid var(--line);
    border-radius: 0.72rem;
    overflow: hidden;
  }
  .mobile-col-title {
    display: block;
    padding: 0.65rem 0.86rem;
    background: #eef7f4;
    color: #213740;
    font-weight: 680;
  }
  .compare-list { border: 0; border-radius: 0; }
  .compare-list li { padding-inline: 0.75rem; }
}

@media (max-width: 400px) {
  .footer-row { grid-template-columns: 1fr; }
  .footer-top { justify-self: start; }
  .header-row { flex-wrap: wrap; gap: 0.5rem; padding-block: 0.65rem; }
  .wordmark { gap: 0.4rem; font-size: 0.9rem; }
  .header-nav { flex-basis: 100%; justify-content: flex-start; column-gap: 0.9rem; }
}
