:root {
  --bg: #0b0d12; --bg2: #12151d; --card: #161a24; --card2: #1b2030; --line: #262c3c; --line2: #343c52;
  --fg: #e8ebf2; --dim: #8e96aa; --acc: #7c5cff; --acc2: #22d3ee;
  --ok: #22c55e; --warn: #f5a524; --bad: #f05252; --r: 14px;
  --pad: max(16px, env(safe-area-inset-left));
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--fg);
  font: 15px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Inter, sans-serif;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; display: block; }
a { color: var(--acc2); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; border-radius: 6px; }
h1 { font-size: clamp(26px, 4vw, 36px); line-height: 1.15; margin: 28px 0 12px; letter-spacing: -.02em; }
h2 { font-size: 20px; margin: 32px 0 14px; letter-spacing: -.01em; }
h3 { margin: 0 0 4px; font-size: 16px; }
code { font: 13px/1.5 ui-monospace, "SF Mono", Menlo, monospace; background: var(--bg2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 5px; }
pre { background: var(--bg2); border: 1px solid var(--line); border-radius: 12px; padding: 14px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
pre code { background: none; border: 0; padding: 0; white-space: pre; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: var(--pad); padding-right: max(16px, env(safe-area-inset-right)); }
main.wrap { flex: 1 0 auto; padding-bottom: 24px; }
.dim { color: var(--dim); } .small { font-size: 13px; } .warn { color: var(--warn); } .danger { color: var(--bad) !important; }
.center { text-align: center; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.hidden { display: none !important; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--acc); color: #fff; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.top {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 20;
  background: rgba(11, 13, 18, .82);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
}
.nav { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.logo { font-weight: 800; font-size: 19px; color: var(--fg); display: flex; align-items: center; gap: 9px; white-space: nowrap; letter-spacing: -.02em; }
.logo:hover { text-decoration: none; }
.logo .dim { font-weight: 600; }
.logo-mark { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--acc), var(--acc2)); color: #fff; font-size: 14px; flex: none; }
.search { flex: 1; max-width: 420px; }
.links { display: flex; align-items: center; gap: 18px; margin-left: auto; white-space: nowrap; }
.links a:not(.btn), .nav-link { color: var(--fg); opacity: .85; transition: opacity .15s; }
.links a:not(.btn):hover, .nav-link:hover { opacity: 1; text-decoration: none; }
.links a.on { opacity: 1; color: var(--acc2); }
.inline { display: inline; margin: 0; }

/* ---------- Form controls (normalised for Safari) ---------- */
input, select, textarea, button { font: inherit; color: inherit; }
input[type="text"], input[type="search"], input[type="email"], input[type="password"], input[type="url"], input:not([type]), select, textarea {
  -webkit-appearance: none; appearance: none; width: 100%;
  background: var(--bg2); border: 1px solid var(--line); color: var(--fg); border-radius: 10px;
  padding: 11px 12px; font-size: 16px; line-height: 1.3; /* 16px stops iPhone Safari from zooming in */
  transition: border-color .15s, box-shadow .15s;
}
input::placeholder, textarea::placeholder { color: #6b7387; opacity: 1; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 3px rgba(124, 92, 255, .25); }
input:disabled { opacity: .6; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
select {
  padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238e96aa' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
}
textarea { resize: vertical; min-height: 96px; }
input[type="checkbox"] { width: 22px; height: 22px; flex: none; margin: 0; accent-color: var(--acc); cursor: pointer; }
.field-error { color: #ff8a8a; font-size: 13px; font-weight: 500; margin-top: -2px; }
.form .invalid { border-color: var(--bad) !important; box-shadow: 0 0 0 3px rgba(240, 82, 82, .2); }

/* ---------- Buttons ---------- */
.btn {
  -webkit-appearance: none; appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: linear-gradient(135deg, var(--acc), #5b8cff); color: #fff !important; border: 0; border-radius: 10px;
  padding: 11px 18px; font-weight: 600; font-size: 15px; line-height: 1.2; cursor: pointer; white-space: nowrap; text-decoration: none !important;
  transition: transform .12s var(--ease), filter .15s, box-shadow .15s; box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 6px 18px -8px rgba(124, 92, 255, .6);
  touch-action: manipulation; min-height: 44px;
}
.btn:active { transform: scale(.97); }
.btn.sm { padding: 7px 12px; font-size: 13px; border-radius: 9px; min-height: 34px; }
.btn.wide { width: 100%; }
.btn.ghost { background: transparent; border: 1px solid var(--line2); box-shadow: none; color: var(--fg) !important; }
.btn.ghost.danger { color: var(--bad) !important; border-color: rgba(240, 82, 82, .4); }
.btn.ok-btn { background: var(--ok); box-shadow: none; }
.btn.danger-btn { background: var(--bad); box-shadow: none; }
@media (hover: hover) {
  .btn:hover { filter: brightness(1.1); }
  .btn.ghost:hover { background: var(--card2); filter: none; }
}
.linklike { -webkit-appearance: none; appearance: none; background: none; border: 0; color: var(--acc2); cursor: pointer; padding: 0; font-size: inherit; }
.linklike:hover { text-decoration: underline; }

/* ---------- Home ---------- */
.hero { text-align: center; padding: 64px 0 28px; }
.hero h1 { font-size: clamp(34px, 6.4vw, 62px); max-width: 920px; margin: 0 auto 18px; letter-spacing: -.035em; line-height: 1.05; }
.grad { background: linear-gradient(90deg, var(--acc), var(--acc2)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.lead { color: var(--dim); font-size: 17px; max-width: 660px; margin: 0 auto 16px; }
.lead.left { margin-left: 0; text-align: left; }
.hero-search { display: flex; gap: 8px; max-width: 620px; margin: 28px auto 16px; }
.hero-search input { min-height: 48px; }
.hero-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 8px; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; color: var(--fg); font-size: 14px; background: var(--bg2); white-space: nowrap; transition: border-color .15s, background .15s; }
.chip:hover { border-color: var(--acc); text-decoration: none; }
.chip.on { border-color: var(--acc); background: rgba(124, 92, 255, .16); }

.row-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.row-h h1, .row-h h2 { margin-bottom: 14px; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; color: var(--fg);
  display: flex; flex-direction: column; transition: transform .2s var(--ease), border-color .2s, box-shadow .2s;
  -webkit-transform: translateZ(0); /* keeps Safari from flickering on hover */
}
.card:hover { text-decoration: none; }
@media (hover: hover) { .card:hover { transform: translateY(-3px); border-color: var(--line2); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .7); } }
.card:active { transform: scale(.99); }
.card-media { position: relative; aspect-ratio: 16 / 10; background: var(--bg2); overflow: hidden; }
@supports not (aspect-ratio: 1) { .card-media { height: 0; padding-top: 62.5%; } .card-media > * { position: absolute; inset: 0; } }
.card-media img, .card-media .ph { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.ph { display: grid; place-items: center; font-size: 44px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #2a1f66, #0e4b5a); }
.ph.big { font-size: 96px; border-radius: var(--r); aspect-ratio: 16 / 10; width: 100%; }
.ph.small-ph { font-size: 13px; font-weight: 500; color: var(--dim); background: var(--bg2); aspect-ratio: 16 / 10; border-radius: 10px; }
.card-b { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-b h3 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-b p { margin: 0; color: var(--dim); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meta { display: flex; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 4px; font-size: 13px; color: var(--dim); }
.price { color: var(--fg); font-weight: 700; }
.price.big { font-size: 28px; margin: 10px 0 14px; }

.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; border: 1px solid var(--line2); border-radius: 999px; padding: 2px 9px; color: var(--fg); background: var(--bg2); white-space: nowrap; line-height: 1.5; }
.badge.boost { border-color: rgba(245, 165, 36, .5); color: var(--warn); }
.badge.verified { border-color: rgba(34, 197, 94, .5); color: var(--ok); }
.badge.trusted { border-color: rgba(34, 211, 238, .5); color: var(--acc2); }
.badge.agent { border-color: rgba(124, 92, 255, .55); color: #b4a3ff; }
.badge.on-img { position: absolute; top: 10px; left: 10px; background: rgba(11, 13, 18, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.st { font-size: 13px; font-weight: 600; white-space: nowrap; }
.st.ok { color: var(--ok); } .st.wait { color: var(--warn); } .st.bad { color: var(--bad); }
.stars { color: var(--warn); letter-spacing: 1px; white-space: nowrap; } .stars .off { color: var(--line2); }

.empty { color: var(--dim); padding: 40px 20px; text-align: center; border: 1px dashed var(--line2); border-radius: var(--r); line-height: 2; }
.empty .btn { margin-top: 8px; }
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 56px 0 16px; }
.how > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.how p { color: var(--dim); margin: 0; }
.how-i { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(124, 92, 255, .18); color: #b4a3ff; font-weight: 800; margin-bottom: 10px; }
.trust-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 16px 0 24px; }
.trust-strip > div { background: var(--bg2); padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.trust-strip span { color: var(--dim); font-size: 13px; }
.pager { display: flex; justify-content: center; gap: 12px; margin: 28px 0; }
.crumbs { font-size: 13px; color: var(--dim); margin-top: 20px; }
.crumbs a { color: var(--dim); }

/* ---------- Listing ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px; margin-top: 14px; align-items: start; }
.detail-media img { width: 100%; border-radius: var(--r); border: 1px solid var(--line); aspect-ratio: 16 / 10; object-fit: cover; background: var(--bg2); }
.detail-info h1 { margin: 0 0 8px; overflow-wrap: anywhere; }
.detail-info .lead { margin-bottom: 8px; font-size: 16px; }
.rating-line { display: inline-flex; gap: 8px; align-items: center; color: var(--fg); font-size: 14px; }
.detail-info .row-actions { margin-top: 12px; }
.seller-box { display: flex; gap: 12px; align-items: center; margin-top: 22px; padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); color: var(--fg); transition: border-color .15s; }
.seller-box:hover { text-decoration: none; border-color: var(--line2); }
.seller-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.avatar { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: linear-gradient(135deg, #3b2f86, #155e6e); color: #fff; font-weight: 700; font-size: 16px; }
.avatar.bot { background: linear-gradient(135deg, #3a2a8c, #6d28d9); }
.avatar.big { width: 76px; height: 76px; font-size: 32px; }
.review-h .avatar { width: 28px; height: 28px; font-size: 13px; }
.desc { max-width: 780px; }
.desc p { white-space: pre-line; overflow-wrap: anywhere; color: #d3d8e4; }
.reviews { max-width: 780px; }
.review-form { margin-bottom: 18px; }
.review-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.review-list li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.review-list p { margin: 8px 0 0; white-space: pre-line; overflow-wrap: anywhere; }
.review-h { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.report { margin: 32px 0 8px; color: var(--dim); }
.report summary { cursor: pointer; list-style: none; display: inline-block; font-size: 14px; }
.report summary::-webkit-details-marker { display: none; }
.report-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; max-width: 520px; }
.report-form select { flex: 1; min-width: 200px; }

/* ---------- Profile ---------- */
.profile-h { display: flex; gap: 20px; align-items: center; margin: 28px 0 8px; }
.profile-h h1 { margin: 0 0 6px; }
.profile-h p { margin: 8px 0 0; }
.about { white-space: pre-line; max-width: 640px; }

/* ---------- Forms ---------- */
.form-wrap { max-width: 720px; margin: 0 auto 40px; }
.form-wrap.narrow { max-width: 440px; }
.form { display: flex; flex-direction: column; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.form label { display: flex; flex-direction: column; gap: 7px; font-weight: 600; font-size: 14px; }
.form label.check { flex-direction: row; align-items: center; gap: 10px; font-weight: 400; cursor: pointer; }
.form-h { font-size: 16px; margin: 8px 0 -4px; padding-top: 14px; border-top: 1px solid var(--line); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pw { position: relative; display: block; }
.pw input { padding-right: 64px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--acc2); font-size: 13px; font-weight: 600; padding: 8px; cursor: pointer; }
.rules { color: var(--dim); background: var(--bg2); border-radius: 10px; padding: 10px 12px; margin: 0; }
.alert { background: rgba(240, 82, 82, .1); border: 1px solid rgba(240, 82, 82, .55); border-radius: 12px; padding: 12px 14px; margin: 14px 0; }
.notice { background: rgba(34, 211, 238, .08); border: 1px solid rgba(34, 211, 238, .45); border-radius: 12px; padding: 12px 14px; margin: 14px 0; }
.search-inline { display: flex; gap: 8px; max-width: 520px; margin: 0 0 6px; }
.search-inline .btn { min-height: 44px; }

/* ---------- Dashboard ---------- */
.dash-list { display: flex; flex-direction: column; gap: 12px; }
.dash-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; }
.dash-thumb { width: 96px; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, #2a1f66, #0e4b5a); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 26px; }
.dash-thumb:hover { text-decoration: none; }
.dash-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dash-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dash-title { color: var(--fg); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.boost-btns { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- Tables (admin) ---------- */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th, .tbl td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl th { color: var(--dim); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.actions { white-space: nowrap; }
.actions form, .actions > * { margin: 2px 6px 2px 0; }
.tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin-bottom: 22px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { padding: 10px 0; color: var(--dim); white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--fg); text-decoration: none; }
.tabs a.on { color: var(--fg); border-bottom-color: var(--acc); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.stats > * { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; color: var(--fg); transition: border-color .15s; }
.stats a:hover { text-decoration: none; border-color: var(--line2); }
.stats .hot { border-color: rgba(245, 165, 36, .6); }
.stats .hot b { color: var(--warn); }
.stats b { font-size: 28px; letter-spacing: -.02em; }
.stats span { color: var(--dim); font-size: 13px; }
.queue { display: flex; flex-direction: column; gap: 16px; }
.q-item { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.q-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; background: var(--bg2); }
.q-body h3 { font-size: 18px; }
.q-tag { margin: 0 0 6px; color: #c9cedb; }
.q-desc { white-space: pre-line; background: var(--bg2); border-radius: 10px; padding: 10px 12px; margin: 10px 0; max-height: 220px; overflow: auto; font-size: 14px; overflow-wrap: anywhere; }
.q-link { overflow-wrap: anywhere; }
.q-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; align-items: center; }
.reject-form { display: flex; gap: 8px; flex: 1; min-width: 260px; }
.reject-form select { padding-top: 7px; padding-bottom: 7px; font-size: 14px; }

/* ---------- Prose / footer ---------- */
.prose { max-width: 760px; }
.prose.wide { max-width: 900px; }
.prose p, .prose li { color: #cdd2de; }
.prose li { margin-bottom: 8px; }
.foot { flex-shrink: 0; border-top: 1px solid var(--line); margin-top: 48px; padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot p { margin: 4px 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .search { display: none; }
  .q-item { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .detail { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .dash-item { grid-template-columns: 72px minmax(0, 1fr); }
  .dash-thumb { width: 72px; }
  .dash-actions { grid-column: 1 / -1; align-items: stretch; }
  .boost-btns { justify-content: flex-start; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .nav { flex-wrap: wrap; gap: 6px 10px; padding-top: 10px; padding-bottom: 10px; min-height: 0; }
  .links { width: 100%; margin: 0; gap: 4px 14px; font-size: 14px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px; }
  .links::-webkit-scrollbar { display: none; }
  .links .btn.sm { order: -1; }
  .hero { padding: 32px 0 16px; }
  .hero-search { flex-direction: column; }
  .hero-cta .btn { flex: 1 1 100%; }
  .chips.scroll { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-left: calc(-1 * var(--pad)); margin-right: -16px; padding: 0 16px 4px var(--pad); }
  .chips.scroll::-webkit-scrollbar { display: none; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .card-b { padding: 11px; }
  .card-b h3 { font-size: 15px; }
  .card-b p { font-size: 13px; }
  .two { grid-template-columns: 1fr; }
  .form { padding: 16px; }
  .profile-h { flex-direction: column; align-items: flex-start; gap: 12px; }
  .detail-info .btn.wide { min-height: 50px; }
  .foot-in { flex-direction: column; }
}
@media (max-width: 360px) { .grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---------- Plans ---------- */
.plan-box { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin: 4px 0 18px; }
.plan-main { display: flex; flex-direction: column; gap: 6px; min-width: 220px; flex: 1; }
.meter { -webkit-appearance: none; appearance: none; width: 100%; max-width: 360px; height: 8px; border: 0; border-radius: 999px; background: var(--bg2); overflow: hidden; }
.meter::-webkit-progress-bar { background: var(--bg2); border-radius: 999px; }
.meter::-webkit-progress-value { background: linear-gradient(90deg, var(--acc), var(--acc2)); border-radius: 999px; }
.meter::-moz-progress-bar { background: linear-gradient(90deg, var(--acc), var(--acc2)); border-radius: 999px; }
.small-hero { padding: 40px 0 8px; }
.small-hero h1 { font-size: clamp(30px, 5vw, 44px); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; max-width: 760px; margin: 16px auto 8px; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.plan.featured { border-color: rgba(124, 92, 255, .7); box-shadow: 0 18px 50px -24px rgba(124, 92, 255, .7); }
.plan h2 { margin: 0; }
.plan-tag { position: absolute; top: 18px; right: 18px; }
.plan-price { font-size: 40px; font-weight: 800; letter-spacing: -.03em; }
.plan-price span { font-size: 15px; font-weight: 500; color: var(--dim); }
.plan ul { padding-left: 18px; margin: 6px 0 16px; color: #cdd2de; flex: 1; }
.plan li { margin-bottom: 6px; }
.faq { margin: 24px auto 0; }
.ai-tag { display: inline-block; font-size: 13px; font-weight: 600; border-radius: 8px; padding: 4px 10px; margin-bottom: 8px; background: var(--bg2); color: var(--dim); }
.ai-tag.safe { color: var(--ok); background: rgba(34, 197, 94, .1); }
.ai-tag.flagged { color: var(--bad); background: rgba(240, 82, 82, .12); }
.ai-tag.error { color: var(--warn); background: rgba(245, 165, 36, .1); }
.btn.google { background: #fff; color: #1f1f1f !important; box-shadow: none; border: 1px solid #dadce0; }
@media (hover: hover) { .btn.google:hover { filter: none; background: #f2f2f2; } }
.btn.facebook { background: #1877f2; color: #fff !important; box-shadow: none; border: 1px solid #1877f2; }
@media (hover: hover) { .btn.facebook:hover { filter: none; background: #166fe5; } }
.social { display: grid; gap: 10px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 13px; margin: 16px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.plans.three { max-width: 1100px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.plan-form { display: flex; flex-direction: column; gap: 10px; }
.plan-form select { font-size: 15px; }
.qty { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; }
.qty input { width: 90px; text-align: center; }
.plan-box.ended { border-color: rgba(245, 165, 36, .6); }
.big-form { margin: 18px 0 10px; }
.big-form .btn { width: 100%; min-height: 50px; font-size: 16px; }
.badge.biz { border-color: rgba(34, 211, 238, .5); color: var(--acc2); }
.eyebrow { display: inline-block; margin: 0 0 14px; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(124, 92, 255, .5); background: rgba(124, 92, 255, .12); color: #c4b6ff; font-size: 13px; font-weight: 600; }
.plans.four { max-width: 1200px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
