/* CompressPdfs Online design system — indigo → violet, glass cards, compact SaaS */
:root {
  --bg: #f3f5fb;
  --bg2: #eef0f8;
  --ink: #12141c;
  --muted: #5b6172;
  --card: rgba(255, 255, 255, 0.78);
  --card-solid: #fff;
  --line: rgba(79, 70, 229, 0.14);
  --g1: #4f46e5;
  --g2: #7c3aed;
  --g3: #06b6d4;
  --ok: #059669;
  --danger: #dc2626;
  --shadow: 0 10px 30px rgba(36, 32, 88, 0.08);
  --radius: 18px;
  --font-h: "Plus Jakarta Sans", Poppins, system-ui, sans-serif;
  --font: Poppins, system-ui, sans-serif;
  /* Wordmark only — never body copy. */
  --font-brand: "Space Grotesk", "Plus Jakarta Sans", Poppins, system-ui, sans-serif;
  --brand-1: #4f46e5;
  --brand-2: #7c3aed;
  --brand-3: #06b6d4;
}
html[data-theme="dark"] {
  --bg: #0b1020;
  --bg2: #11172a;
  --ink: #eef1ff;
  --muted: #a3abc4;
  --card: rgba(18, 24, 44, 0.72);
  --card-solid: #151b30;
  --line: rgba(165, 180, 252, 0.16);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --brand-1: #a5b4fc;
  --brand-2: #c4b5fd;
  --brand-3: #67e8f9;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 8% -8%, rgba(79, 70, 229, 0.16), transparent 60%),
    radial-gradient(720px 380px at 100% 0%, rgba(124, 58, 237, 0.12), transparent 55%),
    var(--bg);
  line-height: 1.55;
  min-height: 100%;
}
html[data-theme="dark"] body {
  background:
    radial-gradient(900px 420px at 8% -8%, rgba(79, 70, 229, 0.28), transparent 60%),
    radial-gradient(720px 380px at 100% 0%, rgba(124, 58, 237, 0.22), transparent 55%),
    var(--bg);
}
img { max-width: 100%; height: auto; }
a { color: var(--g1); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--g2); }
h1, h2, h3 {
  font-family: var(--font-h);
  letter-spacing: -0.03em;
  line-height: 1.2;
}
h1 { font-size: clamp(1.55rem, 3.6vw, 2.35rem); margin: 0 0 0.45rem; }
h2 { font-size: 1.28rem; margin: 0 0 0.85rem; }
h3 { font-size: 1.02rem; margin: 0.2rem 0 0.35rem; }
p { margin: 0 0 0.75rem; }
.wrap { width: min(1120px, calc(100% - 20px)); margin-inline: auto; }
.skip {
  position: absolute; left: -999px; top: 8px;
}
.skip:focus { left: 8px; background: #fff; padding: 8px 12px; z-index: 80; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.lede { color: var(--muted); font-size: 1.02rem; max-width: 52ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--g1); font-weight: 600; font-size: 0.82rem;
  margin: 0 0 0.55rem;
}

