/* ============================================================
   TechPioneerHub — design system (dark marketplace theme)
   ============================================================ */
:root {
  --bg: #0a0e1a;
  --bg2: #0f1424;
  --card: #141a2e;
  --card2: #1a2140;
  --border: rgba(255,255,255,.09);
  --text: #eef2fb;
  --muted: #94a3b8;
  --muted2: #64748b;
  --primary: #f9560f;
  --primary2: #ff8a3d;
  --accent: #8b5cf6;
  --success: #22c55e;
  --warn: #f59e0b;
  --danger: #ef4444;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 10px 40px rgba(0,0,0,.45);
  --grad: linear-gradient(135deg, var(--primary), var(--primary2));
  --font: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-head: 'Urbanist', 'Inter Tight', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); background: var(--bg); color: var(--text);
  line-height: 1.6; font-size: 16px; min-height: 100vh;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
h1,h2,h3,h4 { margin: 0 0 .5rem; line-height: 1.15; font-family: var(--font-head); }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1rem; }
.container { width: min(1180px, 92%); margin: 0 auto; }
.narrow { max-width: 760px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 1.15rem; }

/* ---------- Buttons / inputs ---------- */
.btn {
  display: inline-block; text-decoration: none; border: none; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: .95rem; border-radius: 10px;
  padding: .7rem 1.4rem; transition: transform .15s, box-shadow .15s, opacity .15s;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 24px rgba(249,86,15,.4); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); }
