@import url('retained.css');

:root {
  --forest: #123e33;
  --deep: #082b24;
  --green: #1f624e;
  --gold: #dfb46b;
  --paper: #f8f6f0;
  --ink: #173b31;
  --muted: #52695f;
  --line: #dce3da;
  --soft: #eff2e9;
  --white: #fffefa;
  --radius: 16px;
  --maxw: 1180px;
  --font: 'IND Sans', sans-serif;
  --display: 'IND Serif', Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.85 var(--font);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-wrap: break-word;
}

body > script,
body > style {
  display: none;
}

main {
  order: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #b77b27;
  outline-offset: 5px;
}

a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  font: inherit;
  cursor: pointer;
}

h1, h2, h3, h4 {
  margin: 0 0 .65em;
  font-weight: 700;
  color: var(--forest);
  line-height: 1.5;
}

h1, h2 {
  font-family: var(--display);
  letter-spacing: -.035em;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  line-height: 1.45;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

h3 {
  font-size: 1.12rem;
}

p {
  margin: 0 0 1.1rem;
}

ul, ol {
  padding-left: 1.35rem;
  margin: 0 0 1.25rem;
}

li {
  margin-bottom: .55rem;
}

.wrap {
  width: min(var(--maxw), calc(100% - 56px));
  margin: auto;
}

.lead {
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 68ch;
  line-height: 1.95;
}

.muted,
.micro-note {
  color: var(--muted);
}

.center {
  text-align: center;
}

.section-head {
  max-width: 790px;
  margin-bottom: 2rem;
}

.section-head.center {
  margin-inline: auto;
}

.section-head.center .lead {
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--green);
  margin: 0 0 1.05rem;
}

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

.grad {
  color: var(--green);
}

section {
  padding: 70px 0;
}

main > section:nth-child(2n+3) {
  background: var(--soft);
}

.ico {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.context-bar {
  order: -2;
  background: var(--deep);
  color: #e4eadf;
  font-size: .73rem;
  border-bottom: 1px solid #38574a;
}

.context-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 .9rem;
  flex-wrap: wrap;
  padding: 9px 0 8px;
}

.cb-label {
  width: 100%;
  text-align: center;
  font-weight: 600;
  line-height: 1.65;
  color: #f4e3c5;
  font-size: .76rem;
  padding: 2px 0 7px;
}

.context-bar a {
  font-size: .67rem;
  color: #c3d7c8;
  line-height: 1.5;
  padding: 3px 0;
}

.context-bar a:hover {
  color: white;
  text-decoration: underline;
}

.site-header {
  order: -1;
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fbfaf5f5;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: Georgia, var(--font);
  font-weight: 700;
  font-size: 1.03rem;
  white-space: nowrap;
}

.brand small {
  display: block;
  font: 400 .65rem/1.7 var(--font);
  color: var(--muted);
  letter-spacing: .035em;
}

.mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 43px;
  height: 43px;
  border-radius: 12px;
  background: var(--forest);
  box-shadow: 0 3px 0 #c2a675;
}

.mark svg {
  width: 29px;
  height: 29px;
}

.mark path {
  fill: #d8ab64;
  stroke: #d8ab64;
}

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.menu li {
  margin: 0;
}

.menu a {
  font-size: .82rem;
  font-weight: 600;
  display: block;
  padding: 10px 12px;
  border-radius: 7px;
}

.menu li.active > a,
.menu a[aria-current] {
  background: #e9eee4;
  color: var(--forest);
}

.menu a:hover {
  background: #edf0e7;
}

.menu li:last-child {
  margin-left: 10px;
}

.burger {
  display: none;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  color: var(--forest);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--forest);
  background: var(--forest);
  color: #fffefa;
  border-radius: 8px;
  padding: 13px 22px;
  min-height: 49px;
  font: 600 .9rem/1.7 var(--font);
  transition: background .2s, transform .2s;
}

.btn:hover {
  background: var(--green);
  color: white;
  transform: translateY(-2px);
}

