/* Startup Moldova — design system v3
   Paletă restrânsă: hârtie caldă + cerneală + O SINGURĂ culoare (cobalt). Verde/roșu/portocaliu doar pentru stări.
   Titluri: Bricolage Grotesque · Interfață: Inter. Vezi vault: 02 Arhitectura/Design system. */
:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --surface-2: #f1f0ec;
  --surface-3: #e8e6e0;
  --border: #e4e2dc;
  --border-strong: #cfccc4;
  --ink: #0e1220;
  --ink-2: #1b2033;
  --text: #151927;
  --muted: #5b6070;
  --faint: #898d99;
  --brand: #2443e6;
  --brand-2: #1a33bd;
  --brand-soft: #edf0fe;
  --brand-line: #cbd3fb;
  --green: #187a55; --green-soft: #e6f3ed;
  --red: #c23a3a; --red-soft: #fbeceb;
  --orange: #a8620f; --orange-soft: #f8f0e4;
  --radius: 14px;
  --radius-sm: 9px;
  --sh-1: 0 1px 2px rgba(14, 18, 32, .05);
  --sh-2: 0 1px 2px rgba(14, 18, 32, .05), 0 14px 34px -14px rgba(14, 18, 32, .2);
  --sh-3: 0 30px 80px -20px rgba(14, 18, 32, .35);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .75, .2, 1);
  --topbar-h: 64px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--topbar-h) + 60px); }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; color: var(--ink); }
