:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --paper: #ffffff;
  --ink: #15171a;
  --muted: #5f6875;
  --line: #e6e8ee;
  --accent: #0f766e;
  --accent-2: #ef6c00;
  --soft: #eef8f6;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--ink);
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }

.geo-summary {
  margin: 22px 0 34px;
  padding: 24px 26px;
  color: var(--ink);
  background: linear-gradient(135deg, #f8fafc, #eef8f6);
  border: 1px solid rgba(15, 118, 110, .18);
  border-radius: 10px;
}

.geo-summary h2 {
  margin: 0 0 10px;
  font-size: clamp(21px, 3vw, 28px);
  line-height: 1.3;
}

.geo-summary p,
.geo-summary li {
  color: var(--muted);
  line-height: 1.75;
}

.geo-summary p { margin: 8px 0 0; }
.geo-summary ul { margin: 14px 0 0; padding-left: 20px; }
.geo-summary li + li { margin-top: 7px; }
.geo-summary strong { color: var(--ink); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(255,255,255,.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}

.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a:hover { color: var(--accent); }

.site-header nav a.nav-kyc {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  color: #fff;
  background: linear-gradient(135deg, #155eef, #0f172a);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(21, 94, 239, .18);
  white-space: nowrap;
}

.site-header nav a.nav-kyc:hover {
  color: #fff;
}

.home {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0;
}

.hero {
  max-width: 760px;
  margin-bottom: 36px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero h1,
.article h1 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 70px);
}

.hero p {
  margin: 18px 0 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.sales-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: 26px;
  align-items: stretch;
  margin: 0 0 24px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 54px rgba(31, 41, 55, .07);
}

.sales-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.sales-copy h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.16;
}

.sales-copy > p {
  max-width: 620px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.sales-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
}

.sales-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #0f4f49;
  background: var(--soft);
  font-size: 13px;
  font-weight: 700;
}

.wechat-row {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  margin-top: 24px;
}

.qr-card,
.wechat-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.qr-card {
  padding: 12px;
  text-align: center;
}

.qr-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}

.qr-card span,
.wechat-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.wechat-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
}

.wechat-card strong {
  margin-top: 8px;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.wechat-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.sales-poster {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.card-buy-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 0 0 34px;
  padding: 22px;
  background: linear-gradient(135deg, #fff7ed 0%, #fff 58%, #eef8f6 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(31, 41, 55, .06);
}

.card-buy-panel h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
}

.card-buy-panel p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.sale-service-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 28px;
  align-items: center;
  margin: -14px 0 34px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, .2);
  border-radius: 12px;
  background:
    radial-gradient(circle at 88% 12%, rgba(37, 99, 235, .18), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, .05), rgba(37, 99, 235, .08)),
    #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .1);
}

.sale-service-copy h2 {
  margin: 0;
  font-size: clamp(25px, 3.6vw, 38px);
  line-height: 1.16;
}

.sale-service-copy p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.sale-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.sale-service-tags span {
  padding: 6px 9px;
  color: #1e40af;
  background: rgba(219, 234, 254, .78);
  border: 1px solid rgba(96, 165, 250, .28);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

.sale-service-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  color: #fff;
  background: linear-gradient(135deg, #155eef, #312e81);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(37, 99, 235, .2);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.sale-service-button:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(37, 99, 235, .26);
}

.sale-service-copy > small {
  display: block;
  margin-top: 11px;
  color: var(--muted);
  line-height: 1.55;
}

.sale-service-poster {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, .32);
  border-radius: 12px;
  background: #020b2a;
  box-shadow: 0 18px 36px rgba(15, 23, 42, .22);
  transition: transform .18s ease, box-shadow .18s ease;
}

.sale-service-poster:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 42px rgba(15, 23, 42, .28);
}

.sale-service-poster img {
  display: block;
  width: 100%;
  height: auto;
}

.build-service-panel {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  gap: 18px;
  align-items: stretch;
  margin: -14px 0 34px;
  padding: 22px;
  border: 1px solid rgba(15, 118, 110, .22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, .1), rgba(239, 108, 0, .08)),
    #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .08);
}

