/* Brand tokens for the Portal App marketing kit.
   Everything brand-specific lives in this block so the kit can be re-skinned
   (white-labelled) by swapping the values and the files in assets/brand/. */
@font-face { font-family: 'Inter'; src: url('fonts/inter-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('fonts/montserrat-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --brand: #84cc16;          /* lime-500, fills */
  --brand-bright: #a3e635;   /* lime-400, text on dark */
  --brand-deep: #4d7c0f;     /* lime-700 */
  --brand-ink: #0b1203;      /* text on a brand fill */
  --stage: #050705;          /* page */
  --stage-2: #0c100b;        /* raised surface */
  --stage-3: #141a12;        /* cards */
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f7f1;
  --text-2: #b4bcae;
  --text-3: #7d8677;
  --font-brand: 'Montserrat', system-ui, sans-serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--stage); color: var(--text);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-brand); line-height: 1.08; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--brand-bright); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand-bright); outline-offset: 3px; border-radius: 6px; }

.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.wordmark img { width: 30px; height: 32px; }
.wordmark b { white-space: nowrap; font-family: var(--font-brand); font-weight: 700; letter-spacing: 0.14em; font-size: 14px; display: block; }
.wordmark small { display: block; font-size: 10px; letter-spacing: 0.26em; color: var(--brand-bright); font-weight: 600; }

.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brand-bright); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px;
  border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--text);
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, transform .2s;
}
.btn:hover { border-color: var(--brand-bright); }
.btn:active { transform: scale(0.98); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn.primary:hover { background: var(--brand-bright); }
.demo-tag {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; background: rgba(255,255,255,0.03);
}
.demo-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

/* Skins: mark an element data-only="idealcars" or data-only="driveportal" to show it on one skin. */
[data-skin="idealcars"] [data-only="driveportal"], [data-skin="driveportal"] [data-only="idealcars"] { display: none !important; }
.wordmark .dp { font-family: var(--font-brand); font-weight: 800; font-size: 19px; letter-spacing: 0.02em; line-height: 1; }
.wordmark .dp i { font-style: normal; color: var(--brand-bright); }
.wordmark .dp + small { letter-spacing: 0.14em; color: var(--text-3); margin-top: 3px; }
