/* Omev minisites shared design system v2 (2026-09-19)
 * Identical to the main Omev site (omev.be -> omev.ai) visual language:
 * dark neo-brutalism, Space Grotesk display + Inter body, 2px white borders,
 * hard offset shadows (orange CTA / yellow cards), square corners.
 * Class names are kept stable from v1 so site HTML keeps working.
 * Reference tokens lifted from omev.ai build 8cc048dea625e177.css.
 */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/SpaceGrotesk-var.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/Inter-var.woff2") format("woff2");
}

:root {
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;

  --c-bg: #0a0a0a;
  --c-surface: #111111;
  --c-surface-2: #161616;
  --c-border: #ffffff;
  --c-border-dim: rgba(255, 255, 255, .15);
  --c-border-faint: rgba(255, 255, 255, .08);

  --c-text: #ffffff;
  --c-text-2: #888888;
  --c-text-3: #666666;

  --c-accent: #ff4a1c;        /* Omev orange */
  --c-accent-soft: rgba(255, 74, 28, .12);
  --c-accent-contrast: #ffffff;
  --c-yellow: #fd0;           /* Omev highlight */
  --c-black: #000000;

  --c-ok: #4ade80;
  --c-warn: #ffd400;
  --c-err: #ff5c5c;

  --radius-s: 0;
  --radius-m: 0;
  --radius-l: 0;

  --shadow-cta: 4px 4px 0 var(--c-accent);
  --shadow-hard: 4px 4px 0 var(--c-yellow);
  --shadow-hard-dark: 4px 4px 0 var(--c-black);

  --max-w: 1080px;
  --header-h: 64px;
}

/* All three sites share the same accent (identical to the main site);
   the data-accent attribute stays for future per-site tweaks. */
html[data-accent="lists"],
html[data-accent="audience"],
html[data-accent="backlinks"] { --c-accent: #ff4a1c; --c-accent-soft: rgba(255, 74, 28, .12); }

::selection { background: var(--c-yellow); color: var(--c-black); }

* { box-sizing: border-box; border-radius: 0 !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.625;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.05;
  margin: 0 0 .5em;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--c-text);
}
h1 { font-size: clamp(32px, 5.5vw, 52px); }
h2 { font-size: clamp(26px, 4vw, 40px); }
h3 { font-size: 20px; line-height: 1.2; }
p { margin: 0 0 1em; }
a { color: var(--c-yellow); text-decoration: underline; text-underline-offset: 4px; }
a:hover { color: var(--c-text); }
code, pre { font-family: var(--font-mono); font-size: .92em; }
img, svg { max-width: 100%; }
hr { border: 0; border-top: 2px solid var(--c-border-dim); margin: 28px 0; }
:focus-visible { outline: 2px solid var(--c-yellow); outline-offset: 2px; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--c-text-2); }
.small { font-size: 14px; }
.mono { font-family: var(--font-mono); }
.center { text-align: center; }
.stack > * + * { margin-top: 14px; }
.nowrap { white-space: nowrap; }