.build-service-copy h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
}

.build-service-copy p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.build-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.build-service-link {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  background: rgba(255, 255, 255, .82);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.build-service-link:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 118, 110, .36);
  box-shadow: 0 14px 30px rgba(15, 23, 42, .08);
}

.build-service-link.primary {
  background: #10201d;
  color: #fff;
  border-color: #10201d;
}

.build-service-link span {
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.build-service-link.primary span {
  color: #ffc179;
}

.build-service-link strong {
  display: block;
  font-size: 19px;
  line-height: 1.35;
}

.build-service-link small {
  color: var(--muted);
  line-height: 1.65;
}

.build-service-link.primary small {
  color: rgba(255, 255, 255, .76);
}

.topup-notice {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 14px 0 2px;
  padding: 8px 12px;
  color: #b64200;
  background: #fff1df;
  border: 1px solid rgba(237, 101, 0, .36);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.topup-notice span {
  padding: 4px 8px;
  color: #fff;
  background: var(--accent-2);
  border-radius: 6px;
  font-size: 13px;
  letter-spacing: .06em;
}

.topup-notice strong {
  font-size: 20px;
}

.service-note {
  font-weight: 700;
}

.card-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.buy-card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--accent-2);
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.buy-card-button:hover {
  background: #d85f00;
}

.agent-card-button {
  background: #0f766e;
}

.agent-card-button:hover {
  background: #0b5f58;
}

body.modal-open {
  overflow: hidden;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .54);
}

.modal-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 310px);
  gap: 22px;
  width: min(900px, 100%);
  max-height: calc(100vh - 44px);
  overflow: auto;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(15, 23, 42, .28);
  outline: none;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.modal-copy h2 {
  margin: 0;
  padding-right: 38px;
  font-size: clamp(25px, 4vw, 38px);
  line-height: 1.18;
}

.modal-copy > p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.modal-copy .agent-note {
  color: #0f766e;
  font-weight: 800;
}

.modal-grid {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.copy-wechat {
  margin-top: 16px;
  width: fit-content;
}

.modal-poster {
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.post-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(31, 41, 55, .06);
}

.post-card:hover {
  border-color: rgba(15, 118, 110, .35);
  transform: translateY(-2px);
}

.post-card span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.post-card h2 {
  margin: 12px 0;
  font-size: 26px;
  line-height: 1.25;
}

.post-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.post-card small {
  margin-top: 24px;
  color: #89919d;
}

.promo-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin: 0 0 24px;
  padding: 24px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 56%, #eef8f6 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(31, 41, 55, .05);
}

.promo-panel h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.25;
}

.promo-panel p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.promo-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.promo-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, .78);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.promo-link.primary {
  border-color: transparent;
  color: #fff;
  background: var(--accent-2);
}

.article .promo-panel {
  margin: 42px 0 0;
}

.code-service-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin: 22px 0;
  padding: 26px 28px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #24273d 0%, #34385b 62%, #5354cb 100%);
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(37, 40, 66, .18);
}

.code-service-panel::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -95px;
  top: -120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .09);
  pointer-events: none;
}

.code-service-copy {
  position: relative;
  z-index: 1;
}

.code-service-badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 9px;
  color: #d9d9ff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
}

.code-service-panel .eyebrow {
  color: #aeb3d0;
}

.code-service-panel h2 {
  margin: 0 0 9px;
  font-size: 27px;
  line-height: 1.25;
}

.code-service-panel p:not(.eyebrow) {
  max-width: 590px;
  margin: 0;
  color: #c7cad9;
  line-height: 1.75;
}

.code-service-panel p strong {
  color: #fff;
}

.code-service-features {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.code-service-features span {
  padding: 4px 8px;
  color: #d9dbea;
  background: rgba(255, 255, 255, .08);
  border-radius: 5px;
  font-size: 11px;
}

.code-service-price {
  position: relative;
  z-index: 1;
  min-width: 188px;
  padding: 18px;
  text-align: center;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  backdrop-filter: blur(8px);
}

.code-service-price small,
.code-service-price strong {
  display: block;
}

.code-service-price small {
  color: #bec2d5;
  font-size: 11px;
}

.code-service-price strong {
  margin: 0 0 9px;
  font-size: 48px;
  line-height: 1.25;
}

.code-service-price strong i {
  margin-right: 3px;
  color: #c6c9d9;
  font-size: 17px;
  font-style: normal;
}

.code-service-price a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px;
  color: #4547be;
  background: #fff;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.article-shell {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 80px;
}

