/* ==========================================================================
   OmNexis s.r.o. - omnexis.com
   Static marketing site. No cookies, no trackers, no external requests.
   Brand: #FF9F00 (primary) / #FFC34D (light) - sampled from logo_omnexis.png
   ========================================================================== */

/* ---------- Tokens: light (default) ---------- */
:root {
  --brand:        #FF9F00;
  --brand-light:  #FFC34D;
  --brand-deep:   #B87100;
  --brand-ink:    #241703;

  --bg:           #FFFFFF;
  --bg-soft:      #FAF7F2;
  --surface:      #FFFFFF;
  --surface-alt:  #F6F2EB;
  --border:       rgba(24, 18, 8, 0.10);
  --border-strong: rgba(24, 18, 8, 0.18);

  --text:         #17130C;
  --text-muted:   #665D50;
  --text-faint:   #8A8070;

  --ok:           #15803D;
  --ok-bright:    #4ADE80;
  --err:          #B91C1C;
  --err-bright:   #F87171;

  --shadow-sm: 0 1px 2px rgba(24,18,8,.05), 0 1px 3px rgba(24,18,8,.06);
  --shadow-md: 0 4px 12px rgba(24,18,8,.07), 0 12px 28px rgba(24,18,8,.06);

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 20px;

  --maxw: 1120px;
  --gutter: clamp(20px, 5vw, 40px);

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ---------- Tokens: dark ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand-deep:   #FFC34D;
    --bg:           #100D09;
    --bg-soft:      #15110C;
    --surface:      #1A1610;
    --surface-alt:  #221C15;
    --border:       rgba(255, 244, 230, 0.11);
    --border-strong: rgba(255, 244, 230, 0.20);

    --text:         #F6F1E8;
    --text-muted:   #B0A493;
    --text-faint:   #857A6A;

    --ok:           #4ADE80;
    --err:          #F87171;

    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow-md: 0 4px 12px rgba(0,0,0,.45), 0 12px 28px rgba(0,0,0,.35);
  }
}

:root[data-theme="dark"] {
  --brand-deep:   #FFC34D;
  --bg:           #100D09;
  --bg-soft:      #15110C;
  --surface:      #1A1610;
  --surface-alt:  #221C15;
  --border:       rgba(255, 244, 230, 0.11);
  --border-strong: rgba(255, 244, 230, 0.20);

  --text:         #F6F1E8;
  --text-muted:   #B0A493;
  --text-faint:   #857A6A;

  --ok:           #4ADE80;
  --err:          #F87171;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 4px 12px rgba(0,0,0,.45), 0 12px 28px rgba(0,0,0,.35);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.022em; margin: 0; font-weight: 680; }
p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2.5px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand); color: var(--brand-ink);
  padding: 12px 20px; border-radius: 0 0 var(--radius-sm) 0; font-weight: 650;
}
.skip:focus { left: 0; }

.mark { width: 1em; height: 1em; flex: none; display: block; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.site-header.is-stuck { border-bottom-color: var(--border); }

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas: "brand lang nav";
  align-items: center; gap: 16px; min-height: 68px;
}
.header-inner .brand { grid-area: brand; justify-self: start; }
.header-inner .langbar-inner { grid-area: lang; justify-self: center; }
.header-inner .nav { grid-area: nav; justify-self: end; }

@media (max-width: 720px) {
  .header-inner {
    grid-template-columns: auto 1fr;
    grid-template-areas: "brand nav" "lang lang";
    row-gap: 8px; padding-block: 9px; min-height: 0;
  }
  .header-inner .langbar-inner { padding-bottom: 2px; }
}

.brand {
  display: inline-flex; align-items: center; gap: 11px;
  font-size: 1.16rem; font-weight: 700; letter-spacing: -0.025em;
}
.brand .mark { font-size: 30px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 14px; border-radius: var(--radius-sm);
  font-size: .945rem; font-weight: 550; color: var(--text-muted);
  transition: color .18s ease, background .18s ease;
}
.nav a:hover { color: var(--text); background: var(--surface-alt); }
.nav .nav-cta {
  background: var(--brand); color: var(--brand-ink); font-weight: 650;
  padding: 9px 18px; margin-left: 6px;
}
.nav .nav-cta:hover { background: var(--brand-light); color: var(--brand-ink); }