/* yellow mono section label — signature element of the main site */
.label-mono, .hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--c-yellow);
  background: var(--c-bg);
  border: 2px solid var(--c-border);
  padding: 6px 12px;
  margin-bottom: 18px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--c-bg);
  border-bottom: 2px solid var(--c-border-dim);
}
.site-header .inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-display);
  font-size: 21px; font-weight: 900; letter-spacing: -.02em; line-height: 1;
  color: var(--c-text); text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand .logo {
  background: var(--c-accent); color: var(--c-black);
  padding: 5px 7px; font-weight: 900; font-size: .85em;
}
.site-header nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.site-header nav a {
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  color: var(--c-text-2); text-decoration: none;
}
.site-header nav a:hover { color: var(--c-text); text-decoration-color: var(--c-yellow); }
.site-header nav a.active { color: var(--c-text); text-decoration: underline; text-decoration-color: var(--c-yellow); text-underline-offset: 6px; }
.session-chip {
  display: none; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; color: var(--c-yellow);
  border: 2px solid var(--c-border); background: var(--c-bg);
  padding: 5px 12px; max-width: 220px; overflow: hidden; text-overflow: ellipsis;
}
.session-chip.visible { display: inline-flex; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 48px; }
.hero h1 { max-width: 20em; }
.hero .sub { font-size: 18px; color: var(--c-text-2); max-width: 40em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 15.5px;
  cursor: pointer; border: 2px solid var(--c-border);
  padding: 12px 22px; line-height: 1.2;
  transition: transform .15s cubic-bezier(.4, 0, .2, 1), box-shadow .15s cubic-bezier(.4, 0, .2, 1), background-color .15s, color .15s;
  text-decoration: none !important;
}
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--c-accent); color: var(--c-accent-contrast); box-shadow: var(--shadow-cta); }
.btn-primary:hover:not(:disabled) { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--c-yellow); }
.btn-secondary { background: var(--c-surface); color: var(--c-text); }
.btn-secondary:hover:not(:disabled) { background: var(--c-border); color: var(--c-black); }
.btn-ghost { background: transparent; color: var(--c-text-2); border-color: transparent; }
.btn-ghost:hover:not(:disabled) { color: var(--c-text); border-color: var(--c-border-dim); }
.btn-yellow { background: var(--c-yellow); color: var(--c-black); box-shadow: 4px 4px 0 var(--c-black); }
.btn-yellow:hover:not(:disabled) { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--c-black); }
.btn-danger { background: transparent; color: var(--c-err); }
.btn-danger:hover:not(:disabled) { background: var(--c-err); color: var(--c-black); }
.btn-sm { padding: 8px 14px; font-size: 13.5px; }
.btn-lg { padding: 16px 30px; font-size: 17px; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--c-text-2); }
.input, .textarea, .select {
  font: inherit; color: var(--c-text);
  background: var(--c-bg); border: 2px solid var(--c-border);
  padding: 12px 14px; width: 100%;
  transition: box-shadow .15s;
}
.input:focus, .textarea:focus, .select:focus {
  outline: none; box-shadow: 4px 4px 0 var(--c-accent);
}
.textarea { min-height: 96px; resize: vertical; }
.hint { font-size: 13.5px; color: var(--c-text-3); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.query-box {
  background: var(--c-surface); border: 2px solid var(--c-border);
  box-shadow: 6px 6px 0 var(--c-yellow);
  padding: 26px; margin-top: 28px;
}
.query-box .actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 6px; }

/* ---------- cards / sections ---------- */
.card {
  background: var(--c-surface); border: 2px solid var(--c-border);
  box-shadow: var(--shadow-hard);
  padding: 24px;
}
.card h3 { margin-top: 0; }
.section { padding: 56px 0; }
.section.alt { background: var(--c-surface-2); border-top: 2px solid var(--c-border-faint); border-bottom: 2px solid var(--c-border-faint); }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

/* yellow corner ribbon, e.g. "MOST USED" on a price card */
.ribbon {
  position: absolute; top: -12px; right: 16px; z-index: 2;
  background: var(--c-yellow); color: var(--c-black);
  border: 2px solid var(--c-black); box-shadow: 2px 2px 0 var(--c-black);
  font-family: var(--font-display); font-size: 10px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 3px 9px;
}

/* ---------- badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .08em;
  background: var(--c-bg); border: 2px solid var(--c-border);
  padding: 3px 10px; white-space: nowrap; color: var(--c-text);
}
.badge-accent { color: var(--c-yellow); }
.badge-ok { color: var(--c-ok); }
.badge-warn { color: var(--c-warn); }
.badge-err { color: var(--c-err); }
.badge-neutral { color: var(--c-text-2); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 2px solid var(--c-border); background: var(--c-surface); box-shadow: var(--shadow-hard); }
table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.data th {
  text-align: left; font-family: var(--font-mono); font-size: 11.5px;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--c-yellow); background: var(--c-bg);
  padding: 12px 14px; border-bottom: 2px solid var(--c-border-dim); white-space: nowrap;
}
table.data td { padding: 13px 14px; border-bottom: 1px solid var(--c-border-faint); vertical-align: top; }
table.data tr:last-child td { border-bottom: 0; }
table.data tr:hover td { background: var(--c-surface-2); }

/* ---------- modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0, 0, 0, .72);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--c-surface); border: 2px solid var(--c-border);
  box-shadow: 8px 8px 0 var(--c-black);
  max-width: 470px; width: 100%; padding: 30px;
  max-height: 90vh; overflow: auto;
}
.modal h3 { margin-bottom: 6px; }
.modal .close-x {
  float: right; border: 2px solid var(--c-border); background: var(--c-bg);
  font-family: var(--font-display); font-size: 16px; line-height: 1; font-weight: 700;
  color: var(--c-text-2); cursor: pointer; padding: 4px 9px;
}
.modal .close-x:hover { background: var(--c-border); color: var(--c-black); }

/* ---------- toast ---------- */
.toast-zone { position: fixed; right: 18px; bottom: 18px; z-index: 120; display: flex; flex-direction: column; gap: 12px; }
.toast {
  background: var(--c-surface); border: 2px solid var(--c-border);
  box-shadow: 4px 4px 0 var(--c-black);
  padding: 13px 17px; max-width: 380px; font-size: 14.5px;
  animation: toast-in .18s cubic-bezier(.4, 0, .2, 1);
}
.toast.ok { box-shadow: 4px 4px 0 var(--c-yellow); }
.toast.err { box-shadow: 4px 4px 0 var(--c-accent); }
@keyframes toast-in { from { opacity: 0; transform: translate(4px, 4px); } }