.btn.ghost {
  color: var(--forest);
  background: transparent;
  border-color: #bdcabd;
}

.btn.ghost:hover {
  background: #e9eee4;
}

.btn.lg {
  padding: 16px 24px;
}

.btn-sm {
  min-height: 43px;
  padding: 9px 15px !important;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn.block {
  width: 100%;
}

.hero {
  padding: 68px 0 56px;
  background: radial-gradient(ellipse at 85% 25%, #e4e8d8, transparent 58%), var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  align-items: center;
  gap: 55px;
}

.hero h1 {
  max-width: 630px;
  font-size: clamp(2.7rem, 4.2vw, 3.65rem);
  line-height: 1.43;
  margin-bottom: .48em;
}

.hero h1 .grad {
  display: block;
}

.hero .eyebrow {
  font-size: .65rem;
  letter-spacing: .09em;
}

.hero .lead {
  font-size: 1rem;
  max-width: 53ch;
}

.hero .btn-row {
  margin-top: 25px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 29px 0 0;
  border-top: 1px solid #d2dacb;
  padding-top: 22px;
}

.hero-stats li {
  margin: 0;
  border-right: 1px solid #d2dacb;
}

.hero-stats li:last-child {
  border: 0;
}

.hero-stats b {
  display: block;
  color: var(--forest);
  font-family: var(--display);
  font-size: 1.4rem;
}

.hero-stats span {
  font-size: .65rem;
  color: var(--muted);
}

.hero-note {
  font-size: .72rem;
  line-height: 1.85;
  color: var(--muted);
  margin: 19px 0 0;
  max-width: 60ch;
}

.phone {
  position: relative;
  width: 100%;
  margin: auto;
  padding: 15px;
  border: 1px solid #b6c5ad;
  border-radius: 32px;
  background: #e8eadc;
  box-shadow: 0 25px 60px #214d3220;
}

.phone .screen {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: var(--forest);
  padding: 0 0 14px;
}

.screen > img {
  width: 100%;
  aspect-ratio: 1.02857;
  object-fit: cover;
}

.phone .cards {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 0 13px;
}

.phone .cards .card {
  width: 34px;
  height: 43px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  background: #faf8ec;
  color: var(--forest);
  font: 25px Georgia;
  padding: 0;
  border: 0;
  box-shadow: none;
  transform: none;
}

.phone .cards .card:nth-child(2) {
  color: #ad523f;
}

.pill {
  text-align: center;
  color: #ecdfc6;
  font-size: .69rem;
}

.floating {
  position: absolute;
  border: 1px solid #d5d9c9;
  padding: 10px 15px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 8px 20px #143c3214;
  font-size: .68rem;
  font-weight: 700;
  color: var(--forest);
}

.floating.one {
  top: 15%;
  left: -26px;
}

.floating.two {
  bottom: 18%;
  right: -22px;
}

.trust-strip {
  background: var(--forest) !important;
  color: #d7e5d9;
  padding: 19px 0;
  border-block: 1px solid #456052;
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}

.trust-label {
  font-size: .68rem;
  letter-spacing: .02em;
  font-weight: 700;
  color: #e8c790;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .75rem;
}

.trust-item .ico {
  width: 16px;
  height: 16px;
  color: #dec18f;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}

.card:hover {
  border-color: #b2c1ad;
  box-shadow: 0 12px 28px #244a2c08;
}

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

.card p:last-child {
  margin: 0;
}

.ic {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 11px;
  background: #eaf0e3;
  color: var(--green);
  margin-bottom: 20px;
}

.ic .ico {
  width: 22px;
  height: 22px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  counter-reset: step;
}

.step {
  position: relative;
  border-top: 1px solid #aabd9d;
  padding: 25px 0 0;
  counter-increment: step;
}

.step:before {
  content: '0' counter(step);
  display: block;
  font: 26px/1.2 Georgia, serif;
  color: #9b753b;
  margin-bottom: 17px;
}

.step p {
  font-size: .9rem;
  color: var(--muted);
}

.step h3 {
  font-size: 1rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 22px 0;
}

.checklist li {
  display: flex;
  gap: 10px;
  font-size: .88rem;
}

.tick {
  color: var(--green);
  font-weight: 700;
}

/* 核心修复：加入 min-width: 0 防止在 Grid/Flex 中溢出撑破 */
.table-wrap, .ref-table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #ccd7c9;
  border-radius: 12px;
  background: var(--white);
  margin: 20px 0;
  scrollbar-width: thin;
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 550px;
  font-size: .87rem;
}

th, td {
  padding: 16px 19px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.85;
  overflow-wrap: break-word;
}

th {
  color: #f5f0dc;
  background: var(--forest);
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
}

tbody tr:nth-child(even) {
  background: #f1f4eb;
}

tbody tr:last-child td {
  border-bottom: 0;
}

caption {
  text-align: left;
  padding: 15px 19px;
  font-weight: 700;
  color: var(--forest);
  background: #e7eddf;
  caption-side: top;
  font-size: .9rem;
}

.rk {
  width: 27px;
  height: 27px;
  background: #e7eddf;
  color: var(--forest);
  border: 1px solid #bac9b0;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  font: 700 14px Georgia;
}

.score {
  font: 20px Georgia;
  color: var(--green);
}

.notice, .answer {
  border-left: 3px solid #b9904a;
  padding: 20px 24px;
  background: #eeefdf;
  border-radius: 0 10px 10px 0;
  color: var(--ink);
  font-size: .9rem;
  margin: 22px 0;
  line-height: 1.95;
}

.notice p:last-child, .answer p:last-child {
  margin: 0;
}

.answer p {
  font-size: 1rem;
}

.answer strong {
  color: var(--forest);
}

.risk {
  background: #edf0e4;
  border-color: var(--green);
}

.answer-line {
  font-size: 1.04rem;
  color: var(--muted);
  padding: 0 0 20px;
  border-bottom: 1px solid var(--line);
  max-width: 85ch;
}

.verdict {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 35px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  align-items: center;
}

.verdict-score {
  text-align: center;
  border-right: 1px solid var(--line);
  padding-right: 25px;
}

.vs-num {
  display: block;
  color: var(--forest);
  font: 70px/1.1 Georgia;
}

.vs-max, .vs-label {
  display: block;
  font-size: .8rem;
  margin-top: 8px;
}

.vs-label {
  color: var(--green);
  font-weight: 700;
}

.verdict-text p {
  font-size: .95rem;
  color: var(--muted);
}

.author-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding: 30px 0;
}

.ab-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 59px;
  height: 59px;
  border-radius: 50%;
  background: #e3e9d8;
  color: var(--forest);
  font: 700 14px Georgia;
}

