/* JPG Smaller: premium utility product, Phase 5.2 purple system */
:root {
  --bg: #fafafc;
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --surface-2: #f6f3ff;
  --ink: #15131d;
  --muted: #4f4a5a;
  --line: #e8e4f2;
  --line-strong: #d4cfe3;
  --brand: #6d4aff;
  --brand-hover: #4b32a8;
  --brand-soft: #eee9ff;
  --link: #15131d;
  --accent: #ff7a59;
  --accent-hover: #e86345;
  --success: #1f7a4d;
  --success-soft: #e6f5ec;
  --warning: #9a6700;
  --warning-soft: #fff6de;
  --danger: #b42318;
  --danger-soft: #fdeceb;
  --shadow: 0 1px 2px rgba(21, 19, 29, 0.05);
  --shadow-soft: 0 12px 36px rgba(75, 50, 168, 0.10);
  --shadow-lift: 0 16px 40px rgba(75, 50, 168, 0.14);
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1180px;
  --header-h: 70px;
  --mobile-nav-h: 66px;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --display: "Space Grotesk", "Source Sans 3", sans-serif;
  --mono: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  --prose-width: 40rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  padding-bottom: calc(var(--mobile-nav-h) + 10px);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand-hover); }
h1, h2, h3, .brand-text, .tool-card-name, .dropzone-title {
  font-family: var(--display);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.narrow { width: min(100%, 720px); }
.visually-hidden, .skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px; width: auto; height: auto; margin: 0;
  clip: auto; z-index: 1000; background: var(--ink); color: #fff;
  padding: .7rem 1rem; border-radius: var(--radius-sm);
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.1) blur(10px);
}
.header-inner {
  min-height: var(--header-h);
  display: flex; align-items: center; gap: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  text-decoration: none; color: var(--ink); font-weight: 700;
}
.brand-logo { width: 168px; height: auto; }
.brand-logo-dark {
  width: 168px;
  height: auto;
  background: #fff;
  border-radius: 8px;
  padding: 6px 8px;
}
.nav-desktop { display: none; gap: .15rem; margin-left: auto; align-items: center; }
.nav-desktop a {
  text-decoration: none; color: var(--ink); font-weight: 600;
  font-size: .95rem; padding: .5rem .7rem; border-radius: 8px;
}
.nav-desktop a:hover {
  color: var(--ink); background: rgba(21,19,29,.05);
}
.nav-desktop a.is-active {
  color: var(--brand-hover); background: var(--brand-soft);
}
.header-cta { margin-left: auto; }
@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .header-cta { margin-left: .45rem; }
  body { padding-bottom: 0; }
}