.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 10px;
  min-height: 58px; min-width: 0;
}
.brand { display: flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; font-weight: 700; min-width: 0; }
.brand-text {
  /* No flex gap: "Compress" and "Pdfs" are one word. Spacing lives on .brand-sub. */
  display: inline-flex; align-items: baseline;
  font-family: var(--font-brand);
  font-size: clamp(0.92rem, 3.4vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
}
.brand-text strong {
  font-weight: 700;
  letter-spacing: -0.005em;
  background: linear-gradient(100deg, var(--brand-1), var(--brand-2) 55%, var(--brand-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-sub {
  font-size: 0.6em;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 0.5em;
  padding: 0.1em 0 0.1em 0.5em;
  border-left: 1px solid color-mix(in srgb, var(--muted) 45%, transparent);
  transform: translateY(-0.08em);
}
.brand:hover .brand-text strong { filter: saturate(1.15) brightness(1.05); }
.brand:hover .brand-sub { color: var(--brand-1); }
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .brand-text strong { color: var(--g1); background: none; }
}
.nav { display: none; gap: 2px; margin-left: auto; align-items: center; }
.nav a, .nav-parent {
  color: var(--ink); text-decoration: none; font-size: 0.84rem; font-weight: 500;
  padding: 6px 8px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 4px;
}
.nav a[aria-current="page"], .nav a:hover, .nav-drop.is-current > .nav-parent {
  background: color-mix(in srgb, var(--g1) 10%, transparent);
}
.nav-drop { position: relative; }
.nav-panel {
  display: none;
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: min(420px, calc(100vw - 24px));
  max-height: min(70vh, 480px); overflow: auto;
  grid-template-columns: 1fr 1fr;
  gap: 2px; padding: 10px;
  background: var(--card-solid);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  z-index: 50;
}
.nav-drop:hover .nav-panel, .nav-drop:focus-within .nav-panel { display: grid; }
.nav-panel a { border-radius: 10px; font-size: 0.86rem; }
.nav-panel-pages {
  min-width: 200px;
  grid-template-columns: 1fr;
  left: auto;
  right: 0;
}
.header-actions { display: flex; gap: 6px; margin-left: auto; flex-shrink: 0; }
.nav-toggle { display: inline-flex; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--card); color: inherit; cursor: pointer;
}
.icon-btn .icon-sun { display: none; }
html[data-theme="dark"] .icon-btn .icon-sun { display: block; }
html[data-theme="dark"] .icon-btn .icon-moon { display: none; }
.mobile-nav {
  display: grid; gap: 4px; padding-bottom: 16px;
}
.mobile-nav a, .mobile-acc {
  color: inherit; text-decoration: none; padding: 10px 8px; border-radius: 10px;
  min-height: 44px; display: flex; align-items: center; justify-content: space-between;
  width: 100%; border: 0; background: transparent; font: inherit; text-align: left; cursor: pointer;
}
.mobile-sub { display: grid; gap: 2px; padding: 0 0 8px 12px; }
.mobile-sub a { font-size: 0.92rem; min-height: 42px; }
.mobile-acc[aria-expanded="true"] svg { transform: rotate(180deg); }
.suite-field { margin-bottom: 10px; }
.suite-field input, .suite-field select { width: 100%; max-width: 100%; }
.suite-hint { margin: 0 0 12px; }
.hub-h { margin: 28px 0 10px; font-size: 1.15rem; }
.hub-grid { display: grid; gap: 10px; margin-top: 18px; }
.hub-card { min-height: 88px; }

.glass {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
}
.blob {
  position: absolute; width: 180px; height: 180px; right: -40px; top: -50px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.28), transparent 68%);
  animation: drift 8s ease-in-out infinite;
  pointer-events: none;
}
.blob-br { left: -50px; right: auto; bottom: -60px; top: auto; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.9; }
  50% { transform: translate(-12px, 10px) scale(1.08); opacity: 1; }
}