.ab-name {
  font-weight: 700;
  margin: 0;
}

.ab-role {
  font-size: .75rem;
  color: var(--green);
  margin: 2px 0 7px;
}

.ab-bio {
  font-size: .86rem;
  color: var(--muted);
  max-width: 95ch;
  margin: 0;
}

.ab-stamp {
  font-size: .7rem;
  color: var(--muted);
  margin: 10px 0 0;
}

.dl-panel {
  border: 1px solid #bdc9b1;
  border-radius: 20px;
  padding: 35px;
  background: #e8edde;
  position: relative;
}

.apk-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.apk-badge {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 420px;
}

.apk-badge .ic {
  margin: 0;
  flex: none;
  background: var(--forest);
  color: #e8c68d;
  font-size: 23px;
  width: 55px;
  height: 64px;
}

.apk-badge b {
  display: block;
  color: var(--forest);
}

.apk-badge span span {
  display: block;
  color: var(--muted);
  font-size: .72rem;
  max-width: 320px;
}

.dl-panel h2 {
  font-size: 1.8rem;
}

.dl-panel .muted {
  font-size: .85rem;
}

.dl-panel .notice {
  background: #f6f6eb;
}

.faq {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin: auto;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 0 23px;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  font-weight: 600;
  font-size: .97rem;
}

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