/* ---------- job progress ---------- */
.progress-track { background: var(--c-bg); border: 2px solid var(--c-border-dim); height: 12px; overflow: hidden; }
.progress-fill { background: var(--c-yellow); height: 100%; width: 0; transition: width .6s cubic-bezier(.4, 0, .2, 1); }
.job-panel .stage-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 10px 0 8px; }
.job-panel .stage { font-family: var(--font-display); font-weight: 700; }
.spinner {
  width: 15px; height: 15px;
  border: 2px solid var(--c-border-dim); border-top-color: var(--c-yellow);
  animation: spin .8s linear infinite; display: inline-block; vertical-align: -3px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.skeleton {
  background: linear-gradient(90deg, var(--c-surface-2) 25%, #202020 45%, var(--c-surface-2) 65%);
  background-size: 200% 100%; animation: shim 1.3s infinite;
}
@keyframes shim { to { background-position: -200% 0; } }

/* ---------- banners ---------- */
.banner {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15px; border: 2px solid var(--c-border);
  background: var(--c-surface); box-shadow: 4px 4px 0 var(--c-black);
  padding: 14px 18px; margin: 18px 0;
}
.banner.info { box-shadow: 4px 4px 0 var(--c-accent); }
.banner.warn { box-shadow: 4px 4px 0 var(--c-yellow); }
.banner.err { box-shadow: 4px 4px 0 var(--c-err); }

.notice-plan {
  font-size: 14px; color: var(--c-text-2);
  border: 2px dashed var(--c-border-dim); background: var(--c-bg);
  padding: 12px 15px; margin-top: 12px;
}

/* ---------- pricing ---------- */
.price-card { text-align: left; position: relative; }
.price-card .price {
  font-family: var(--font-display); font-size: 38px; font-weight: 900; letter-spacing: -.02em; color: var(--c-text);
}
.price-card .price .per { font-size: 15px; font-weight: 700; color: var(--c-text-2); }
.price-card ul { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.price-card li { display: flex; gap: 10px; font-size: 15px; color: var(--c-text-2); }
.price-card li::before { content: "✓"; font-family: var(--font-display); font-weight: 900; color: var(--c-yellow); }
.price-card.featured { box-shadow: 6px 6px 0 var(--c-accent); }

/* ---------- faq ---------- */
details.faq { border: 2px solid var(--c-border); background: var(--c-surface); padding: 4px 20px; }
details.faq + details.faq { margin-top: 12px; }
details.faq summary { cursor: pointer; font-family: var(--font-display); font-weight: 700; padding: 14px 0; }
details.faq summary:hover { color: var(--c-yellow); }
details.faq[open] summary { color: var(--c-yellow); }
details.faq .a { padding-bottom: 16px; color: var(--c-text-2); }

/* ---------- footer ---------- */
.site-footer { border-top: 2px solid var(--c-border-dim); background: var(--c-bg); margin-top: 48px; padding: 40px 0; font-size: 14.5px; color: var(--c-text-2); }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 36px; justify-content: space-between; }
.site-footer h4 { font-family: var(--font-display); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--c-yellow); margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--c-text-2); }
.site-footer a:hover { color: var(--c-yellow); }
.site-footer .legal { margin-top: 26px; padding-top: 18px; border-top: 2px solid var(--c-border-faint); font-size: 13px; color: var(--c-text-3); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; }

/* ---------- misc ---------- */
.kbd { font-family: var(--font-mono); font-size: 12.5px; background: var(--c-bg); color: var(--c-yellow);
  border: 2px solid var(--c-border-dim); padding: 1px 7px; }
.divider-label {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em;
  color: var(--c-text-2); margin: 20px 0;
}
.divider-label::before, .divider-label::after { content: ""; height: 2px; background: var(--c-border-dim); flex: 1; }
.hidden { display: none !important; }
@media (max-width: 720px) {
  .site-header nav a.nav-extra { display: none; }
  .hero { padding: 48px 0 32px; }
}
