/* ============================================================
   VanishBG — UI stylesheet
   Dark, modern SaaS aesthetic. No frameworks, no build step.
   ============================================================ */

:root {
  --bg: #07070c;
  --bg-soft: #0d0d16;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f2f3f8;
  --text-dim: #a2a6b8;
  --text-faint: #6d7183;
  --accent: #7c5cff;
  --accent-2: #22d3ee;
  --accent-grad: linear-gradient(100deg, #7c5cff 0%, #b447ff 50%, #22d3ee 100%);
  --success: #34d399;
  --danger: #f87171;
  --warning: #fbbf24;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(124, 92, 255, 0.16), transparent 60%),
    radial-gradient(50rem 26rem at 5% 0%, rgba(34, 211, 238, 0.10), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* svg icon helper */
.ic { vertical-align: -0.18em; fill: currentColor; }

/* ---------- typography ---------- */
h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.grad-text {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.muted { color: var(--text-dim); }
.small { font-size: 0.85rem; }
.center { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--panel-strong);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease, opacity 0.15s;
  white-space: nowrap;
}
.btn:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--border-strong); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary {
  background: var(--accent-grad);
  border: none;
  color: #fff;
  box-shadow: 0 8px 30px rgba(124, 92, 255, 0.35);
}
.btn-primary:hover { background: var(--accent-grad); filter: brightness(1.1); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-dim); }
.btn-ghost:hover { color: var(--text); background: var(--panel-strong); }
.btn-danger { border-color: rgba(248, 113, 113, 0.4); color: var(--danger); background: transparent; }
.btn-danger:hover { background: rgba(248, 113, 113, 0.08); }
.btn-lg { padding: 14px 26px; font-size: 1.05rem; border-radius: 12px; }
.btn-sm { padding: 6px 12px; font-size: 0.85rem; border-radius: 8px; }
.btn-block { width: 100%; }

/* ---------- badges / chips ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text-dim);
  background: var(--panel);
}
.chip-accent { color: #c4b5fd; border-color: rgba(124, 92, 255, 0.45); background: rgba(124, 92, 255, 0.12); }
.chip-success { color: var(--success); border-color: rgba(52, 211, 153, 0.4); background: rgba(52, 211, 153, 0.1); }
.chip-warning { color: var(--warning); border-color: rgba(251, 191, 36, 0.4); background: rgba(251, 191, 36, 0.1); }
.chip-danger { color: var(--danger); border-color: rgba(248, 113, 113, 0.4); background: rgba(248, 113, 113, 0.1); }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 7, 12, 0.75);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 26px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand svg { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 20px; margin-left: 8px; }
.nav-links a { color: var(--text-dim); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-user { color: var(--text-dim); font-size: 0.9rem; }

/* ---------- hero ---------- */
.hero { padding: 96px 0 70px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 20px; }
.hero p.lead { font-size: 1.15rem; color: var(--text-dim); margin-bottom: 30px; max-width: 33rem; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-proof { margin-top: 26px; display: flex; gap: 18px; flex-wrap: wrap; color: var(--text-faint); font-size: 0.88rem; }
.hero-proof span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- compare slider ---------- */
.compare {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  user-select: none;
  touch-action: none;
  background: #101018;
}
.compare img { width: 100%; height: auto; pointer-events: none; }
.compare .after-wrap {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  background-color: #101018;
  background-image:
    linear-gradient(45deg, #1c1c28 25%, transparent 25%),
    linear-gradient(-45deg, #1c1c28 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #1c1c28 75%),
    linear-gradient(-45deg, transparent 75%, #1c1c28 75%);
  background-size: 22px 22px;
  background-position: 0 0, 0 11px, 11px -11px, -11px 0;
}
.compare .after-wrap img { position: absolute; top: 0; right: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #fff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.7);
  cursor: ew-resize;
}
.compare .handle::after {
  content: "⇔";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 19px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.compare .tag {
  position: absolute;
  bottom: 12px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}
.compare .tag-before { left: 12px; }
.compare .tag-after { right: 12px; }

/* ---------- sections ---------- */
.section { padding: 78px 0; }
.section-head { max-width: 640px; margin: 0 auto 46px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 12px; }
.section-head p { color: var(--text-dim); font-size: 1.05rem; }

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

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card p { color: var(--text-dim); font-size: 0.94rem; }
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: rgba(124, 92, 255, 0.14);
  border: 1px solid rgba(124, 92, 255, 0.3);
  margin-bottom: 14px;
}

.steps { counter-reset: step; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step::before {
  counter-increment: step;
  content: counter(step);
  flex: 0 0 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- pricing ---------- */
.pricing-toggle { display: flex; justify-content: center; margin-bottom: 36px; }
.toggle-pill {
  display: inline-flex;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}
.toggle-pill button {
  border: none;
  background: transparent;
  color: var(--text-dim);
  padding: 8px 20px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}
.toggle-pill button.on { background: var(--accent-grad); color: #fff; }

.plan-card { display: flex; flex-direction: column; position: relative; }
.plan-card.highlight { border-color: rgba(124, 92, 255, 0.55); background: linear-gradient(180deg, rgba(124, 92, 255, 0.1), rgba(124, 92, 255, 0.02)); }
.plan-pop {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent-grad);
  color: #fff;
  border-radius: 999px;
  padding: 4px 14px;
}
.plan-price { font-size: 2.5rem; font-weight: 800; margin: 10px 0 2px; }
.plan-price small { font-size: 0.95rem; color: var(--text-faint); font-weight: 500; }
.plan-features { list-style: none; margin: 18px 0 22px; flex: 1; }
.plan-features li { padding: 6px 0; color: var(--text-dim); font-size: 0.93rem; display: flex; gap: 9px; align-items: baseline; }
.plan-features li::before { content: "✓"; color: var(--success); font-weight: 700; }
.plan-note { font-size: 0.82rem; color: var(--text-faint); margin-top: 10px; text-align: center; }

/* ---------- FAQ ---------- */
details.faq {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 18px 22px;
  margin-bottom: 12px;
}
details.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::after { content: "+"; color: var(--text-faint); font-weight: 700; }
details.faq[open] summary::after { content: "–"; }
details.faq p { color: var(--text-dim); margin-top: 10px; font-size: 0.95rem; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); margin-top: 40px; padding: 40px 0 30px; color: var(--text-faint); }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer a { color: var(--text-dim); }
.footer a:hover { color: var(--text); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 0.9rem; }
.footer-bottom { margin-top: 26px; font-size: 0.82rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- flash alerts ---------- */
.alert {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.92rem;
  margin-bottom: 18px;
  border: 1px solid;
}
.alert-error { border-color: rgba(248, 113, 113, 0.45); background: rgba(248, 113, 113, 0.08); color: #fecaca; }
.alert-notice { border-color: rgba(52, 211, 153, 0.45); background: rgba(52, 211, 153, 0.08); color: #bbf7d0; }
.alert-info { border-color: rgba(124, 92, 255, 0.45); background: rgba(124, 92, 255, 0.08); color: #ddd6fe; }

/* ---------- auth pages ---------- */
.auth-wrap { min-height: calc(100vh - 64px); display: flex; align-items: center; justify-content: center; padding: 50px 20px; }
.auth-card { width: 100%; max-width: 420px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 1.5rem; margin-bottom: 6px; }
.auth-card .sub { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 26px; }
.auth-alt { margin-top: 20px; text-align: center; color: var(--text-dim); font-size: 0.92rem; }
.auth-alt a { color: var(--accent); font-weight: 600; }

/* ---------- forms ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 6px; color: var(--text-dim); }
.input, select.input, textarea.input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.22); }
.input::placeholder { color: var(--text-faint); }
select.input option { background: #14141e; }
.form-row { display: flex; gap: 14px; }
.form-row .field { flex: 1; }
code.inline { font-family: var(--mono); font-size: 0.85em; background: rgba(255, 255, 255, 0.08); padding: 2px 7px; border-radius: 6px; }

/* ---------- app shell ---------- */
.app { display: grid; grid-template-columns: 232px 1fr; min-height: calc(100vh - 64px); }
.sidebar {
  border-right: 1px solid var(--border);
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.side-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.94rem;
}
.side-link:hover { background: var(--panel-strong); color: var(--text); }
.side-link.on { background: rgba(124, 92, 255, 0.14); color: var(--text); border: 1px solid rgba(124, 92, 255, 0.35); }
.side-spacer { flex: 1; }
.side-credits {
  margin: 10px 6px 0;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel);
  font-size: 0.85rem;
  color: var(--text-dim);
}
.side-credits b { color: var(--text); font-size: 1.15rem; display: block; }
.credits-bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); margin-top: 9px; overflow: hidden; }
.credits-bar i { display: block; height: 100%; background: var(--accent-grad); border-radius: 99px; }

.app-main { padding: 34px 40px 60px; max-width: 1080px; width: 100%; margin: 0 auto; min-width: 0; }
.app-main > h1 { font-size: 1.65rem; margin-bottom: 4px; }
.app-sub { color: var(--text-dim); margin-bottom: 28px; font-size: 0.97rem; }

/* ---------- dropzone / uploader ---------- */
.dropzone {
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 54px 30px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  background: var(--panel);
}
.dropzone:hover, .dropzone.drag { border-color: var(--accent); background: rgba(124, 92, 255, 0.07); }
.dropzone .dz-icon { font-size: 2.6rem; margin-bottom: 12px; }
.dropzone h3 { margin-bottom: 6px; }
.dropzone p { color: var(--text-faint); font-size: 0.9rem; }

.uploader-options { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 16px; }
.uploader-options .field { margin: 0; }
.uploader-options select { width: auto; }

.progress-shell { margin-top: 14px; display: none; }
.progress-shell.on { display: block; }
.progress-track { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.progress-track i { display: block; height: 100%; width: 38%; background: var(--accent-grad); border-radius: 99px; animation: slide 1.1s ease-in-out infinite alternate; }
@keyframes slide { from { margin-left: 0; } to { margin-left: 62%; } }
.progress-label { font-size: 0.88rem; color: var(--text-dim); margin-top: 8px; }

.result-panel { display: none; margin-top: 26px; }
.result-panel.on { display: block; }
.result-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.result-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.demo-banner {
  border: 1px solid rgba(251, 191, 36, 0.45);
  background: rgba(251, 191, 36, 0.07);
  color: #fde68a;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.recent-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 14px; }
.recent-thumb {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 1;
  background-image:
    linear-gradient(45deg, #15151f 25%, transparent 25%),
    linear-gradient(-45deg, #15151f 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #15151f 75%),
    linear-gradient(-45deg, transparent 75%, #15151f 75%);
  background-size: 14px 14px;
  background-position: 0 0, 0 7px, 7px -7px, -7px 0;
}
.recent-thumb img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- history grid ---------- */
.history-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.history-item { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--panel); cursor: pointer; transition: transform 0.12s, border-color 0.12s; }
.history-item:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.history-item .hi-img { aspect-ratio: 1; display: block; background-image:
  linear-gradient(45deg, #15151f 25%, transparent 25%), linear-gradient(-45deg, #15151f 25%, transparent 25%),
  linear-gradient(45deg, transparent 75%, #15151f 75%), linear-gradient(-45deg, transparent 75%, #15151f 75%);
  background-size: 14px 14px; background-position: 0 0, 0 7px, 7px -7px, -7px 0; }
.history-item .hi-img img { width: 100%; height: 100%; object-fit: contain; }
.history-item .hi-meta { padding: 10px 12px; font-size: 0.8rem; color: var(--text-dim); display: flex; justify-content: space-between; gap: 8px; }
.history-item .hi-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.empty-state { text-align: center; padding: 70px 20px; color: var(--text-faint); }
.empty-state .big { font-size: 2.4rem; margin-bottom: 10px; }

/* ---------- modal ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-backdrop.on { display: flex; }
.modal {
  width: min(760px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 12px; }
.modal-head h3 { font-size: 1.1rem; }

/* ---------- tables ---------- */
.table-wrap { border: 1px solid var(--border); border-radius: var(--radius); overflow: auto; background: var(--panel); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.tbl th { text-align: left; padding: 12px 16px; color: var(--text-faint); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid var(--border); }
.tbl td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text-dim); }
.tbl tr:last-child td { border-bottom: none; }
.tbl td b { color: var(--text); font-weight: 600; }

/* ---------- stats cards ---------- */
.stat-card { padding: 20px 22px; }
.stat-card .v { font-size: 1.7rem; font-weight: 800; }
.stat-card .l { color: var(--text-faint); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- API docs ---------- */
.code-block {
  background: #0b0b13;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  font-family: var(--mono);
  font-size: 0.85rem;
  overflow: auto;
  line-height: 1.55;
  color: #d8dbe6;
  white-space: pre;
}
.code-block .c { color: #6d7183; }
.code-block .k { color: #c4b5fd; }
.code-block .s { color: #86efac; }

/* ---------- misc ---------- */
.page-pad { padding: 60px 0 90px; }
.kv { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: 0.93rem; }
.kv:last-child { border-bottom: none; }
.kv .k { color: var(--text-faint); }
.divider { height: 1px; background: var(--border); margin: 30px 0; }
.inline-form { display: inline; }
.apikey-box { display: flex; gap: 10px; align-items: center; }
.apikey-box code { flex: 1; font-family: var(--mono); background: rgba(0, 0, 0, 0.4); border: 1px solid var(--border-strong); border-radius: 8px; padding: 10px 14px; font-size: 0.85rem; overflow: auto; white-space: nowrap; }

.copy-ok { color: var(--success); font-size: 0.8rem; opacity: 0; transition: opacity 0.2s; }
.copy-ok.on { opacity: 1; }

/* toast */
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #17171f;
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.92rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 200;
  box-shadow: var(--shadow);
}
#toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .app { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .app-main { padding: 24px 18px 60px; }
  .recent-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .nav-links { display: none; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; gap: 0; }
  .hero { padding: 60px 0 40px; }
}