.faq summary:after {
  content: '+';
  font: 25px Georgia;
  color: var(--green);
  flex: none;
}

.faq details[open] summary:after {
  content: '\2212';
}

.faq details[open] {
  border-color: #aebda1;
}

.faq p {
  color: var(--muted);
  font-size: .9rem;
  margin: 0 0 23px;
}

.cta-band {
  padding: 25px 0 65px;
  background: var(--paper) !important;
}

.cta-inner {
  padding: 38px 40px;
  border-radius: 18px;
  background: var(--forest);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.cta-inner h2 {
  color: #fbf6e9;
  font-size: 1.8rem;
}

.cta-inner p {
  color: #cbdccc;
  max-width: 75ch;
  font-size: .9rem;
  margin: 0;
}

.cta-inner .btn {
  background: #dfbd82;
  color: var(--deep);
  border-color: #dfbd82;
  flex-shrink: 0;
}

.article-hero {
  padding: 0 0 65px;
}

.breadcrumb-block {
  padding: 26px 0 28px;
  font-size: .76rem;
  color: var(--muted);
}

.breadcrumb-block a {
  border-bottom: 1px solid #bac8b0;
}

.article-hero > .wrap > .section-head {
  padding-top: 8px;
  max-width: 850px;
}

.article-hero h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.prose {
  max-width: 83ch;
}

.prose h2 {
  font-size: 1.55rem;
  margin-top: 33px;
}

.prose h3 {
  margin-top: 26px;
}

.prose p, .prose li {
  color: #405e50;
  font-size: .96rem;
}

.prose strong {
  color: var(--forest);
}

.chart-figure {
  margin: 30px 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fffdf7;
  padding: 15px;
}

.chart-figure img {
  border-radius: 9px;
  width: 100%;
  height: auto;
}

.chart-figure figcaption {
  font-size: .83rem;
  color: var(--muted);
  padding: 16px 5px 4px;
}

.on-this-page {
  background: #e9eedf;
  border: 1px solid #d4ddc9;
  padding: 20px 25px;
  margin: 25px 0;
  border-radius: 12px;
}

.otp-title {
  display: block;
  font-weight: 700;
  font-size: .8rem;
  margin-bottom: 9px;
}

.on-this-page ul {
  display: flex;
  gap: 10px 27px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.on-this-page li {
  margin: 0;
}

.on-this-page a {
  font-size: .85rem;
  text-decoration: underline;
  text-underline-offset: 5px;
}

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

.related-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  transition: transform .2s;
}

.related-card:hover {
  transform: translateY(-3px);
  border-color: #9faf96;
}

.rc-kicker {
  font-size: .68rem;
  color: var(--green);
  font-weight: 700;
}

.rc-title {
  font-size: 1.03rem;
  font-weight: 700;
  line-height: 1.6;
}

.rc-desc {
  font-size: .82rem;
  color: var(--muted);
  flex: 1;
}

.rc-go {
  font-size: .8rem;
  font-weight: 700;
  color: var(--green);
}

.is-current {
  background: #ebf0e1;
  border-color: #8da17d;
}

.guide-faq dt {
  font-weight: 700;
  padding-top: 22px;
}

.guide-faq dd {
  color: var(--muted);
  margin: 10px 0 0;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-size: .93rem;
}

.crosslink {
  padding: 22px;
  border: 1px dashed #99ad8c;
  border-radius: 10px;
  font-size: .9rem;
  margin: 25px 0;
}

.crosslink a {
  font-weight: 700;
  text-decoration: underline;
}

.next-step {
  padding: 30px;
  border-radius: 15px;
  background: #e7eddd;
  margin: 30px 0;
}

.next-step p {
  color: var(--muted);
  font-size: .9rem;
}

.sources {
  border-top: 1px solid var(--line);
  margin-top: 35px;
  padding-top: 25px;
}

.src-h {
  font-size: 1.1rem;
}

.sources ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 15px;
}