.article {
  padding: clamp(22px, 5vw, 58px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(31, 41, 55, .07);
}

.back-link {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.article h1 {
  max-width: 820px;
  font-size: clamp(30px, 5vw, 54px);
}

.meta {
  margin: 18px 0 36px;
  color: var(--muted);
  font-size: 14px;
}

.content {
  font-size: 16px;
  line-height: 1.85;
}

.content p,
.content ul,
.content ol,
.content blockquote,
.content table,
.content pre {
  margin: 18px 0;
}

.content h2 {
  margin: 46px 0 18px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 28px;
  line-height: 1.3;
}

.content h3 {
  margin: 32px 0 14px;
  font-size: 22px;
}

.content ol,
.content ul {
  padding-left: 1.5em;
}

.content li + li {
  margin-top: 8px;
}

.content img {
  width: 100%;
  height: auto;
  margin: 18px auto 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(31, 41, 55, .08);
}

.content table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  overflow-x: auto;
}

.content th,
.content td {
  min-width: 160px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
}

.content th {
  background: var(--soft);
}

.content code {
  padding: 2px 6px;
  border-radius: 5px;
  background: #f1f3f5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92em;
}

.content pre {
  overflow-x: auto;
  padding: 16px;
  border-radius: 8px;
  background: #111827;
  color: #f8fafc;
}

.content blockquote {
  padding: 14px 18px;
  border-left: 4px solid var(--accent-2);
  background: #fff7ed;
  color: #4b5563;
}

.article-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 28px;
  padding: 14px 16px;
  border: 1px solid #dbe2ea;
  border-radius: 10px;
  background: #f8fafc;
}

.article-toc strong,
.article-toc a {
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 14px;
}

.article-toc a {
  color: #0f4c81;
  background: #fff;
  text-decoration: none;
}

.answer-index,
.article-faq {
  margin: 26px 0;
  padding: 24px;
  border: 1px solid #dbe2ea;
  border-radius: 14px;
  background: #fff;
}

.answer-index h2,
.article-faq h2 {
  margin: 4px 0 18px;
  font-size: clamp(24px, 4vw, 34px);
}

.answer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.answer-grid article {
  padding: 18px;
  border: 1px solid #e3e8ee;
  border-radius: 10px;
  background: #f8fafc;
}

.answer-grid h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.answer-grid p,
.article-faq p {
  margin: 0;
  color: #4b5563;
  line-height: 1.75;
}

.guide-sources {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e3e8ee;
}

.guide-sources a {
  color: #0f4c81;
  text-underline-offset: 3px;
}

.article-faq details {
  padding: 14px 0;
  border-top: 1px solid #e3e8ee;
}

.article-faq summary {
  cursor: pointer;
  font-weight: 800;
}