.btn-ghost { background: rgba(255,255,255,.06); color: var(--text); }
.btn-light { background: #fff; color: #0a0e1a; }
.btn-danger { background: rgba(239,68,68,.15); color: #fca5a5; border: 1px solid rgba(239,68,68,.3); }
.btn-sm { padding: .45rem .9rem; font-size: .85rem; }
.btn-lg { padding: .9rem 1.8rem; font-size: 1.05rem; }
.btn-block { display: block; width: 100%; margin-top: .6rem; }

input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password],
input[type=search], select, textarea {
  width: 100%; background: var(--bg2); border: 1px solid var(--border); color: var(--text);
  border-radius: 10px; padding: .75rem .9rem; font-family: inherit; font-size: .95rem;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(249,86,15,.22); }
select option { background: var(--bg2); }
textarea { resize: vertical; }
label { display: block; font-weight: 600; font-size: .88rem; margin: 1rem 0 .35rem; color: #cbd5e1; }
.hint { color: var(--muted2); font-size: .8rem; }
.fine-print { color: var(--muted2); font-size: .85rem; margin-top: .8rem; }
code { background: rgba(255,255,255,.08); padding: 2px 7px; border-radius: 6px; font-size: .85em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,14,26,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap { display: flex; align-items: center; gap: 1.5rem; padding: .9rem 0; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 800; font-size: 1.2rem; }
.brand img.logo-img { width: 36px; height: 36px; border-radius: 10px; display: block; flex-shrink: 0; }
.logo-text-wrap { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text { color: #fff; }
body.light .logo-text { color: #0d0d12; }
.logo-slogan { font-size: .58rem; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; color: var(--am-accent2, #ff8a3d); white-space: nowrap; }
.logo-mark {
  background: var(--grad); color: #fff; width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; font-size: .95rem; font-weight: 800;
}
.main-nav { display: flex; gap: 1.4rem; margin-left: auto; }
.main-nav a { text-decoration: none; color: var(--muted); font-weight: 500; }
.main-nav a:hover, .main-nav a.active { color: #fff; }
.nav-actions { display: flex; gap: .6rem; align-items: center; margin-left: auto; }
.main-nav + .nav-actions { margin-left: 0; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }
.theme-toggle {
  background: rgba(127,140,170,.18); border: 1px solid var(--border); border-radius: 10px;
  font-size: 1.05rem; width: 38px; height: 38px; display: grid; place-items: center;
  cursor: pointer; transition: transform .15s;
}
.theme-toggle:hover { transform: scale(1.08); }
.theme-toggle svg { display: block; }
.theme-toggle .ti-sun { display: none; }
body.dark .theme-toggle .ti-sun { display: block; }
body.dark .theme-toggle .ti-moon { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 5rem 0 4rem; overflow: hidden; text-align: center; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(249,86,15,.22), transparent),
    radial-gradient(700px 350px at 80% 10%, rgba(255,138,61,.16), transparent),
    radial-gradient(500px 400px at 50% 100%, rgba(249,86,15,.12), transparent);
  pointer-events: none;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000, transparent);
}
.hero-inner { position: relative; z-index: 1; }
.hero-pill { display: inline-block; background: rgba(249,86,15,.12); border: 1px solid rgba(249,86,15,.35); color: #fdba74; padding: .4rem 1rem; border-radius: 999px; font-size: .85rem; margin-bottom: 1.2rem; }
.hero h1 { max-width: 800px; margin: 0 auto 1rem; }
.hero-sub { color: var(--muted); max-width: 660px; margin: 0 auto 2rem; font-size: 1.1rem; }
.hero-cta { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: 760px; margin: 0 auto; }
.hero-stats > div { background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; }
.hero-stats strong { display: block; font-size: 1.6rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats span { color: var(--muted); font-size: .85rem; }

/* ---------- Sections ---------- */
.section { padding: 4rem 0; }
.section-alt { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.section-head p { color: var(--muted); margin: .3rem 0 0; }
.see-all { color: var(--primary2); text-decoration: none; font-weight: 600; white-space: nowrap; }
.card-cat { color: var(--primary2); }

/* ---------- Cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.cat-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.6rem; text-decoration: none; transition: transform .15s, border-color .15s; }
.cat-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.cat-icon { font-size: 2rem; }
.cat-card h3 { margin: .6rem 0 .3rem; }
.cat-card p { color: var(--muted); font-size: .9rem; min-height: 3.5em; }
.cat-count { color: var(--primary2); font-weight: 600; font-size: .9rem; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.4rem; }
.product-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, border-color .15s, box-shadow .15s; }
.product-card:hover { transform: translateY(-4px); border-color: rgba(249,86,15,.5); box-shadow: var(--shadow); }
.card-media { position: relative; display: block; aspect-ratio: 8/5; overflow: hidden; background: #0b1020; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.2rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card-cat { color: var(--primary2); font-size: .8rem; font-weight: 600; }
.card-body h3 { margin: 0; }
.card-body h3 a { text-decoration: none; }
.card-body h3 a:hover { color: var(--primary2); }
.card-tagline { color: var(--muted); font-size: .9rem; flex: 1; }
.card-meta { display: flex; align-items: center; justify-content: space-between; margin-top: .6rem; }
.card-price strong { font-size: 1.25rem; }
.card-price del { color: var(--muted2); font-size: .85rem; margin-right: .4rem; }
.card-price em { color: var(--muted2); font-style: normal; font-size: .8rem; }
.badge-sale { position: absolute; top: .8rem; right: .8rem; background: var(--danger); color: #fff; font-weight: 700; font-size: .8rem; padding: .3rem .6rem; border-radius: 8px; }
.badge-featured { position: absolute; top: .8rem; left: .8rem; background: rgba(0,0,0,.65); backdrop-filter: blur(4px); color: #fbbf24; font-weight: 700; font-size: .8rem; padding: .3rem .6rem; border-radius: 8px; }

/* ---------- Features / steps ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.feature-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.8rem 1.5rem; }
.feature-ico { font-size: 2.2rem; margin-bottom: .8rem; }
.feature-card h3 { margin-bottom: .4rem; }
.feature-card p { color: var(--muted); font-size: .93rem; margin: 0; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.2rem; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.8rem 1.5rem; position: relative; }
.step-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); font-weight: 800; margin-bottom: .8rem; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Licenses band ---------- */
.license-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; align-items: stretch; }
.license-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem 1.6rem; position: relative; }
.license-featured { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), var(--shadow); transform: scale(1.03); }
.license-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); font-size: .78rem; font-weight: 700; padding: .25rem .9rem; border-radius: 999px; white-space: nowrap; }
.license-price { font-size: 1.8rem; font-weight: 800; margin: .3rem 0 1rem; }
.license-card ul { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.license-card li { padding: .45rem 0; color: var(--muted); border-bottom: 1px solid rgba(255,255,255,.05); font-size: .93rem; }
.license-card li:last-child { border-bottom: none; }

/* ---------- FAQ ---------- */
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: .7rem; overflow: hidden; }
.faq summary { padding: 1.1rem 1.3rem; cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::marker, .faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: '+ '; color: var(--primary2); }
.faq details[open] summary::before { content: '− '; }
.faq details p { padding: 0 1.3rem 1.2rem; color: var(--muted); margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, #4338ca, #0e7490); padding: 3.5rem 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; }
.cta-inner p { color: rgba(255,255,255,.85); margin: 0; }

/* ---------- Footer (Automark-style dark) ---------- */
.site-footer { border-top: 1px solid var(--border); background: #0c0c11; margin-top: 0; color: #b9b9c4; }
.am-footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; padding: 3.5rem 0 2.5rem; }
.am-footer-brand .brand { color: #fff; margin-bottom: .8rem; }
.footer-logo-link { display: inline-block; margin-bottom: .9rem; }
.footer-logo { width: 280px; max-width: 100%; height: auto; display: block; filter: drop-shadow(0 2px 12px rgba(249,86,15,.25)); }
.am-footer-brand p { color: #8e8e9b; margin: 0 0 1.2rem; font-size: .93rem; }
.am-footer-contact { display: flex; flex-direction: column; gap: .5rem; }
.am-footer-contact a { color: #d6d6de; text-decoration: none; font-size: .92rem; }
.am-footer-contact a:hover { color: var(--primary2); }
.am-footer-col h4 { color: #fff; margin-bottom: 1rem; font-size: 1rem; }
.am-footer-col a { display: block; color: #8e8e9b; text-decoration: none; padding: .3rem 0; font-size: .92rem; }
.am-footer-col a:hover { color: #fff; }
.am-footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.3rem 0; border-top: 1px solid rgba(255,255,255,.08); color: #6d6d7a; font-size: .85rem; }
body.light .site-footer { background: #0c0c11; }
body.light .am-footer-col h4 { color: #fff; }

/* ---------- Page head / search / chips ---------- */
.page-head { padding: 2.5rem 0 1.5rem; border-bottom: 1px solid var(--border); background: var(--bg2); }
.page-head p { color: var(--muted); margin: .3rem 0 1.2rem; }
.search-form { display: flex; gap: .6rem; max-width: 560px; margin-bottom: 1.2rem; }
.search-form input { flex: 1; }
.chip-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.chip { background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--muted); padding: .4rem 1rem; border-radius: 999px; text-decoration: none; font-size: .88rem; font-weight: 600; }
.chip:hover { border-color: var(--primary); color: #fff; }
.chip-active { background: var(--grad); color: #fff; border-color: transparent; }
.empty-state { text-align: center; background: var(--card); border: 1px dashed var(--border); border-radius: var(--radius-lg); padding: 4rem 2rem; }
.empty-state a { color: var(--primary2); }

/* ---------- Product detail ---------- */
.crumbs { color: var(--muted2); font-size: .88rem; margin-bottom: 1.2rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.product-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2.5rem; align-items: start; }
.product-head { padding-bottom: 2.5rem; }
.product-hero-media img { border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow); }
.product-hero-info h1 { margin: .5rem 0; }
.tech-badges { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1rem 0; }
.tech-badge { background: rgba(249,86,15,.12); border: 1px solid rgba(249,86,15,.35); color: #fdba74; padding: .3rem .8rem; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.buy-box { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; margin-top: 1.2rem; }
.buy-price strong { font-size: 2rem; }
.buy-price del { color: var(--muted2); margin-right: .5rem; }
.buy-price em { color: var(--muted2); font-size: .85rem; margin-left: .4rem; }
.buy-price small { display: block; color: var(--muted); font-size: .82rem; }
.buy-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1rem 0; }
.buy-perks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.buy-perks li { color: var(--muted); font-size: .85rem; }

.product-cols { display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; align-items: start; }
.product-main h2 { margin: 2rem 0 1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--border); }
.product-main h2:first-child { margin-top: 0; }
.prose { color: #c3cdda; white-space: pre-line; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.feature-list li { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: .7rem 1rem; }
.included-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.included-grid div { background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.25); border-radius: 10px; padding: .8rem 1rem; font-size: .92rem; }
.card-box { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.8rem; }
.side-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; display: flex; flex-direction: column; gap: .55rem; position: sticky; top: 90px; }
.plan-row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: .7rem .9rem; }
.plan-row strong { display: block; }
.plan-row span { color: var(--muted); font-size: .85rem; }
.plan-single { justify-content: flex-start; }
.side-trust { display: flex; flex-direction: column; gap: .3rem; color: var(--muted2); font-size: .82rem; margin-top: .5rem; }

/* ---------- Checkout ---------- */
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; align-items: start; }
.checkout-form h2, .checkout-summary h2 { margin-bottom: .5rem; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .9rem; }
.sum-item { display: flex; gap: .9rem; align-items: center; margin-bottom: 1rem; }
.sum-item img { width: 84px; height: 54px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); }
.sum-line { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-top: 1px solid rgba(255,255,255,.06); }
.alert { border-radius: 10px; padding: .9rem 1.1rem; margin: 1rem 0; }
.alert p { margin: 0; }
.alert-error { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.35); }
.alert-success, .alert-ok { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.35); }
.alert-info { background: rgba(34,211,238,.08); border: 1px solid rgba(34,211,238,.3); }

/* ---------- Success ---------- */
.success-card { text-align: center; max-width: 640px; margin: 0 auto; }
.success-ico { font-size: 3.5rem; }
.ref-box { background: var(--bg2); border: 1px dashed rgba(249,86,15,.5); border-radius: 10px; padding: .8rem; margin: 1rem 0 1.5rem; color: var(--muted); }
.ref-box strong { color: #fff; font-size: 1.15rem; }
.pay-options { display: flex; gap: .6rem; flex-wrap: wrap; margin: .8rem 0; }
.next-steps { text-align: left; margin: 1.5rem 0; }
.next-steps ol { margin: .5rem 0; padding-left: 1.3rem; color: var(--muted); }
.success-actions { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }

/* ---------- Contact / about ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items: start; }
.contact-side .side-card { position: static; }
.contact-card { gap: .8rem; }
.cc-row { display: flex; align-items: center; gap: .85rem; background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; padding: .8rem .95rem; text-decoration: none; transition: transform .15s, border-color .15s; }
.cc-row:hover { transform: translateY(-2px); border-color: var(--primary); }
.cc-ico { width: 44px; height: 44px; border-radius: 13px; background: rgba(249,86,15,.13); display: grid; place-items: center; font-size: 1.3rem; flex-shrink: 0; }
.cc-text { display: flex; flex-direction: column; min-width: 0; }
.cc-text small { color: var(--muted); font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.cc-text strong { font-size: .95rem; word-break: break-all; }
.about-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 2.5rem; }
.about-stats > div { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; text-align: center; }
.about-stats strong { display: block; font-size: 2rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about-stats span { color: var(--muted); font-size: .9rem; }
.about-cols { display: grid; grid-template-columns: 1fr 340px; gap: 2.5rem; align-items: start; }
.about-cols ul { color: #c3cdda; }
.about-cols li { margin-bottom: .8rem; }

/* ---------- Data tables (public: SEO bot etc.) ---------- */
.data-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.data-table th, .data-table td { text-align: left; padding: .65rem .7rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.data-table th { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; }
.data-table small { color: var(--muted); }
.sev { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font-size: .74rem; font-weight: 700; }
.sev-high { background: rgba(239,68,68,.14); color: #f87171; }
.sev-medium { background: rgba(245,158,11,.16); color: #fbbf24; }
.sev-low { background: rgba(148,163,184,.16); color: #94a3b8; }
body.light .sev-high { color: #b91c1c; }
body.light .sev-medium { color: #b45309; }
body.light .sev-low { color: #64748b; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .product-hero, .product-cols, .checkout-grid, .contact-grid, .about-cols { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .am-footer-top { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg2); border-bottom: 1px solid var(--border); padding: .5rem 4%; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .8rem 0; border-top: 1px solid rgba(255,255,255,.06); }
  .nav-toggle { display: block; }
  .nav-actions { margin-left: auto; }
  .form-2col { grid-template-columns: 1fr; }
  .am-footer-top { grid-template-columns: 1fr; }
  .license-featured { transform: none; }
  .search-form { flex-direction: column; }
}
