/* ==========================================================================
   zuvronixsolution — design system
   Studied-DNA build. Palette, type role, radius and macrostructure were
   measured from zefr.com (Tailwind build, theme CSS read on 2026-10-23):
   near-white slate ground #f8fafc · ink #0f172a · electric indigo #1b00ff ·
   slate borders #e2e8f0 · 8 / 12 / 20px radii with fully rounded buttons ·
   Lexend across every role (300–700 variable, h1 400 weight) · a dark,
   full-bleed media hero followed by light, evenly weighted sections.
   ========================================================================== */

@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/Lexend-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* surfaces */
  --paper: #f8fafc;
  --white: #ffffff;
  --ink: #0f172a;
  --ink-band: #0b1020;
  --ink-hero: #04050b;
  --ink-2: #475467;
  --ink-3: #6b7280;
  --mint: #eef0ff;
  --sky: #e9edf7;
  --sand: #e2dfff;
  --aqua: #dcd8ff;

  /* accent */
  --accent: #1b00ff;
  --accent-hover: #3023fb;
  --accent-deep: #1b00ff;
  --accent-ink: #ffffff;
  --accent-soft: #eef0ff;
  --accent-mist: #f5f6ff;
  --accent-line: #d5d0ff;

  /* lines */
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --line-soft: #eef2f7;

  /* radius + depth */
  --radius: 8px;
  --radius-sm: 6px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-pill: 999px;
  --shadow: 0 22px 60px rgba(15, 23, 42, 0.14);
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.07);

  /* type */
  --font-sans: 'Lexend', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* brand mark inks, re-declared per surface */
  --brand-a: #0f172a;
  --brand-b: #1b00ff;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; letter-spacing: -0.022em; }
h3, h4, h5, h6 { font-weight: 500; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; }
a { color: var(--accent-deep); text-decoration: none; }
a:hover { color: var(--accent-ink); }
button { font-family: inherit; }
svg { display: block; }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.center { text-align: center; }
.muted { color: var(--ink-3); }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-6 { margin-bottom: 24px; }

.lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 68ch;
}

/* ---------- brand mark ---------- */
/* Self-drawn: an orbit — a hairline ring around a solid core with one
   satellite point. Deliberately not the skeleton's square-with-notch, the
   open-bracket chip of the previous build, or any earlier mark. */