.btn {
  appearance: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 48px; padding: .75rem 1.2rem; border-radius: 12px;
  font-family: var(--font); font-weight: 700; text-decoration: none; font-size: 1rem;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .12s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-small { min-height: 40px; padding: .5rem .95rem; font-size: .92rem; }
.btn-primary {
  background: var(--brand); color: #fff;
  box-shadow: 0 8px 20px rgba(109, 74, 255, 0.28);
}
.btn-primary:hover { background: var(--brand-hover); color: #fff; }
.btn-secondary {
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-download { background: var(--accent); color: #fff; min-width: 148px; box-shadow: 0 8px 18px rgba(255,122,89,.25); }
.btn-download:hover { background: var(--accent-hover); color: #fff; }
.btn:focus-visible, summary:focus-visible, input:focus-visible, .dropzone:focus-within {
  outline: 2px solid var(--brand); outline-offset: 2px;
}

.hero {
  position: relative;
  padding: 2.6rem 0 2rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--line);
}
.hero-bg { display: none; }
.hero-inner { position: relative; }
.eyebrow {
  display: inline-block; margin: 0 0 .7rem;
  color: var(--brand); font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; font-size: .72rem;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 3.75rem);
  max-width: 12ch;
  letter-spacing: -0.03em;
}
.hero-sub {
  max-width: 34rem; color: var(--muted); font-size: 1.08rem; margin: .9rem 0 0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.4rem 0 1.2rem; }

.tool-search {
  display: grid; gap: .55rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .65rem;
  max-width: 620px;
}
@media (min-width: 700px) {
  .tool-search { grid-template-columns: 1fr auto; align-items: center; }
}
.tool-search input, .url-row input, .tool-options select, .tool-options input {
  width: 100%; min-height: 46px; border-radius: 10px;
  border: 1px solid var(--line); padding: .65rem .85rem;
  font: inherit; background: #fff; color: var(--ink);
}

.section { padding: 2.35rem 0; }
.section-alt {
  background: #fff;
  border-block: 1px solid var(--line);
}
.section-sub { color: var(--muted); margin-top: -.25rem; max-width: 40rem; }
.mt-lg { margin-top: 2rem; }
.muted { color: var(--muted); }

.tool-card-grid {
  display: grid; gap: .85rem;
  grid-template-columns: 1fr;
  margin-top: 1.15rem;
}
@media (min-width: 700px) { .tool-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tool-card-grid { grid-template-columns: repeat(3, 1fr); } }

.tools-results {
  margin: 1.4rem 0 2rem;
  padding: 1.15rem 1.2rem 1.3rem;
  border: 1px solid rgba(109,74,255,.18);
  border-radius: 18px;
  background: linear-gradient(180deg, #f7f5ff 0%, #fff 70%);
  box-shadow: var(--shadow-soft);
}
.tools-results-title {
  margin: 0 0 .9rem;
  font-size: 1.15rem;
}
.tool-card.is-top-hit {
  border-color: var(--brand);
  box-shadow: 0 10px 28px rgba(109,74,255,.14);
}
.tool-card.is-search-hit:hover { border-color: var(--brand); }

.tool-card {
  display: flex; flex-direction: column; gap: .3rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1rem 1.05rem;
  text-decoration: none; color: inherit;
  transition: border-color .15s ease;
}
a.tool-card:hover { border-color: var(--brand); }
.tool-card-cat {
  color: var(--brand); font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  font-family: var(--font);
}
.tool-card-name { font-weight: 700; font-size: 1.02rem; }
.tool-card-desc { color: var(--muted); font-size: .93rem; }
.static-card { cursor: default; }
.card-links { display: flex; flex-wrap: wrap; gap: .75rem; margin: .4rem 0 0; }

.category-bands, .split-2, .footer-grid, .hub-grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) {
  .category-bands, .hub-grid { grid-template-columns: repeat(3, 1fr); }
  .split-2 { grid-template-columns: 1.1fr .9fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.link-list { list-style: none; padding: 0; margin: 1rem 0; }
.link-list li { margin: .4rem 0; }
.text-link { font-weight: 700; text-decoration: none; }
.steps, .checklist { padding-left: 1.1rem; }
.steps li, .checklist li { margin: .55rem 0; }

.layout-with-ads { display: grid; gap: 1rem; padding-bottom: 2rem; }
@media (min-width: 1100px) {
  .layout-with-ads { grid-template-columns: 160px minmax(0, 1fr) 160px; align-items: start; }
}
.desktop-only { display: none; }
@media (min-width: 1100px) { .desktop-only { display: block; } }
.ad-slot {
  border: 1px dashed var(--line-strong); background: var(--surface-2);
  border-radius: var(--radius-sm); padding: .5rem; margin: .75rem 0;
  color: var(--muted); text-align: center;
}
.ad-label {
  display: inline-block; font-size: .66rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: .35rem;
}
.ad-placeholder { min-height: 90px; display: grid; place-items: center; font-size: .82rem; }
.ad-rail .ad-placeholder { min-height: 250px; }

.crumbs { padding: 1rem 0 0; }
.crumbs ol {
  list-style: none; display: flex; flex-wrap: wrap; gap: .3rem .45rem;
  padding: 0; margin: 0; color: var(--muted); font-size: .9rem;
}
.crumbs li:not(:last-child)::after { content: "/"; margin-left: .45rem; color: var(--line-strong); }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs-inline { color: var(--muted); margin-bottom: .75rem; font-size: .9rem; }

/* Tool page: workspace + sticky related */
.layout-main { padding-bottom: 2.5rem; }
.tool-layout {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .tool-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
  }
}
.tool-layout-main { min-width: 0; }
.related-rail {
  display: none;
  position: sticky;
  top: calc(var(--header-h) + 12px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: .9rem 1rem;
}
@media (min-width: 1024px) {
  .related-rail { display: block; }
}
.related-rail h2 {
  margin: 0 0 .65rem;
  font-size: .95rem;
}
.related-rail-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .35rem;
}
.related-rail-list a {
  display: block;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: .9rem;
  padding: .35rem .45rem;
  border-radius: 6px;
}
.related-rail-list a:hover { background: var(--brand-soft); color: var(--brand-hover); }

.related-mobile {
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: .85rem 1rem 1rem;
}
@media (min-width: 1024px) {
  .related-mobile { display: none; }
}
.related-mobile h2 {
  margin: 0 0 .65rem;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
}
.related-compact {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: .35rem .7rem;
}
.related-compact a {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem;
}

.tool-shell { margin: .75rem 0 1.35rem; }
.tool-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.tool-panel-head { padding: 1.2rem 1.25rem .4rem; }
.tool-panel-head h1 { margin: 0 0 .45rem; font-size: clamp(1.6rem, 3.8vw, 2.15rem); }
.tool-lead {
  color: var(--muted);
  margin: 0 0 .65rem;
  max-width: 44rem;
  font-size: 1.02rem;
  line-height: 1.55;
}
.target-pill {
  display: inline-flex; margin: 0;
  background: var(--brand-soft); color: var(--brand-hover);
  font-weight: 700; font-size: .84rem; padding: .35rem .7rem;
  border-radius: 999px; border: 1px solid #ddd5ff;
}
.tool-workspace { padding: .9rem 1.25rem 1.3rem; }

.dropzone {
  display: grid; justify-items: center; gap: .55rem; text-align: center;
  border: 1.5px dashed var(--line-strong);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, var(--surface-2) 100%);
  padding: 2.1rem 1.15rem;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .15s ease;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);
}
.dropzone:hover, .dropzone.is-dragover {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}
.dropzone-title { font-size: 1.2rem; font-weight: 700; }
.dropzone-sub { color: var(--muted); font-size: .95rem; max-width: 28rem; }
.dropzone-hint { color: var(--muted); font-size: .86rem; }
.dropzone-btn { pointer-events: none; min-width: 148px; }

.tool-options {
  display: grid; gap: .75rem;
  margin-top: 1rem;
  padding: .9rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.tool-options-grid { display: grid; gap: .75rem; }
@media (min-width: 700px) {
  .tool-options-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.tool-options label {
  display: grid; gap: .3rem;
  font-weight: 650; font-size: .9rem;
}

.url-fetch { margin-top: 1rem; }
.url-fetch label { display: block; font-weight: 700; margin-bottom: .35rem; font-size: .9rem; }
.url-row { display: grid; gap: .5rem; }
@media (min-width: 700px) { .url-row { grid-template-columns: 1fr auto; } }

.hidden { display: none !important; }
.processing-stage, .error-stage { text-align: center; padding: 2rem 1rem; }
.spinner {
  width: 40px; height: 40px; margin: 0 auto .85rem;
  border-radius: 50%; border: 3px solid var(--brand-soft);
  border-top-color: var(--brand);
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.stage-label { font-weight: 700; margin: 0; font-family: var(--display); color: var(--ink); }
.stage-file { color: var(--muted); margin: .3rem 0 1rem; word-break: break-all; }
.progress-track {
  height: 8px; background: var(--brand-soft); border-radius: 999px;
  overflow: hidden; max-width: 280px; margin: 0 auto;
  box-shadow: inset 0 0 0 1px rgba(109,74,255,.08);
}
.progress-bar {
  height: 100%; width: 15%;
  background: linear-gradient(90deg, var(--brand) 0%, #8b6bff 100%);
  transition: width .35s ease;
  border-radius: 999px;
}

.results-stage { display: grid; gap: 1rem; }
.result-card {
  border: 1px solid var(--line); border-radius: 18px;
  padding: 1.05rem; background: #fff;
  display: grid; gap: 1rem;
  box-shadow: var(--shadow-soft);
}
@media (min-width: 800px) {
  .result-card { grid-template-columns: 168px 1fr; align-items: start; }
}
.result-preview {
  width: 100%; aspect-ratio: 1; object-fit: contain;
  background:
    linear-gradient(45deg, #eceae4 25%, transparent 25%) 0 0 / 16px 16px,
    linear-gradient(-45deg, #eceae4 25%, transparent 25%) 0 8px / 16px 16px,
    #fff;
  border-radius: var(--radius-sm); border: 1px solid var(--line);
}
.result-meta { display: grid; gap: .3rem; }
.result-meta h3 { margin: 0; font-size: 1.02rem; word-break: break-word; }
.meta-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem; margin: .5rem 0;
}
.meta-item {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: .5rem .6rem;
}
.meta-item span { display: block; color: var(--muted); font-size: .76rem; }
.meta-item strong { font-size: .95rem; font-variant-numeric: tabular-nums; }
.saved-badge {
  display: inline-flex; align-items: center; gap: .3rem;
  background: var(--success-soft); color: var(--success);
  font-weight: 750; border-radius: 999px; padding: .28rem .65rem; font-size: .84rem;
}
.target-met-badge {
  display: inline-flex; align-items: center;
  background: var(--brand-soft); color: var(--brand-hover);
  font-weight: 750; border-radius: 999px; padding: .28rem .65rem; font-size: .84rem;
}
.note-warn {
  background: var(--warning-soft); border: 1px solid #efd9a0;
  color: #6b4b00; border-radius: var(--radius-sm);
  padding: .6rem .7rem; font-size: .9rem;
}
.result-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .35rem; }

.share-box { display: none; }
.page-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem 1rem;
  margin: .15rem 0 1rem;
  padding: .7rem .85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}
.tool-panel > .page-share {
  margin: 0 1.1rem 1rem;
}
.page-share-label {
  margin: 0;
  font-weight: 700;
  font-size: .92rem;
}
.page-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.page-share-actions .btn {
  min-height: 2.25rem;
  padding: .35rem .9rem;
}
.page-share-status {
  margin: 0;
  color: var(--success);
  font-size: .86rem;
  font-weight: 650;
}
.page-share-field {
  flex: 1 1 100%;
  min-width: 0;
  margin: 0;
  padding: .45rem .65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}
.share-icon:hover,
.share-icon:focus-visible {
  border-color: var(--brand);
  color: var(--brand-hover);
  background: var(--brand-soft);
}
.footer-share {
  margin-top: 1rem;
}
.footer-share .page-share {
  margin: 0;
  background: transparent;
  border-color: rgba(255,255,255,.14);
}
.footer-share .page-share-label,
.footer-share .page-share-status {
  color: inherit;
}
.footer-share .share-icon,
.footer-share .page-share-actions .btn {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
  color: inherit;
}
.footer-share .share-icon:hover,
.footer-share .page-share-actions .btn:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.28);
}

.prepare-stage { padding: .2rem 0 .4rem; text-align: center; }
.prepare-title { margin: 0 0 .75rem; font-weight: 750; font-size: 1.05rem; text-align: left; }
.crop-board {
  position: relative;
  display: inline-block;
  max-width: 100%;
  background: #1a1820;
  border-radius: var(--radius-sm);
  overflow: hidden;
  touch-action: none;
  user-select: none;
}
.crop-board img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 62vh;
  pointer-events: none;
}
.crop-box {
  position: absolute;
  border: 2px solid #fff;
  box-shadow: 0 0 0 9999px rgba(12,10,16,.45);
  box-sizing: border-box;
  cursor: move;
}
.crop-board.is-circle .crop-box { border-radius: 50%; }
.crop-handle {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #fff;
  border: 1px solid var(--brand);
  border-radius: 2px;
}
.crop-handle[data-handle="nw"] { top: -6px; left: -6px; cursor: nwse-resize; }
.crop-handle[data-handle="ne"] { top: -6px; right: -6px; cursor: nesw-resize; }
.crop-handle[data-handle="sw"] { bottom: -6px; left: -6px; cursor: nesw-resize; }
.crop-handle[data-handle="se"] { bottom: -6px; right: -6px; cursor: nwse-resize; }
.prepare-options { margin-top: .85rem; text-align: left; }
.prepare-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .85rem;
  text-align: left;
}
.research-table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}
.research-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}
.research-table th,
.research-table td {
  padding: .55rem .7rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.research-table th {
  background: var(--surface-2);
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.research-table tr:last-child td { border-bottom: 0; }
.research-figure {
  margin: 1.1rem 0 1.5rem;
}
.research-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.research-figure figcaption {
  margin-top: .45rem;
  color: var(--muted);
  font-size: .9rem;
}
.trust-verified {
  font-weight: 700;
  color: var(--brand-hover);
}
.trust-verify-list {
  margin: .4rem 0 1rem;
  padding-left: 1.15rem;
}
.tool-trust {
  margin-top: 1.4rem;
  padding-top: .2rem;
}

.error-stage { color: var(--danger); }
#error-text { font-weight: 700; }
.error-stage .btn { margin-top: .5rem; }

.tool-content.prose {
  max-width: none;
  margin-top: .35rem;
  padding: 1.15rem 0 0;
}
.prose h2 {
  margin-top: 1.75rem;
  margin-bottom: .55rem;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}
.prose p {
  color: #2a2e38;
  max-width: var(--prose-width);
  margin: 0 0 .85rem;
}
.faq-list { margin-top: .75rem; display: grid; gap: .55rem; max-width: 46rem; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .15rem .85rem .55rem;
  box-shadow: var(--shadow);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: .7rem 0;
  font-family: var(--display);
}
.faq-item p { margin: 0 0 .55rem; max-width: none; }

/* Editorial visual rows */
.editorial-block {
  display: grid;
  gap: 1rem;
  margin: 1.35rem 0;
  align-items: start;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@media (min-width: 800px) {
  .editorial-block { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 1.35rem; padding: 1.15rem; }
  .editorial-block.is-flip .editorial-copy { order: 1; }
  .editorial-block.is-flip .editorial-media { order: 2; }
  .editorial-block:not(.is-flip) .editorial-media { order: 1; }
  .editorial-block:not(.is-flip) .editorial-copy { order: 2; }
}
.editorial-media figure { margin: 0; }
.editorial-media .visual-zoom {
  display: block;
  width: 100%;
}
.editorial-media img, .editorial-media svg {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fafafc;
}
.editorial-media figcaption {
  margin-top: .45rem;
  color: var(--muted);
  font-size: .88rem;
  max-width: none;
}
.editorial-media-solo {
  margin: 1.25rem 0;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.editorial-copy h2 { margin-top: 0; }
.visual-zoom {
  display: inline-block;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: var(--radius);
}
.visual-zoom:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  padding: 1rem;
}
.lightbox[hidden] { display: none !important; }
.lightbox-backdrop {
  position: absolute; inset: 0; border: 0; padding: 0;
  background: rgba(20,21,26,.72); cursor: zoom-out;
}
.lightbox-dialog {
  position: relative; z-index: 1;
  background: #fff;
  border-radius: 16px;
  max-width: min(980px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: 1.1rem;
  box-shadow: 0 24px 60px rgba(20, 16, 40, .35);
}
.lightbox-dialog img { max-height: 72vh; width: auto; margin: 0 auto; border-radius: 10px; }
.lightbox-close {
  position: absolute; top: .55rem; right: .55rem;
  border: 0; background: var(--brand-soft); color: var(--brand-hover);
  border-radius: 10px; min-height: 40px; min-width: 64px;
  cursor: pointer; font-weight: 700; z-index: 2;
}
img.visual-zoom { cursor: zoom-in; }


.hub-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.2rem;
}
.hub-card h2 { margin: 0 0 .35rem; font-size: 1.15rem; }

.site-footer {
  margin-top: 2rem; background: #15131d; color: #c5c0d4;
  padding: 3rem 0 1.4rem;
  border-top: 3px solid var(--brand);
}
.site-footer a { color: #c5c0d4; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: .7rem; }
.footer-heading { font-size: .95rem; margin: 0 0 .7rem; color: #fff; font-family: var(--display); }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin: .35rem 0; }
.footer-brand p { color: #8b919e; max-width: 28rem; }
.footer-bottom {
  margin-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.08);
  padding-top: .9rem; color: #7a8190; font-size: .88rem;
}

.mobile-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: #fff;
  border-top: 1px solid var(--line);
  backdrop-filter: blur(16px);
  height: calc(var(--mobile-nav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -10px 28px rgba(75, 50, 168, 0.08);
}
.mobile-nav a,
.mobile-nav-more {
  appearance: none; border: 0; background: transparent;
  display: grid; place-items: center; align-content: center; gap: .22rem;
  text-decoration: none; color: var(--muted);
  font-size: .7rem; font-weight: 700; font-family: var(--font);
  letter-spacing: .01em;
  min-height: var(--mobile-nav-h); cursor: pointer; padding: .25rem .1rem;
  position: relative;
}
.mobile-nav a.is-active,
.mobile-nav-more[aria-expanded="true"] {
  color: var(--brand-hover);
}
.mobile-nav a.is-active::before,
.mobile-nav-more[aria-expanded="true"]::before {
  content: "";
  position: absolute;
  top: 7px; bottom: 7px; left: 8px; right: 8px;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--brand-soft) 0%, #f3efff 100%);
  box-shadow: inset 0 0 0 1px rgba(109,74,255,.12);
  z-index: 0;
}
.mobile-nav-icon {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 10px;
  color: inherit; position: relative; z-index: 1;
}
.mobile-nav a > span:last-child,
.mobile-nav-more > span:last-child { position: relative; z-index: 1; }
.mobile-nav a.is-active .mobile-nav-icon,
.mobile-nav-more[aria-expanded="true"] .mobile-nav-icon {
  color: var(--brand);
}
.mobile-nav-icon svg { display: block; }
@media (min-width: 900px) { .mobile-nav { display: none; } }

.mobile-more[hidden] { display: none !important; }
.mobile-more {
  position: fixed; inset: 0; z-index: 80;
}
.mobile-more-backdrop {
  position: absolute; inset: 0; border: 0; padding: 0;
  background: rgba(20,21,26,.42); cursor: pointer;
}
.mobile-more-panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: #fff; border-radius: 18px 18px 0 0;
  padding: 1rem 1.1rem calc(1.2rem + env(safe-area-inset-bottom, 0px));
  box-shadow: var(--shadow-soft);
  max-height: min(78vh, 560px); overflow: auto;
}
.mobile-more-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: .55rem;
}
.mobile-more-head h2 {
  margin: 0; font-size: 1.1rem;
}
.mobile-more-close {
  border: 1px solid var(--line); background: var(--surface-2);
  border-radius: 999px; min-height: 36px; padding: 0 .9rem;
  font: inherit; font-weight: 700; cursor: pointer;
}
.mobile-more-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .2rem;
}
.mobile-more-list a {
  display: block; text-decoration: none; color: var(--ink);
  font-weight: 650; padding: .85rem .7rem;
  border-radius: 10px;
}
.mobile-more-list a:hover { background: var(--surface-2); }
body.more-open { overflow: hidden; }

@media (max-width: 380px) {
  .hero-actions .btn { width: 100%; }
  .meta-grid { grid-template-columns: 1fr; }
  .related-compact { grid-template-columns: 1fr; }
  .brand-logo { width: 148px; height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spinner { animation: none; }
  .btn, .tool-card, .dropzone { transition: none; }
}

/* ========== Homepage Phase 5.2 ========== */
.page-home { background: var(--bg); }
.page-home .home-hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(109,74,255,.12), transparent 60%),
    radial-gradient(700px 380px at 0% 100%, rgba(238,233,255,.9), transparent 55%),
    #fff;
}
.page-home .home-band { background: #fff; }
.page-home .home-band-canvas { background: linear-gradient(180deg, #fafafc 0%, #f6f3ff 100%); }
.page-home .home-final {
  background:
    radial-gradient(700px 280px at 50% 0%, rgba(109,74,255,.10), transparent 70%),
    var(--bg);
}
.page-home .home-band-canvas .home-finder,
.page-home .home-band-canvas .home-chooser-row,
.page-home .home-final-inner { background: #fff; }

.home-eyebrow {
  margin: 0 0 .85rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand);
}
.home-kicker {
  display: inline-block; margin: 0 0 .45rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--brand-hover);
}
.home-hero { padding: 3.2rem 0 3.4rem; border-bottom: 1px solid var(--line); }
.home-hero-grid {
  display: grid; gap: 2.1rem; justify-items: center; text-align: center;
}
.home-hero-copy { max-width: 44rem; margin: 0 auto; }
.home-hero h1 {
  margin: 0;
  font-size: clamp(2.45rem, 6vw, 4rem);
  letter-spacing: -0.045em; line-height: 1.06; color: var(--ink); font-weight: 700;
  text-wrap: balance;
}
.home-hero h1 .h1-accent { color: var(--brand); }
.home-hero-lead {
  margin: 1.15rem auto 0; font-size: clamp(1.08rem, 2vw, 1.25rem);
  line-height: 1.55; color: var(--muted); max-width: 38rem;
}
.home-hero-actions {
  display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.55rem auto 0;
  justify-content: center;
}
.home-hero-meta { margin: 0 auto; color: var(--muted); font-size: .95rem; }
.home-hero-visual { margin: 0 auto; position: relative; width: min(100%, 1180px); }
.home-hero-visual picture,
.home-hero-visual img {
  display: block; width: 100%;
}
.home-hero-visual img {
  width: 100%; border-radius: 20px; border: 1px solid rgba(21,19,29,.16);
  box-shadow: var(--shadow-lift); background: #100e16; aspect-ratio: 16 / 9;
  object-fit: cover; object-position: center;
}
.home-hero-visual figcaption { margin-top: .55rem; color: var(--muted); font-size: .88rem; }

/* Desktop: copy → actions → visual (document order). Mobile: copy → visual → actions. */
@media (max-width: 899px) {
  .home-hero-copy { order: 1; }
  .home-hero-visual { order: 2; }
  .home-hero-actions { order: 3; margin-top: .15rem; }
}

.home-band { padding: 3.2rem 0; }
.home-section-head { max-width: 42rem; margin-bottom: 1.5rem; }
.home-section-head h2 { margin: 0 0 .5rem; font-size: clamp(1.75rem, 3.2vw, 2.35rem); letter-spacing: -0.03em; }
.home-section-head p { margin: 0; color: var(--muted); font-size: 1.08rem; }

.home-finder {
  display: grid; gap: 1rem; border: 1px solid var(--line); border-radius: 18px;
  padding: 1.25rem 1.3rem; box-shadow: var(--shadow-soft);
}
@media (min-width: 800px) {
  .home-finder { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: center; }
}
.home-finder-copy h2 { margin: 0 0 .3rem; font-size: 1.4rem; }
.home-finder-copy p { margin: 0; color: var(--muted); }
.home-search { display: grid; gap: .55rem; }
@media (min-width: 560px) { .home-search { grid-template-columns: 1fr auto; } }
.home-search input {
  width: 100%; min-height: 50px; border-radius: 12px; border: 1px solid var(--line);
  padding: .75rem 1rem; font: inherit; background: #fff;
}

.home-start { display: grid; gap: 1.1rem; }
@media (min-width: 900px) {
  .home-start { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); align-items: start; }
}
.home-featured {
  display: grid; gap: .5rem; text-decoration: none; color: inherit;
  border: 1px solid transparent; border-radius: 20px; padding: 1.45rem 1.5rem;
  background: linear-gradient(160deg, #fff 0%, var(--brand-soft) 140%);
  box-shadow: var(--shadow-soft); transition: transform .15s ease, box-shadow .15s ease;
}
.home-featured:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); color: inherit; }
.home-featured-title { font-family: var(--display); font-weight: 700; font-size: 1.55rem; }
.home-featured-desc { color: var(--muted); max-width: 34rem; }
.home-featured-cta { margin-top: .45rem; font-weight: 700; color: var(--brand); }
.home-task-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.home-task-list a {
  display: flex; justify-content: space-between; gap: .75rem; align-items: baseline;
  text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: 14px;
  padding: .9rem 1.05rem; background: #fff;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.home-task-list a:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-1px); color: inherit; }
.home-task-name { font-weight: 700; }
.home-task-cat { color: var(--muted); font-size: .86rem; }

.home-chooser { display: grid; gap: .65rem; }
.home-chooser-row {
  display: grid; gap: .8rem; border: 1px solid var(--line); border-radius: 16px;
  padding: 1.05rem 1.15rem; background: #fff;
  transition: box-shadow .15s ease, transform .15s ease;
}
.home-chooser-row:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
@media (min-width: 800px) {
  .home-chooser-row { grid-template-columns: minmax(0,1.4fr) auto; align-items: center; }
}
.home-chooser-need { display: grid; gap: .25rem; }
.home-chooser-need strong { font-family: var(--display); font-size: 1.08rem; }
.home-chooser-need span { color: var(--muted); }
.home-chooser-go { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.home-chooser-pill {
  display: inline-flex; align-items: center; text-decoration: none; color: #fff; background: var(--brand);
  font-weight: 700; border-radius: 999px; padding: .5rem 1rem;
  box-shadow: 0 8px 18px rgba(109,74,255,.22);
}
.home-chooser-pill:hover { background: var(--brand-hover); color: #fff; }
.home-chooser-example {
  text-decoration: none; color: var(--ink); font-weight: 650;
  border: 1px solid var(--line); border-radius: 999px; padding: .45rem .9rem;
}
.home-chooser-example:hover { border-color: var(--ink); color: var(--ink); }

.home-why-grid { display: grid; gap: 1.15rem; }
@media (min-width: 800px) { .home-why-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.25rem; } }
.home-why-grid article {
  padding: 1.2rem 1.25rem; border-radius: 16px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.home-why-grid h3 { margin: 0 0 .45rem; font-size: 1.15rem; }
.home-why-grid p { margin: 0; color: var(--muted); max-width: 34rem; }

.home-editorial { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 900px) {
  .home-editorial { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 2.2rem; }
  .home-editorial.is-flip .home-editorial-copy { order: 1; }
  .home-editorial.is-flip .home-editorial-media { order: 2; }
}
.home-editorial-media { margin: 0; }
.home-editorial-media img {
  width: 100%; border-radius: 20px; border: 1px solid rgba(109,74,255,.12); background: #faf9fd;
  aspect-ratio: 1600 / 900; object-fit: contain; object-position: center;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
  image-rendering: auto;
}
.home-editorial-media img:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
@media (prefers-reduced-motion: reduce) {
  .home-editorial-media img { transition: none; }
  .home-editorial-media img:hover { transform: none; }
}
.home-editorial-copy h2 { margin: 0 0 .7rem; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.home-editorial-copy p { margin: 0 0 .9rem; color: #2a2e38; max-width: 36rem; }
.home-editorial-copy a { font-weight: 650; color: var(--brand-hover); }
.home-editorial-copy a:hover { color: var(--brand); }
.home-editorial-solo { max-width: 40rem; }

.home-workflow-visual { margin: 0 0 1.5rem; }
.home-workflow-visual img {
  width: 100%; border-radius: 20px; border: 1px solid rgba(109,74,255,.12);
  background: #f4f1ea; aspect-ratio: 16 / 9; object-fit: cover; object-position: center;
  box-shadow: var(--shadow-soft);
}

.home-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
@media (min-width: 900px) { .home-steps { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1rem; } }
.home-steps li {
  display: grid; gap: .4rem; padding: 1.1rem; border-radius: 16px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.home-step-num { font-family: var(--display); font-weight: 700; color: var(--brand); }
.home-steps strong { font-size: 1.08rem; }
.home-steps span { color: var(--muted); font-size: .95rem; }

.home-privacy {
  display: grid; gap: 1rem; align-items: center; padding: 1.4rem;
  border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
@media (min-width: 800px) { .home-privacy { grid-template-columns: 1fr auto; } }
.home-privacy h2 { margin: 0 0 .45rem; font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
.home-privacy p { margin: 0; color: var(--muted); max-width: 42rem; }

.home-cats { display: grid; gap: .75rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .home-cats { grid-template-columns: repeat(3,minmax(0,1fr)); } }
.home-cat {
  display: grid; gap: .25rem; text-decoration: none; color: inherit;
  border: 1px solid var(--line); border-radius: 16px; padding: 1.05rem 1.1rem; background: #fff;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.home-cat:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.home-cat-name { font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.home-cat-note { color: var(--muted); font-size: .92rem; }
.home-cat-all {
  background: linear-gradient(145deg, var(--brand) 0%, var(--brand-hover) 100%);
  color: #fff; border-color: transparent;
}
.home-cat-all .home-cat-note { color: rgba(255,255,255,.82); }
.home-cat-all:hover { color: #fff; border-color: transparent; }

.home-final { padding: 3.4rem 0 3.8rem; }
.home-final-inner {
  border: 1px solid var(--line); border-radius: 22px; padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow-soft);
}
.home-final h2 { margin: 0 0 .5rem; font-size: clamp(1.75rem, 3vw, 2.35rem); }
.home-final p { margin: 0; color: var(--muted); max-width: 36rem; }

@media (max-width: 899px) {
  .home-hero { padding: 1.05rem 0 1.25rem; }
  .home-hero-grid { gap: .85rem; }
  .home-eyebrow { margin-bottom: .45rem; }
  .home-hero h1 { font-size: clamp(1.7rem, 6vw, 2.35rem); line-height: 1.08; }
  .home-hero-lead {
    margin-top: .45rem;
    font-size: .98rem;
    line-height: 1.45;
    max-width: 34rem;
  }
  .home-hero-visual { width: 100%; }
  .home-hero-visual img {
    border-radius: 14px;
    max-height: none;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    background: #100e16;
  }
  .home-hero-visual figcaption { display: none; }
  .home-hero-actions .btn { width: 100%; justify-content: center; }
}
@media (max-width: 430px) {
  .home-hero { padding: .9rem 0 1.1rem; }
  .home-hero-grid { gap: .7rem; }
  .home-hero h1 { font-size: clamp(1.55rem, 7vw, 1.95rem); }
  .home-hero-lead { font-size: .94rem; margin-top: .35rem; }
  .home-hero-visual img { max-height: none; }
  .home-band { padding: 2.3rem 0; }
  .home-task-list a { flex-direction: column; gap: .15rem; }
}

.btn-primary:hover { box-shadow: 0 10px 24px rgba(109,74,255,.34); }
.mobile-more-panel { animation: sheet-up .22s ease; }
@keyframes sheet-up { from { transform: translateY(24px); opacity: .6; } to { transform: translateY(0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .mobile-more-panel { animation: none; }
  .home-featured, .home-task-list a, .home-chooser-row, .home-cat { transition: none; }
  .home-featured:hover, .home-task-list a:hover, .home-chooser-row:hover, .home-cat:hover { transform: none; }
}

/* Legal / trust document pages */
.page-legal .legal-doc {
  width: min(100% - 2rem, 760px);
  margin: 0 auto;
  padding: 1.6rem 0 3.5rem;
}
.legal-lede {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 40rem;
  margin: 0 0 1rem;
}
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1rem;
  margin: 0 0 1.5rem;
  padding: .85rem 1rem;
  background: var(--brand-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: .92rem;
}
.legal-meta strong { color: var(--ink); font-weight: 700; }
.legal-toc {
  margin: 0 0 2rem;
  padding: 1.1rem 1.15rem 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.legal-toc h2 {
  margin: 0 0 .65rem;
  padding-top: 0;
  border-top: 0;
  font-size: 1.05rem;
}
.legal-toc ol {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: .35rem;
}
.legal-toc a {
  color: var(--brand-hover);
  text-decoration: none;
  font-weight: 600;
}
.legal-toc a:hover { text-decoration: underline; }
.legal-doc.prose h2 {
  scroll-margin-top: calc(var(--header-h) + 12px);
  margin-top: 2.1rem;
  padding-top: .35rem;
  border-top: 1px solid var(--line);
  font-size: 1.35rem;
}
.legal-doc.prose h2:first-of-type { border-top: 0; padding-top: 0; }
.legal-doc.prose h3 {
  margin: 1.25rem 0 .45rem;
  font-size: 1.08rem;
}
.legal-doc.prose ul,
.legal-doc.prose ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  max-width: var(--prose-width);
  color: #2a2e38;
}
.legal-doc.prose li { margin: 0 0 .35rem; }
.legal-doc.prose li::marker { color: var(--brand); }
.legal-callout {
  margin: 1rem 0 1.25rem;
  padding: .9rem 1rem;
  border-left: 3px solid var(--brand);
  background: var(--surface-2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  max-width: var(--prose-width);
}
.legal-callout p { margin: 0; color: var(--ink); }
.legal-related {
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.legal-related h2 { border-top: 0; margin-top: 0; padding-top: 0; }
.legal-related ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.legal-related a {
  display: inline-flex;
  padding: .45rem .8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
}
.legal-related a:hover { border-color: var(--brand); color: var(--brand-hover); }
.contact-grid {
  display: grid;
  gap: .85rem;
  margin: 1.25rem 0 1.75rem;
}
@media (min-width: 700px) {
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
}
.contact-card h3 {
  margin: 0 0 .4rem;
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--ink);
}
.contact-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: .35rem 0 1.25rem;
  padding: .7rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
}
.contact-email:hover { background: var(--brand-hover); color: #fff !important; }
.about-cats {
  display: grid;
  gap: .65rem;
  margin: 1rem 0 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .about-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.about-cats a {
  display: grid;
  gap: .2rem;
  padding: .9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  text-decoration: none;
  color: inherit;
}
.about-cats a:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.about-cats strong { font-family: var(--display); }
.about-cats span { color: var(--muted); font-size: .9rem; }
@media (max-width: 430px) {
  .legal-toc ol { padding-left: 1.1rem; }
  .page-legal .legal-doc { padding-top: 1.1rem; }
}
