/* Viroan — base reset + shared primitives */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--fg-0);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Artboard container — fits design_canvas card */
.viroan-page {
  width: 1280px;
  background: var(--bg-0);
  color: var(--fg-0);
  overflow: hidden;
  font-feature-settings: "ss01", "cv11";
}

/* Generic primitives */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-2);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px; border-radius: 8px;
  font-family: var(--font-mono); font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.10em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: all .22s cubic-bezier(.22,1,.36,1);
  position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--accent); color: #0a0d0c;
  font-weight: 600;
  box-shadow: 0 0 0 0 var(--accent-soft), 0 6px 18px rgba(0,0,0,0.2);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px var(--accent-soft), 0 10px 24px rgba(0,0,0,0.28);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost {
  background: transparent; color: var(--fg-0);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}
.btn-sm { padding: 8px 14px; font-size: 10.5px; gap: 8px; }

.divider { height: 1px; background: var(--line); width: 100%; }

/* Header used across all variants */
.v-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 56px; border-bottom: 1px solid var(--line);
}
.v-logo { display:flex; align-items:center; gap:10px; font-weight: 600; letter-spacing: 0.02em; }
.v-logo svg { width: 22px; height: 22px; }
.v-nav { display: flex; gap: 28px; font-size: 13px; color: var(--fg-1); }
.v-nav a { color: inherit; text-decoration: none; }
.v-nav a:hover { color: var(--fg-0); }
.v-header-right { display:flex; align-items:center; gap: 12px; }
.lang-pill {
  display:inline-flex; gap: 2px; padding: 4px;
  border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--font-mono); font-size: 10px;
}
.lang-pill button {
  appearance:none; background:transparent; color: var(--fg-2);
  border:0; padding: 4px 8px; border-radius: 999px; cursor:pointer; letter-spacing: 0.08em;
}
.lang-pill button.active { background: var(--bg-2); color: var(--fg-0); }

/* Section spacing */
.section { padding: 96px 56px; position: relative; }
.section-tight { padding: 64px 56px; }

/* Number display */
.num { font-family: var(--font-display); font-weight: 400; }

/* Grid lines for institutional vibe */
.grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%;
  opacity: 0.5;
}

/* Logo monogram */
.logo-mark { display:inline-block; }

/* Cookie / browser-storage notice — one-time banner pinned to the
   bottom of the viewport on first visit. Single dismiss action;
   no accept/reject gate because Viroan doesn't set tracking
   cookies. Layout collapses to a single column on mobile so the
   text never gets squashed against the button. */
.cookie-notice {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9000;
  background: var(--bg-1);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: 0 24px 60px -32px rgba(0,0,0,0.5);
  animation: cookie-rise 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes cookie-rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-notice-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 18px 22px;
}
.cookie-notice-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-2);
}
.cookie-notice-copy strong {
  color: var(--fg-0);
  font-weight: 500;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: -0.005em;
}
.cookie-notice-link {
  color: var(--accent);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 4px;
}
.cookie-notice-link:hover { text-decoration: underline; }
.cookie-notice-btn {
  white-space: nowrap;
  font-size: 12px;
  padding: 11px 22px;
  letter-spacing: 0.12em;
}
@media (max-width: 700px) {
  .cookie-notice { left: 10px; right: 10px; bottom: 10px; }
  .cookie-notice-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px 18px;
  }
  .cookie-notice-btn { width: 100%; justify-content: center; }
}