@media (max-width: 560px) {
  .nav a[data-optional] { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(64px, 11vw, 116px) clamp(52px, 8vw, 84px);
}
.hero::before {
  content: ""; position: absolute; inset: -30% 0 auto -10%;
  width: 78%; aspect-ratio: 1; pointer-events: none; z-index: 0;
  background: radial-gradient(circle at 50% 50%,
    color-mix(in srgb, var(--brand) 22%, transparent) 0%,
    transparent 68%);
  filter: blur(14px);
}
.hero > .wrap { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .795rem; font-weight: 620; letter-spacing: .085em; text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  padding: 7px 15px 7px 11px; border-radius: 999px;
  margin-bottom: 26px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 0 3.5px color-mix(in srgb, var(--brand) 22%, transparent);
}

.hero h1 {
  font-size: clamp(2.35rem, 6.2vw, 4rem);
  font-weight: 700; max-width: 17ch; margin-bottom: 24px;
}
.hero h1 .accent {
  background: linear-gradient(105deg, var(--brand) 8%, var(--brand-light) 92%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lede {
  font-size: clamp(1.06rem, 2.1vw, 1.24rem);
  color: var(--text-muted); max-width: 60ch; margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 46px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: var(--radius-sm);
  font-size: .97rem; font-weight: 650; font-family: inherit;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .16s ease, background .18s ease, border-color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: var(--brand-light); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--brand); background: var(--surface-alt); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

.hero-meta {
  display: flex; flex-wrap: wrap; gap: 10px 30px;
  padding-top: 26px; border-top: 1px solid var(--border);
  font-size: .89rem; color: var(--text-muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 15px; height: 15px; color: var(--brand); flex: none; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8.5vw, 92px); }
.section-alt { background: var(--bg-soft); border-block: 1px solid var(--border); }

.section-head { max-width: 62ch; margin-bottom: clamp(32px, 5vw, 48px); }
.section-head h2 { font-size: clamp(1.65rem, 3.6vw, 2.3rem); margin-bottom: 14px; }
.section-head p { color: var(--text-muted); font-size: 1.04rem; }

.section-label {
  display: block; font-size: .775rem; font-weight: 650; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand-deep); margin-bottom: 13px;
}

/* ---------- Project cards ---------- */
.projects {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
}

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover, .card:focus-within {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.card-top { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.card-icon {
  width: 62px; height: 62px; flex: none;
  border-radius: 16px; background: var(--surface-alt);
  border: 1px solid var(--border);
  display: grid; place-items: center; overflow: hidden;
}
.card-icon img { width: 44px; height: 44px; object-fit: contain; border-radius: 10px; }

.card-titles { min-width: 0; padding-top: 5px; }
.card h3 { font-size: 1.22rem; margin-bottom: 3px; }
.card-domain { font-family: var(--mono); font-size: .82rem; color: var(--text-faint); overflow-wrap: anywhere; }

.card-desc { color: var(--text-muted); font-size: .97rem; flex: 1; margin-bottom: 22px; }

.card-foot {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; padding-top: 16px; border-top: 1px solid var(--border);
}

/* Reserve two rows of chips so every card's footer/divider lines up in a row */
.tags { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 7px; min-height: 3.6rem; }
.tag {
  font-size: .735rem; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
  background: var(--surface-alt); color: var(--text-muted);
  border: 1px solid var(--border);
}
.tag-live {
  background: color-mix(in srgb, var(--ok) 13%, transparent);
  color: var(--ok); border-color: color-mix(in srgb, var(--ok) 30%, transparent);
}
.tag-beta {
  background: color-mix(in srgb, var(--brand) 15%, transparent);
  color: var(--brand-deep); border-color: color-mix(in srgb, var(--brand) 32%, transparent);
}

.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .89rem; font-weight: 620; color: var(--brand-deep); flex: none;
}
.card-link::after { content: "\2192"; transition: transform .18s ease; }
.card:hover .card-link::after { transform: translateX(3px); }
.card-link::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; gap: clamp(28px, 5vw, 52px);
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.form { display: grid; gap: 17px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .885rem; font-weight: 600; }
.field .req { color: var(--brand-deep); }

.field input, .field textarea {
  width: 100%; font: inherit; font-size: .97rem; color: var(--text);
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); padding: 12px 14px;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { resize: vertical; min-height: 148px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3.5px color-mix(in srgb, var(--brand) 20%, transparent);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--err); }

.field-row { display: grid; gap: 17px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* Honeypot - hidden from humans, offered to naive bots */
.hp {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.form-note { font-size: .83rem; color: var(--text-faint); }
.form-note a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }

.form-status {
  display: none; padding: 13px 16px; border-radius: var(--radius-sm);
  font-size: .92rem; font-weight: 550; border: 1px solid transparent;
}
.form-status.is-shown { display: block; }
.form-status.is-ok {
  background: color-mix(in srgb, var(--ok) 12%, transparent);
  border-color: color-mix(in srgb, var(--ok) 32%, transparent); color: var(--ok);
}
.form-status.is-err {
  background: color-mix(in srgb, var(--err) 11%, transparent);
  border-color: color-mix(in srgb, var(--err) 32%, transparent); color: var(--err);
}

.info-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.info-card h3 { font-size: 1.03rem; margin-bottom: 18px; }
.info-list { display: grid; gap: 17px; margin: 0; }
.info-item { display: flex; gap: 13px; align-items: flex-start; }
.info-item svg { width: 17px; height: 17px; color: var(--brand); flex: none; margin-top: 3px; }
.info-item dt {
  font-size: .78rem; font-weight: 650; letter-spacing: .05em;
  text-transform: uppercase; color: var(--text-faint); margin-bottom: 3px;
}
.info-item dd { margin: 0; font-size: .935rem; color: var(--text); }
.info-item dd a { color: var(--brand-deep); font-weight: 600; }
.info-item dd a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border); background: var(--bg-soft);
  padding-block: 44px 34px; font-size: .89rem; color: var(--text-muted);
}
.footer-top {
  display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between;
  padding-bottom: 26px; border-bottom: 1px solid var(--border);
}
.footer-brand { max-width: 34ch; }
.footer-brand .brand { margin-bottom: 12px; color: var(--text); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 40px; }
.footer-col h4 {
  font-size: .77rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase;
  color: var(--text-faint); margin: 0 0 11px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between;
  padding-top: 22px; font-size: .84rem; color: var(--text-faint);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* ---------- Legal / long-form pages ---------- */
.doc { padding-block: clamp(44px, 7vw, 72px); }
.doc-inner { max-width: 76ch; }
.doc h1 { font-size: clamp(1.9rem, 4.4vw, 2.6rem); margin-bottom: 12px; }
.doc .updated { color: var(--text-faint); font-size: .87rem; margin-bottom: 36px; }
.doc h2 {
  font-size: 1.25rem; margin: 42px 0 14px;
  padding-top: 22px; border-top: 1px solid var(--border);
}
.doc h3 { font-size: 1.03rem; margin: 26px 0 9px; }
.doc p, .doc li { color: var(--text-muted); }
.doc p + p { margin-top: 14px; }
.doc ul, .doc ol { margin: 14px 0; padding-left: 24px; display: grid; gap: 8px; }
.doc a { color: var(--brand-deep); font-weight: 550; text-decoration: underline; text-underline-offset: 2px; }
.doc strong { color: var(--text); font-weight: 620; }

.doc-back {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .9rem; font-weight: 600; color: var(--text-muted); margin-bottom: 26px;
}
.doc-back:hover { color: var(--text); }

.identity {
  background: var(--surface-alt); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 24px; margin: 24px 0;
}
.identity dl { margin: 0; display: grid; gap: 11px; }
.identity .row { display: grid; grid-template-columns: 200px 1fr; gap: 4px 18px; }
@media (max-width: 620px) { .identity .row { grid-template-columns: 1fr; } }
.identity dt { font-size: .87rem; font-weight: 620; color: var(--text-faint); }
.identity dd { margin: 0; font-size: .95rem; color: var(--text); }

.doc-toc {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 24px; margin-bottom: 8px;
}
.doc-toc h2 {
  font-size: .78rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--text-faint); border: 0; padding: 0; margin: 0 0 12px;
}
.doc-toc ol { margin: 0; padding-left: 20px; gap: 6px; }
.doc-toc a { font-weight: 500; }

/* Wide content must scroll inside itself, never the page body */
.scroll-x { overflow-x: auto; }

/* Visually hidden, still announced by screen readers */
.sr-only {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Small utilities (kept as classes so the CSP can forbid inline styles) */
.mt-14 { margin-top: 14px; }
.link-brand { color: var(--brand-deep); font-weight: 600; }

/* Status tag: live but access-restricted (invite only / selected users) */
.tag-limited {
  background: color-mix(in srgb, #2563EB 13%, transparent);
  color: #1D4ED8;
  border-color: color-mix(in srgb, #2563EB 30%, transparent);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tag-limited { color: #93C5FD; }
}
:root[data-theme="dark"] .tag-limited { color: #93C5FD; }

/* ---------- Language switcher (centred in the header row) ---------- */
.langbar-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 5px; flex-wrap: wrap;
}
.flag {
  display: inline-flex; padding: 3px; margin: 0; border: 0; line-height: 0;
  background: none; cursor: pointer; border-radius: 6px;
  opacity: .5; transition: opacity .16s ease, transform .16s ease, box-shadow .16s ease;
}
.flag:hover { opacity: 1; transform: translateY(-1px); }
.flag[aria-pressed="true"] { opacity: 1; }
.flag[aria-pressed="true"] svg { box-shadow: 0 0 0 2px var(--brand), 0 0 0 3px var(--bg); }
.flag svg {
  display: block; width: 27px; height: auto; border-radius: 3px;
  box-shadow: 0 0 0 1px var(--border) inset;
  transition: box-shadow .16s ease;
}
.flag:focus-visible { outline: none; }
.flag:focus-visible svg { box-shadow: 0 0 0 2px var(--brand), 0 0 0 3px var(--bg); }

/* ---------- Vrse single sign-on badge (on integrated tool cards) ---------- */
.vrse-badge {
  position: absolute; top: 15px; right: 15px; z-index: 3;
  width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center;
  background: color-mix(in srgb, #7C6CF0 14%, var(--surface));
  border: 1px solid color-mix(in srgb, #7C6CF0 32%, transparent);
  box-shadow: var(--shadow-sm);
}
.vrse-badge img { width: 22px; height: 22px; display: block; }
/* Reserve the badge corner so a card's title/sub-line never slides under it */
.card:has(.vrse-badge) .card-top { padding-right: 42px; }

/* ---------- Vrse-only login (locked to Vrse) ---------- */
.vrse-badge.vrse-only {
  background: color-mix(in srgb, #7C6CF0 16%, var(--surface));
  border-color: #7C6CF0;
  box-shadow: 0 0 0 1px #7C6CF0, 0 2px 9px color-mix(in srgb, #7C6CF0 38%, transparent);
}
.vrse-badge.vrse-only::after {
  content: ""; position: absolute; bottom: -5px; right: -5px;
  width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid var(--surface);
  background: #7C6CF0 center/9px 9px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E");
}

/* ---------- Pricing chip ---------- */
.tag.price { display: inline-flex; align-items: center; gap: 5px; }
.tag.price svg { width: 13px; height: 13px; flex: none; }
.price-free {
  background: color-mix(in srgb, var(--ok) 13%, transparent);
  color: var(--ok); border-color: color-mix(in srgb, var(--ok) 30%, transparent);
}
.price-freemium {
  background: color-mix(in srgb, #0EA5A5 14%, transparent);
  color: #0F766E; border-color: color-mix(in srgb, #0EA5A5 32%, transparent);
}
.price-paid {
  background: color-mix(in srgb, #C8871A 16%, transparent);
  color: #9A6608; border-color: color-mix(in srgb, #C8871A 34%, transparent);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .price-freemium { color: #5EEAD4; }
  :root:not([data-theme="light"]) .price-paid { color: #F5C465; }
}
:root[data-theme="dark"] .price-freemium { color: #5EEAD4; }
:root[data-theme="dark"] .price-paid { color: #F5C465; }

/* ---------- Private projects (family & friends only) ---------- */
.projects-private {
  grid-template-columns: repeat(auto-fit, minmax(230px, 280px));
  justify-content: center;
  gap: 18px;
}
.card-private {
  align-items: center; text-align: center; justify-content: center;
  padding: 34px 26px 28px;
  text-decoration: none;
}
/* Large logo — the focal point of the card */
.card-private .card-icon {
  width: 96px; height: 96px; margin-bottom: 16px; border-radius: 20px;
}
.card-private .card-icon img { width: 72px; height: 72px; border-radius: 14px; }
.card-private h3 {
  font-family: var(--mono); font-size: 1.05rem; font-weight: 650;
  color: var(--text); letter-spacing: -0.01em; margin-bottom: 5px;
}
.card-private .card-sub {
  font-size: .82rem; font-weight: 550; color: var(--text-faint);
}
/* Small "Private" badge, top-right corner */
.private-tag {
  position: absolute; top: 14px; right: 14px;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .68rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase;
  padding: 3px 9px 3px 7px; border-radius: 999px;
  background: var(--surface-alt); color: var(--text-muted);
  border: 1px solid var(--border-strong);
}
.private-tag svg { width: 12px; height: 12px; flex: none; }

/* ---------- Project groups (Games / Other) ---------- */
.project-group + .project-group { margin-top: 44px; }
.group-head-row {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px;
  margin-bottom: 18px;
}
.group-head {
  font-size: 1.15rem; font-weight: 680; letter-spacing: -0.015em;
  color: var(--text); margin: 0;
}
.group-soon {
  font-size: .74rem; font-weight: 650; letter-spacing: .03em;
  padding: 3px 10px; border-radius: 999px;
  color: var(--brand-deep);
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand) 28%, transparent);
}
/* Visit link sits level with the first chip row */
.card-foot .card-link { padding-top: 3px; }

/* ---------- Alpha status tag ---------- */
.tag-alpha {
  background: color-mix(in srgb, #DB2777 13%, transparent);
  color: #BE185D;
  border-color: color-mix(in srgb, #DB2777 30%, transparent);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tag-alpha { color: #F472B6; }
}
:root[data-theme="dark"] .tag-alpha { color: #F472B6; }

/* Inline SVG card glyph (for projects without a raster logo yet) */
.card-icon .card-glyph { width: 44px; height: 44px; display: block; border-radius: 11px; }