.hero { padding: 18px 0 8px; }
.hero-grid {
  display: grid; gap: 18px;
}
.upload-card { padding: 16px; }
.presets {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px;
}
.pill {
  appearance: none; border: 1px solid var(--line); background: transparent;
  color: inherit; border-radius: 999px; padding: 8px 12px; font: inherit;
  font-size: 0.82rem; font-weight: 600; cursor: pointer; min-height: 40px;
  text-decoration: none; display: inline-flex; align-items: center;
}
.pill.is-active, .btn-primary {
  background: linear-gradient(135deg, var(--g1), var(--g2));
  color: #fff; border-color: transparent;
}
.drop {
  display: grid; place-items: center; text-align: center; gap: 6px;
  min-height: 188px; padding: 18px;
  border: 1.5px dashed color-mix(in srgb, var(--g1) 45%, var(--line));
  border-radius: 16px; cursor: pointer;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.drop strong { font-family: var(--font-h); }
.drop span { color: var(--muted); font-size: 0.88rem; }
.drop:hover, .drop.is-over {
  border-color: var(--g2);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12), 0 12px 30px rgba(79, 70, 229, 0.12);
  transform: scale(1.01);
}
.drop:focus-within { outline: 2px solid var(--g1); outline-offset: 3px; }
.drop-icon { color: var(--g1); }
.file-chip, .file-list { font-size: 0.88rem; margin: 10px 0; }
.file-list { list-style: none; padding: 0; }
.file-list li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.file-preview { margin: 12px 0 4px; }
.file-preview-head {
  display: flex; justify-content: space-between; gap: 10px; align-items: baseline;
  margin-bottom: 8px;
}
.file-preview-label { margin: 0; font-size: 0.78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.file-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 10px;
}
.file-preview--single .file-preview-grid { grid-template-columns: 1fr; }
.file-preview-card {
  appearance: none; display: grid; gap: 0; padding: 0; margin: 0; width: 100%;
  text-align: left; cursor: pointer; color: inherit; font: inherit;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: var(--card-solid);
}
.file-preview-card:hover, .file-preview-card:focus-visible {
  border-color: var(--g1);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.14);
}
.file-preview-thumb {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--g1) 8%, transparent), transparent 70%),
    var(--bg2, #eef0f7);
  display: grid; place-items: center; overflow: hidden;
}
.file-preview--single .file-preview-thumb { aspect-ratio: 16 / 10; max-height: 280px; }
.file-preview-thumb img,
.file-preview-canvas,
.file-preview-embed {
  width: 100%; height: 100%; object-fit: contain; display: block;
  background: #fff;
}
.file-preview-embed { border: 0; pointer-events: none; min-height: 160px; }
.file-preview-embed--full, .file-preview-embed--result {
  pointer-events: auto; width: 100%; min-height: min(70vh, 640px); border-radius: 12px;
}
.file-preview-placeholder {
  display: grid; gap: 4px; place-items: center; text-align: center; padding: 12px;
  color: var(--muted);
}
.file-preview-placeholder strong {
  font-family: var(--font-h); font-size: 0.82rem; letter-spacing: .08em;
  padding: 6px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--g1) 14%, transparent); color: var(--g1);
}
.file-preview-placeholder span { font-size: 0.75rem; }
.file-preview-text {
  margin: 0; padding: 10px; width: 100%; height: 100%; overflow: hidden;
  font-size: 0.68rem; line-height: 1.35; text-align: left; white-space: pre-wrap;
  color: var(--ink); background: var(--card-solid);
}
.file-preview-text--full { overflow: auto; max-height: min(70vh, 640px); font-size: 0.85rem; padding: 16px; }
.file-preview-meta {
  display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; align-items: center;
  padding: 8px 10px; border-top: 1px solid var(--line);
}
.file-preview-index {
  grid-row: 1 / span 2; width: 22px; height: 22px; border-radius: 999px;
  display: grid; place-items: center; font-size: 0.72rem; font-weight: 700;
  background: color-mix(in srgb, var(--g1) 12%, transparent); color: var(--g1);
}
.file-preview-name {
  font-size: 0.8rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.file-preview-size { font-size: 0.72rem; color: var(--muted); }
.result-preview { margin: 14px 0; }
.result-preview img {
  display: block; max-width: 100%; max-height: 360px; margin-inline: auto;
  border-radius: 12px; border: 1px solid var(--line); background: #fff;
}
.preview-lightbox {
  width: min(920px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  padding: 0; border: 1px solid var(--line); border-radius: 18px;
  background: var(--card-solid); color: inherit; box-shadow: var(--shadow);
}
.preview-lightbox::backdrop { background: rgba(12, 14, 28, 0.55); }
.preview-lightbox-bar {
  display: flex; justify-content: space-between; gap: 10px; align-items: center;
  padding: 10px 12px; border-bottom: 1px solid var(--line);
}
.preview-lightbox-title {
  margin: 0; font-size: 0.88rem; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.preview-lightbox-nav { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }
.preview-lightbox-body {
  padding: 12px; overflow: auto; display: grid; place-items: center;
  min-height: 200px; max-height: calc(100vh - 110px);
}
.preview-lightbox-body img, .preview-lightbox-body canvas {
  max-width: 100%; height: auto; border-radius: 10px; background: #fff;
}
.custom-size { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin-bottom: 10px; }
.custom-size label { font-size: 0.82rem; display: grid; gap: 4px; }
.custom-size input { width: 120px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; border: 1px solid var(--line);
  padding: 11px 16px; font: inherit; font-weight: 600; cursor: pointer;
  background: var(--card-solid); color: inherit; text-decoration: none;
  min-height: 44px; transition: transform .16s ease, box-shadow .16s ease;
}
.btn:hover { transform: scale(1.03); box-shadow: 0 8px 20px rgba(79, 70, 229, 0.18); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-sm { min-height: 38px; padding: 8px 12px; font-size: 0.85rem; }
.btn-ghost { background: transparent; }
.btn-primary { width: 100%; margin-top: 12px; }

.trust {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px;
  list-style: none; padding: 12px 0 0; margin: 12px 0 0;
  border-top: 1px solid var(--line); font-size: 0.78rem; color: var(--muted);
}
.trust li { display: flex; align-items: center; gap: 6px; }
.progress { margin-top: 12px; }
.progress-bar {
  height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--g1), var(--g2), var(--g3));
  background-size: 200% 100%; width: 12%;
  animation: load 1.2s ease-in-out infinite;
}
@keyframes load { 50% { width: 86%; background-position: 100% 0; } 100% { width: 100%; } }
.progress-label { font-size: 0.85rem; color: var(--muted); margin: 6px 0 0; }
.form-error { color: var(--danger); font-size: 0.9rem; margin-top: 8px; }
.banner { background: color-mix(in srgb, var(--ok) 14%, transparent); padding: 10px 12px; border-radius: 10px; }

.section { padding: 28px 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.steps {
  display: grid; gap: 10px; list-style: none; padding: 0; margin: 0;
}
.step { padding: 16px; }
.step-n {
  display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, var(--g1), var(--g2)); color: #fff; font-size: 0.78rem; font-weight: 700;
  margin-bottom: 8px;
}
.feat-grid, .related, .post-grid { display: grid; gap: 10px; }
.feat, .related-card, .post-card { padding: 16px; text-decoration: none; color: inherit; }
.feat-icon { color: var(--g1); }
.related-card { display: grid; gap: 6px; }
.chip {
  display: inline-flex; width: fit-content; font-size: 0.75rem; font-weight: 600;
  padding: 3px 8px; border-radius: 999px; background: color-mix(in srgb, var(--g1) 12%, transparent); color: var(--g1);
}
.prose-card { padding: 20px 18px; }
.prose-card p { color: var(--ink); }
.table-wrap { overflow-x: auto; }
.cmp { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.cmp th, .cmp td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.cmp tbody th { font-weight: 600; }
.faq { display: grid; gap: 8px; }
.faq-item summary {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  cursor: pointer; font-weight: 600; padding: 14px 16px; list-style: none;
  min-height: 48px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item p { padding: 0 16px 14px; margin: 0; color: var(--muted); }
.result-card { padding: 18px; }
.result-card.is-convert .shrink, .result-card.is-convert #stat-pct-wrap { display: none; }
.stat { font-family: var(--font-h); font-size: 1.4rem; font-weight: 800; margin: 0; }
.stat.accent { background: linear-gradient(135deg, var(--g1), var(--g2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.shrink { height: 14px; background: var(--bg2); border-radius: 99px; margin: 14px 0; position: relative; overflow: hidden; }
.shrink-before, .shrink-after { position: absolute; inset: 0 auto 0 0; border-radius: 99px; }
.shrink-before { width: 100%; background: color-mix(in srgb, var(--g1) 25%, var(--bg2)); }
.shrink-after { width: 40%; background: linear-gradient(90deg, var(--g1), var(--g2)); transition: width .7s ease; }
.result-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.result-actions .btn-primary { width: auto; margin: 0; }
.crumbs { padding: 10px 0 0; }
.crumbs ol { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0; font-size: 0.82rem; color: var(--muted); flex-wrap: wrap; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; }
.crumbs a { color: inherit; }

.site-footer { border-top: 1px solid var(--line); padding: 32px 0 20px; margin-top: 12px; }
.footer-grid { display: grid; gap: 18px; }
.foot-h { font-size: 0.82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.foot-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot-list a { color: inherit; text-decoration: none; font-size: 0.92rem; }
.foot-list a:hover { color: var(--g1); }
.footer-bottom { margin-top: 18px; }

.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.blog-layout { display: grid; gap: 14px; }
.toc { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; font-size: 0.9rem; }
.toc .l3 { padding-left: 12px; }
.post-body :where(h2, h3) { margin-top: 1.2rem; }
.post-body :where(ul, ol) { padding-left: 1.2rem; }
.post-body code { font-size: 0.9em; background: var(--bg2); padding: 0.1em 0.35em; border-radius: 6px; }
.featured { border-radius: 12px; margin: 8px 0 16px; }
.share { display: flex; align-items: center; gap: 6px; margin-top: 16px; }
.contact-form, .auth-card form, .post-form { display: grid; gap: 10px; }
label { display: grid; gap: 4px; font-size: 0.88rem; font-weight: 500; }
input, textarea, select {
  font: inherit; font-size: 16px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--card-solid); color: inherit; min-height: 44px; max-width: 100%;
}
textarea { min-height: 120px; }
.hp { position: absolute; left: -9999px; }
.pager { display: flex; gap: 6px; margin-top: 16px; }

.reveal { }
.reveal.is-in { }

.admin-body { background: var(--bg2); }
.admin-shell { display: grid; min-height: 100vh; }
.admin-side { padding: 16px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.admin-side nav { display: grid; gap: 4px; }
.admin-side nav a { color: inherit; text-decoration: none; display: flex; gap: 8px; align-items: center; padding: 8px; border-radius: 10px; }
.admin-main { padding: 18px; }
.auth-card { max-width: 420px; margin: 12vh auto; padding: 22px; }
.editor { display: grid; gap: 10px; }
.md-preview { min-height: 200px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.inline, .inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.text-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; text-decoration: none; }

@media (min-width: 720px) {
  .hero-grid { grid-template-columns: 1fr 1.05fr; align-items: start; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .feat-grid { grid-template-columns: repeat(3, 1fr); }
  .related, .post-grid, .hub-grid { grid-template-columns: repeat(3, 1fr); }
  .trust { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.15fr 0.9fr 0.75fr 0.95fr 0.65fr 0.9fr; }
  .blog-layout { grid-template-columns: 1.6fr 0.7fr; align-items: start; }
  .admin-shell { grid-template-columns: 220px 1fr; }
  .admin-side { border-right: 1px solid var(--line); border-bottom: 0; }
  .editor { grid-template-columns: 1fr 1fr; }
  .btn-primary { width: auto; }
  .upload-card .btn-primary { width: 100%; }
}
@media (min-width: 900px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
  .header-actions { margin-left: 0; }
  .mobile-nav { display: none !important; }
}
@media (max-width: 719px) {
  .trust { grid-template-columns: 1fr 1fr; }
  .custom-size input { width: 100%; }
  .result-actions .btn-primary { width: 100%; }
  .drop { min-height: 168px; padding: 14px; }
}
@media (max-width: 359px) {
  .wrap { width: calc(100% - 12px); }
  h1 { font-size: 1.32rem; }
  .header-inner { gap: 6px; }
  .brand-text { font-size: 0.86rem; }
  .brand-sub { letter-spacing: 0.14em; margin-left: 0.34em; padding-left: 0.34em; }
}
.consent-bar {
  position: fixed;
  inset: auto 16px 16px 16px;
  z-index: 80;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--card-solid);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  max-width: 720px;
  margin-inline: auto;
}
.consent-bar[hidden] { display: none !important; }
.consent-bar p { margin: 0; font-size: 0.9rem; color: var(--muted); max-width: 46ch; }
.consent-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
