:root {
  --cream: #f7f3e7;
  --paper: #fffdf7;
  --ink: #14251f;
  --muted: #667064;
  --pine: #12352b;
  --pine-2: #1c4a3b;
  --lime: #d7f171;
  --lime-soft: #eef7c9;
  --olive: #5f6b4f;
  --line: #ded8c7;
  --rust: #b7643f;
  --blue: #4d6f8f;
  --shadow: 0 18px 50px rgba(29, 46, 35, .10);
  --radius: 18px;
  --serif: "Noto Serif SC", "Songti SC", STSong, "SimSun", Georgia, serif;
  --sans: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.18; font-family: var(--serif); font-weight: 700; letter-spacing: -.02em; }
p { margin: 0; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.center { text-align: center; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 243, 231, .90); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(222, 216, 199, .85); }
.nav { height: 70px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.02em; }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.brand small { display: block; font-size: 9px; letter-spacing: .16em; color: var(--muted); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav-links a { font-size: 14px; color: #35443a; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { border-color: var(--pine); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; margin-left: auto; border: 1px solid var(--line); background: var(--paper); border-radius: 10px; padding: 8px 11px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 999px; padding: 11px 20px; font-size: 14px; font-weight: 700; line-height: 1; transition: .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--pine); color: #fffdf6; }
.btn-primary:hover { background: #1b4a3b; }
.btn-lime { background: var(--lime); color: #1a2e22; }
.btn-lime:hover { background: #cbeb59; }
.btn-ghost { border-color: var(--line); background: rgba(255,255,255,.45); color: var(--ink); }
.btn-ghost:hover { border-color: #a7ae9c; }
.btn-soft { background: #e9efd9; color: #2c4436; }
.btn-danger { background: #f5e0d8; color: #8c3b24; }
.btn-sm { padding: 8px 13px; font-size: 12px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* typography bits */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #516247; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--olive); }
.kicker { font-size: 11px; letter-spacing: .18em; font-weight: 800; color: #66735a; text-transform: uppercase; }
.grad { color: #33523f; }

/* home hero */
.hero { padding: 58px 0 36px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 46px; align-items: center; }
.hero h1 { font-size: clamp(38px, 4.3vw, 64px); margin: 16px 0 18px; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 72%, var(--lime) 0); padding: 0 4px; }
.hero-lead { color: #4e5b50; font-size: 17px; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 18px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 14px 20px; color: var(--muted); font-size: 12px; }
.hero-proof span { display: inline-flex; gap: 7px; align-items: center; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #83a152; display: inline-block; }
.hero-visual { position: relative; }
.mock { background: var(--pine); border-radius: 22px; padding: 14px; box-shadow: 0 30px 70px rgba(18, 53, 43, .22); transform: rotate(1.1deg); }
.mock-top { display: flex; align-items: center; gap: 6px; padding: 2px 4px 10px; }
.mock-top i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.25); }
.mock-top span { margin-left: auto; color: #a9c7b4; font-size: 10px; letter-spacing: .08em; }
.mock-body { display: grid; grid-template-columns: 92px 1fr; gap: 10px; }
.mock-side { background: #0d2b23; border-radius: 12px; padding: 11px 8px; }
.mock-side b { display: block; font-size: 8px; color: var(--lime); letter-spacing: .1em; margin-bottom: 12px; }
.mock-side u { display: block; height: 6px; border-radius: 4px; background: rgba(255,255,255,.12); margin: 9px 0; text-decoration: none; }
.mock-side u:nth-child(3) { background: rgba(215,241,113,.7); }
.mock-main { background: #0a241d; border-radius: 12px; padding: 12px; min-height: 272px; }
.mock-main .file-tab { display: inline-block; color: #cfe2c8; background: rgba(255,255,255,.08); border-radius: 6px 6px 0 0; font-size: 9px; padding: 6px 10px; margin-bottom: 10px; }
.code-lines { font-family: "Cascadia Code", Consolas, monospace; font-size: 11px; line-height: 1.95; color: #d4e2d4; }
.code-lines .ln { color: #527366; display: inline-block; width: 20px; }
.code-lines .kw { color: #e9a58b; }
.code-lines .str { color: #d7f171; }
.code-lines .fn { color: #a9c9e8; }
.hero-float { position: absolute; right: -12px; bottom: -24px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 14px; padding: 11px 14px; display: flex; gap: 10px; align-items: center; font-size: 11px; transform: rotate(-1deg); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #80a34f; box-shadow: 0 0 0 5px rgba(128,163,79,.14); }

.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; margin-top: 34px; }
.trust-row { display: flex; gap: 10px 34px; flex-wrap: wrap; align-items: center; justify-content: center; color: #5f6b58; font-size: 12px; }
.trust-row strong { color: var(--ink); font-size: 13px; }

/* sections */
.section { padding: 74px 0; }
.section.tight { padding: 48px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 44px); margin-top: 10px; }
.section-head p { max-width: 460px; color: var(--muted); font-size: 14px; }
.section-dark { background: var(--pine); color: #f4f7ea; }
.section-dark .muted, .section-dark p { color: #b9c9bb; }
.section-dark .kicker { color: var(--lime); }
.section-cream { background: #f0ead9; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: rgba(255,255,255,.55); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.feature .icon { width: 40px; height: 40px; border-radius: 12px; background: var(--lime-soft); display: grid; place-items: center; margin-bottom: 14px; color: #28412f; font-weight: 800; }
.feature h3 { font-size: 18px; margin-bottom: 7px; }
.feature p { color: var(--muted); font-size: 13px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split-media { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.split-media img { width: 100%; }
.check-list { display: grid; gap: 12px; margin: 22px 0; }
.check-list div { display: flex; gap: 10px; font-size: 14px; color: #405045; }
.check-list b { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; font-size: 12px; color: #1d3527; }

/* price cards */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.price-card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 22px 18px; display: flex; flex-direction: column; }
.price-card.featured { border-color: #8cae42; box-shadow: 0 0 0 2px rgba(140,174,66,.17), var(--shadow); }
.price-card.dark { background: var(--pine); color: #f6f8ec; border-color: var(--pine); }
.price-card.dark .muted, .price-card.dark .price-list li { color: #b9c9bb; }
.price-badge { position: absolute; top: 12px; right: 12px; font-size: 9px; font-weight: 800; letter-spacing: .06em; padding: 4px 8px; border-radius: 999px; background: var(--lime-soft); color: #40552c; }
.price-card.dark .price-badge { background: rgba(215,241,113,.16); color: var(--lime); }
.plan-name { font-size: 17px; margin-bottom: 4px; }
.plan-tag { font-size: 11px; color: var(--muted); min-height: 30px; }
.price { display: flex; align-items: baseline; gap: 4px; margin: 14px 0 4px; }
.price strong { font-family: var(--serif); font-size: 36px; line-height: 1; }
.price span { font-size: 11px; color: var(--muted); }
.price-sub { font-size: 10px; color: var(--muted); min-height: 18px; }
.price-list { list-style: none; margin: 15px 0 20px; padding: 15px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 12px; flex: 1; }
.price-list li { display: flex; gap: 7px; color: #465647; }
.price-list li::before { content: "✓"; color: #75953f; font-weight: 900; }
.price-card .btn { width: 100%; margin-top: auto; }
.price-note { margin-top: 14px; border: 1px dashed #cfc7b0; border-radius: 11px; padding: 11px 14px; font-size: 11px; color: #6b6653; background: rgba(255,255,255,.35); }

/* addons */
.addon-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.addon { display: grid; grid-template-columns: 38px 1fr auto; gap: 13px; align-items: start; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.addon .icon { width: 38px; height: 38px; border-radius: 11px; background: #eaf0db; display: grid; place-items: center; font-size: 16px; }
.addon h3 { font-size: 14px; margin-bottom: 3px; }
.addon p { font-size: 11px; color: var(--muted); }
.addon .amount { text-align: right; font-size: 12px; white-space: nowrap; }
.addon .amount strong { font-size: 16px; font-family: var(--serif); }
.addon ul { list-style: none; padding: 0; margin: 8px 0 0; display: flex; gap: 10px; flex-wrap: wrap; font-size: 10px; color: #68745d; }

/* comparison table */
.compare-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 820px; font-size: 12px; }
.compare-table th, .compare-table td { padding: 12px 14px; text-align: center; border-bottom: 1px solid #e9e3d4; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; min-width: 190px; }
.compare-table thead th { background: #f0ebdc; font-family: var(--sans); font-size: 12px; position: sticky; top: 0; }
.compare-table thead th:nth-child(4) { background: var(--pine); color: #fff; }
.compare-table tbody tr:hover { background: #fbf8ef; }
.compare-table .yes { color: #577a35; font-weight: 800; }
.compare-table .no { color: #a7a293; }
.compare-table small { display: block; font-size: 9px; color: var(--muted); font-weight: 400; }

/* storage / data */
.data-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.data-card { background: rgba(255,255,255,.55); border: 1px solid var(--line); border-radius: 13px; padding: 16px; }
.data-card h3 { font-size: 13px; margin-bottom: 6px; }
.data-card p { font-size: 11px; color: var(--muted); }

/* faq */
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.faq { background: var(--paper); border: 1px solid var(--line); border-radius: 13px; padding: 17px 18px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 13px; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: #70825f; font-weight: 400; }
.faq[open] summary::after { content: "−"; }
.faq p { margin-top: 9px; color: var(--muted); font-size: 12px; }

/* CTA */
.cta-band { background: var(--pine); color: #f7f8ee; border-radius: 22px; padding: 38px 42px; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -90px; width: 280px; height: 280px; border: 1px solid rgba(215,241,113,.25); border-radius: 50%; }
.cta-band h2 { font-size: clamp(26px, 3vw, 38px); }
.cta-band p { color: #b9c9bb; font-size: 13px; margin-top: 7px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 38px 0 28px; color: #65705f; font-size: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 28px; }
.site-footer h4 { font-family: var(--sans); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; color: #3e4f42; }
.site-footer a { display: block; padding: 3px 0; }
.site-footer a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); margin-top: 28px; padding-top: 18px; font-size: 10px; }

/* auth and forms */
.auth-page { padding: 52px 0 80px; }
.auth-grid { display: grid; grid-template-columns: 1.05fr .95fr; max-width: 960px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.auth-aside { background: var(--pine); color: #f5f7ea; padding: 42px; position: relative; overflow: hidden; }
.auth-aside h2 { font-size: 34px; margin: 16px 0 12px; }
.auth-aside p { color: #bccbbd; font-size: 13px; }
.auth-aside ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; font-size: 12px; }
.auth-aside li { display: flex; gap: 9px; align-items: flex-start; color: #dbe5d7; }
.auth-aside li::before { content: "✓"; color: var(--lime); font-weight: 900; }
.auth-form { padding: 40px 42px; }
.auth-form h1 { font-size: 28px; margin-bottom: 6px; }
.auth-form .sub { color: var(--muted); font-size: 12px; margin-bottom: 22px; }
.form { display: grid; gap: 13px; }
.field label { display: block; font-size: 11px; font-weight: 700; margin-bottom: 5px; color: #3e4f43; }
.input, .form input, .form select, .form textarea { width: 100%; border: 1px solid #d9d2c2; background: #fffdf8; border-radius: 10px; padding: 10px 12px; font-size: 13px; color: var(--ink); outline: none; }
.input:focus, .form input:focus, .form select:focus, .form textarea:focus { border-color: #789b43; box-shadow: 0 0 0 3px rgba(120,155,67,.12); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .hint { font-size: 10px; color: var(--muted); }
.form-actions { margin-top: 4px; }
.notice { border-radius: 10px; padding: 10px 13px; font-size: 12px; margin: 12px 0; }
.notice.error { background: #f8e1da; color: #8a3b24; }
.notice.ok { background: #e9f1d4; color: #3f5b2d; }
.notice.info { background: #e8eef2; color: #3e5768; }
.auth-switch { font-size: 12px; color: var(--muted); margin-top: 15px; text-align: center; }
.auth-switch a { color: var(--pine); font-weight: 700; }
.phone-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.checkbox { display: flex; gap: 8px; align-items: flex-start; font-size: 11px; color: var(--muted); }
.checkbox input { width: auto; margin-top: 3px; }

/* simple pages */
.page-head { padding: 48px 0 24px; }
.page-head h1 { font-size: clamp(34px, 4vw, 52px); margin: 12px 0; }
.page-head p { max-width: 680px; color: var(--muted); }
.prose { max-width: 820px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 30px; font-size: 14px; color: #3e4d40; }
.prose h2 { font-size: 22px; margin: 26px 0 8px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 8px 0; }
.prose ul { padding-left: 19px; }
.prose li { margin: 5px 0; }
.prose a { color: #3e6b4b; text-decoration: underline; }

/* download */
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.download-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.download-card .tag { font-size: 10px; font-weight: 800; letter-spacing: .12em; color: #63823e; }
.download-card h2 { font-size: 25px; margin: 6px 0; }
.download-card p { color: var(--muted); font-size: 12px; }
.download-card .meta { display: grid; gap: 7px; border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; font-size: 11px; color: #5a6658; }
.download-card .actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 16px; }
.hash { font-family: Consolas, monospace; font-size: 10px; word-break: break-all; color: #7a7667; }

/* console */
.console-page { padding: 32px 0 70px; }
.console-grid { display: grid; grid-template-columns: 230px 1fr; gap: 22px; align-items: start; }
.console-side { background: var(--paper); border: 1px solid var(--line); border-radius: 15px; padding: 13px; position: sticky; top: 88px; }
.console-side .who { padding: 7px 8px 13px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.console-side .who strong { display: block; font-size: 14px; }
.console-side .who span { font-size: 10px; color: var(--muted); }
.console-side nav { display: grid; gap: 2px; }
.console-side nav a { padding: 8px 10px; border-radius: 8px; font-size: 12px; color: #445343; }
.console-side nav a:hover, .console-side nav a.active { background: #edf1df; color: var(--ink); font-weight: 700; }
.console-main { min-width: 0; }
.console-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.console-head h1 { font-size: 30px; }
.console-head p { color: var(--muted); font-size: 12px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: 13px; padding: 15px; }
.stat span { display: block; font-size: 10px; color: var(--muted); letter-spacing: .05em; }
.stat strong { display: block; font-family: var(--serif); font-size: 26px; margin-top: 4px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 15px; padding: 19px; margin-bottom: 14px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.panel-head h2 { font-size: 18px; }
.table-wrap { overflow: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 12px; }
.table th { text-align: left; font-size: 10px; letter-spacing: .08em; color: #7b806d; text-transform: uppercase; padding: 8px 9px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 10px 9px; border-bottom: 1px solid #eee9dc; vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.badge { display: inline-block; font-size: 9px; font-weight: 700; border-radius: 999px; padding: 3px 8px; background: #edf1df; color: #4a5b3c; white-space: nowrap; }
.badge.paid { background: #f5efd1; color: #7a6326; }
.badge.active { background: #dfeecb; color: #43642d; }
.badge.pending { background: #f1e8d7; color: #7b5d34; }
.badge.danger { background: #f4ddd5; color: #8c3b24; }
.badge.dark { background: var(--pine); color: #e8f1e2; }
.empty { text-align: center; padding: 45px 15px; color: var(--muted); font-size: 12px; }
.empty strong { display: block; font-family: var(--serif); font-size: 19px; color: var(--ink); margin-bottom: 4px; }
.inline-form { display: inline-flex; gap: 5px; align-items: center; }
.inline-form input, .inline-form select { border: 1px solid var(--line); border-radius: 7px; padding: 5px 7px; font-size: 11px; background: #fffdf8; }
.license-key { font-family: Consolas, monospace; font-size: 12px; background: #0f2c24; color: #d7f171; border-radius: 8px; padding: 9px 11px; word-break: break-all; }
.meter { height: 6px; border-radius: 4px; background: #e9e4d5; overflow: hidden; }
.meter i { display: block; height: 100%; background: #91ab4c; border-radius: 4px; }
.kv { display: grid; grid-template-columns: 120px 1fr; gap: 6px 14px; font-size: 12px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }

/* admin */
.admin-top { background: var(--pine); color: #eef4e6; padding: 13px 0; }
.admin-top .container { display: flex; align-items: center; gap: 18px; }
.admin-top a { font-size: 12px; color: #c9d9c4; }
.admin-top a:hover { color: #fff; }
.admin-shell { padding: 24px 0 70px; }
.admin-nav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.admin-nav a { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 7px 13px; font-size: 11px; }
.admin-nav a.active { background: var(--pine); color: #fff; border-color: var(--pine); }
.order-detail { font-size: 11px; color: var(--muted); }

/* utility */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; }
.flex { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.between { justify-content: space-between; }
.grow { flex: 1; }
.nowrap { white-space: nowrap; }
.hide { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.copy-btn { border: 1px solid var(--line); background: transparent; border-radius: 6px; font-size: 10px; padding: 2px 6px; color: var(--muted); }

@media (max-width: 1080px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .data-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { gap: 30px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .container { width: calc(100% - 30px); }
  .nav { height: 62px; gap: 12px; }
  .nav-links { display: none; position: absolute; left: 15px; right: 15px; top: 62px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 12px; flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 9px 10px; }
  .nav-actions { margin-left: auto; }
  .nav-actions .btn-ghost { display: none; }
  .menu-btn { display: block; }
  .hero { padding: 34px 0 20px; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-visual { order: 2; margin-top: 18px; }
  .mock { transform: none; }
  .hero h1 { font-size: 40px; }
  .section { padding: 50px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .price-grid { grid-template-columns: 1fr; }
  .addon-grid { grid-template-columns: 1fr; }
  .data-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .auth-page { padding: 24px 0 50px; }
  .auth-grid { grid-template-columns: 1fr; }
  .auth-aside { padding: 28px; }
  .auth-form { padding: 26px; }
  .download-grid { grid-template-columns: 1fr; }
  .console-grid { grid-template-columns: 1fr; }
  .console-side { position: static; }
  .console-side nav { display: flex; overflow-x: auto; }
  .console-side nav a { white-space: nowrap; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .compare-table { min-width: 760px; }
}
@media (max-width: 520px) {
  .hero h1 { font-size: 34px; }
  .hero-proof { font-size: 11px; }
  .hero-float { right: 4px; bottom: -18px; }
  .data-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .form .row { grid-template-columns: 1fr; }
  .auth-form { padding: 22px 18px; }
  .auth-aside { padding: 22px; }
  .auth-aside h2 { font-size: 28px; }
  .cta-band { padding: 24px 20px; }
  .section-head h2 { font-size: 28px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
}


/* console entitlement rows */
.entitlement-list { gap: 0; margin: 8px 0 14px; }
.entitlement-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 13px; color: #405045; }
.entitlement-list li:last-child { border-bottom: 0; }
.entitlement-list b { width: auto; height: auto; min-width: 0; border-radius: 999px; padding: 3px 10px; background: var(--lime-soft); color: #28412f; font-size: 12px; font-weight: 700; }
.console-grid { grid-template-columns: 300px minmax(0, 1fr); }
@media (max-width: 980px) { .console-grid { grid-template-columns: 1fr; } }

/* admin manual grant */
.stack-form { display: flex; flex-direction: column; gap: 18px; }
.stack-form input:not([type="checkbox"]):not([type="radio"]), .stack-form select { width: 100%; border: 1px solid #d9d2c2; background: #fffdf8; border-radius: 10px; padding: 10px 12px; font-size: 14px; color: var(--ink); outline: none; }
.stack-form input:not([type="checkbox"]):not([type="radio"]):focus, .stack-form select:focus { border-color: #789b43; box-shadow: 0 0 0 3px rgba(120,155,67,.12); }
.stack-form .field > span { display: block; font-size: 12px; font-weight: 700; margin-bottom: 6px; color: #3e4f43; }
.stack-form .check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin: 4px 0 0; }
.stack-form .check-item { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fffdf8; font-size: 13px; cursor: pointer; }
.stack-form .check-item input { flex: none; width: 16px; height: 16px; margin: 0; padding: 0; }
.stack-form .check-item span { line-height: 1.4; }
@media (max-width: 620px) { .stack-form .check-list { grid-template-columns: 1fr; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .field { margin: 0; }
.form-error { margin-bottom: 16px; padding: 12px 14px; border: 1px solid #d9a3a3; border-radius: 10px; background: #fbeeee; color: #8f2f2f; font-size: 13px; }
.notice-inline { padding: 11px 14px; border: 1px dashed var(--line); border-radius: 10px; color: var(--muted); font-size: 12px; background: #fbf8ef; }
.form-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.grant-result { max-width: 860px; }
.grant-check { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--lime-soft); color: #28412f; font-size: 12px; font-weight: 700; }
.grant-result h2 { margin: 14px 0 18px; font-size: 26px; }
.grant-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.grant-grid div { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fbf8ef; }
.grant-grid span { display: block; color: var(--muted); font-size: 11px; margin-bottom: 5px; }
.grant-grid b { font-size: 14px; word-break: break-all; }
.license-key-box { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px; border: 1px solid var(--pine); border-radius: 12px; background: var(--pine); color: #eef6dd; }
.license-key-box span { width: 100%; font-size: 11px; letter-spacing: .1em; color: #b9d0a9; text-transform: uppercase; }
.license-key-box code { font-size: 20px; letter-spacing: .04em; color: var(--lime); word-break: break-all; }
.license-key-box .btn { margin-left: auto; }
@media (max-width: 620px) { .form-grid, .grant-grid { grid-template-columns: 1fr; } }
