/* ===========================================================
   Dotcore · brand.css · DARK system (guidelines §09 "on ink", primary)
   Theme = :root variables only. Components below are shared
   verbatim with the light build.
   =========================================================== */

:root {
  --bg: #0A0E16;            /* Ink */
  --surface: #12161F;       /* Surface */
  --tint: #12161F;
  --border: rgba(255,255,255,0.08);

  --text: #FFFFFF;          /* White */
  --text-2: #9AA0AB;        /* Mist */
  --text-3: #5C6370;        /* Steel */

  --blue: #003DA5;          /* Fleurdelisé Blue */
  --blue-light: #0052CC;
  --blue-dark: #002766;

  --logo-stroke: #FFFFFF;   /* white enclosure on ink */
  --cta-text: #FFFFFF;
  --cta-hover: #0052CC;     /* lighten on hover for dark */

  --glow: rgba(0,61,165,0.20);
  --bar-bg: rgba(10,14,22,0.82);
  --particle-rgb: 70,120,210;

  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}
/* ============ shared from here down ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mono { font-family: var(--mono); }
a { color: inherit; }

/* ── Logo ── */
.lockup { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.lockup .mark { width: 34px; height: 34px; display: block; }
.lockup .enc { stroke: var(--logo-stroke); }
.lockup .core { fill: var(--blue); }
.lockup .word { font-weight: 800; font-size: 1.4rem; letter-spacing: -0.04em; color: var(--text); line-height: 1; }

/* ── Top bar ── */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 2rem;
  background: var(--bar-bg);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.topnav { display: flex; gap: 1.8rem; }
.topnav a {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-2); text-decoration: none;
  transition: color 0.2s;
}
.topnav a:hover { color: var(--blue-light); }

/* ── Buttons ── */
.cta {
  display: inline-block; font-family: var(--sans);
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.01em;
  color: var(--cta-text); background: var(--blue);
  padding: 0.95rem 2.6rem; border-radius: 8px; text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}
.cta:hover { background: var(--cta-hover); }
.cta:active { transform: translateY(1px); }
.cta:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 3px; }

.cta-ghost {
  display: inline-block; font-family: var(--mono);
  font-size: 0.75rem; letter-spacing: 0.06em;
  color: var(--text-2); text-decoration: none;
  border-bottom: 1px solid var(--border); padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.cta-ghost:hover { color: var(--blue-light); border-color: var(--blue-light); }

/* ── Labels ── */
.eyebrow {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase; color: var(--blue-light);
}
.section-num {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.2em; color: var(--blue-light); margin-bottom: 1rem;
}

/* ── Hero (splash) ── */
.hero {
  position: relative; min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 5rem 2rem; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 38%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.particle-bg { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
@media (prefers-reduced-motion: reduce) { .particle-bg { display: none; } }

.hero-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; max-width: 720px;
}
.hero .lockup { margin-bottom: 2.75rem; animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) both; }
.hero .eyebrow { margin-bottom: 1.5rem; animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.15s both; }
.hero-title {
  font-weight: 800; font-size: clamp(2.8rem, 7.5vw, 5rem);
  letter-spacing: -0.035em; line-height: 1.03; margin-bottom: 1.5rem;
  animation: titleReveal 1s cubic-bezier(0.16,1,0.3,1) 0.25s both;
}
.hero-sub {
  font-size: 1.0625rem; font-weight: 400; color: var(--text-2);
  line-height: 1.75; max-width: 520px; margin-bottom: 2.5rem;
  animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.45s both;
}
.hero-actions {
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
  animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.6s both;
}
.hero-meta {
  position: absolute; bottom: 2.25rem; left: 0; right: 0; text-align: center;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em;
  color: var(--text-3); z-index: 1;
  animation: fadeUp 0.8s ease-out 1s both;
}

/* ── Content pages ── */
.page { max-width: 720px; margin: 0 auto; padding-left: 2rem; padding-right: 2rem; }

/* ── Thesis ── */
.thesis { padding-top: 5rem; padding-bottom: 3rem; }
.m-intro { padding-bottom: 4rem; border-bottom: 1px solid var(--border); margin-bottom: 4rem; }
.m-intro .eyebrow { display: block; margin-bottom: 1.5rem; }
.m-lead {
  font-weight: 800; font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  letter-spacing: -0.03em; line-height: 1.12; margin-bottom: 1.5rem;
}
.m-dek { font-size: 1.1rem; color: var(--text-2); line-height: 1.7; max-width: 600px; }

.m-section { margin-bottom: 4rem; }
.m-section h2 {
  font-weight: 800; font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.025em; line-height: 1.15; margin-bottom: 1.5rem;
}
.m-section > p {
  font-size: 1.0625rem; color: var(--text-2); line-height: 1.8;
  margin-bottom: 1.25rem; max-width: 640px;
}
.m-section p strong { color: var(--text); font-weight: 600; }

.pullquote {
  margin: 2rem 0; padding: 1.5rem 1.75rem;
  background: var(--tint); border-left: 2px solid var(--blue);
  border-radius: 0 8px 8px 0;
  font-size: 1.15rem; font-weight: 500; line-height: 1.5;
  color: var(--text); max-width: 640px;
}

.m-points { display: flex; flex-direction: column; gap: 2rem; margin: 1.5rem 0; }
.m-point .pn {
  font-family: var(--mono); font-size: 0.8rem; color: var(--blue-light);
  letter-spacing: 0.05em; display: block; margin-bottom: 0.5rem;
}
.m-point h3 { font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; margin-bottom: 0.5rem; }
.m-point p { font-size: 1rem; color: var(--text-2); line-height: 1.75; max-width: 600px; }

.m-close {
  padding: 4rem 0; border-top: 1px solid var(--border);
  margin-top: 2rem; text-align: center;
}
.m-close p {
  font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 600;
  letter-spacing: -0.02em; line-height: 1.4;
  max-width: 640px; margin: 0 auto 2.5rem;
}

/* ── Contact ── */
.contact { padding-top: 4.5rem; padding-bottom: 6rem; min-height: 70vh; }
.contact .eyebrow { display: block; margin-bottom: 1.25rem; }
.contact h1 {
  font-weight: 800; font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 1.25rem;
}
.contact .dek { font-size: 1.1rem; color: var(--text-2); line-height: 1.7; max-width: 560px; margin-bottom: 3rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 3rem; }
.contact-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 2rem;
  display: flex; flex-direction: column; align-items: flex-start;
}
.ct-label {
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 0.75rem;
}
.contact-card h3 { font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; margin-bottom: 0.6rem; }
.contact-card p { font-size: 0.95rem; color: var(--text-2); line-height: 1.6; margin-bottom: 1.5rem; }
.contact-card .cta { margin-top: auto; }