.brand-mark {
  width: 22px;
  height: 22px;
  position: relative;
  display: inline-block;
  flex: 0 0 22px;
  box-sizing: border-box;
  border: 2px solid var(--brand-a);
  border-radius: 50%;
  background-image:
    radial-gradient(circle at 74% 26%, var(--brand-b) 0 1.8px, transparent 2.2px),
    radial-gradient(circle at 50% 50%, var(--brand-b) 0 3.2px, transparent 3.6px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand__name {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  white-space: nowrap;
}

.brand__name em {
  font-style: normal;
  font-weight: 500;
  color: var(--accent-deep);
}

/* ---------- buttons ---------- */
.btn,
.btn--primary,
.btn--accent,
.btn--ghost,
.btn--light,
.btn--onband,
.btn--dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }

.btn--accent {
  background: var(--accent-soft);
  color: var(--accent-deep);
  border-color: var(--accent-line);
}
.btn--accent:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover { background: var(--white); border-color: var(--ink); color: var(--ink); }

.btn--light {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}
.btn--light:hover { border-color: var(--line-2); color: var(--ink); }

.btn--onband {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}
.btn--onband:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.btn--dark {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn--dark:hover { background: #1a2233; color: #fff; }

.band .btn--dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.band .btn--dark:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.875rem;
}
.btn--block { width: 100%; }
.btn:disabled,
.btn--primary:disabled,
.btn--ghost:disabled { opacity: 0.55; cursor: not-allowed; }

.linklike {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}
.linklike:hover { color: var(--accent); }

/* ---------- eyebrow / chips / tags / badges ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.section--dark .eyebrow,
.hero--ink .eyebrow {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.eyebrow--onphoto { background: var(--white); color: var(--accent-deep); }

.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.82rem;
  font-weight: 400;
}

.section--dark .chip {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.82);
}

.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--accent-mist);
  border: 1px solid var(--accent-line);
  color: var(--accent-deep);
  font-size: 0.75rem;
  font-weight: 400;
}

.tag--accent {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-mist);
  color: var(--accent-deep);
  font-size: 0.74rem;
  font-weight: 500;
  text-transform: capitalize;
  white-space: nowrap;
}
.badge--info { background: var(--sky); color: #33406b; }
.badge--on { background: var(--accent-soft); color: var(--accent-deep); }
.badge--pause { background: #fff3d6; color: #7a5300; }
.badge--draft { background: var(--line-soft); color: var(--ink-3); }

/* ---------- navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(248, 250, 252, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav__bar .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 74px;
  padding: 12px 24px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__links a {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 400;
}
.nav__links a:hover { background: var(--white); color: var(--ink); }
.nav__links a.is-active { background: var(--accent-soft); color: var(--accent-deep); }

.nav__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__actions form { margin: 0; }

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.nav__drawer {
  display: none;
  margin: 10px 20px 0;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.nav__drawer.is-open { display: grid; gap: 4px; }
.nav__drawer > a {
  padding: 12px 14px;
  border-radius: var(--radius-lg);
  color: var(--ink);
  font-weight: 400;
}
.nav__drawer > a.is-active { background: var(--accent-soft); color: var(--accent-deep); }
.drawer__cta { display: grid; gap: 8px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.drawer__cta form { margin: 0; }

/* ---------- hero ---------- */
/* Dark marquee hero: full-bleed media under an indigo-tinted scrim, centred
   type, pill CTAs — the reference's first fold, not a light type block. */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin: 14px 14px 0;
  padding: clamp(76px, 11vw, 138px) 0;
  border-radius: var(--radius-xl);
  background: var(--ink-hero);
  color: #fff;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(72% 62% at 82% 12%, rgba(27, 0, 255, 0.5) 0%, rgba(27, 0, 255, 0) 64%),
    linear-gradient(180deg, rgba(4, 5, 11, 0.34) 0%, rgba(4, 5, 11, 0.6) 56%, rgba(4, 5, 11, 0.92) 100%);
}

.hero__grid { display: grid; gap: 32px; }
.hero .wrap { position: relative; z-index: 2; }

.hero__copy { max-width: 900px; margin: 0 auto; }

.hero__title {
  margin-top: 22px;
  font-size: clamp(2.35rem, 5.6vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: -0.032em;
  font-weight: 400;
  color: #fff;
}

.hero__sub {
  margin: 22px auto 0;
  font-size: 1.06rem;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.79);
  max-width: 62ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  justify-content: center;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
  justify-content: center;
}

.hero .chip {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
}

.hl { color: #c3bcff; }
.hero--stage .hl,
.section .hl { color: var(--accent-deep); }

/* full-bleed media behind the hero copy */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  background: var(--ink-hero);
}
.hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.86;
}