.article-faq details p {
  margin-top: 10px;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 16px;
  }

  .site-header nav {
    gap: 12px;
  }

  .site-header nav a.nav-kyc {
    min-height: 36px;
    padding: 0 10px;
  }

  .home {
    padding: 44px 0;
  }

  .hero p {
    font-size: 16px;
  }

  .sales-panel {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .sales-copy h2 {
    font-size: 27px;
  }

  .sales-copy > p {
    font-size: 15px;
  }

  .wechat-row {
    grid-template-columns: 1fr;
  }

  .qr-card img {
    max-width: 220px;
  }

  .sales-poster {
    max-height: none;
  }

  .card-buy-panel {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .sale-service-panel {
    grid-template-columns: 1fr;
  }

  .sale-service-panel {
    margin-top: -12px;
    padding: 18px;
  }

  .sale-service-poster {
    width: min(100%, 420px);
    margin: 0 auto;
  }

  .build-service-panel,
  .build-service-grid {
    grid-template-columns: 1fr;
  }

  .build-service-panel {
    margin-top: -12px;
    padding: 18px;
  }

  .build-service-link {
    min-height: auto;
  }

  .buy-card-button,
  .copy-wechat {
    width: 100%;
  }

  .contact-modal {
    align-items: flex-end;
    padding: 12px;
  }

  .modal-card {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 24px);
    padding: 20px;
  }

  .modal-grid {
    grid-template-columns: 1fr;
  }

  .modal-grid .qr-card img {
    max-width: 220px;
  }

  .modal-poster {
    max-height: none;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .post-card {
    min-height: 190px;
    padding: 22px;
  }

  .promo-panel {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .promo-panel h2 {
    font-size: 21px;
  }

  .promo-actions {
    justify-content: flex-start;
  }

  .promo-link {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .code-service-panel {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .code-service-panel h2 {
    font-size: 22px;
  }

  .code-service-price {
    min-width: 0;
  }

  .article-shell {
    width: min(100% - 20px, 980px);
    padding: 18px 0 50px;
  }

  .article {
    padding: 22px 18px;
  }

  .content {
    font-size: 15px;
    line-height: 1.8;
    overflow-wrap: anywhere;
  }

  .content h2 {
    font-size: 23px;
  }

  .content h3 {
    font-size: 19px;
  }

  .content ol,
  .content ul {
    padding-left: 1.2em;
  }

  .answer-grid {
    grid-template-columns: 1fr;
  }

  .answer-index,
  .article-faq {
    padding: 18px;
  }
}

/* Imported SIM product pages */
.site-header nav a.nav-product {
  color: var(--ink);
  font-weight: 650;
}

.site-header nav a.nav-product:hover,
.site-header nav a.nav-product:focus-visible {
  color: var(--accent-2);
}

.sim-product-nav {
  margin: 22px 0 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(135deg, #f5fbfa 0%, #fff 58%, #fff8ef 100%);
}

.sim-product-nav-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.sim-product-nav-heading h2 {
  margin: 3px 0 5px;
  font-size: clamp(22px, 3vw, 30px);
}

.sim-product-nav-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.sim-contact-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

.sim-contact-link:hover,
.sim-contact-link:focus-visible {
  background: var(--accent-2);
  color: #fff;
}

.sim-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.sim-product-card {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  gap: 7px;
  padding: 15px;
  border: 1px solid #dfe8e6;
  border-radius: 10px;
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.sim-product-card:hover,
.sim-product-card:focus-visible {
  border-color: var(--accent-2);
  box-shadow: 0 8px 22px rgba(15, 118, 110, .12);
  color: var(--ink);
  transform: translateY(-2px);
}

.sim-product-region {
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}

.sim-product-card strong {
  font-size: 18px;
  line-height: 1.25;
}

.sim-product-card small {
  flex: 1;
  color: var(--muted);
  line-height: 1.5;
}

.sim-product-card b {
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
}

@media (max-width: 720px) {
  .sim-product-nav {
    padding: 16px;
  }

  .sim-product-nav-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .sim-contact-link {
    width: 100%;
    justify-content: center;
  }
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: 28px;
  align-items: center;
  margin: 24px 0 30px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(135deg, #fff7ed 0%, #fff 56%, #eef8f6 100%);
}

.product-hero h1 {
  max-width: 700px;
}

.product-hero-copy {
  min-width: 0;
}

.product-short-note {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.product-cover {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-price-box {
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid rgba(15, 118, 110, .2);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
}

.product-price-box > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.product-sku-list {
  display: grid;
  gap: 8px;
  margin: 10px 0 8px;
  padding: 0;
  list-style: none;
}

.product-sku-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
}

.product-sku-list strong {
  color: var(--accent-2);
  font-size: clamp(25px, 4vw, 34px);
  line-height: 1.1;
  white-space: nowrap;
}

.product-price-box small {
  display: block;
  color: var(--muted);
  line-height: 1.6;
}

.product-summary {
  margin-top: 0;
}

@media (max-width: 720px) {
  .product-hero {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .product-cover {
    max-height: 320px;
  }
}