.contact-direct { display: flex; gap: 3rem; flex-wrap: wrap; }
.contact-link { font-weight: 600; font-size: 1.05rem; color: var(--blue-light); text-decoration: none; letter-spacing: -0.01em; }
a.contact-link:hover { text-decoration: underline; }
.contact-static { color: var(--text); }

/* ── Platform ── */
.platform { padding-top: 5rem; padding-bottom: 3rem; }

.tier-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2rem; }
.tier {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 2rem;
}
.tier h3 { font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.2; margin: 0.5rem 0 0.75rem; }
.tier p { font-size: 0.95rem; color: var(--text-2); line-height: 1.65; }

.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 2.5rem; margin-top: 2rem; }
.pillar h4 { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-light); margin-bottom: 0.5rem; }
.pillar p { font-size: 0.95rem; color: var(--text-2); line-height: 1.65; }

.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin-top: 2rem; }
.trust h4 { font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; margin-bottom: 0.5rem; }
.trust p { font-size: 0.9rem; color: var(--text-2); line-height: 1.6; }

/* spec lists (literal datasheet style) */
.speclist { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1.25rem; }
.speclist li {
  font-size: 0.95rem; color: var(--text-2); line-height: 1.6;
  padding-left: 1.1rem; position: relative;
}
.speclist li::before {
  content: ''; position: absolute; left: 0; top: 0.62em;
  width: 6px; height: 2px; background: var(--blue);
}
.speclist .k {
  color: var(--text); font-weight: 600;
  margin-right: 0.5rem;
}
.tier .speclist { margin-top: 1rem; }

/* ── Footer ── */
.footer { border-top: 1px solid var(--border); padding: 2.5rem 2rem; text-align: center; }
.footer .lockup { margin-bottom: 0.9rem; }
.footer .lockup .word { font-size: 1.05rem; }
.footer .mark { width: 26px; height: 26px; }
.footer p { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; color: var(--text-3); }

/* ── Animations ── */
@keyframes titleReveal {
  0% { opacity: 0; transform: translateY(36px); letter-spacing: 0.02em; }
  100% { opacity: 1; transform: translateY(0); letter-spacing: -0.035em; }
}
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .topbar { padding: 1rem 1.25rem; }
  .topnav { gap: 1.1rem; }
  .page { padding-left: 1.5rem; padding-right: 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-direct { gap: 1.75rem; }
  .tier-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