h1, h2 { font-family: var(--display); }
h1 { font-size: 34px; font-weight: 700; }
h2 { font-size: 22px; font-weight: 700; }
h3 { font-size: 16px; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--border); margin: 20px 0; }
code { background: var(--surface-2); padding: 1px 6px; border-radius: 5px; font-size: 13px; }
::selection { background: var(--brand-soft); color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 13px; }
.xs { font-size: 12px; }
.bold { font-weight: 650; }
.right { text-align: right; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.lead { font-size: 17px; color: var(--muted); }
.k-value, .fact-v, .table td { font-variant-numeric: tabular-nums; }
.mt0 { margin-top: 0 } .mb0 { margin-bottom: 0 } .mt { margin-top: 16px } .mb { margin-bottom: 16px } .mt2 { margin-top: 28px } .mb2 { margin-bottom: 28px }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.row.top { align-items: flex-start; }
.stack > * + * { margin-top: 12px; }
.grow { flex: 1; min-width: 0; }
.hidden { display: none !important; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 780px; }
@media (max-width: 620px) { .container { padding: 0 16px; } }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-side { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; }
.g-filters { grid-template-columns: 240px minmax(0, 1fr); gap: 36px; }
@media (max-width: 980px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-side, .g-filters { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } h1 { font-size: 27px; } }

/* ---------- antetul public ---------- */
.topbar { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 40; view-transition-name: topbar; }
.topbar .container { display: flex; align-items: center; gap: 18px; height: var(--topbar-h); }
.logo { white-space: nowrap; display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; color: var(--ink); font-size: 18px; letter-spacing: -.03em; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 32px; height: 32px; border-radius: 10px; background: var(--ink); display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 800; position: relative; font-family: var(--font); flex: none; }
.logo-mark::after { content: ''; position: absolute; right: -4px; top: -4px; width: 11px; height: 11px; border-radius: 50%; background: var(--brand); border: 2.5px solid var(--surface); }
.nav { display: flex; gap: 2px; }
.nav a { color: var(--muted); padding: 7px 11px; border-radius: 9px; font-weight: 560; font-size: 14px; position: relative; transition: color .15s, background .15s; }
.nav a:hover { color: var(--ink); background: var(--surface-2); text-decoration: none; }
.nav a.on { color: var(--ink); }
.nav a.on::after { content: ''; position: absolute; left: 11px; right: 11px; bottom: -13px; height: 2px; border-radius: 2px; background: var(--ink); }
.top-search { flex: 1; max-width: 260px; margin-left: auto; position: relative; }
.top-search input, .top-search input[type=search] { width: 100%; padding: 8px 12px 8px 34px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-2); font: inherit; font-size: 14px; transition: background .15s, border-color .15s, box-shadow .15s; }
.top-search input:focus { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); outline: 0; }
.top-search svg { z-index: 1; pointer-events: none; position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--faint); }
.search-btn { display: none !important; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); border-radius: 9px; }
.menu-btn:hover { background: var(--surface-2); }
@media (max-width: 1240px) { .top-search { display: none; } .search-btn { display: inline-flex !important; } .topbar .top-actions { margin-left: auto; } }
@media (max-width: 1080px) {
  .nav { display: none; position: absolute; top: var(--topbar-h); left: 0; right: 0; background: var(--surface); flex-direction: column; padding: 8px 16px 18px; border-bottom: 1px solid var(--border); box-shadow: var(--sh-2); }
  .nav.open { display: flex; animation: drop .25s var(--ease); }
  .nav a { padding: 12px; font-size: 16px; }
  .nav a.on { background: var(--surface-2); }
  .nav a.on::after { display: none; }
  .menu-btn { display: inline-flex; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 480px) { .topbar .logo { font-size: 0; gap: 0; } .topbar .container { gap: 6px; } .top-actions .btn-ghost.hide-xs { display: none; } }

/* ---------- butoane și formulare ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 16px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--ink); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; line-height: 1.2; transition: background .15s, border-color .15s, box-shadow .2s, transform .15s var(--ease); }
.btn:hover { text-decoration: none; background: var(--surface-2); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-2); border-color: var(--brand-2); }
.btn-accent, .btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-accent:hover, .btn-dark:hover { background: var(--ink-2); }
.on-dark .btn-accent, .cta-band .btn-accent, .cookie .btn-accent { background: #fff; border-color: #fff; color: var(--ink); }
.on-dark .btn-accent:hover, .cta-band .btn-accent:hover, .cookie .btn-accent:hover { background: #e9eaef; }
.btn-danger { color: var(--red); border-color: #ecc7c5; }
.btn-danger:hover { background: var(--red-soft); }
.btn-green { background: var(--green); border-color: var(--green); color: #fff; }
.btn-green:hover { background: #126245; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn-sm { padding: 6px 11px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 13px 22px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
form.inline { display: inline; }

.field { margin-bottom: 15px; }
.field label, .label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; color: var(--ink); }
.field .hint { font-size: 12px; color: var(--faint); margin-top: 5px; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=number], input[type=date], input[type=time], input[type=datetime-local], input[type=search], input[type=tel], select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface); font: inherit; font-size: 14px; color: var(--text); transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
input[type=checkbox], input[type=radio] { accent-color: var(--ink); width: 16px; height: 16px; }
textarea { min-height: 100px; resize: vertical; }
.check { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; margin-bottom: 8px; cursor: pointer; }
.check input { margin-top: 2px; flex: none; }

/* ---------- carduri ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--sh-1); }
.card.flat { box-shadow: none; }
.card.pad0 { padding: 0; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.card-head h2, .card-head h3 { margin: 0; }
.card + .card { margin-top: 16px; }
.section { padding-top: 44px; padding-bottom: 44px; }
.section-title { display: flex; justify-content: space-between; align-items: end; margin-bottom: 20px; gap: 12px; flex-wrap: wrap; }
.section-title h2 { margin: 0; font-size: 26px; }
.section-title > a { font-weight: 600; font-size: 14px; white-space: nowrap; color: var(--ink); }
.section-title p { margin: 4px 0 0; }

.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--sh-1); position: relative; overflow: hidden; }
.kpi .k-label { font-size: 12px; color: var(--muted); font-weight: 650; text-transform: uppercase; letter-spacing: .06em; }
.kpi .k-value { font-family: var(--display); font-size: 32px; font-weight: 700; letter-spacing: -.03em; margin-top: 6px; color: var(--ink); line-height: 1.1; }
.kpi .k-sub { font-size: 12.5px; color: var(--faint); margin-top: 4px; }
.kpi .k-up { color: var(--green); font-weight: 650; }
.kpi .k-down { color: var(--red); font-weight: 650; }
.kpi.accent { background: var(--ink); border-color: var(--ink); }
.kpi.accent .k-value { color: #fff; }
.kpi.accent .k-label, .kpi.accent .k-sub { color: rgba(255, 255, 255, .62); }

/* ---------- etichete: neutre; albastru = categorie; verde/roșu/portocaliu = stare ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 1px 9px; border-radius: 99px; font-size: 12px; font-weight: 600; background: var(--surface-2); color: var(--muted); white-space: nowrap; border: 1px solid transparent; line-height: 1.7; }
a.badge:hover { text-decoration: none; border-color: currentColor; }
.b-blue { background: var(--brand-soft); color: var(--brand-2); }
.b-green { background: var(--green-soft); color: var(--green); }
.b-red { background: var(--red-soft); color: var(--red); }
.b-orange { background: var(--orange-soft); color: var(--orange); }
.b-gold, .b-violet { background: var(--surface); color: var(--ink); border-color: var(--border-strong); }
.b-ink { background: var(--ink); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--border); border-radius: 99px; font-size: 13px; color: var(--muted); background: var(--surface); transition: all .15s; }
a.chip:hover { border-color: var(--ink); color: var(--ink); text-decoration: none; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip .n { font-size: 11px; color: var(--faint); font-weight: 600; }

/* ---------- avatare / logouri: neutre (fără culori pe nume) ---------- */
.avatar { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; overflow: hidden; background: var(--surface-3) !important; color: var(--ink); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.lg { width: 88px; height: 88px; font-size: 28px; }
.avatar.sm { width: 30px; height: 30px; font-size: 12px; }
.slogo { width: 52px; height: 52px; border-radius: 13px; display: inline-grid; place-items: center; font-weight: 800; font-size: 17px; flex: none; overflow: hidden; letter-spacing: -.02em; background: var(--surface-2) !important; color: var(--ink); border: 1px solid var(--border); font-family: var(--display); }
.slogo img { width: 100%; height: 100%; object-fit: cover; }
.slogo.lg { width: 96px; height: 96px; font-size: 34px; border-radius: 22px; }
.slogo.sm { width: 34px; height: 34px; font-size: 13px; border-radius: 9px; }
.on-dark .slogo, .flip-back .slogo { background: rgba(255, 255, 255, .08) !important; color: #fff; border-color: rgba(255, 255, 255, .12); }

/* ---------- tabele ---------- */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.table td { padding: 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #faf9f7; }
.table td.right, .table th.right { text-align: right; }

/* ---------- carduri de startup (grilă) ---------- */
.s-card { display: flex; gap: 14px; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease); position: relative; }
.s-card:hover { border-color: var(--border-strong); box-shadow: var(--sh-2); text-decoration: none; transform: translateY(-2px); }
.s-card .s-name { font-weight: 700; font-size: 15.5px; color: var(--ink); letter-spacing: -.01em; }
.s-card .s-tag { color: var(--muted); font-size: 13.5px; margin: 3px 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-card { text-align: center; padding: 24px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); display: block; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.p-card:hover { text-decoration: none; box-shadow: var(--sh-2); transform: translateY(-2px); }
.p-card .avatar { margin-bottom: 10px; }

/* ---------- catalog în rânduri (stil director) ---------- */
.s-list { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.s-row { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 18px 22px; color: var(--text); border-bottom: 1px solid var(--border); position: relative; transition: background .15s; }
.s-row:last-child { border-bottom: 0; }
.s-row:hover { background: #fbfaf8; text-decoration: none; }
.s-row::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--brand); transform: scaleY(0); transition: transform .2s var(--ease); }
.s-row:hover::before { transform: scaleY(1); }
.s-row .slogo { width: 60px; height: 60px; border-radius: 14px; font-size: 20px; }
.s-row .r-name { font-weight: 750; font-size: 17px; color: var(--ink); letter-spacing: -.015em; }
.s-row .r-loc { font-size: 13px; color: var(--faint); font-weight: 500; margin-left: 8px; }
.s-row .r-tag { color: var(--muted); font-size: 14.5px; margin: 2px 0 9px; }
.s-row .r-meta { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.s-row .r-fund { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--ink); }
.s-row .r-fund-l { font-size: 11px; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; font-weight: 650; }
@media (max-width: 620px) {
  .s-row { grid-template-columns: 46px minmax(0, 1fr); gap: 12px; padding: 16px; }
  .s-row .slogo { width: 46px; height: 46px; border-radius: 12px; font-size: 16px; }
  .s-row .r-meta { grid-column: 2; flex-direction: row; align-items: baseline; gap: 6px; justify-content: flex-start; text-align: left; }
  .s-row .r-loc { display: block; margin: 0; }
}
.list-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.list-tools .count { font-weight: 650; color: var(--ink); }

/* filtre cu bife (fațete) */
.facets { position: sticky; top: calc(var(--topbar-h) + 20px); max-height: calc(100vh - var(--topbar-h) - 40px); overflow: auto; scrollbar-width: thin; align-self: start; }
.facets h4 { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin: 22px 0 8px; font-weight: 750; }
.facets h4:first-of-type { margin-top: 4px; }
.facet { display: flex; align-items: center; gap: 10px; padding: 5px 6px; margin: 0 -6px; border-radius: 7px; color: var(--text); font-size: 14px; }
.facet:hover { background: var(--surface-2); text-decoration: none; }
.facet .box { width: 16px; height: 16px; border: 1.5px solid var(--border-strong); border-radius: 4.5px; flex: none; display: grid; place-items: center; background: #fff; transition: all .15s; }
.facet.on .box { background: var(--ink); border-color: var(--ink); }
.facet.on .box::after { content: ''; width: 8px; height: 4px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.facet .n { margin-left: auto; font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
.facet.on { font-weight: 650; }
details.filter-box > summary { cursor: pointer; font-weight: 650; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.filter-box > summary::-webkit-details-marker { display: none; }
details.filter-box > summary::after { content: '▾'; color: var(--faint); transition: transform .2s; }
details.filter-box[open] > summary::after { transform: rotate(180deg); }
details.filter-box[open] > summary { margin-bottom: 14px; }
@media (min-width: 981px) { details.filter-box > summary { display: none; } details.facets { border: 0; background: none; box-shadow: none; padding: 0; } }
@media (max-width: 980px) { .facets { position: static; max-height: none; } details.facets { padding: 14px 18px; } }
.filter-box h4 { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); margin: 18px 0 8px; }
.filter-box h4:first-child { margin-top: 0; }

/* ---------- hero (cerneală, un singur accent) ---------- */
.on-dark { color: #c3c8d6; }
.hero { position: relative; overflow: hidden; background: var(--ink); color: #b9bfcf; padding: 72px 0 124px; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 22px 22px; mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 75%); }
.hero::after { content: ''; position: absolute; z-index: -1; width: 900px; height: 600px; right: -280px; top: -280px; background: radial-gradient(closest-side, rgba(36, 67, 230, .45), transparent); animation: glow 16s ease-in-out infinite alternate; }
@keyframes glow { to { transform: translate(-120px, 80px) scale(1.1); } }
.hero h1 { font-size: 58px; line-height: 1.02; letter-spacing: -.045em; max-width: 760px; color: #fff; font-weight: 750; margin-bottom: 18px; }
.hero .lead { font-size: 19px; color: #a3a9bb; max-width: 600px; }
.hero .eyebrow { color: #8d93a6; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.hero-search { display: flex; gap: 8px; max-width: 640px; margin-top: 28px; background: #fff; padding: 6px; border-radius: 16px; box-shadow: var(--sh-3); }
.hero-search input { flex: 1; padding: 12px 14px; font-size: 16px; border: 0; border-radius: 11px; box-shadow: none !important; min-width: 0; }
.hero-search .btn { padding: 0 24px; border-radius: 11px; }
.hero .chip { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); color: #cfd3df; }
.hero .chip:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .3); }
.hero .chip .n { color: #7d8397; }
.hero-feed { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); border-radius: 18px; padding: 8px; }
.hero-feed .hf-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px 8px; color: #7d8397; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.hero-feed .live { display: inline-flex; align-items: center; gap: 6px; color: #cfd3df; }
.hero-feed .live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, .5); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.hf-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: #e4e6ee; transition: background .15s; }
.hf-item:hover { background: rgba(255, 255, 255, .06); text-decoration: none; }
.hf-item .amt { margin-left: auto; font-family: var(--display); font-weight: 700; color: #fff; font-size: 16px; }
.hf-item .meta { font-size: 12px; color: #7d8397; }
.hero-kpis { margin-top: -76px; position: relative; z-index: 2; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } .hero h1 { font-size: 44px; } }
@media (max-width: 620px) { .hero-kpis { margin-top: -56px; } .hero-kpis .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .hero-kpis .kpi { padding: 14px; } .hero-kpis .k-value { font-size: 24px; } .hero-kpis .k-sub { display: none; } .hero { padding: 40px 0 80px; } .hero h1 { font-size: 34px; } .hero .lead { font-size: 16px; } .hero-search { flex-direction: column; } .hero-search .btn { padding: 12px; } }

/* bandă CTA */
.cta-band { position: relative; overflow: hidden; border-radius: 22px; background: var(--ink); color: #b9bfcf; padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; isolation: isolate; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 95% 130%, rgba(36, 67, 230, .5), transparent 70%); }
.cta-band h2 { color: #fff; font-size: 30px; margin-bottom: 6px; }
.cta-band p { margin: 0; max-width: 560px; }
.cta-band .btn:not(.btn-accent) { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .25); }
.cta-band .btn:not(.btn-accent):hover { background: rgba(255, 255, 255, .08); }
@media (max-width: 620px) { .cta-band { padding: 28px 22px; } .cta-band h2 { font-size: 24px; } }

/* ---------- profil (startup, mentor, fondator) ---------- */
.profile-head { background: var(--surface); border-bottom: 1px solid var(--border); padding: 26px 0 0; }
.crumbs { font-size: 13px; color: var(--faint); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.ph-main { display: flex; gap: 24px; align-items: flex-start; }
.ph-main h1 { font-size: 40px; margin: 0; letter-spacing: -.04em; }
.ph-main .tagline { font-size: 18px; color: var(--muted); margin: 6px 0 14px; max-width: 720px; }
.ph-actions { display: flex; flex-direction: column; gap: 8px; min-width: 210px; }
@media (max-width: 820px) { .ph-main { flex-wrap: wrap; gap: 16px; } .ph-actions { min-width: 0; width: 100%; flex-direction: row; flex-wrap: wrap; } .ph-actions > * { flex: 1 1 180px; } .ph-main h1 { font-size: 30px; } .ph-main .slogo.lg, .ph-main .avatar.lg { width: 72px; height: 72px; font-size: 26px; } .ph-main .slogo.lg { border-radius: 18px; } }
.facts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--border); margin-top: 26px; }
.fact { padding: 16px 18px 16px 0; border-right: 1px solid var(--border); margin-right: 18px; min-width: 0; }
.fact:last-child { border-right: 0; margin-right: 0; }
.fact-l { font-size: 11px; color: var(--faint); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.fact-v { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ink); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.02em; }
.facts.f4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .facts, .facts.f4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .fact { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--border); } }
@media (max-width: 520px) { .facts, .facts.f4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fact-v { font-size: 17px; } }
.ptabs { position: sticky; top: var(--topbar-h); z-index: 30; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.ptabs .container { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.ptabs a { padding: 14px 14px 12px; color: var(--muted); font-weight: 600; font-size: 14px; border-bottom: 2px solid transparent; white-space: nowrap; transition: color .15s, border-color .2s; }
.ptabs a:hover { color: var(--ink); text-decoration: none; }
.ptabs a.on { color: var(--ink); border-color: var(--ink); }
.p-section { scroll-margin-top: calc(var(--topbar-h) + 64px); }
.glance .dl { grid-template-columns: 120px 1fr; }

/* ---------- carduri care se întorc (flip) ---------- */
.flip { display: block; perspective: 1400px; color: inherit; border-radius: var(--radius); -webkit-tap-highlight-color: transparent; }
.flip:hover, .flip:focus { text-decoration: none; }
.flip:focus-visible { outline-offset: 4px; }
.flip-inner { display: grid; transition: transform .7s var(--ease); transform-style: preserve-3d; height: 100%; }
.flip-front, .flip-back { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: var(--radius); border: 1px solid var(--border); padding: 22px; display: flex; flex-direction: column; min-height: 264px; }
.flip-front { background: var(--surface); }
.flip-back { background: var(--ink); color: #b9bfcf; transform: rotateY(180deg); border-color: var(--ink); position: relative; overflow: hidden; }
.flip-back b, .flip-back h3 { color: #fff; }
.flip-back .badge { background: rgba(255, 255, 255, .08); color: #e4e6ee; border-color: transparent; }
.flip-back .fb-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 650; padding-top: 14px; }
.flip-back .fb-cta::after { content: '→'; transition: transform .2s var(--ease); }
.flip:hover .fb-cta::after { transform: translateX(4px); }
.flip-back .fb-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.flip-back .fb-stats div { background: rgba(255, 255, 255, .06); border-radius: 10px; padding: 8px 10px; }
.flip-back .fb-stats b { display: block; font-family: var(--display); font-size: 18px; }
.flip-back .fb-stats span { font-size: 11px; color: #7d8397; }
.flip-front .ff-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.flip-front .ff-name { font-weight: 750; font-size: 17px; color: var(--ink); margin-top: 14px; letter-spacing: -.015em; }
.flip-front .ff-sub { color: var(--muted); font-size: 14px; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.flip-front .ff-foot { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12.5px; color: var(--faint); }
.flip.center .flip-front { align-items: center; text-align: center; }
.flip.center .flip-front .ff-foot { width: 100%; justify-content: center; }
@media (hover: hover) { .flip:hover .flip-inner { transform: rotateY(180deg); } }
.flip:focus-visible .flip-inner, .flip.flipped .flip-inner { transform: rotateY(180deg); }

/* ---------- extindere pe tot ecranul + tranziții între pagini ---------- */
.xp-overlay { position: fixed; z-index: 9999; pointer-events: none; overflow: hidden; background: var(--bg); box-shadow: var(--sh-3); }
.xp-overlay > .xp-clone { position: absolute; inset: 0; margin: 0 !important; transform: none !important; transition: none !important; width: 100% !important; }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .25s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .42s var(--ease) both; }
::view-transition-group(vt-logo), ::view-transition-group(vt-name) { animation-duration: .5s; animation-timing-function: var(--ease); }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }
.page-in main { animation: vt-in .45s var(--ease) both; }

/* apariție la derulare */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
  .flip-inner { transform: none !important; }
  .flip-back { display: none; }
}

/* ---------- panourile cu cont ---------- */
.shell { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; }
.side { background: var(--ink); color: #aab0c2; padding: 18px 12px; position: sticky; top: 0; height: 100vh; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #2a3046 transparent; }
.side .logo { color: #fff; padding: 4px 8px 18px; }
.side .logo-mark { background: #fff; color: var(--ink); }
.side .logo-mark::after { border-color: var(--ink); }
.side-group { font-size: 10.5px; text-transform: uppercase; letter-spacing: .12em; color: #5d6379; padding: 18px 10px 6px; font-weight: 750; }
.side a.item, .side button.item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; color: #aab0c2; border-radius: 9px; font-size: 14px; font-weight: 520; position: relative; transition: background .15s, color .15s; }
.side a.item:hover, .side button.item:hover { background: rgba(255, 255, 255, .06); color: #fff; text-decoration: none; }
.side a.item.on { background: rgba(255, 255, 255, .09); color: #fff; }
.side a.item.on::before { content: ''; position: absolute; left: -12px; top: 7px; bottom: 7px; width: 3px; border-radius: 0 3px 3px 0; background: #fff; }
.side a.item .count { margin-left: auto; background: var(--brand); color: #fff; font-size: 11px; font-weight: 750; padding: 1px 7px; border-radius: 99px; }
.side svg { width: 17px; height: 17px; flex: none; opacity: .8; }
.main { min-width: 0; }
.appbar { height: 62px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 14px; padding: 0 28px; position: sticky; top: 0; z-index: 20; }
.appbar .spacer { flex: 1; }
.content { padding: 28px; max-width: 1320px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head h1 { font-size: 32px; margin: 0; letter-spacing: -.035em; }
.content .page-head h1 { font-size: 26px; }
.page-head p { margin: 4px 0 0; color: var(--muted); }
.bell { position: relative; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: var(--muted); }
.bell:hover { background: var(--surface-2); color: var(--ink); }
.bell .dot { position: absolute; top: 3px; right: 2px; background: var(--brand); color: #fff; font-size: 10px; font-weight: 700; padding: 0 5px; border-radius: 99px; line-height: 16px; box-shadow: 0 0 0 2px #fff; }
.switcher select { padding: 7px 10px; border-radius: 9px; font-weight: 600; width: auto; max-width: 220px; }
.side-toggle { display: none; }
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; left: -280px; width: 268px; z-index: 50; transition: left .25s var(--ease); }
  .side.open { left: 0; box-shadow: 0 0 0 9999px rgba(14, 18, 32, .45); }
  .side-toggle { display: inline-flex; }
  .content { padding: 18px 16px; }
  .appbar { padding: 0 12px; gap: 10px; }
}

/* ---------- diverse ---------- */
.flash { padding: 12px 16px; border-radius: 11px; margin-bottom: 16px; font-weight: 550; font-size: 14px; border: 1px solid transparent; animation: drop .35s var(--ease); }
.flash.ok { background: var(--green-soft); color: #11583e; border-color: #cfe7db; }
.flash.err { background: var(--red-soft); color: #8a2525; border-color: #f0d0ce; }
.flash.info { background: var(--brand-soft); color: var(--brand-2); border-color: var(--brand-line); }
.empty { text-align: center; padding: 44px 20px; color: var(--muted); }
.empty .big { font-size: 34px; margin-bottom: 8px; filter: grayscale(1); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; }
.tabs a { padding: 10px 14px; color: var(--muted); font-weight: 600; font-size: 14px; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a.on { color: var(--ink); border-color: var(--ink); }
.tabs a:hover { text-decoration: none; color: var(--ink); }
.list-item { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.list-item:last-child { border-bottom: 0; }
a.list-item { color: inherit; }
a.list-item:hover { text-decoration: none; }
a.list-item:hover b, a.list-item:hover .bold { color: var(--brand); }
.progress { height: 8px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.pager .btn-primary { background: var(--ink); border-color: var(--ink); }
.dl { display: grid; grid-template-columns: 160px 1fr; gap: 10px 16px; font-size: 14px; margin: 0; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; font-weight: 550; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .dl { grid-template-columns: 1fr !important; gap: 2px; } .dl dd { margin-bottom: 8px; } }
.timeline { border-left: 2px solid var(--border); margin-left: 6px; padding-left: 20px; }
.timeline .t-item { position: relative; padding-bottom: 20px; }
.timeline .t-item:last-child { padding-bottom: 0; }
.timeline .t-item::before { content: ''; position: absolute; left: -27px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 3px solid var(--ink); }
.slot { display: inline-flex; flex-direction: column; padding: 9px 12px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface); font-size: 13px; text-align: left; min-width: 120px; transition: all .15s; }
.slot b { font-size: 14px; }
.slot.taken { background: var(--surface-2); color: var(--faint); }
label.slot:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 3px var(--brand-soft); }
button.slot { cursor: pointer; font: inherit; }
button.slot:hover, label.slot:hover { border-color: var(--brand); }
.chart-box { position: relative; height: 260px; }
.chart-box.sm { height: 200px; }
.chart-box.lg { height: 320px; }
.diff { font-size: 13px; }
.diff .old { background: var(--red-soft); text-decoration: line-through; padding: 1px 4px; border-radius: 4px; }
.diff .new { background: var(--green-soft); padding: 1px 4px; border-radius: 4px; }
.cookie { position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 540px; background: var(--ink); color: #e4e6ee; border-radius: 16px; padding: 16px 18px; z-index: 100; box-shadow: var(--sh-3); font-size: 14px; animation: drop .4s var(--ease); }
.cookie a { color: #fff; text-decoration: underline; }
footer.site { background: var(--ink); color: #8b91a5; margin-top: 56px; padding: 48px 0 32px; font-size: 14px; }
footer.site a { color: #c3c8d6; }
footer.site b { color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
footer.site .logo { color: #fff; }
footer.site .logo-mark { background: #fff; color: var(--ink); }
footer.site .logo-mark::after { border-color: var(--ink); }
footer.site .copy { color: #6b7187; border-top: 1px solid #222839; padding-top: 22px; margin-top: 32px; font-size: 13px; }
.auth-wrap { min-height: calc(100vh - var(--topbar-h)); display: grid; place-items: center; padding: 40px 16px; }
.auth-card { width: 100%; max-width: 460px; box-shadow: var(--sh-2); padding: 30px; }
.choice { display: block; border: 1.5px solid var(--border); border-radius: 13px; padding: 16px; cursor: pointer; transition: all .15s; background: var(--surface); }
.choice:hover { border-color: var(--border-strong); }
.choice:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.choice input { margin-right: 8px; }
.matrix select { padding: 5px 8px; font-size: 13px; }
.bar-row { display: grid; grid-template-columns: 140px 1fr 44px; gap: 10px; align-items: center; font-size: 13px; margin-bottom: 9px; }
.bar-row .bar { height: 8px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.bar-row .bar span { display: block; height: 100%; background: var(--ink); border-radius: 99px; transform-origin: left; }
.js .rv .bar-row .bar span { transform: scaleX(0); transition: transform 1s var(--ease) .2s; }
.js .rv.in .bar-row .bar span { transform: scaleX(1); }
.icon-tile { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--surface-2); color: var(--ink); flex: none; }

@media print { .side, .appbar, .no-print, .cookie, .topbar, .ptabs, footer.site { display: none !important; } .shell { display: block; } .content { padding: 0; } .card { box-shadow: none; break-inside: avoid; } .js .rv { opacity: 1 !important; transform: none !important; } }
@media (max-width: 620px) { .card { padding: 18px; } .section { padding-top: 32px; padding-bottom: 32px; } }
@media (max-width: 620px) { .s-row { align-items: start; } }

/* ===================== Coregrafia mișcării (v4) — vezi vault: Reguli de design ===================== */
:root { --spring: cubic-bezier(.32, .72, 0, 1); --out: cubic-bezier(.4, 0, 1, 1); --t-press: 120ms; --t-ui: 200ms; --t-sheet: 320ms; --t-morph: 520ms; }
/* apăsare: tot ce e apăsabil se strânge puțin și revine elastic */
.btn, .chip, .facet, .s-card, .p-card, .kpi, .hf-item, .list-item, .ptabs a, .nav a { transition-timing-function: var(--spring); }
.btn:active, .chip:active, .facet:active, .hf-item:active, a.list-item:active { transform: scale(.97); transition-duration: var(--t-press); }
.s-card:active, .p-card:active, a.kpi:active { transform: scale(.985); transition-duration: var(--t-press); }
.s-row:active { background: var(--surface-2); }
.flip:active .flip-inner { transition-duration: var(--t-morph); }
.flip-inner { transition: transform 650ms var(--spring); }
.flip:hover .flip-front, .flip:focus-visible .flip-front { box-shadow: var(--sh-2); }
a.kpi { color: inherit; display: block; transition: transform var(--t-ui) var(--spring), box-shadow var(--t-ui); }
a.kpi:hover { transform: translateY(-2px); box-shadow: var(--sh-2); text-decoration: none; }
/* indicator care alunecă (meniu, file) */
.slide-ind { position: absolute; height: 2px; bottom: 0; left: 0; width: 0; background: var(--ink); border-radius: 2px; transition: transform 380ms var(--spring), width 380ms var(--spring), opacity 200ms; pointer-events: none; opacity: 0; }
.nav.has-ind { position: relative; }
.nav.has-ind .slide-ind { bottom: -13px; }
.nav.has-ind a.on::after { display: none; }
.ptabs .container { position: relative; }
.ptabs.has-ind a.on { border-color: transparent; }
/* butonul care se trimite */
.btn.is-busy { pointer-events: none; color: transparent !important; position: relative; }
.btn.is-busy::after { content: ''; position: absolute; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-color: rgba(255, 255, 255, .9) rgba(255, 255, 255, .9) transparent transparent; animation: spin .7s linear infinite; }
.btn:not(.btn-primary):not(.btn-dark):not(.btn-green).is-busy::after { border-color: var(--ink) var(--ink) transparent transparent; }
@keyframes spin { to { transform: rotate(360deg); } }
/* cortina de extindere (clip-path, fluidă pe GPU) */
.xp-curtain { position: fixed; z-index: 9999; pointer-events: none; overflow: hidden; will-change: top, left, width, height; }
.xp-curtain .xp-clone { position: absolute; margin: 0 !important; transform-origin: center; will-change: opacity, transform; }
/* intrarea paginii după o extindere: întâi containerul, apoi conținutul */
.page-in main > *, .page-in .content > * { animation: rise 560ms var(--spring) both; }
.page-in main > *:nth-child(2), .page-in .content > *:nth-child(2) { animation-delay: 50ms; }
.page-in main > *:nth-child(3), .page-in .content > *:nth-child(3) { animation-delay: 100ms; }
.page-in main > *:nth-child(4), .page-in .content > *:nth-child(4) { animation-delay: 150ms; }
.page-in main > *:nth-child(n+5), .page-in .content > *:nth-child(n+5) { animation-delay: 200ms; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
::view-transition-old(root) { animation: vt-out 200ms var(--out) both; }
::view-transition-new(root) { animation: vt-fade 260ms ease both; }
@keyframes vt-fade { from { opacity: 0; } }
/* meniul de pe mobil: foaie pe tot ecranul, elementele intră pe rând */
@media (max-width: 1080px) {
  .nav { height: calc(100dvh - var(--topbar-h)); padding: 16px 20px 32px; gap: 2px; overflow-y: auto; background: var(--bg); box-shadow: none; }
  .nav.open { animation: sheet var(--t-sheet) var(--spring); }
  .nav a { font-family: var(--display); font-size: 26px; font-weight: 700; color: var(--ink); padding: 10px 4px; border-radius: 0; border-bottom: 1px solid var(--border); letter-spacing: -.02em; }
  .nav a:hover { background: none; }
  .nav a.on { background: none; color: var(--brand); }
  .nav.open a { animation: rise 460ms var(--spring) both; }
  .nav.open a:nth-child(2) { animation-delay: 30ms; } .nav.open a:nth-child(3) { animation-delay: 60ms; } .nav.open a:nth-child(4) { animation-delay: 90ms; } .nav.open a:nth-child(5) { animation-delay: 120ms; } .nav.open a:nth-child(6) { animation-delay: 150ms; } .nav.open a:nth-child(7) { animation-delay: 180ms; }
  .nav .slide-ind { display: none; }
  body.menu-open { overflow: hidden; }
  .menu-btn svg { transition: transform var(--t-sheet) var(--spring); }
  .menu-btn[aria-expanded="true"] svg { transform: rotate(90deg); }
}
@keyframes sheet { from { opacity: 0; transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .page-in main > *, .page-in .content > * { animation: none !important; } .slide-ind { transition: none; } }
.nav .nav-extra { display: none; }
@media (max-width: 1080px) { .nav .nav-extra { display: block; color: var(--brand); border-bottom: 0; margin-top: 12px; font-size: 20px; } .nav.open a.nav-extra { animation-delay: 210ms; } }

/* =====================================================================
   v5 — „Registrul”. Brief: registrul național al startupurilor din Moldova.
   Codru (verde de pădure) pentru structură, vin pentru accent rar, calcar pentru suprafețe.
   O singură familie (Schibsted Grotesk) cu cifre tabulare. Scară 1,25: 14·16·20·25·31·39·49.
   Fără etichete cu majuscule, fără font mono, fără tranziții de pagină. Vezi vault: 02 Arhitectura/Reguli de design.
   ===================================================================== */
:root {
  --paper: #fbfbf9; --stone: #e5e3dc; --stone-2: #f1f0eb; --codru: #183a2b; --codru-2: #0f2a1e; --wine: #9b2335; --wine-soft: #f6e8ea;
  --bg: var(--paper); --surface: #ffffff; --surface-2: var(--stone-2); --surface-3: var(--stone);
  --border: #dedcd4; --border-strong: #bdbab0;
  --ink: #202522; --ink-2: #2e3430; --text: #202522; --muted: #5a605b; --faint: #858a84;
  --brand: var(--codru); --brand-2: var(--codru-2); --brand-soft: #e6eee9; --brand-line: #b9cdc1; --link: var(--codru);
  --radius: 6px; --radius-sm: 4px;
  --sh-1: none; --sh-2: none; --sh-3: 0 18px 40px rgba(24, 58, 43, .18);
  --font: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: var(--font);
  --topbar-h: 64px;
}
@view-transition { navigation: none; }
.xp-overlay, .xp-curtain, .slide-ind { display: none !important; }
.js .rv, .js .rv.in { opacity: 1 !important; transform: none !important; }
.page-in main > *, .page-in .content > * { animation: none !important; }

body { background: var(--paper); color: var(--text); font-size: 16px; line-height: 1.55; }
.k-value, .fact-v, .table td, .yr-v, .dom-n, .reg-num, .prog-n, .n, .count, .reg-wall-count b { font-feature-settings: 'tnum' 1; }
h1, h2, h3 { font-family: var(--font); color: var(--codru-2); letter-spacing: -.015em; }
h1 { font-size: 39px; font-weight: 800; line-height: 1.1; }
h2 { font-size: 25px; font-weight: 700; }
h3 { font-size: 16px; font-weight: 700; letter-spacing: 0; }
a { color: var(--codru); }
a:hover { color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }
::selection { background: var(--wine-soft); }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 2px; border-radius: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600; color: var(--muted); }

/* antet: liniștit, alb, cu numele ca marcă */
.topbar { background: rgba(251, 251, 249, .96); backdrop-filter: none; border-bottom: 1px solid var(--border); }
.logo { font-family: var(--font); font-weight: 800; color: var(--codru-2); letter-spacing: -.02em; font-size: 19px; }
.logo-mark { background: var(--codru); color: #fff; border-radius: 4px; font-weight: 800; }
.logo-mark::after { display: none; }
.nav a { color: var(--ink-2); font-weight: 500; border-radius: 4px; }
.nav a:hover { background: var(--stone-2); color: var(--codru-2); text-decoration: none; }
.nav a.on { color: var(--codru-2); font-weight: 700; }
.nav a.on::after { background: var(--wine); height: 2px; bottom: -14px; left: 11px; right: 11px; }
.top-search input, .top-search input[type=search] { background: #fff; border: 1px solid var(--border); border-radius: 4px; }
.top-search input:focus { border-color: var(--codru); box-shadow: 0 0 0 3px var(--brand-soft); }

/* butoane, câmpuri */
.btn { border-radius: var(--radius-sm); font-weight: 600; transition: background-color .12s, border-color .12s, color .12s; }
.btn:active { transform: none; }
.btn-primary { background: var(--codru); border-color: var(--codru); color: #fff; }
.btn-primary:hover { background: var(--codru-2); border-color: var(--codru-2); color: #fff; text-decoration: none; }
.btn-accent, .btn-dark { background: var(--codru-2); border-color: var(--codru-2); color: #fff; }
input:focus, select:focus, textarea:focus { border-color: var(--codru); box-shadow: 0 0 0 3px var(--brand-soft); }
input[type=checkbox], input[type=radio] { accent-color: var(--codru); }

/* componente comune: chenar subțire, fără umbră; ierarhia vine din spațiu și tipografie */
.card, .kpi, .s-card, .p-card, .s-list, .flip-front { border-radius: var(--radius); box-shadow: none !important; border-color: var(--border); }
.s-card:hover, .p-card:hover, .flip:hover .flip-front { border-color: var(--codru); transform: none; }
.card h3, .card-head h3 { text-transform: none; letter-spacing: 0; font-size: 16px; }
.badge { border-radius: 3px; font-weight: 500; }
.b-blue { background: var(--brand-soft); color: var(--codru-2); border-color: var(--brand-line); }
.chip.on, .facet.on { background: var(--codru); color: #fff; border-color: var(--codru); }
.slogo { background: var(--stone-2) !important; color: var(--codru-2); border: 1px solid var(--border); border-radius: 4px; }
.avatar { background: var(--stone); color: var(--codru-2); }
.table th { text-transform: none; letter-spacing: 0; font-size: 13px; }
.s-row:hover, a.list-item:hover { background: var(--stone-2); }
.s-row::before { background: var(--wine) !important; }
.kpi .k-label, .fact-l { text-transform: none; letter-spacing: 0; font-size: 13px; }
.flip-inner { transform: none !important; display: block; }
.flip-back { display: none !important; }
.side { background: var(--codru-2); }
.side .logo-mark { background: #fff; color: var(--codru-2); }
.side a.item.on::before { background: #fff !important; }
.side .count { background: var(--wine); color: #fff; }
footer.site { background: var(--codru-2); color: #c9d3cd; }
footer.site a { color: #e8eee9; }
footer.site .logo-mark { background: #fff; color: var(--codru-2); }
.cookie { border-radius: var(--radius); }
.cta-band { background: var(--codru) !important; }
.cta-band::before, .hero::before, .hero::after { display: none !important; }

/* ---------- prima pagină: registrul ---------- */
.reg-hero { border-bottom: 1px solid var(--border); background: var(--paper); }
.reg-hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; padding-top: 56px; padding-bottom: 0; align-items: stretch; }
.reg-intro { padding-bottom: 56px; }
.reg-intro h1 { font-size: 49px; line-height: 1.04; letter-spacing: -.03em; max-width: 12ch; margin-bottom: 20px; }
.reg-lead { font-size: 18px; color: var(--muted); max-width: 42ch; margin-bottom: 28px; }
.reg-search { display: flex; border: 1.5px solid var(--codru); border-radius: 6px; background: #fff; overflow: hidden; max-width: 480px; }
.reg-search input { border: 0 !important; box-shadow: none !important; padding: 14px 16px; font-size: 16px; border-radius: 0; }
.reg-search .btn { border-radius: 0; padding: 0 22px; }
.reg-domains-label { margin: 28px 0 10px; font-size: 14px; color: var(--muted); }
.reg-domains { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; max-width: 480px; }
.reg-domains a { color: var(--codru-2); font-weight: 600; font-size: 15px; text-decoration: none; border-bottom: 1px solid var(--brand-line); padding: 2px 0; }
.reg-domains a:hover, .reg-domains a:focus { color: var(--wine); border-color: var(--wine); }
.reg-domains .n { color: var(--faint); font-weight: 400; font-size: 13px; }
.reg-wall { position: relative; border-left: 1px solid var(--border); padding: 0 0 0 40px; max-height: 560px; overflow: hidden; }
.reg-wall::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(rgba(251, 251, 249, 0), var(--paper)); pointer-events: none; }
.reg-wall-all { position: absolute; z-index: 2; left: 40px; right: 0; bottom: 0; padding-top: 14px !important; padding-bottom: 18px !important; font-weight: 700; color: var(--codru-2); background: var(--paper); padding: 6px 0; text-decoration: underline; text-decoration-color: var(--wine); text-underline-offset: 4px; }
.reg-wall-all:hover { color: var(--wine); }
@media (max-width: 980px) { .reg-wall-all { left: 0; } }
.reg-wall-count { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.reg-wall-count b { color: var(--wine); font-size: 16px; }
.reg-wall-names { font-size: 17px; line-height: 1.75; color: var(--ink); text-wrap: pretty; }
.reg-wall-names a { color: var(--ink-2); text-decoration: none; margin-right: .55em; white-space: nowrap; transition: color .15s, opacity .15s; }
.reg-wall-names a:hover { color: var(--wine); text-decoration: underline; }
.reg-wall[data-on]:not([data-on=""]) .reg-wall-names a { opacity: .22; }
.reg-wall-names a.lit { opacity: 1 !important; color: var(--wine); font-weight: 700; }

.reg-section { padding: 64px 0; border-bottom: 1px solid var(--border); }
.reg-alt { background: #fff; }
.reg-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.reg-head h2 { margin: 0; }
.reg-more { font-weight: 600; font-size: 15px; color: var(--codru); text-decoration: underline; text-decoration-color: var(--brand-line); text-underline-offset: 4px; }
.reg-more:hover { color: var(--wine); text-decoration-color: var(--wine); }
.reg-summary { font-size: 20px; line-height: 1.6; max-width: 62ch; color: var(--ink-2); margin-bottom: 40px; }
.reg-summary b { color: var(--codru-2); }
.reg-sub { color: var(--muted); max-width: 52ch; }
.reg-note { font-size: 13px; color: var(--faint); margin: 14px 0 0; max-width: 60ch; }
.reg-data { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; }
.reg-fig { margin: 0; }
.reg-fig figcaption { font-weight: 700; color: var(--codru-2); margin-bottom: 18px; }
.yr-bars { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; height: 240px; align-items: end; border-bottom: 1px solid var(--border-strong); }
.yr { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; position: relative; }
.yr-bar { width: 100%; max-width: 54px; background: var(--codru); border-radius: 3px 3px 0 0; }
.yr:last-child .yr-bar { background: var(--wine); }
.yr-v { font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; white-space: nowrap; }
.yr-l { position: absolute; bottom: -26px; font-size: 13px; color: var(--muted); }
.reg-fig .yr-bars + .reg-note { margin-top: 40px; }
.dom-bars { list-style: none; margin: 0; padding: 0; }
.dom-bars a { display: grid; grid-template-columns: minmax(0, 19ch) minmax(0, 1fr) 3ch; gap: 14px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--stone); color: var(--ink); text-decoration: none; font-size: 15px; }
.dom-bars a:hover .dom-name { color: var(--wine); }
.dom-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dom-track { height: 8px; background: var(--stone-2); border-radius: 2px; overflow: hidden; }
.dom-track span { display: block; height: 100%; background: var(--codru); }
.dom-n { text-align: right; font-weight: 600; }

.reg-table { border-top: 2px solid var(--codru-2); }
.reg-tr { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 4fr) minmax(0, 1.6fr) minmax(0, 1.3fr) 4.5ch; gap: 20px; padding: 14px 4px; border-bottom: 1px solid var(--border); color: var(--ink); text-decoration: none; align-items: baseline; font-size: 15px; }
a.reg-tr:hover { background: var(--paper); text-decoration: none; color: var(--ink); }
a.reg-tr:hover .reg-name { color: var(--wine); }
.reg-th { font-size: 13px; color: var(--muted); font-weight: 600; padding-top: 10px; padding-bottom: 10px; }
.reg-name { font-weight: 700; color: var(--codru-2); }
.reg-name small { display: block; font-weight: 400; color: var(--faint); font-size: 13px; }
.reg-what { color: var(--muted); }
.reg-num { text-align: right; }

.reg-two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.prog-list, .ev-list, .mentor-list { list-style: none; margin: 0; padding: 0; }
.prog-list a, .ev-list a { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); color: var(--ink); text-decoration: none; font-weight: 600; }
.prog-list a:hover, .ev-list a:hover { color: var(--wine); }
.prog-n { color: var(--muted); font-weight: 400; white-space: nowrap; }
.ev-list a { justify-content: flex-start; }
.ev-list time { min-width: 11ch; color: var(--wine); font-weight: 700; }
.ev-list small, .mentor-list small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.mentor-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.mentor-list a { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--border); color: var(--ink); text-decoration: none; }
.mentor-list a:hover b { color: var(--wine); }
.mentor-list b { color: var(--codru-2); }
.mentor-list em { display: block; font-style: normal; font-size: 13px; color: var(--faint); margin-top: 2px; }

.reg-cta { background: var(--codru); border-bottom: 0; }
.reg-cta-in { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.reg-cta h2 { color: #fff; }
.reg-cta p { color: #c9d8cf; max-width: 56ch; margin: 0; }
.reg-cta-act { display: flex; gap: 12px; flex-wrap: wrap; }
.reg-cta .btn-primary { background: #fff; border-color: #fff; color: var(--codru-2); }
.reg-cta .btn-primary:hover { background: var(--stone); border-color: var(--stone); color: var(--codru-2); }
.reg-cta .btn:not(.btn-primary) { background: transparent; color: #fff; border-color: #5f8a74; }
.reg-cta .btn:not(.btn-primary):hover { border-color: #fff; }

@media (max-width: 980px) {
  .reg-hero-grid, .reg-data, .reg-two { grid-template-columns: 1fr; gap: 40px; }
  .reg-intro { padding-bottom: 0; }
  .reg-wall { border-left: 0; border-top: 1px solid var(--border); padding: 28px 0 0; max-height: 340px; }
  .mentor-list { grid-template-columns: 1fr 1fr; }
  .reg-tr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 16px; }
  .reg-th { display: none; }
  .reg-what { grid-column: 1 / -1; order: 5; }
  .reg-num { text-align: left; }
}
@media (max-width: 620px) {
  .reg-intro h1 { font-size: 34px; }
  .reg-lead { font-size: 16px; }
  .reg-summary { font-size: 17px; }
  .reg-section { padding: 44px 0; }
  .mentor-list { grid-template-columns: 1fr; }
  .yr-bars { gap: 4px; height: 200px; }
  .yr-v { font-size: 10px; }
  .yr-l { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .reg-wall-names a { transition: none; } }

/* Logoul „startup.md”: doar text. Newsreader semibold, punct roșu-vin, „md” italic. Vezi /studio/logo. */
.logo { font-family: 'Newsreader', Georgia, serif; font-weight: 600; font-size: 25px; letter-spacing: -.025em; font-variation-settings: 'opsz' 72; color: var(--codru-2); line-height: 1; gap: 0; display: inline-flex; align-items: baseline; text-decoration: none; }
.logo:hover { color: var(--codru-2); text-decoration: none; }
.logo .lg-dot { color: var(--wine); margin: 0 .02em 0 .015em; }
.logo .lg-md { font-style: italic; font-weight: 500; letter-spacing: -.005em; }
.logo:hover .lg-dot { color: var(--codru); }
footer.site .logo, .side .logo { color: #fbfbf9; }
footer.site .logo .lg-dot, .side .logo .lg-dot { color: #e2a3ac; }
@media (max-width: 480px) { .topbar .logo { font-size: 23px; } }

/* bara contului pe telefon: logoul și numele startupului pe același rând, fără numele utilizatorului */
@media (max-width: 720px) { .appbar .row { flex-wrap: nowrap; min-width: 0; } .appbar .row b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 46vw; } .appbar .row .small.bold { display: none; } }