/* light gradient band, used by inner marketing pages */
.hero--stage {
  margin: 14px 14px 0;
  padding: clamp(56px, 7vw, 92px) 0;
  background: linear-gradient(180deg, #eef0ff 0%, #f8fafc 100%);
  border-radius: var(--radius-xl);
  color: var(--ink);
  text-align: left;
}
.hero--stage::before { display: none; }
.hero--stage .hero__copy { margin: 0; max-width: 820px; }
.hero--stage .hero__title { color: var(--ink); }
.hero--stage .hero__sub { color: var(--ink-2); margin-left: 0; }
.hero--stage .hero__actions { justify-content: flex-start; }
.hero--stage .eyebrow { background: var(--white); color: var(--accent-deep); }
.hero--stage .chip { background: var(--white); border-color: var(--line); color: var(--ink-2); }

.hero--short { padding: 58px 0; }

/* split hero (contact) */
.hero--split {
  margin: 0;
  padding: 58px 0 8px;
  background: transparent;
  border-radius: 0;
  color: var(--ink);
  text-align: left;
}
.hero--split::before { display: none; }
.hero--split .hero__copy { margin: 0; max-width: none; }
.hero--split .hero__title { color: var(--ink); font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
.hero--split .hero__sub { color: var(--ink-2); margin-left: 0; }
.hero--split .hero__actions { justify-content: flex-start; }
.hero--split .hero__meta { justify-content: flex-start; }
.hero--split .chip { background: var(--white); border-color: var(--line); color: var(--ink-2); }
.hero--split .hl { color: var(--accent-deep); }
.hero--split .hero__grid {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.hero__panel {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}
.hero__panel img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section--tight { padding: 36px 0; }

.section--soft {
  margin: 0 14px;
  background: var(--white);
  border-radius: var(--radius-xl);
}

.section--soft .card,
.section--soft .quote { background: var(--paper); }

.section--dark {
  margin: 0 14px;
  background: var(--ink-band);
  border-radius: var(--radius-xl);
  color: #fff;
}
.section--dark h2,
.section--dark h3 { color: #fff; }
.section--dark .lead,
.section--dark p { color: rgba(255, 255, 255, 0.74); }
.section--dark .card {
  background: #141b2f;
  border-color: #232c46;
}
.section--dark .card p { color: rgba(255, 255, 255, 0.72); }

.section--mint {
  margin: 0 14px;
  background: var(--accent-soft);
  border-radius: var(--radius-xl);
}

.section__head {
  max-width: 780px;
  margin-bottom: 44px;
}
.section__head h2 {
  margin-top: 18px;
  font-size: clamp(1.9rem, 3.6vw, 3.05rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 400;
}
.section__head .lead { margin-top: 16px; }

/* ---------- grids + cards ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.card:hover { border-color: var(--accent-line); box-shadow: var(--shadow-soft); }
.card h3 { font-size: 1.1rem; line-height: 1.32; margin-top: 0; font-weight: 500; }
.card p { margin-top: 10px; font-size: 0.95rem; line-height: 1.62; color: var(--ink-2); }

.card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-deep);
}
.card__icon svg { width: 22px; height: 22px; }
.section--dark .card__icon { background: rgba(255, 255, 255, 0.12); color: #fff; }

.page-media {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

/* ---------- split blocks ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split__body h2 {
  margin-top: 18px;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.split__body .lead { margin-top: 16px; }
.split__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.checklist { display: grid; gap: 12px; margin-top: 24px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.97rem;
  color: var(--ink-2);
}
.section--dark .checklist li { color: rgba(255, 255, 255, 0.78); }

.tick {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 2px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-ink);
}
.tick svg { width: 12px; height: 12px; }

/* ---------- quotes + stats ---------- */
.quote {
  margin: 0;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}
.quote__body p { font-size: 0.98rem; line-height: 1.65; color: var(--ink); }
.quote__who { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.quote__who b { display: block; font-size: 0.9rem; }
.quote__who span { display: block; font-size: 0.8rem; color: var(--ink-3); }

.monogram,
.quote__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.8rem;
  font-weight: 700;
}
.quote__mark svg { width: 18px; height: 18px; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat {
  padding: 24px;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--line);
}
.stat:nth-child(1) { background: var(--accent-soft); border-color: var(--accent-line); }
.stat b { display: block; font-size: 1.02rem; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 6px; }
.stat span { font-size: 0.86rem; color: var(--ink-2); }

/* ---------- CTA band ---------- */
.band {
  margin: 30px 14px;
  padding: 64px 0;
  background:
    radial-gradient(70% 120% at 88% 0%, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 60%),
    var(--accent);
  border-radius: var(--radius-xl);
  color: #fff;
  --brand-a: #ffffff;
  --brand-b: #ffffff;
}
.band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.band h2 {
  margin-top: 14px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
}
.band p { margin-top: 10px; color: rgba(255, 255, 255, 0.82); max-width: 56ch; }
.band__actions { display: flex; gap: 12px; flex-wrap: wrap; flex: 0 0 auto; }
.band .btn--primary { background: #fff; color: var(--ink); border-color: #fff; }
.band .btn--primary:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- panels / info cards ---------- */
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 20px;
}
.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.panel__head h2 { font-size: 1.12rem; }

.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.info-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  margin-bottom: 10px;
}
.info-card h3 svg { width: 18px; height: 18px; color: var(--accent-deep); }
.info-card p { font-size: 0.92rem; color: var(--ink-2); }
.info-card p + p { margin-top: 4px; }

/* ---------- lists (console + content) ---------- */
.kv-list { display: grid; }
.kv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
}
.kv-row:first-child { border-top: 0; }
.kv-row__main { min-width: 0; }
.kv-row__main b { display: block; font-size: 0.95rem; }
.kv-row__main span { display: block; font-size: 0.85rem; color: var(--ink-3); margin-top: 2px; }
.kv-row__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  text-align: right;
  flex: 0 0 auto;
}
.kv-row__side strong { font-size: 0.95rem; }

.bar {
  height: 6px;
  margin-top: 8px;
  border-radius: var(--radius-pill);
  background: var(--line);
  overflow: hidden;
}
.bar i { display: block; height: 100%; background: var(--accent); border-radius: inherit; }

.empty {
  padding: 36px 20px;
  text-align: center;
  font-size: 0.92rem;
  color: var(--ink-3);
}
.empty b { display: block; margin-bottom: 6px; font-size: 1rem; color: var(--ink); }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.4;
}
.input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(27, 0, 255, 0.18);
}
textarea.input { resize: vertical; }
.hint { margin-top: 6px; font-size: 0.8rem; color: var(--ink-3); }