.sources li {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sources a {
  font-size: .9rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.sources span {
  font-size: .8rem;
  color: var(--muted);
}

.site-footer {
  order: 1;
  background: var(--deep);
  color: #d4dfd1;
  padding: 55px 0 30px;
  border-top: 4px solid #d1b47a;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr .8fr 1.15fr 1fr;
  gap: 35px;
}

.site-footer .brand {
  color: #f2eedf;
  font-size: .92rem;
  white-space: normal;
}

.site-footer .brand small,
.site-footer .muted {
  color: #b7cbb8;
}

.site-footer .muted {
  font-size: .82rem;
  line-height: 1.95;
}

.site-footer h3 {
  color: #dfc08c;
  font-size: .85rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin: 8px 0;
}

.site-footer li a {
  font-size: .79rem;
  color: #c0d0bf;
}

.site-footer a:hover {
  color: white;
}

.foot-meta {
  font-size: .7rem;
  color: #a8bfac;
}

.socials {
  display: flex;
  gap: 8px;
}

.socials a {
  height: 35px;
  min-width: 35px;
  display: grid;
  place-items: center;
  border: 1px solid #4e6957;
  border-radius: 50%;
  font: 13px Georgia;
  color: #e6d4af;
}

.foot-more {
  margin-top: 14px;
}

.foot-more summary {
  font-size: .77rem;
  cursor: pointer;
  color: #dfc08c;
}

.foot-bottom {
  border-top: 1px solid #385341;
  padding-top: 25px;
  margin-top: 35px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: .7rem;
  color: #b6cbb7;
}

.foot-bottom > span:last-child {
  display: block;
  width: 100%;
  padding: 18px 22px;
  border: 1px solid #6a805c;
  background: #183b2d;
  color: #f3e3c0;
  font-size: .83rem;
  line-height: 1.95;
  border-radius: 8px;
}

.sticky-cta {
  order: 2;
  display: none;
}

.reveal {
  opacity: 1;
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.micro-note {
  font-size: .75rem;
}

.copy-done {
  background: #e0ebd6;
}

.no-js .burger {
  display: none;
}

[hidden] {
  display: none !important;
}

#teenpattimaster {
  scroll-margin-top: 110px;
}

#teenpattimaster:target {
  outline: 2px solid #b5904a;
  outline-offset: 9px;
}

::selection {
  background: #dce6cc;
  color: #153d2c;
}

@media(min-width: 1000px) {
  .article-hero > .wrap > .prose {
    margin-inline: auto;
  }
  .article-hero > .wrap > .section-head {
    margin-bottom: 35px;
  }
  .article-hero .chart-figure {
    max-width: 1000px;
    margin-inline: auto;
  }
  .article-hero > .wrap > .answer-line {
    max-width: 85ch;
  }
}

@media(max-width: 1080px) {
  .brand {
    font-size: .95rem;
  }
  .menu a {
    padding: 9px 8px;
    font-size: .77rem;
  }
  .hero-grid {
    gap: 35px;
  }
  .hero h1 {
    font-size: 3.2rem;
  }
  .floating.one {
    left: -15px;
  }
  .floating.two {
    right: -12px;
  }
  .foot-grid {
    gap: 20px;
  }
  .steps {
    gap: 19px;
  }
}

@media(max-width: 900px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .nav {
    min-height: 76px;
  }
  .burger {
    display: block;
  }
  .menu {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    padding: 14px 20px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 15px 20px #10342310;
    flex-direction: column;
    align-items: stretch;
  }
  .menu.open {
    display: flex;
  }
  .menu a {
    padding: 13px 15px;
    font-size: .9rem;
  }
  .menu li:last-child {
    margin: 8px 0 0;
  }
  .menu .btn {
    width: 100%;
  }
  .hero-grid {
    grid-template-columns: 1.08fr 1fr;
    gap: 25px;
  }
  .hero h1 {
    font-size: 2.65rem;
  }
  .hero .lead {
    font-size: .93rem;
  }
  .hero .btn {
    padding: 12px 16px;
    font-size: .82rem;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .hero-stats li:nth-child(2) {
    border: 0;
  }
  .hero-stats b {
    font-size: 1.2rem;
  }
  .floating {
    font-size: .58rem;
    padding: 7px 10px;
  }
  .g3, .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .trust-inner {
    justify-content: center;
  }
  .trust-label {
    width: 100%;
    text-align: center;
  }
  .foot-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 35px;
  }
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-inner .btn {
    align-self: flex-start;
  }
  section {
    padding: 55px 0;
  }
  .hero {
    padding: 55px 0;
  }
  .card {
    padding: 24px;
  }
  .no-js .menu {
    display: flex;
    position: static;
  }
  .no-js .nav {
    flex-wrap: wrap;
  }
}

@media(max-width: 640px) {
  .wrap {
    width: calc(100% - 34px);
  }
  body {
    font-size: 15px;
    padding-bottom: 76px;
  }
  .context-bar .wrap {
    gap: 0 12px;
    padding: 7px 0;
  }
  .cb-label {
    font-size: .64rem;
    line-height: 1.8;
    padding-bottom: 5px;
  }
  .context-bar a {
    font-size: .6rem;
  }
  .context-bar a:nth-last-child(-n+3) {
    display: none;
  }
  .nav {
    min-height: 71px;
    gap: 10px;
  }
  .brand {
    font-size: .93rem;
    gap: 9px;
  }
  .brand small {
    font-size: .57rem;
  }
  .mark {
    width: 38px;
    height: 40px;
  }
  .burger {
    width: 42px;
    height: 42px;
  }
  .menu {
    top: 71px;
  }
  .hero {
    padding: 38px 0 36px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .hero .eyebrow {
    font-size: .6rem;
    margin-bottom: 16px;
  }
  .hero h1 {
    font-size: clamp(2.4rem, 9vw, 3.1rem);
    max-width: 100%;
    line-height: 1.45;
  }
  .hero .lead {
    font-size: .95rem;
  }
  .hero .btn-row {
    gap: 10px;
  }
  .hero .btn {
    font-size: .82rem;
    min-height: 48px;
  }
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding-top: 18px;
    margin-top: 23px;
  }
  .hero-stats b {
    font-size: 1.13rem;
  }
  .hero-stats span {
    font-size: .58rem;
  }
  .hero-stats li:nth-child(2) {
    border-right: 1px solid #d2dacb;
  }
  .hero-note {
    font-size: .68rem;
  }
  .phone {
    width: min(370px, calc(100% - 18px));
    padding: 11px;
    border-radius: 25px;
  }
  .phone .screen {
    border-radius: 17px;
  }
  .floating.one {
    left: -14px;
    top: 16%;
  }
  .floating.two {
    right: -10px;
    bottom: 19%;
  }
  .pill {
    font-size: .62rem;
  }
  .trust-strip {
    padding: 20px 0;
  }
  .trust-inner {
    gap: 10px;
  }
  .trust-item {
    font-size: .67rem;
    width: 100%;
    justify-content: center;
  }
  .trust-label {
    margin-bottom: 3px;
  }
  .g2, .g3, .related-grid {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 25px;
  }
  .steps {
    gap: 22px;
  }
  .step h3 {
    font-size: .94rem;
  }
  .step p {
    font-size: .82rem;
  }
  .step:before {
    font-size: 24px;
  }
  .verdict {
    grid-template-columns: 1fr;
    padding: 25px;
    gap: 25px;
  }
  .verdict-score {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 22px;
  }
  .vs-num {
    font-size: 60px;
  }
  .section-head {
    margin-bottom: 23px;
  }
  section {
    padding: 42px 0;
  }
  h2 {
    font-size: 1.6rem;
  }
  .lead {
    font-size: .98rem;
  }
  .dl-panel {
    padding: 25px 21px;
  }
  .apk-row {
    gap: 24px;
  }
  .apk-badge {
    gap: 12px;
  }
  .apk-badge span span {
    font-size: .66rem;
  }
  .dl-panel h2 {
    font-size: 1.5rem;
  }
  .dl-panel .btn {
    width: 100%;
  }
  .cta-inner {
    padding: 27px 23px;
    gap: 22px;
  }
  .cta-inner h2 {
    font-size: 1.5rem;
  }
  .cta-inner p {
    font-size: .85rem;
  }
  .cta-band {
    padding: 10px 0 42px;
  }
  .faq details {
    padding: 0 19px;
  }
  .faq summary {
    font-size: .9rem;
    padding: 18px 0;
  }
  .faq p {
    font-size: .86rem;
  }
  .author-box {
    gap: 13px;
    padding: 24px 0;
  }
  .ab-avatar {
    width: 45px;
    height: 45px;
    font-size: 11px;
  }
  .ab-bio {
    font-size: .82rem;
  }
  .ab-stamp {
    font-size: .65rem;
  }
  .article-hero h1 {
    font-size: 2rem;
  }
  .breadcrumb-block {
    font-size: .68rem;
    padding: 22px 0;
  }
  .answer-line {
    font-size: .94rem;
  }
  .answer, .notice {
    padding: 18px;
    font-size: .86rem;
  }
  .prose h2 {
    font-size: 1.35rem;
  }
  .prose p, .prose li {
    font-size: .9rem;
  }
  .chart-figure {
    padding: 8px;
    margin: 24px 0;
  }
  .chart-figure figcaption {
    font-size: .76rem;
  }
  .related-card {
    padding: 22px;
  }
  .guide-faq dt {
    font-size: .96rem;
  }
  .guide-faq dd {
    font-size: .88rem;
  }
  .next-step {
    padding: 24px;
  }
  .on-this-page {
    padding: 19px;
  }
  .on-this-page ul {
    gap: 8px 20px;
  }
  .site-footer {
    padding: 40px 0 25px;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }
  .foot-grid > div:first-child {
    grid-column: 1 / -1;
  }
  .site-footer li a {
    font-size: .76rem;
  }
  .site-footer h3 {
    font-size: .82rem;
  }
  .foot-bottom > span:last-child {
    font-size: .77rem;
    padding: 17px;
  }
  .foot-bottom {
    margin-top: 28px;
  }
  .sticky-cta {
    position: fixed;
    display: flex;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    gap: 10px;
    background: #fbfaf5f5;
    border-top: 1px solid #c2cfb6;
    padding: 10px 15px max(10px, env(safe-area-inset-bottom));
    backdrop-filter: blur(12px);
  }
  .sticky-cta .btn {
    font-size: .8rem;
    padding: 10px 13px;
    min-height: 46px;
  }
  .sticky-cta .block {
    flex: 1;
  }
  .sticky-cta .ghost {
    flex: .65;
  }
  .sticky-cta a {
    white-space: nowrap;
  }
  .table-wrap, .ref-table-wrap {
    max-width: 100%;
    min-width: 0;
    margin: 15px 0;
  }
  th, td {
    padding: 13px 15px;
    font-size: .81rem;
  }
}

@media(prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  .context-bar, .menu, .burger, .sticky-cta, .site-footer, .btn-row {
    display: none;
  }
  .site-header {
    position: static;
  }
  .wrap {
    width: 100%;
  }
  body {
    background: white;
    color: black;
  }
  section {
    padding: 20px 0;
  }
  table {
    min-width: 0;
  }
  .table-wrap, .ref-table-wrap {
    overflow: visible;
  }
  .chart-figure {
    break-inside: avoid;
  }
}





.prose, .reveal, .table-wrap, .ref-table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.prose {
  max-width: 83ch;
  overflow-x: hidden;
}

.table-wrap, .ref-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #ccd7c9;
  border-radius: 12px;
  background: var(--white);
  margin: 20px 0;
  scrollbar-width: thin;
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 550px;
  font-size: .87rem;
  table-layout: auto;
}

@media(max-width: 640px) {
  .table-wrap, .ref-table-wrap {
    margin: 15px 0;
  }
  
  th, td {
    padding: 12px 14px;
    font-size: .81rem;
  }
}