:root {
  --ink: #151515; --muted: #6f6f6f; --line: #dedede; --soft: #f5f5f3; --paper: #fff;
  --max: 1120px; --radius: 8px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.55; }
/* Người dùng muốn desktop phóng 150% để dễ nhìn và giảm khoảng trống hai bên. Không tự ý xóa. */
@media (min-width: 621px) {
  body { zoom: 1.5; }
}
a { color: inherit; }
.container { margin: 0 auto; max-width: var(--max); padding-left: 28px; padding-right: 28px; }
.hidden { display: none !important; }
.kicker, .card-label { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.kicker { margin-bottom: 18px; }
.link { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--muted); }
code { background: #ededeb; border-radius: 3px; padding: 2px 5px; font-size: .9em; }

.site-header { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.header-inner { align-items: center; display: flex; height: 68px; justify-content: space-between; }
.brand { font-size: 15px; font-weight: 900; letter-spacing: .08em; text-decoration: none; }
.brand span { color: var(--muted); }
.nav { align-items: center; display: flex; gap: 28px; }
.nav a { color: var(--muted); font-size: 13px; text-decoration: none; }
.nav a:hover { color: var(--ink); }
.nav-history { background: transparent; border: 0; color: var(--muted); cursor: pointer; font: 13px inherit; padding: 0; }
.nav-history:hover { color: var(--ink); }
.nav .nav-action { border: 1px solid var(--ink); border-radius: 5px; color: var(--ink); font-weight: 700; padding: 8px 14px; }
.nav .nav-action:hover { background: var(--ink); color: var(--paper); }

.hero { border-bottom: 1px solid var(--line); padding: 104px 0 96px; }
.hero-grid { align-items: center; display: grid; gap: 90px; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); }
.hero h1 { font-size: clamp(42px, 6vw, 72px); letter-spacing: -.055em; line-height: 1.02; margin-bottom: 25px; }
.hero h1 em { color: var(--muted); font-style: normal; }
.hero-text { color: var(--muted); font-size: 18px; max-width: 530px; }
.hero-actions { align-items: center; display: flex; gap: 24px; margin-top: 34px; }
.text-link { font-size: 14px; font-weight: 700; text-decoration: none; }
.text-link span { color: var(--muted); margin-left: 6px; }
.hero-meta { border-top: 1px solid var(--line); color: var(--muted); display: flex; flex-wrap: wrap; font-size: 12px; gap: 18px; margin-top: 58px; padding-top: 16px; }
.hero-meta span + span::before { color: var(--line); content: "/"; margin-right: 18px; }
.hero-panel { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.panel-topline { align-items: flex-start; display: flex; font-size: 11px; font-weight: 800; justify-content: space-between; letter-spacing: .12em; }
.panel-event { align-items: flex-end; color: var(--muted); display: flex; flex-direction: column; gap: 3px; text-align: right; }
.panel-event small { font-size: 9px; font-weight: 700; letter-spacing: .04em; line-height: 1.3; }
.panel-rule { border-top: 1px solid var(--line); margin: 20px 0 34px; }
.panel-label { color: var(--muted); font-size: 13px; }
.panel-price { font-size: 48px; font-weight: 850; letter-spacing: -.05em; line-height: 1; margin: 10px 0 12px; }
.panel-price span { font-size: 22px; margin-left: 3px; }
.panel-note { color: var(--muted); font-size: 13px; margin-bottom: 28px; }

.btn { border: 1px solid var(--ink); border-radius: 5px; cursor: pointer; display: inline-flex; font: 700 14px inherit; justify-content: center; padding: 12px 20px; text-decoration: none; transition: background .15s, color .15s; }
.btn:disabled { cursor: wait; opacity: .55; }
.btn:active { transform: translateY(1px); }
.btn.purchase-complete { cursor: not-allowed; opacity: .72; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #3a3a3a; }
.btn-ghost { background: var(--paper); color: var(--ink); }
.btn-ghost:hover { background: var(--soft); }
.btn-full { width: 100%; }
.btn-sm { font-size: 12px; padding: 7px 11px; }
body.modal-open { overflow: hidden; }

.buy-modal { align-items: center; display: flex; inset: 0; justify-content: center; padding: 24px; position: fixed; z-index: 100; }
.buy-modal.hidden { display: none; }
.buy-modal-backdrop { background: rgba(0,0,0,.72); inset: 0; position: absolute; }
.buy-modal-dialog { background: var(--paper); border-radius: 14px; box-shadow: 0 24px 80px rgba(0,0,0,.3); max-height: calc(100vh - 48px); max-width: 760px; overflow-y: auto; position: relative; width: min(760px, 100%); z-index: 1; }
.buy-modal-content { padding: 44px 48px 48px; }
.buy-modal-close { background: transparent; border: 0; color: var(--muted); cursor: pointer; font: 32px/1 Arial, sans-serif; padding: 5px; position: absolute; right: 18px; top: 15px; z-index: 2; }
.buy-modal-close:hover { color: var(--ink); }
.buy-modal h2 { font-size: 32px; letter-spacing: -.04em; margin-bottom: 12px; }
.buy-modal .buy-desc { max-width: 560px; }
.buy-modal .order-info { margin-top: 24px; }
.buy-modal .qr-wrap { margin: 26px 0; }
.buy-modal #qr-img { height: 320px; width: 320px; }
.buy-modal .waiting { margin: 0 auto 14px; max-width: 560px; }

/* Màn hình tải file sau khi thanh toán thành công. */
.buy-modal.is-success .buy-modal-dialog { max-width: 620px; overflow: hidden; width: min(620px, 100%); }
.buy-modal.is-success #buy-success:not(.hidden) { display: block; }
.buy-modal.is-success .buy-modal-close { color: var(--paper); }
.buy-modal.is-success .buy-modal-close:hover { color: #cfcfcf; }
.success-hero { align-items: center; background: var(--ink); border-radius: 14px 14px 0 0; color: var(--paper); display: flex; gap: 16px; padding: 28px 72px 26px 34px; }
.success-icon { align-items: center; background: var(--paper); border-radius: 50%; color: var(--ink); display: flex; flex: 0 0 42px; font-size: 25px; font-weight: 800; height: 42px; justify-content: center; line-height: 1; width: 42px; }
.success-hero .card-label { color: #a7a7a7; margin-bottom: 5px; }
.success-state { font-size: 16px; font-weight: 800; letter-spacing: .02em; }
.success-body { padding: 30px 34px 32px; }
.success-body h2 { font-size: 30px; letter-spacing: -.045em; margin-bottom: 8px; }
.success-intro { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.download-file { align-items: center; background: var(--soft); border: 1px solid var(--line); border-radius: 7px; display: flex; gap: 12px; margin-bottom: 18px; padding: 12px 14px; }
.download-file-badge { align-items: center; background: var(--ink); border-radius: 5px; color: var(--paper); display: flex; flex: 0 0 38px; font-size: 11px; font-weight: 800; height: 38px; justify-content: center; letter-spacing: .04em; }
.download-file-info { display: grid; gap: 1px; }
.download-file-info strong { font-size: 14px; }
.download-file-info small { color: var(--muted); font-size: 12px; }
.download-button { align-items: center; gap: 12px; justify-content: space-between; width: 100%; }
.download-button span { font-size: 20px; font-weight: 400; line-height: .7; }

/* Màn hình chờ thanh toán desktop: thông tin bên trái, QR bên phải. */
@media (min-width: 851px) {
  .buy-modal.is-pending .buy-modal-dialog,
  .buy-modal.is-success .buy-modal-dialog {
    height: auto;
    max-height: calc(66.6667vh - 24px);
    max-width: 920px;
    overflow: hidden;
  }
  .buy-modal.is-success .buy-modal-dialog {
    max-height: calc(100vh - 56px);
    max-width: 620px;
    width: min(620px, 100%);
  }
  .buy-modal.is-pending .buy-modal-content,
  .buy-modal.is-success .buy-modal-content { display: none; }
  .buy-modal.is-pending #buy-pending:not(.hidden) {
    align-items: center;
    column-gap: 28px;
    display: grid !important;
    grid-template-areas:
      "label qr"
      "info qr"
      "wait qr"
      "count qr"
      "cancel qr";
    grid-template-columns: minmax(320px, 1fr) minmax(360px, .95fr);
    grid-template-rows: auto auto auto auto auto;
    padding: 24px 34px 22px;
  }
  .buy-modal.is-pending #buy-pending > .card-label { grid-area: label; margin-bottom: 0; }
  .buy-modal.is-pending #buy-pending > .order-info { grid-area: info; margin: 0; width: 100%; }
  .buy-modal.is-pending #buy-pending > .qr-wrap {
    align-self: center;
    display: flex;
    flex-direction: column;
    grid-area: qr;
    margin: 0;
  }
  .buy-modal.is-pending #buy-pending > .waiting { grid-area: wait; margin: 0; max-width: none; padding: 11px 14px; width: 100%; }
  .buy-modal.is-pending #buy-pending > .countdown { grid-area: count; margin: 8px 0 0; }
  .buy-modal.is-pending #buy-pending > #btn-cancel { grid-area: cancel; margin: 0 auto; }
  .buy-modal.is-pending #qr-img { height: auto; max-height: 360px; max-width: 100%; width: 360px; }
  .buy-modal.is-pending .qr-hint { margin-bottom: 0; }
}

.section { border-bottom: 1px solid var(--line); padding: 100px 0; }
.section-heading h2 { font-size: clamp(34px, 4vw, 48px); letter-spacing: -.045em; line-height: 1.05; }
.section-heading h2 em { color: var(--muted); font-style: normal; }
.tool-showcase { background: #111318; border: 1px solid #30333a; border-radius: 14px; box-shadow: 0 24px 70px rgba(0,0,0,.18); margin-top: 58px; overflow: hidden; }
.showcase-browser-bar { align-items: center; background: #24262c; color: #9ca1ac; display: flex; gap: 7px; min-height: 38px; padding: 0 15px; }
.browser-dot { border-radius: 50%; display: block; height: 8px; width: 8px; }
.browser-dot-red { background: #ff605c; }.browser-dot-yellow { background: #ffbd44; }.browser-dot-green { background: #00ca4e; }
.showcase-address { background: #17191e; border: 1px solid #343740; border-radius: 5px; flex: 1; font-size: 10px; margin-left: 10px; max-width: 420px; padding: 5px 10px; }
.showcase-live { color: #68d391; font-size: 9px; font-weight: 800; letter-spacing: .1em; margin-left: auto; }
.showcase-stage { min-height: 500px; padding: 48px 24px 60px; position: relative; }
.showcase-stage::before { background: radial-gradient(circle at 50% 35%, rgba(67,78,104,.35), transparent 42%); content: ''; inset: 0; pointer-events: none; position: absolute; }
.showcase-caption { align-items: center; color: #7d8491; display: flex; font-size: 10px; justify-content: space-between; letter-spacing: .12em; margin: 0 auto 16px; max-width: 690px; position: relative; text-transform: uppercase; }
.showcase-caption strong { color: #5b8cff; font-size: 9px; }
.tool-panel-preview { background: rgba(28,28,32,.98); border: 1px solid #3a3a40; border-radius: 12px; box-shadow: 0 18px 45px rgba(0,0,0,.55); color: #fff; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 12px; margin: 0 auto; max-width: 690px; padding: 18px 20px 14px; position: relative; user-select: none; }
.tool-preview-header { align-items: center; border-bottom: 1px solid #3a3a40; display: flex; justify-content: center; margin-bottom: 14px; padding-bottom: 10px; position: relative; text-transform: uppercase; }
.tool-preview-header strong { font-size: 15px; letter-spacing: 1.2px; }
.tool-help-preview, .tool-min-preview { background: transparent; border: 0; color: #999; cursor: default; font: 700 13px/1 system-ui, sans-serif; padding: 4px 7px; position: absolute; }
.tool-help-preview { left: 0; }.tool-min-preview { font-size: 15px; right: 0; top: -2px; }
.tool-preview-body { display: flex; gap: 16px; }
.tool-preview-column { flex: 1; min-width: 0; }
.tool-preview-telegram { border-left: 1px solid #33363c; padding-left: 16px; }
.tool-preview-row { display: flex; gap: 10px; margin-bottom: 10px; }
.tool-preview-row label { flex: 1; min-width: 0; }
.tool-preview-column label, .tool-preview-full-label { color: #a9b0bb; display: block; font-size: 11px; margin-bottom: 4px; }
.tool-preview-column input, .tool-preview-column select { background: #1d1f24; border: 1px solid #3a3a40; border-radius: 6px; color: #fff; display: block; font: 12px system-ui, sans-serif; margin-top: 4px; outline: 0; padding: 7px 8px; width: 100%; }
.tool-panel-preview input, .tool-panel-preview select, .tool-panel-preview button { pointer-events: none; }
.tool-preview-column input::placeholder { color: #707681; }.tool-preview-column select { appearance: auto; }
.tool-preview-full-label { margin-bottom: 12px; }
.tool-preview-column > input { margin-bottom: 9px; }
.tool-preview-telegram h3 { color: #fff; font-size: 12px; letter-spacing: .5px; margin: 0 0 9px; text-align: center; }
.tool-preview-checks { background: #1d1f24; border: 1px solid #33363c; border-radius: 7px; padding: 10px; }
.tool-preview-checks label { align-items: center; cursor: default; display: flex; gap: 6px; margin: 0 0 7px; }
.tool-preview-checks label:last-of-type { margin-bottom: 0; }.tool-preview-checks input[type="checkbox"] { accent-color: #5b8cff; margin: 0; width: auto; }
.tool-preview-checks > input { margin-bottom: 8px; }
.tool-preview-button { border: 0; border-radius: 7px; color: #fff; cursor: default; font: 700 13px system-ui, sans-serif; padding: 10px; width: 100%; }
.tool-preview-start { background: #2e7d32; }.tool-preview-test { background: #e0e0e0; color: #111; margin-top: 10px; }
.tool-preview-status { border-top: 1px dashed #33363c; color: #a9b0bb; font-size: 12px; font-weight: 600; margin-top: 13px; padding-top: 11px; text-align: center; }
.tool-preview-footer { align-items: center; display: flex; gap: 8px; justify-content: center; margin-top: 11px; }
.tool-preview-footer span { background: rgba(255,255,255,.08); border-radius: 14px; color: #bbb; font-size: 11px; font-weight: 700; letter-spacing: .4px; padding: 4px 14px; }
.tool-preview-footer small { color: #666; font-size: 10px; font-style: italic; }.tool-preview-resize { border-bottom: 2px solid #888; border-right: 2px solid #888; bottom: 8px; height: 8px; position: absolute; right: 8px; width: 8px; }
.guide-section { background: var(--soft); }
.guide-locked, .guide-content { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin-top: 42px; max-width: 760px; padding: 28px; }
.guide-locked h3 { font-size: 21px; margin-bottom: 8px; }
.guide-locked p, .guide-intro { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.guide-content h3 { font-size: 25px; letter-spacing: -.03em; margin-bottom: 8px; }
.guide-content h4 { font-size: 15px; margin: 24px 0 9px; }
.guide-content ul, .guide-content ol { padding-left: 22px; }
.guide-content li { font-size: 14px; margin-bottom: 10px; padding-left: 4px; }
.guide-published-steps { display: grid; gap: 28px; margin-top: 14px; }
.guide-published-step { border-top: 1px solid var(--line); padding-top: 22px; }
.guide-published-step h5 { font-size: 20px; line-height: 1.25; margin-bottom: 9px; }
.guide-published-step p { font-size: 15px; margin-bottom: 16px; }
.guide-published-image { border: 1px solid var(--line); border-radius: 6px; display: block; height: auto; max-width: 100%; width: 100%; }
.guide-note { background: var(--soft); border-left: 3px solid var(--ink); font-size: 13px; margin-top: 24px; padding: 12px 14px; }
.account-required { background: var(--soft); border: 1px solid var(--line); border-radius: 5px; display: grid; gap: 6px; margin-bottom: 18px; padding: 16px; }
.account-required strong { font-size: 14px; }
.account-required span { color: var(--muted); font-size: 13px; margin-bottom: 7px; }
.account-ready { background: var(--soft); border: 1px solid var(--line); border-radius: 5px; padding: 16px; }
.account-ready p { color: var(--muted); font-size: 13px; margin-bottom: 13px; }
.account-ready strong { color: var(--ink); }
.account-modal { inset: 0; position: fixed; z-index: 120; }
.account-modal-backdrop { background: rgba(0,0,0,.72); inset: 0; position: absolute; }
.account-modal-dialog { background: var(--paper); border-radius: 10px; box-shadow: 0 24px 80px rgba(0,0,0,.3); left: 50%; max-width: 480px; position: absolute; top: 50%; transform: translate(-50%, -50%); width: calc(100% - 40px); }
.account-modal-content { padding: 42px 44px 38px; }
.account-modal-close { background: transparent; border: 0; color: var(--muted); cursor: pointer; font: 32px/1 Arial, sans-serif; padding: 5px; position: absolute; right: 18px; top: 15px; }
.account-modal-close:hover { color: var(--ink); }
.account-modal h2 { font-size: 30px; letter-spacing: -.04em; margin-bottom: 10px; }
.form-label { display: block; font-size: 12px; font-weight: 700; margin: 14px 0 6px; }
.form-input { background: var(--paper); border: 1px solid var(--line); border-radius: 5px; font: 14px inherit; padding: 11px 12px; width: 100%; }
.form-input:focus { border-color: var(--ink); outline: 2px solid rgba(21,21,21,.12); }
.form-error { color: #b42318; font-size: 13px; min-height: 20px; padding-top: 8px; }
.form-hint { color: var(--muted); font-size: 12px; margin: 8px 0 14px; }
.license-plan-grid { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 8px 0 2px; }
.license-plan-card { cursor: pointer; display: block; position: relative; }
.license-plan-card input { opacity: 0; position: absolute; }
.license-plan-card-body { background: var(--paper); border: 1px solid var(--line); border-radius: 7px; display: flex; flex-direction: column; gap: 3px; min-height: 112px; padding: 12px; transition: border-color .15s, background .15s, box-shadow .15s; }
.license-plan-card-body strong { font-size: 14px; }
.license-plan-card-body b { font-size: 20px; letter-spacing: -.03em; }
.license-plan-card-body small { color: var(--muted); font-size: 11px; }
.license-plan-card-body em { color: var(--muted); font-size: 9px; font-style: normal; font-weight: 800; letter-spacing: .1em; min-height: 12px; }
.license-plan-card input:checked + .license-plan-card-body { background: var(--soft); border-color: var(--ink); box-shadow: 0 0 0 2px rgba(21,21,21,.1); }
.license-plan-card:hover .license-plan-card-body { border-color: var(--ink); }
.account-switch { background: transparent; border: 0; color: var(--muted); cursor: pointer; display: block; font: 13px inherit; margin: 18px auto 0; text-decoration: underline; text-underline-offset: 3px; }
.account-switch:hover { color: var(--ink); }
.account-user-box { background: var(--soft); border: 1px solid var(--line); border-radius: 5px; display: grid; gap: 4px; margin: 18px 0 12px; padding: 14px; }
.account-user-box span { color: var(--muted); font-size: 12px; }
.account-user-box strong { font-size: 14px; overflow-wrap: anywhere; }
.account-status { color: var(--muted); font-size: 13px; margin: 0 0 20px; }
.account-user-box + .account-status + .btn { margin-bottom: 10px; }
.history-modal { inset: 0; position: fixed; z-index: 130; }
.history-modal-backdrop { background: rgba(0,0,0,.72); inset: 0; position: absolute; }
.history-modal-dialog { background: var(--paper); border-radius: 10px; box-shadow: 0 24px 80px rgba(0,0,0,.3); left: 50%; max-height: calc(100vh - 48px); max-width: 650px; overflow-y: auto; position: absolute; top: 50%; transform: translate(-50%, -50%); width: calc(100% - 40px); }
.history-modal-content { padding: 42px 44px 38px; }
.history-modal-close { background: transparent; border: 0; color: var(--muted); cursor: pointer; font: 32px/1 Arial, sans-serif; padding: 5px; position: absolute; right: 18px; top: 15px; }
.history-modal-close:hover { color: var(--ink); }
.history-modal h2 { font-size: 30px; letter-spacing: -.04em; margin-bottom: 8px; }
.history-desc { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.history-state { color: var(--muted); font-size: 13px; padding: 18px 0; }
.history-list { display: grid; gap: 10px; }
.history-item { align-items: center; background: var(--soft); border: 1px solid var(--line); border-radius: 7px; display: flex; gap: 18px; justify-content: space-between; padding: 16px; }
.history-item-main { display: grid; gap: 3px; min-width: 0; }
.history-item-main strong { font-size: 14px; }
.history-item-main span { color: var(--muted); font-size: 12px; }
.history-item .btn { flex: 0 0 auto; }
.buy-section { background: var(--ink); border-bottom: 0; color: var(--paper); }
.buy-layout { align-items: start; display: grid; gap: 100px; grid-template-columns: 1fr 1fr; }
.buy-intro > p { color: #a4a4a4; }
.buy-intro h2 { font-size: clamp(45px, 6vw, 76px); letter-spacing: -.06em; line-height: .94; margin-bottom: 28px; }
.buy-intro > p { font-size: 16px; max-width: 350px; }
.buy-details { border-top: 1px solid #3c3c3c; display: flex; justify-content: space-between; margin-top: 42px; max-width: 350px; padding-top: 13px; }
.buy-details + .buy-details { margin-top: 14px; }
.buy-details span { color: #a4a4a4; font-size: 13px; }
.buy-details strong { font-size: 13px; }
.buy-card { background: var(--paper); border-radius: var(--radius); color: var(--ink); padding: 32px; }
.card-label { margin-bottom: 17px; }
.buy-card h3 { font-size: 24px; letter-spacing: -.03em; margin-bottom: 10px; }
.buy-desc { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.order-info, .waiting { background: var(--soft); border: 1px solid var(--line); border-radius: 5px; }
.order-info { margin: 20px 0; padding: 17px; }
.order-label { color: var(--muted); font-size: 12px; margin: 12px 0 5px; }
.order-label:first-child { margin-top: 0; }
.must { color: var(--ink); font-weight: 700; }
.copy-row { align-items: center; display: flex; gap: 8px; }
.copy-row code { background: var(--paper); border: 1px solid var(--line); flex: 1; font-size: 14px; font-weight: 700; letter-spacing: .06em; padding: 9px 10px; }
.order-amount { font-size: 20px; font-weight: 800; }
.order-bank { font-size: 14px; }
.qr-wrap { margin: 20px 0; text-align: center; }
#qr-img { background: var(--paper); border: 1px solid var(--line); height: 220px; padding: 7px; width: 220px; }
.qr-hint, .wait-sub { color: var(--muted); font-size: 12px; margin-top: 8px; }
.waiting { margin-bottom: 13px; padding: 14px; text-align: center; }
.spinner { animation: spin 1s linear infinite; border: 3px solid var(--line); border-radius: 50%; border-top-color: var(--ink); height: 28px; margin: 0 auto 10px; width: 28px; }
@keyframes spin { to { transform: rotate(360deg); } }
#wait-text { font-size: 14px; font-weight: 700; }
.countdown { color: var(--muted); font-size: 12px; margin-bottom: 12px; text-align: center; }
#btn-cancel { display: block; margin: 0 auto; }

.site-footer { background: var(--ink); color: var(--paper); padding: 46px 0 20px; }
.footer-inner { display: flex; justify-content: space-between; }
.brand-footer { display: inline-block; margin-bottom: 10px; }
.brand-footer span { color: #999; }
.footer-inner p { color: #999; font-size: 12px; }
.footer-right { text-align: right; }
.footer-contact { color: var(--paper); display: inline-block; font-size: 13px; font-weight: 700; margin-top: 5px; }
.footer-bottom { border-top: 1px solid #353535; color: #777; display: flex; font-size: 11px; justify-content: space-between; margin-top: 42px; padding-top: 14px; }

@media (max-width: 850px) {
  .hero-grid, .buy-layout { gap: 48px; grid-template-columns: 1fr; }
  .hero-panel { max-width: 480px; }
}
@media (max-width: 620px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .header-inner { height: 60px; }
  .nav { gap: 12px; }
  .nav a:not(.nav-action), .nav-history { display: none; }
  .hero { padding: 68px 0 62px; }
  .hero h1 { font-size: 45px; }
  .hero-text { font-size: 16px; }
  .hero-meta { gap: 8px 12px; margin-top: 42px; }
  .hero-meta span + span::before { margin-right: 12px; }
  .section { padding: 68px 0; }
  .showcase-browser-bar { padding: 0 10px; }
  .showcase-address { margin-left: 5px; }
  .showcase-live { display: none; }
  .showcase-stage { min-height: 0; padding: 28px 12px 34px; }
  .showcase-caption { font-size: 8px; margin-bottom: 12px; }
  .showcase-caption strong { font-size: 7px; }
  .tool-panel-preview { padding: 15px 13px 12px; }
  .tool-preview-body { flex-direction: column; gap: 14px; }
  .tool-preview-telegram { border-left: 0; border-top: 1px solid #33363c; padding-left: 0; padding-top: 14px; }
  .tool-preview-row { gap: 7px; }
  .tool-preview-column input, .tool-preview-column select { font-size: 11px; padding: 7px 6px; }
  .buy-card { padding: 24px; }
  .license-plan-grid { grid-template-columns: 1fr; }
  .license-plan-card-body { min-height: 0; }
  .buy-layout { gap: 42px; }
  .buy-modal { padding: 12px; }
  .buy-modal-dialog { max-height: calc(100vh - 24px); width: 100%; }
  .buy-modal-content { padding: 38px 22px 26px; }
  .buy-modal h2 { font-size: 25px; }
  .buy-modal #qr-img { height: 260px; width: 260px; }
  .buy-modal.is-pending .buy-modal-content,
  .buy-modal.is-success .buy-modal-content { display: none; }
  .buy-modal.is-pending #buy-pending:not(.hidden) { display: block !important; padding: 38px 22px 26px; }
  .success-hero { padding: 24px 58px 22px 22px; }
  .success-body { padding: 26px 22px 28px; }
  .success-body h2 { font-size: 26px; }
  .guide-locked, .guide-content { padding: 22px; }
  .guide-editor-head { flex-direction: column; gap: 8px; }
  .guide-editor-badge { align-self: flex-start; }
  .guide-editor-step { padding: 14px; }
  .guide-editor-actions { align-items: stretch; flex-direction: column; }
  .guide-editor-actions .btn { width: 100%; }
  .guide-editor-clear { margin-left: 0; }
  .account-modal-dialog { max-height: calc(100vh - 24px); overflow-y: auto; }
  .account-modal-content { padding: 38px 22px 28px; }
  .history-modal-dialog { max-height: calc(100vh - 24px); width: calc(100% - 24px); }
  .history-modal-content { padding: 38px 22px 28px; }
  .history-item { align-items: stretch; flex-direction: column; gap: 12px; }
  .history-item .btn { width: 100%; }
  .footer-inner, .footer-bottom { align-items: flex-start; flex-direction: column; gap: 22px; }
  .footer-right { text-align: left; }
  .footer-bottom { gap: 5px; }
}