.alert {
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.9rem;
}
.alert-ok { background: var(--accent-soft); border-color: var(--mint); color: var(--accent-deep); }
.alert-danger { background: #fff1f1; border-color: #ffc2c3; color: #7d1e22; }

/* ---------- auth ---------- */
.auth { padding: 64px 0 88px; }
.auth__card {
  max-width: 470px;
  margin: 0 auto;
  padding: 38px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}
.auth__head { margin-bottom: 24px; }
.auth__head h1 { font-size: 1.9rem; letter-spacing: -0.03em; }
.auth__head p { margin-top: 8px; font-size: 0.92rem; }
.auth__foot { margin-top: 22px; font-size: 0.9rem; color: var(--ink-2); }

/* ---------- legal ---------- */
.legal { max-width: 880px; }
.legal .updated { font-size: 0.85rem; color: var(--ink-3); }
.legal h2 {
  margin: 38px 0 12px;
  font-size: 1.42rem;
  letter-spacing: -0.02em;
}
.legal h3 { margin: 24px 0 8px; font-size: 1.08rem; }
.legal p,
.legal li { color: #3f4757; font-size: 0.97rem; line-height: 1.72; }
.legal p + p { margin-top: 12px; }
.legal ul {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  padding-left: 1.2rem;
  list-style: disc;
}
.legal__card {
  margin-top: 36px;
  padding: 24px;
  background: var(--accent-mist);
  border: 1px solid var(--mint);
  border-radius: var(--radius-lg);
}
.legal__card h3 { margin-top: 0; }
.legal__card p { color: var(--ink-2); }

/* ---------- contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

/* ---------- footer ---------- */
.site-footer { padding: 18px 0 40px; background: var(--paper); }

.footer__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.75fr 0.75fr 1fr;
  gap: 20px;
  align-items: start;
}

.footer__grid > div {
  background: var(--ink-band);
  border-radius: var(--radius-xl);
  padding: 28px;
  color: #fff;
  min-height: 100%;
}

.footer__grid .brand { color: #fff; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__name em { color: #b7b0ff; }
.site-footer { --brand-a: #a9a2ff; --brand-b: #ffffff; }

.footer__about {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
}

.footer__col h4 {
  margin-bottom: 14px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b7b0ff;
}
.footer__col ul { display: grid; gap: 9px; }
.footer__col a { color: rgba(255, 255, 255, 0.78); font-size: 0.9rem; }
.footer__col a:hover { color: #cfcaff; }
.footer__contact li { color: rgba(255, 255, 255, 0.68); font-size: 0.86rem; line-height: 1.5; }

.rule-t { display: block; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding: 18px 24px;
  background: var(--ink-band);
  border-radius: var(--radius-xl);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 16px; }
.footer__legal a { color: rgba(255, 255, 255, 0.72); }
.footer__legal a:hover { color: #cfcaff; }
.footer__legal .linklike { color: rgba(255, 255, 255, 0.72); }
.footer__legal .linklike:hover { color: #cfcaff; }

/* ---------- cookie consent (full-width bottom bar) ---------- */
.ck-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  padding: 16px 24px;
  background: #0b1020;
  color: #f8f8f8;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.18);
}
.ck-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.ck-card p { font-size: 0.85rem; line-height: 1.55; color: rgba(248, 248, 248, 0.86); max-width: 76ch; }
.ck-card p a { color: #cfcaff; text-decoration: underline; }
.ck-actions { display: flex; gap: 10px; flex: 0 0 auto; }

.ck-accept,
.ck-secondary {
  min-height: 40px;
  padding: 0 18px;
  border-radius: 2px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.ck-accept { background: #ffffff; color: var(--ink); border: 1px solid #ffffff; }
.ck-secondary { background: transparent; color: #e2e8f0; border: 1px solid rgba(255, 255, 255, 0.35); }
.ck-secondary:hover { border-color: rgba(255, 255, 255, 0.7); }

.ck-prefs {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 42, 58, 0.62);
}
.ck-panel {
  width: 100%;
  max-width: 640px;
  max-height: 86vh;
  overflow: auto;
  padding: 28px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.ck-panel h2 { font-size: 1.35rem; }
.ck-panel > p { margin-top: 8px; font-size: 0.9rem; color: var(--ink-2); }
.ck-opt {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
}
.ck-opt:first-of-type { margin-top: 18px; }
.ck-opt h3 { font-size: 0.95rem; }
.ck-opt p { margin-top: 4px; font-size: 0.85rem; color: var(--ink-3); max-width: 46ch; }
.ck-opt .locked {
  flex: 0 0 auto;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  background: var(--line-soft);
  color: var(--ink-3);
  font-size: 0.75rem;
  font-weight: 600;
}
.ck-save { display: flex; gap: 10px; margin-top: 22px; }

.switch { position: relative; display: inline-block; width: 44px; height: 24px; flex: 0 0 44px; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch span {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-pill);
  background: var(--line-2);
  cursor: pointer;
  transition: background-color 160ms ease;
}
.switch span::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 160ms ease;
}
.switch input:checked + span { background: var(--accent-deep); }
.switch input:checked + span::before { transform: translateX(20px); }

/* ---------- console ---------- */
.dash {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 20px 44px;
}

.dash__side {
  position: sticky;
  top: 16px;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 32px);
  padding: 22px;
  background: var(--ink-band);
  color: #fff;
  border-radius: 24px;
}
.dash__side { --brand-a: #a9a2ff; --brand-b: #ffffff; }
.dash__side .brand__name { color: #fff; }
.dash__side .brand__name em { color: #b7b0ff; }

.side__brand { padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }

.side__nav { display: grid; gap: 4px; margin-top: 24px; }
.side__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  font-weight: 500;
}
.side__link svg { width: 18px; height: 18px; flex: 0 0 18px; }
.side__link:hover { background: #1a2233; color: #fff; }
.side__link.is-active { background: var(--accent); color: #fff; }

.side__foot { display: grid; gap: 10px; margin-top: auto; padding-top: 24px; }
.side__user {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.62);
  word-break: break-all;
}
.side__foot .btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}
.side__foot .btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; color: #fff; }

.dash__main { min-width: 0; }
.dash__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.dash__head h1 { font-size: 1.85rem; letter-spacing: -0.03em; }
.dash__head p { margin-top: 6px; font-size: 0.92rem; color: var(--ink-2); }

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.metric {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}
.metric:nth-child(1) { background: var(--accent-soft); border-color: var(--accent-line); }
.metric__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: var(--ink-2);
}
.metric__top svg { width: 18px; height: 18px; }
.metric b { display: block; font-size: 1.55rem; letter-spacing: -0.03em; }
.metric small { display: block; margin-top: 4px; font-size: 0.78rem; color: var(--ink-2); }

/* ---------- 404 ---------- */
.notfound { padding: 96px 0 110px; text-align: center; }
.notfound .big {
  display: block;
  font-size: clamp(4rem, 13vw, 8rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--accent);
}
.notfound .hero__actions { justify-content: center; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .dash { grid-template-columns: 1fr; }
  .dash__side { position: static; min-height: 0; }
  .side__nav { grid-template-columns: repeat(2, 1fr); }
  .side__foot { margin-top: 20px; }
  .split { gap: 36px; }
  .hero--split .hero__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .split { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .section { padding: 60px 0; }
  .hero { padding: 36px 0 0; }
  .hero--stage { margin: 10px 10px 0; padding: 44px 0; }
  .section--soft,
  .section--dark,
  .section--mint { margin: 0 10px; border-radius: var(--radius-xl); }
  .band { margin: 24px 10px; padding: 42px 0; border-radius: var(--radius-xl); }
  .grid--3 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .band__inner { flex-direction: column; align-items: flex-start; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ck-card { flex-direction: column; align-items: flex-start; gap: 14px; }
  .ck-actions { width: 100%; flex-wrap: wrap; }
  .nav__bar .wrap { padding: 8px 12px; gap: 10px; }
  .nav__actions .btn--ghost { display: none; }
  .auth__card { padding: 26px; }
  .dash { padding: 12px 14px 32px; }
  .side__nav { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: 1fr; }
  .dash__head { flex-direction: column; align-items: flex-start; }
  .panel { padding: 18px; }
  .kv-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .kv-row__side { align-items: flex-start; text-align: left; }
}

@media (max-width: 420px) {
  .hero__title { font-size: 2.2rem; }
  .ck-actions .ck-accept,
  .ck-actions .ck-secondary { flex: 1 1 auto; }
}

/* `hidden` must win over the display rules declared above. */
[hidden] { display: none !important; }

/* ==========================================================================
   Reference-DNA additions — story lines, process steps, comparison pair,
   framed media. Appended for this build; the shared shell above is unchanged.
   ========================================================================== */

.story-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.story {
  padding: 26px;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--line);
}
.story h3 { font-size: 1.04rem; font-weight: 500; }
.story p { margin-top: 8px; font-size: 0.92rem; line-height: 1.6; color: var(--ink-2); }
.story__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 16px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.75rem;
  font-weight: 500;
}

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step {
  padding: 26px;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--line);
}
.step__idx {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.step h3 { margin-top: 12px; font-size: 1.02rem; font-weight: 500; }
.step p { margin-top: 8px; font-size: 0.9rem; line-height: 1.6; color: var(--ink-2); }
.section--dark .step { background: #141b2f; border-color: #232c46; }
.section--dark .step p { color: rgba(255, 255, 255, 0.72); }
.section--dark .step__idx { color: #b7b0ff; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare__col {
  padding: 30px;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--line);
}
.compare__col--alt { background: var(--ink-band); border-color: var(--ink-band); color: #fff; }
.compare__col h3 { font-size: 1rem; font-weight: 500; }
.compare__col--alt h3 { color: #fff; }
.compare__col ul { display: grid; gap: 12px; margin-top: 20px; }
.compare__col li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.compare__col--alt li { color: rgba(255, 255, 255, 0.8); }
.compare__col li::before {
  content: '';
  width: 6px;
  height: 6px;
  margin-top: 9px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--line-2);
}
.compare__col--alt li::before { background: #b7b0ff; }

.media-frame {
  position: relative;
  padding: 14px;
  border-radius: var(--radius-xl);
  background: linear-gradient(140deg, #eef0ff 0%, #e2dfff 48%, #f8fafc 100%);
  border: 1px solid var(--line);
}
.media-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

/* dark band carrying the reference's grid texture */
.section--textured {
  background-image:
    linear-gradient(180deg, rgba(11, 16, 32, 0.9) 0%, rgba(11, 16, 32, 0.96) 100%),
    url('/images/trust-grid.png');
  background-size: cover;
  background-position: center;
}

@media (max-width: 1080px) {
  .story-strip { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .compare { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
  .hero { margin: 10px 10px 0; border-radius: var(--radius-xl); }
  .band { margin: 24px 10px; }
}
