/* oviq.css — Oviq marketing system (light editorial).
   Brand atom: the teal dot. One teal, used sparingly. */

@import url('https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bone:#F7F5EF; --paper:#FFFFFF; --sand:#EFEBE0; --mist:#EAF3F0;
  --ink:#1A1813; --body:#615D52; --faint:#9C968A; --line:#E7E2D5;
  --teal:#0E8E7C; --teal-deep:#0E8E7C; --teal-bright:#16B79E;
  --amber:#D9912F; --red:#CF5247;
  --maxw:1120px;
  --sans:'Schibsted Grotesk', system-ui, sans-serif;
  --mono:'JetBrains Mono', ui-monospace, monospace;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bone); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--mono); }

/* ── Logo ── */
.glyph { display: inline-block; color: var(--ink); flex-shrink: 0; }
.glyph path { stroke: currentColor; }
.glyph circle { fill: var(--teal); }
.glyph.on-dark { color: var(--bone); }
.glyph.on-dark circle { fill: var(--teal-bright); }

.wm { font-family: var(--sans); font-weight: 700; letter-spacing: -0.03em; line-height: 1; display: inline-flex; align-items: baseline; color: var(--ink); white-space: nowrap; }
.wm .i { position: relative; display: inline-block; }
.wm .i b { position: absolute; width: 0.142em; height: 0.142em; border-radius: 50%; background: var(--teal); left: 50%; transform: translateX(-50%); bottom: 0.52em; }
.wm.on-dark { color: var(--bone); }
.wm.on-dark .i b { background: var(--teal-bright); }

.logo { display: inline-flex; align-items: center; gap: 11px; }

/* ── Buttons ── */
.btn { font-family: var(--sans); font-weight: 600; font-size: 14.5px; padding: 11px 20px; border-radius: 10px; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; border: none; transition: opacity .18s, box-shadow .18s, background .18s; white-space: nowrap; }
.btn svg { width: 15px; height: 15px; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { opacity: .9; }
.btn-dark { background: var(--ink); color: var(--bone); }
.btn-dark:hover { opacity: .9; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--faint); }
.btn-ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.btn-ghost-light:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.btn-lg { font-size: 16px; padding: 14px 26px; }
.btn-sm { font-size: 13px; padding: 8px 15px; }
.btn-block { width: 100%; justify-content: center; }

/* ── Nav ── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 76px; display: flex; align-items: center; padding: 0 clamp(20px,5vw,60px); background: rgba(247,245,239,.82); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav-links { display: flex; gap: 30px; margin-left: 56px; }
.nav-links a { font-size: 14px; color: var(--body); font-weight: 500; transition: color .18s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav-right .signin { font-size: 14px; color: var(--ink); font-weight: 500; white-space: nowrap; }

/* ── Layout / type ── */
.wrap { padding-top: 76px; }
.section { padding: clamp(56px,8vw,104px) clamp(20px,5vw,60px); }
.inner { max-width: var(--maxw); margin: 0 auto; }
.eyebrow { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); }
.lead { font-size: 18px; color: var(--body); line-height: 1.55; }
h1.display { font-size: clamp(40px,5.4vw,62px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; color: var(--ink); }
.page-h1 { font-size: clamp(34px,4.6vw,54px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.06; color: var(--ink); }
h2.section-h2 { font-size: clamp(28px,3.6vw,40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); }
h2.section-h2 em, .page-h1 em, h1.display em { font-style: normal; color: var(--teal-deep); }
.muted { color: var(--body); }
.divider { border-top: 1px solid var(--line); }

/* page hero (interior pages) */
.page-hero { padding: clamp(96px,12vw,150px) clamp(20px,5vw,60px) clamp(48px,6vw,72px); border-bottom: 1px solid var(--line); }
.page-hero .inner { max-width: var(--maxw); }
.page-hero p.lead { max-width: 580px; margin-top: 20px; }
.page-hero .eyebrow { margin-bottom: 18px; }

/* generic card */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.card-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--mist); margin-bottom: 18px; }
.card-icon svg { width: 19px; height: 19px; stroke: var(--teal-deep); }
.card h3 { font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -0.015em; margin-bottom: 7px; }
.card p { font-size: 14px; color: var(--body); line-height: 1.55; }

/* ── Footer ── */
.footer { padding: 54px clamp(20px,5vw,60px) 40px; border-top: 1px solid var(--line); background: var(--sand); }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; max-width: var(--maxw); margin: 0 auto; }
.footer-brand { max-width: 280px; }
.footer-brand p { font-size: 13.5px; color: var(--body); line-height: 1.5; margin-top: 14px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 { font-size: 12.5px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13.5px; color: var(--body); margin-bottom: 9px; transition: color .18s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { max-width: var(--maxw); margin: 40px auto 0; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.footer-bottom .copy { font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.footer-bottom .legal { font-size: 12.5px; color: var(--faint); }

/* ── Product preview: exception card ── */
.ex-card { background: var(--paper); border-radius: 16px; box-shadow: 0 1px 2px rgba(26,24,19,.05), 0 18px 40px rgba(26,24,19,.10); overflow: hidden; width: 100%; }
.ex-head { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.ex-head .who { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.ex-body { padding: 20px 22px; }
.ex-titlerow { display: flex; align-items: baseline; justify-content: space-between; }
.ex-titlerow .t { font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.ex-titlerow .id { font-family: var(--mono); font-size: 12.5px; color: var(--faint); white-space: nowrap; padding-left: 12px; }
.ex-desc { font-size: 13.5px; color: var(--body); margin-top: 7px; line-height: 1.5; }
.ex-steps { margin-top: 18px; display: flex; flex-direction: column; gap: 11px; }
.ex-step { display: flex; align-items: center; gap: 11px; font-size: 13px; color: var(--ink); }
.ex-step .box { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.ex-step.done .box { background: var(--teal); }
.ex-step .box svg { width: 11px; height: 11px; stroke: #fff; }
.ex-step.todo { color: var(--body); }
.ex-step.todo .box { box-shadow: inset 0 0 0 1.5px var(--line); }

/* tag/pill */
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; letter-spacing: -0.01em; }
.tag .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag-teal { color: var(--teal-deep); background: rgba(14,142,124,.12); }
.tag-amber { color: var(--amber); background: rgba(217,145,47,.14); }
.tag-red { color: var(--red); background: rgba(207,82,71,.12); }

/* ── Activity feed ── */
.feed { background: var(--paper); border-radius: 16px; box-shadow: 0 1px 2px rgba(26,24,19,.05), 0 18px 40px rgba(26,24,19,.10); overflow: hidden; width: 100%; }
.feed-head { padding: 17px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.feed-head .t { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.feed-head .n { font-family: var(--mono); font-size: 12.5px; color: var(--teal-deep); }
.feed-row { display: flex; align-items: center; gap: 12px; padding: 11px 20px; }
.feed-row .d { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
.feed-row .d.amber { background: var(--amber); }
.feed-row .x { flex: 1; font-size: 13px; color: var(--ink); }
.feed-row .id { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.feed-row .time { font-family: var(--mono); font-size: 11px; color: var(--faint); width: 30px; text-align: right; }

/* ── reveal: disabled for capture/print/background-tab safety; content always visible ── */
.fade { opacity: 1; }
