:root {
  --brand: #0b6bcb;
  --brand-dark: #08509e;
  --brand-50: #eaf3fd;
  --brand-100: #d3e7fb;
  --accent: #00a884;
  --danger: #d92d20;
  --warn: #b54708;
  --text: #16202c;
  --muted: #5b6b7f;
  --line: #e3e9f0;
  --bg: #f5f8fc;
  --card: #ffffff;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(16, 32, 60, .06), 0 2px 8px rgba(16, 32, 60, .05);
  --shadow: 0 4px 20px rgba(16, 32, 60, .08);
  --shadow-lg: 0 18px 50px rgba(11, 107, 203, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@font-face {
  font-family: "IRANSansWeb";
  src: url("../IRANSansWeb.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body {
  margin: 0;
  font-family: "IRANSansWeb", "Segoe UI", Tahoma, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.6; margin: 0 0 .6rem; font-weight: 800; }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding-right: 1.2rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }

.container { width: min(1180px, 100% - 2rem); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .84rem; }
.center { text-align: center; }
.flex { display: flex; gap: .75rem; align-items: center; }
.wrap { flex-wrap: wrap; }
.between { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 2rem; }
.nowrap { white-space: nowrap; }
.ltr { direction: ltr; unicode-bidi: embed; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; color: var(--text); font-size: 1.05rem; }
.brand-logo {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), #4aa8ff); color: #fff; box-shadow: var(--shadow-sm);
}
.brand-logo svg { width: 22px; height: 22px; }
.nav-links { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { padding: .5rem .8rem; border-radius: 10px; color: var(--text); font-weight: 600; font-size: .92rem; }
.nav-links a:hover, .nav-links a.active { background: var(--brand-50); color: var(--brand); }
.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: .45rem .6rem; cursor: pointer; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .72rem 1.35rem; border-radius: 12px; border: 1px solid transparent;
  font-family: inherit; font-size: .95rem; font-weight: 700; cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-primary { background: linear-gradient(135deg, var(--brand), #2b8ef0); color: #fff; box-shadow: 0 8px 22px rgba(11, 107, 203, .28); }
.btn-primary:hover { color: #fff; box-shadow: 0 12px 28px rgba(11, 107, 203, .34); }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { color: var(--brand); border-color: var(--brand-100); background: var(--brand-50); }
.btn-tg { background: #229ed9; color: #fff; }
.btn-tg:hover { color: #fff; background: #1b8cc2; }
.btn-success { background: var(--accent); color: #fff; }
.btn-success:hover { color: #fff; }
.btn-danger { background: #fef3f2; color: var(--danger); border-color: #fecdca; }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-lg { padding: .95rem 2rem; font-size: 1.02rem; border-radius: 14px; }
.btn-sm { padding: .4rem .75rem; font-size: .82rem; border-radius: 9px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- badges / flash ---------- */
.badge {
  display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .7rem;
  border-radius: 999px; font-size: .76rem; font-weight: 700; background: var(--brand-50); color: var(--brand-dark);
}
.badge-ok { background: #e6f8f1; color: #067a5f; }
.badge-warn { background: #fef6e7; color: var(--warn); }
.badge-off { background: #f2f4f7; color: var(--muted); }
.badge-danger { background: #fef3f2; color: var(--danger); }

.flash { padding: .9rem 1.1rem; border-radius: 14px; margin: 1rem 0; font-weight: 600; border: 1px solid; }
.flash-success { background: #e6f8f1; border-color: #a7e8d2; color: #067a5f; }
.flash-error { background: #fef3f2; border-color: #fecdca; color: var(--danger); }
.flash-info { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-dark); }

/* ---------- cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-pad { padding: 1.4rem; }
.card-head { padding: 1rem 1.4rem; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; }

/* ---------- hero ---------- */
.hero { padding: 3rem 0 2.5rem; background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem; align-items: center; }
.hero h1 { font-size: 2.3rem; margin-bottom: .8rem; }
.hero .lead { font-size: 1.03rem; color: var(--muted); }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .5rem; background: var(--brand-50); color: var(--brand-dark); border-radius: 999px; padding: .35rem .9rem; font-weight: 700; font-size: .84rem; margin-bottom: 1rem; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.4rem; }
.hero-points { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-point { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--muted); font-weight: 600; }
.hero-point .dot { width: 26px; height: 26px; border-radius: 8px; background: #e6f8f1; color: var(--accent); display: grid; place-items: center; font-size: .8rem; }
.hero-visual { position: relative; }
.hero-visual img { border-radius: 22px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: #fff; }
.price-tag { position: absolute; bottom: 18px; right: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: .8rem 1.1rem; box-shadow: var(--shadow); }
.price-tag .v { font-size: 1.25rem; font-weight: 800; color: var(--brand); }

/* ---------- sections ---------- */
.section { padding: 3rem 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2rem; }
.section-head h2 { font-size: 1.7rem; }
.section-head p {font-size: 13px; color: var(--muted); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }

/* ---------- download boxes ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.dl-card {
  display: flex; align-items: flex-start; gap: 1rem;
  background: linear-gradient(180deg, #fff, #fafcff);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.2rem; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.dl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.dl-icon {
  flex: 0 0 52px; width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), #4aa8ff); color: #fff; box-shadow: var(--shadow-sm);
}
.dl-icon svg { width: 25px; height: 25px; }
.dl-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dl-title { font-size: .93rem; margin-bottom: .4rem; }
.dl-meta { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .85rem; }
.dl-meta .badge { padding: .15rem .55rem; }
.dl-body .btn { margin-top: auto; }

.feature {display: ruby; padding: 1.3rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); margin-bottom: .8rem; }
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 {padding-right: 10px; font-size: 1rem; }
.feature p { margin: 0; font-size: .89rem; color: var(--muted); }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery figure { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); cursor: zoom-in; transition: transform .2s, box-shadow .2s; }
.gallery figure:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery figcaption { padding: .6rem .9rem; font-size: .84rem; color: var(--muted); font-weight: 600; }
.lightbox { position: fixed; inset: 0; background: rgba(12, 20, 33, .9); display: none; place-items: center; z-index: 200; padding: 2rem; }
.lightbox.open { display: grid; }
.lightbox img { max-width: 1000px; max-height: 80vh; border-radius: 14px; }
.lightbox .close { position: absolute; top: 20px; left: 20px; color: #fff; font-size: 2rem; background: none; border: 0; cursor: pointer; }

/* ---------- pricing ---------- */
.price-table { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.price-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; text-align: center; box-shadow: var(--shadow-sm); position: relative; transition: transform .2s, box-shadow .2s; }
.price-box:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-box.best { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.price-box .off { position: absolute; top: -11px; right: 50%; transform: translateX(50%); background: var(--accent); color: #fff; font-size: .72rem; font-weight: 800; padding: .15rem .7rem; border-radius: 999px; }
.price-box .q { font-weight: 800; color: var(--text); }
.price-box .p { font-size: 1.3rem; font-weight: 800; color: var(--brand); margin: .35rem 0; }
.price-box .g { font-size: .8rem; color: var(--muted); text-decoration: line-through; }

/* ---------- buy box ---------- */
.buy-layout { display: grid; grid-template-columns: 1fr 380px; gap: 1.6rem; align-items: start; }
.qty-box { display: flex; align-items: stretch; width: max-content; max-width: 100%; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.qty-box .qty-btn { width: 46px; height: 46px; border: 0; background: #fff; font-size: 1.3rem; font-weight: 800; color: var(--brand); cursor: pointer; display: grid; place-items: center; transition: background .15s ease; }
.qty-box .qty-btn:hover { background: var(--brand-50); }
.qty-box .qty-btn:active { background: var(--brand-100); }
.qty-box .qty-input { flex: 0 0 72px; border: 0; text-align: center; font-family: inherit; font-size: 1.15rem; font-weight: 800; color: #222; background: #fff; -moz-appearance: textfield; }
.qty-box .qty-input::-webkit-outer-spin-button,
.qty-box .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-box .qty-input:focus { outline: none; background: var(--brand-50); }
.agree-row { display: flex; align-items: flex-start; gap: .5rem; margin-bottom: .75rem; cursor: pointer; }
.agree-row input { width: 18px; height: 18px; margin: 0; flex: 0 0 18px; accent-color: var(--brand); cursor: pointer; }
.summary { position: sticky; top: 88px; }
.sum-row { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.sum-row.total { border: 0; font-size: 1.1rem; font-weight: 800; padding-top: .8rem; }
.sum-row .green { color: var(--accent); font-weight: 700; }
.so-product { font-size: 1.02rem; font-weight: 800; }
.so-sub { color: var(--muted); font-size: .85rem; margin-bottom: 1rem; }
.so-price { display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; margin-bottom: .2rem; }
.so-price-main { color: var(--brand); font-size: 2rem; font-weight: 800; line-height: 1.2; }
.so-curr { color: var(--muted); font-size: .95rem; }
.so-old { color: var(--muted); text-decoration: line-through; font-size: .9rem; }
.so-usd { color: #0f7b3d; background: #eaf7ef; border: 1px dashed #9fe0b6; border-radius: 10px; padding: .4rem .8rem; font-size: .85rem; margin-bottom: .8rem; display:none; }
.so-deadline { color: var(--muted); font-size: .82rem; margin-bottom: 1rem; }
.so-qty-label { display: block; font-size: .85rem; color: var(--muted); margin-bottom: .4rem; }
.sum-table { margin: 1rem 0; border: 1px solid var(--line); border-radius: 12px; padding: .3rem 1rem .6rem; background: #fbfdff; }

/* ---------- steps / guide ---------- */
.steps { counter-reset: s; display: grid; gap: 1rem; }
.step { display: flex; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow-sm); }
.step-num { flex: 0 0 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--brand), #4aa8ff); color: #fff; display: grid; place-items: center; font-weight: 800; }
.step h3 { font-size: 1rem; margin-bottom: .3rem; }
.step p { margin: 0; color: var(--muted); font-size: .92rem; }
.guide-callout { background: #fff8ec; border: 1px solid #fde3b3; border-radius: var(--radius); padding: 1.1rem 1.3rem; display: flex; gap: .9rem; align-items: flex-start; }
.guide-callout.danger { background: #fef3f2; border-color: #fecdca; }
.guide-callout .ic { flex: 0 0 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--warn); }
.guide-callout.danger .ic { color: var(--danger); }
.code-block { direction: ltr; text-align: left; background: #0f1b2d; color: #d7e3f4; border-radius: 12px; padding: .9rem 1.1rem; font-family: Consolas, "Courier New", monospace; font-size: .86rem; overflow-x: auto; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.table th, table.table td { padding: .8rem .9rem; text-align: right; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.table th { background: #fafcfe; font-weight: 700; color: var(--muted); font-size: .84rem; white-space: nowrap; }
table.table tr:hover td { background: #fcfdff; }
table.table td.actions { white-space: nowrap; }

/* ---------- notifications ---------- */
.notif-list { display: flex; flex-direction: column; }
.notif { display: flex; align-items: flex-start; gap: .7rem; padding: .8rem 1.3rem; border-bottom: 1px solid var(--line); }
.notif:last-child { border-bottom: 0; }
.notif-new { background: var(--brand-50); }
.notif-dot { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-top: .5rem; }
.notif-new .notif-dot { background: var(--accent); box-shadow: 0 0 0 3px rgba(26,176,137,.2); }
.notif-text { flex: 1; font-size: .92rem; line-height: 1.8; }
.notif-time { white-space: nowrap; font-size: .8rem; }
.notif-danger .notif-dot { background: var(--danger); box-shadow: 0 0 0 3px rgba(225,29,72,.18); }
.notif-danger .notif-text { color: var(--danger); font-weight: 700; }

/* ---------- license key ---------- */
.license-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 1.2rem; box-shadow: var(--shadow-sm); }
.license-code {
  direction: ltr; text-align: center; font-family: Consolas, "Courier New", monospace;
  background: #f5f8fc; border: 1px dashed var(--brand-100); border-radius: 12px;
  padding: .8rem; font-size: 1rem; font-weight: 700; color: var(--brand-dark);
  word-break: break-all; user-select: all; margin-bottom: .8rem;
}
.license-meta { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .8rem; }
.license-links { display: flex; gap: .5rem; flex-wrap: wrap; }

/* ---------- account shell ---------- */
.shell { display: grid; grid-template-columns: 250px 1fr; gap: 1.4rem; align-items: start; }
.side { position: sticky; top: 88px; padding: .8rem; }
.side a { display: flex; align-items: center; gap: .6rem; padding: .65rem .8rem; border-radius: 11px; color: var(--text); font-weight: 600; font-size: .92rem; }
.side a:hover { background: var(--brand-50); color: var(--brand); }
.side a.active { background: var(--brand); color: #fff; }
.side .sep { height: 1px; background: var(--line); margin: .5rem .4rem; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { padding: 1.1rem 1.2rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.stat .k { font-size: .82rem; color: var(--muted); font-weight: 600; }
.stat .v { font-size: 1.5rem; font-weight: 800; margin-top: .2rem; }

/* ---------- forms ---------- */
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: .4rem; }
.field .hint { font-size: .78rem; color: var(--muted); font-weight: 500; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=tel], select, textarea {
  width: 100%; font-family: inherit; font-size: .95rem; padding: .7rem .9rem;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
textarea { min-height: 130px; line-height: 2; resize: vertical; }
.form-card { max-width: 460px; margin: 2.5rem auto; }
.form-card.wide { max-width: 760px; }
.grid-2-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.form-row { display: flex; flex-wrap: wrap; gap: .9rem; align-items: flex-end; }
.form-row .field { flex: 1 1 160px; min-width: 150px; margin: 0; }
.form-row .field.--grow { flex: 2 1 280px; }
.form-row .btn { flex: 0 0 auto; }
@media (max-width: 720px) {
  .grid-2-form { grid-template-columns: 1fr; }
  .form-row .field { flex: 1 1 100%; }
  .form-row .btn { width: 100%; }
}

/* ---------- auth ---------- */
.auth-wrap { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 2rem 1rem;
  background: radial-gradient(1000px 500px at 50% -10%, var(--brand-50), var(--bg)); }

/* ---------- footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); margin-top: 3rem; padding: 2.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { font-size: .95rem; margin-bottom: .7rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .4rem; font-size: .89rem; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--brand); }
.trust { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; justify-content: center; padding: 1.2rem; background: #fafcfe; border: 1px solid var(--line); border-radius: var(--radius); }
.trust img { height: 56px; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 1.6rem; padding-top: 1rem; text-align: center; color: var(--muted); font-size: .85rem; }

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .hero-visual { max-width: 620px; margin-inline: auto; }
  .buy-layout { grid-template-columns: 1fr; }
  .buy-layout aside { order: -1; }
  .summary { position: static; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .shell { grid-template-columns: 1fr; gap: 1rem; }
  .side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
  .gallery, .price-table, .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links {
    position: absolute; top: 68px; right: 1rem; left: 1rem; flex-direction: column; align-items: stretch;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .6rem;
    box-shadow: var(--shadow-lg); display: none;
  }
  .nav-links.open { display: flex; animation: fadeIn .18s ease; }
  @keyframes fadeIn { from { opacity: 0; transform: translateY(-6px); } }
  .burger { display: block; }
}
@media (max-width: 720px) {
  body { font-size: 14.5px; }
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.3rem; }
  .section { padding: 2rem 0; }
  .section-head { margin-bottom: 1.4rem; }
  .hero { padding: 2rem 0 1.6rem; }
  .hero h1 { font-size: 1.6rem; }
  .hero-actions { margin-top: 1.1rem; }
  .card-pad { padding: 1.1rem; }
  .grid-3, .grid-4, .price-table, .grid-2-form, .footer-grid { grid-template-columns: 1fr; }
  .shell { grid-template-columns: 1fr; }
  .side {
    position: sticky; top: 68px; z-index: 5;
    display: flex; gap: .4rem; overflow-x: auto; padding: .5rem;
    margin-inline: -.35rem; scrollbar-width: none;
  }
  .side::-webkit-scrollbar { display: none; }
  .side a { white-space: nowrap; padding: .55rem .85rem; }
  .side .sep, .side > .small { display: none; }
  .table-wrap { -webkit-overflow-scrolling: touch; }
  table.table th, table.table td { padding: .65rem .75rem; }
  .step { padding: 1rem; }
  .step-num { flex-basis: 34px; height: 34px; }
  .license-card { padding: 1rem; }
  .license-links { display: grid; grid-template-columns: 1fr 1fr; }
  .license-links .btn:first-child { grid-column: 1 / -1; }
  .hero-actions .btn { flex: 1 1 100%; }
}
@media (max-width: 480px) {
  .container { width: min(1180px, calc(100% - 1rem)); }
  .btn { font-size: .9rem; padding: .65rem 1.05rem; }
  .btn-sm { font-size: .78rem; padding: .36rem .6rem; }
  .btn-lg { width: 100%; }
  .gallery, .stat-grid { grid-template-columns: 1fr; }
  .gallery { gap: .75rem; }
  .hero-points { gap: .5rem 1rem; }
  .qty-box .qty-input { flex-basis: 60px; }
  .qty-box .qty-btn { width: 42px; height: 42px; }
  .form-card { margin: 1.5rem auto; }
  .stat .v { font-size: 1.25rem; }
  .flash { font-size: .86rem; }
  .code-block { font-size: .78rem; padding: .75rem .8rem; }
}
