/* ─── Tokens (alignés sur l'app SchoolTrack) ───────── */
:root {
  --ink:        #0f1929;
  --ink-2:      #1c2a44;
  --blue:       #1f6fdc;     /* Cobalt brand — headers, CTAs */
  --blue-2:     #1858b8;     /* Hover */
  --blue-soft:  #e3eefd;     /* Pills, cards, soft bg */
  --blue-tint:  #d6e3f5;     /* Avatar bg */
  --slate:      #45638a;     /* Slate (NFC header) */
  --paper:      #f6f8fb;     /* Page bg */
  --paper-2:    #eef2f8;     /* Section alt bg */
  --line:       #dde3ec;     /* Borders */
  --green:      #16a34a;
  --green-2:    #15803d;
  --green-soft: #dcfce7;
  --orange:     #ea580c;
  --orange-soft:#fff1e6;
  --text:       #4b5568;
  --muted:      #7a8194;

  --shadow-sm: 0 1px 2px rgba(11,20,55,.04);
  --shadow-md: 0 8px 24px rgba(11,20,55,.06);
  --shadow-lg: 0 18px 48px rgba(11,20,55,.12);

  --r-sm: 6px;
  --r:    10px;
  --r-lg: 16px;

  --fs-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --fs-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--fs-sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img,svg { display:block; max-width:100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.num { font-family: var(--fs-mono); font-weight: 500; }
.mono { font-family: var(--fs-mono); }

/* ─── Layout helpers ────────────────────────────────── */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* ─── Nav ───────────────────────────────────────────── */
.nav-wrap {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  background: rgba(246,248,251,0.82);
  border-bottom: 1px solid rgba(221,227,236,0.7);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.01em; }
.mark {
  width: 32px; height: 32px;
  object-fit: contain;
  display: block;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--text); font-weight: 500; font-size: 14.5px;
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14.5px;
  padding: 10px 16px; border-radius: var(--r);
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--blue); transform: translateY(-1px); }
.btn-lg { padding: 14px 22px; font-size: 15.5px; border-radius: var(--r); }
.btn-outline {
  background: transparent; color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover { background: #fff; border-color: var(--ink); transform: translateY(-1px); }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(2px); }

/* ─── Hero ──────────────────────────────────────────── */
.hero {
  padding: 56px 0 80px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  font-family: var(--fs-mono); font-size: 12px; font-weight: 500;
  padding: 6px 12px; border-radius: 999px;
  letter-spacing: 0.02em;
}
.eyebrow .dot { width:6px; height:6px; border-radius:50%; background: var(--blue); }

h1.hero-title {
  font-size: clamp(36px, 5.4vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 18px 0 20px;
  text-wrap: balance;
}
h1.hero-title em {
  font-style: normal;
  position: relative;
  display: inline-block;
}
h1.hero-title em::before {
  content: "";
  position: absolute;
  left: -2px; right: -2px;
  bottom: 6px;
  height: 14px;
  background: rgba(22,163,74,0.28);
  transform: rotate(-0.5deg);
  z-index: -1;
  border-radius: 2px;
}

.lead {
  color: var(--text);
  font-size: 17px; line-height: 1.6;
  max-width: 540px;
  margin: 0 0 28px;
}
.hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.play-link {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 500; font-size: 15px;
  padding: 10px 4px;
}
.play-link .play-dot {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: grid; place-items: center; font-size: 10px;
  transition: transform .2s ease;
}
.play-link:hover .play-dot { transform: scale(1.06); }

.meta-line {
  display: flex; align-items: center; gap: 12px;
  margin-top: 32px;
  color: var(--muted); font-size: 13px;
}
.meta-line::before {
  content: ""; width: 28px; height: 1px; background: var(--ink); opacity: .4;
}

/* ─── Hero composition ──────────────────────────────── */
.composition {
  position: relative;
  height: 580px;
  width: 100%;
}

/* Dashboard mockup — calque de la Vue d'ensemble SchoolTrack */
.dash {
  position: absolute;
  top: 6px;
  right: 0;
  width: 480px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transform: rotate(0.5deg);
  overflow: hidden;
}
.browser-chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  background: #fafbfd;
}
.dots { display: flex; gap: 6px; }
.dots span { width: 9px; height: 9px; border-radius: 50%; }
.dots span:nth-child(1){ background: #ff5f57; }
.dots span:nth-child(2){ background: #febc2e; }
.dots span:nth-child(3){ background: #28c840; }
.url-bar {
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 10px;
  font-family: var(--fs-mono); font-size: 10.5px;
  color: var(--text);
  display: flex; align-items: center; gap: 6px;
}
.url-bar::before {
  content: ""; width: 8px; height: 8px;
  border: 1.5px solid var(--muted); border-radius: 2px;
  border-bottom-width: 3px;
  flex: none;
}

/* Layout — sidebar + main */
.dash-app { display: flex; min-height: 360px; background: var(--paper); }

/* Mini sidebar */
.dash-side {
  width: 110px;
  flex: none;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 12px 8px;
  display: flex; flex-direction: column;
  gap: 2px;
}
.ds-logo {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 6px 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.ds-logo .sq {
  width: 22px; height: 22px;
  border-radius: 5px;
  background: var(--blue);
  display: grid; place-items: center;
  color: #fff;
}
.ds-logo .name {
  font-size: 11.5px; font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.01em;
}
.ds-section {
  font-family: var(--fs-mono); font-size: 8px;
  color: var(--muted);
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 8px 6px 4px;
}
.ds-item {
  display: flex; align-items: center; gap: 7px;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 10.5px;
  color: var(--text);
  font-weight: 500;
  line-height: 1;
}
.ds-item svg { flex: none; color: var(--muted); }
.ds-item.active {
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  position: relative;
}
.ds-item.active svg { color: #fff; }
.ds-item.active::after {
  content: "›";
  margin-left: auto;
  font-size: 14px;
  line-height: 1;
  opacity: 0.85;
}

/* Main pane */
.dash-main {
  flex: 1;
  min-width: 0;
  padding: 14px 14px 16px;
  background: var(--paper);
}
.dm-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.dm-crumb {
  font-size: 11px; color: var(--ink); font-weight: 600;
}
.dm-admin {
  display: flex; align-items: center; gap: 6px;
  font-size: 9px; color: var(--muted);
  line-height: 1.1;
  text-align: right;
}
.dm-admin .who { font-weight: 600; color: var(--ink); font-size: 10px; }
.dm-admin .role { color: var(--blue); font-family: var(--fs-mono); letter-spacing: 0.05em; }
.dm-admin .av {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--blue-tint);
  color: var(--blue);
  display: grid; place-items: center;
  font-size: 10px; font-weight: 700;
  flex: none;
}

.dm-title {
  font-size: 14px; font-weight: 800; color: var(--blue);
  letter-spacing: -0.01em;
  margin: 0 0 2px;
}
.dm-sub {
  font-size: 10px; color: var(--muted);
  margin-bottom: 10px;
}

/* KPI cards */
.kpis {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  margin-bottom: 10px;
}
.kpi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 9px 9px;
  position: relative;
  overflow: hidden;
}
.kpi::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
}
.kpi.b::before { background: var(--blue); }
.kpi.g::before { background: var(--green); }
.kpi.o::before { background: var(--orange); }

.kpi-head {
  display: flex; align-items: center; gap: 5px;
  color: var(--muted);
  font-size: 9px;
  margin-bottom: 4px;
}
.kpi-head svg { flex: none; }
.kpi.b .kpi-head svg { color: var(--blue); }
.kpi.g .kpi-head svg { color: var(--green); }
.kpi.o .kpi-head svg { color: var(--orange); }

.kpi .v {
  font-size: 17px; font-weight: 800; color: var(--ink);
  letter-spacing: -0.01em; line-height: 1;
}
.kpi.o .v { color: var(--orange); }

/* Voyage card */
.vcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
}
.vcard-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.vcard h4 {
  margin: 0;
  font-size: 12px; font-weight: 700; color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.vcard .meta {
  display: flex; align-items: center; gap: 8px;
  margin-top: 3px;
  font-size: 9.5px; color: var(--muted);
  font-family: var(--fs-mono);
}
.vcard .meta .m { display: inline-flex; align-items: center; gap: 3px; }

.pill-status {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 9px; font-weight: 600;
  flex: none;
  line-height: 1.4;
}
.pill-status.done { background: var(--green-soft); color: var(--green-2); }
.pill-status.todo { background: var(--blue-soft); color: var(--blue); }
.pill-status .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: currentColor;
}
.pill-status.live .dot {
  animation: pulse-dot 2s ease-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* Mini bar chart */
.vcard-body {
  display: grid;
  grid-template-columns: 1fr 64px;
  gap: 14px;
  align-items: center;
}
.chart {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  height: 80px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
  align-items: end;
  position: relative;
}
.chart::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 32%;
  border-top: 1px dashed var(--line);
}
.chart::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 64%;
  border-top: 1px dashed var(--line);
}
.bar {
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  position: relative;
}
.bar i {
  width: 22px;
  border-radius: 3px 3px 0 0;
  display: block;
  animation: bar-rise 1.4s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes bar-rise {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}
.bar i { transform-origin: bottom; }
.bar span {
  position: absolute;
  bottom: -14px;
  font-size: 8px;
  color: var(--muted);
  font-family: var(--fs-mono);
}
.bar.b1 i { background: var(--green); height: 92%; }
.bar.b2 i { background: var(--orange); height: 48%; animation-delay: .15s; }
.bar.b3 i { background: var(--blue);   height: 70%; animation-delay: .3s; }

/* Donut */
.donut {
  position: relative;
  width: 64px; height: 64px;
}
.donut svg { transform: rotate(-90deg); display: block; }
.donut .ring {
  fill: none; stroke: var(--paper-2);
  stroke-width: 6;
}
.donut .prog {
  fill: none; stroke: var(--green);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 100, 100;
  stroke-dashoffset: 17; /* 83% */
  animation: donut-fill 1.6s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes donut-fill {
  from { stroke-dashoffset: 100; }
  to   { stroke-dashoffset: 17; }
}
.donut .pct {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 800; color: var(--green-2);
  letter-spacing: -0.02em;
}

/* Phone mockup — calque de l'écran NFC SchoolTrack */
.phone {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 248px;
  height: 500px;
  background: #0a0e1f;
  border-radius: 34px;
  box-shadow: var(--shadow-lg), 0 0 0 8px #0a0e1f, 0 0 0 9px rgba(255,255,255,0.04);
  transform: rotate(-2deg);
  padding: 10px;
  overflow: hidden;
}
.phone::before {
  content: "";
  position: absolute;
  top: 8px; left: 50%; transform: translateX(-50%);
  width: 64px; height: 16px; border-radius: 999px;
  background: #000;
  z-index: 2;
}
.phone-screen {
  position: relative;
  height: 100%;
  background: #ededf0;
  border-radius: 24px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.status-bar {
  position: absolute; top: 4px; left: 14px; right: 14px;
  z-index: 3;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--fs-mono); font-size: 9.5px;
  color: #fff; font-weight: 600;
  pointer-events: none;
}
.status-bar .icons { display: flex; align-items: center; gap: 4px; }
.status-bar .icons .bars { display: inline-flex; gap: 1.5px; align-items: flex-end; }
.status-bar .icons .bars span { width: 2px; background: #fff; border-radius: 1px; }
.status-bar .icons .bars span:nth-child(1){ height: 3px; }
.status-bar .icons .bars span:nth-child(2){ height: 5px; }
.status-bar .icons .bars span:nth-child(3){ height: 7px; }
.status-bar .icons .bars span:nth-child(4){ height: 9px; }

/* Slate header band */
.ph-header {
  background: var(--slate);
  color: #fff;
  padding: 26px 14px 14px;
  display: flex; align-items: center; gap: 10px;
}
.ph-back {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  color: #fff; flex: none;
  font-size: 18px; font-weight: 400;
}
.ph-titles { flex: 1; min-width: 0; }
.ph-title-text {
  font-size: 17px; font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.ph-sub-text {
  font-size: 10.5px;
  color: rgba(255,255,255,0.78);
  margin-top: 2px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ph-actions { display: flex; gap: 10px; align-items: center; flex: none; color: #fff; }
.ph-actions svg { opacity: 0.95; }

/* Body */
.ph-body {
  position: relative;
  flex: 1;
  background: #ededf0;
  padding: 12px 14px 14px;
  display: flex; flex-direction: column;
  align-items: center;
}
.counter-pill {
  align-self: flex-end;
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 11px; font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}
.counter-pill svg { width: 10px; height: 10px; }

.nfc-zone {
  margin: 32px auto 0;
  width: 96px; height: 96px;
  border-radius: 50%;
  border: 4px solid var(--slate);
  position: relative;
  display: grid; place-items: center;
  background: transparent;
}
.nfc-zone::before, .nfc-zone::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 3px solid var(--slate);
  opacity: 0;
  animation: nfc-pulse 2.4s ease-out infinite;
}
.nfc-zone::after { animation-delay: 1.2s; }
@keyframes nfc-pulse {
  0%   { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.5); opacity: 0; }
}
.nfc-waves {
  color: var(--slate);
  transform: translateX(-2px);
}
.ph-instr-title {
  margin-top: 22px;
  font-size: 13px; font-weight: 700;
  color: var(--ink); letter-spacing: -0.01em;
  text-align: center;
}
.ph-instr-sub {
  margin-top: 6px;
  font-size: 11px; color: var(--muted);
  text-align: center;
  line-height: 1.4;
  padding: 0 8px;
}

/* Mode toggle (QR Code | NFC) */
.mode-toggle {
  margin-top: auto;
  margin-bottom: 4px;
  background: #1f2630;
  border-radius: 999px;
  padding: 4px;
  display: inline-flex; gap: 0;
  box-shadow: 0 4px 12px rgba(15,25,41,.18);
}
.mode-opt {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 11.5px; font-weight: 600;
  color: rgba(255,255,255,0.65);
  transition: all .15s ease;
}
.mode-opt svg { width: 12px; height: 12px; }
.mode-opt.active {
  background: #fff;
  color: var(--ink);
}

/* Annotations */
.ann {
  position: absolute;
  z-index: 4;
  display: flex; align-items: flex-start; gap: 10px;
  max-width: 200px;
}
.ann .pill {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-family: var(--fs-mono); font-size: 11px; font-weight: 600;
  display: grid; place-items: center; flex: none;
  box-shadow: 0 2px 6px rgba(31,111,220,.3);
}
.ann .text {
  font-size: 12px; color: var(--ink); line-height: 1.35;
  background: rgba(246,248,251,0.95);
  padding: 4px 8px; border-radius: 6px;
  backdrop-filter: blur(2px);
}
.ann-1 { top: 4px; left: -8px; }
.ann-2 { top: -4px; right: 6px; max-width: 180px; }
.ann-3 { bottom: 12px; right: 12px; max-width: 200px; text-align: right; }
.ann-3 { flex-direction: row-reverse; }
.ann-3 .text { text-align: left; }

.ann-svg {
  position: absolute; inset: 0; z-index: 3;
  width: 100%; height: 100%;
  pointer-events: none;
}
.ann-svg path { stroke: var(--ink); stroke-width: 1.4; fill: none; stroke-dasharray: 4 4; opacity: .55; }

/* ─── Trust strip ───────────────────────────────────── */
.trust {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.trust-inner {
  display: flex; align-items: center; gap: 28px;
  flex-wrap: wrap;
}
.trust-label {
  font-family: var(--fs-mono); font-size: 11px;
  color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase;
  flex: none;
  padding-right: 24px;
  border-right: 1px solid var(--line);
}
.trust-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 28px;
  flex: 1;
  min-width: 0;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); font-size: 13.5px; font-weight: 500;
}
.trust-item svg { color: var(--blue); flex: none; }

/* ─── Section heads ─────────────────────────────────── */
section.block { padding: 96px 0; }
.block-2 { background: var(--paper-2); }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.tag {
  display: inline-block;
  font-family: var(--fs-mono); font-size: 11.5px;
  color: var(--blue); letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 500;
}
.tag.amber { color: #8ab8ff; }
h2.h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 14px;
  text-wrap: balance;
}
.section-head .lead {
  margin: 0 auto;
}

/* ─── Features grid ─────────────────────────────────── */
.features {
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}
.feat {
  background: var(--paper);
  padding: 32px 28px;
  transition: background .18s ease;
}
.feat:hover { background: #fff; }
.feat-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.feat-label {
  font-family: var(--fs-mono); font-size: 11px;
  color: var(--muted); letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.feat-label .sep { color: var(--line); padding: 0 4px; }
.feat h3 {
  margin: 0 0 8px;
  font-size: 18px; font-weight: 700;
  letter-spacing: -0.01em;
}
.feat p {
  margin: 0;
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.55;
}

/* ─── How it works ──────────────────────────────────── */
.how-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.how-grid::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 12%; right: 12%;
  height: 1px;
  background-image: linear-gradient(90deg, var(--line) 50%, transparent 50%);
  background-size: 8px 1px;
  z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; }
.step .bead {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--fs-mono); font-size: 13px; font-weight: 600;
  display: grid; place-items: center;
  margin: 0 auto 18px;
  border: 3px solid var(--paper-2);
  box-shadow: 0 0 0 1px var(--line);
}
.step h3 {
  margin: 0 0 8px;
  font-size: 17px; font-weight: 700;
  letter-spacing: -0.01em;
}
.step p {
  margin: 0;
  color: var(--text); font-size: 14px; line-height: 1.5;
}

/* ─── Security ──────────────────────────────────────── */
.security {
  background: var(--ink);
  color: #fff;
  padding: 110px 0 96px;
  position: relative;
  overflow: hidden;
}
.security::before {
  content: "";
  position: absolute;
  top: -200px; left: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(29,58,168,0.4) 0%, transparent 60%);
  pointer-events: none;
}
.security::after {
  content: "";
  position: absolute;
  bottom: -300px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(22,163,74,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.security .wrap { position: relative; z-index: 1; }
.security .section-head h2.h2 { color: #fff; }
.security .section-head .lead { color: rgba(255,255,255,0.65); }

.sec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.sec-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r);
  padding: 26px 24px;
}
.sec-card-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.sec-val { font-family: var(--fs-mono); color: #8ab8ff; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
.sec-card svg { color: rgba(255,255,255,0.45); }
.sec-card h3 {
  margin: 0 0 6px; color: #fff;
  font-size: 16px; font-weight: 700; letter-spacing: -0.01em;
}
.sec-card p {
  margin: 0; color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.55;
}

.quote {
  margin: 64px auto 0;
  max-width: 760px;
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.quote cite {
  display: block;
  margin-top: 18px;
  font-family: var(--fs-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-style: normal;
}

/* ─── CTA final ─────────────────────────────────────── */
.cta-card {
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 64px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: center;
  overflow: hidden;
}
.cta-card::after {
  content: "";
  position: absolute;
  top: -40%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(22,163,74,0.18) 0%, transparent 55%);
  pointer-events: none;
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.1;
  margin: 0 0 14px;
  text-wrap: balance;
}
.cta-card p { margin: 0; color: var(--text); font-size: 16px; line-height: 1.55; max-width: 480px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.cta-actions .btn { justify-content: center; }
.cta-tfe {
  text-align: center;
  margin-top: 4px;
  font-family: var(--fs-mono); font-size: 11px;
  color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase;
}

/* ─── Footer ────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  background: var(--paper);
}
.foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  color: var(--text); font-size: 13.5px;
}
.foot .brand-mini { display: flex; align-items: center; gap: 10px; }
.mark-mini {
  width: 18px; height: 18px; border-radius: 4px; background: var(--blue);
  display: grid; place-items: center;
}
.mark-mini::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  border: 1.5px solid #fff; background: transparent;
}
.foot-links { display: flex; gap: 22px; }
.foot-links a { color: var(--text); transition: color .15s ease; }
.foot-links a:hover { color: var(--ink); }

/* ─── Responsive ────────────────────────────────────── */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .composition { height: 540px; max-width: 540px; margin: 0 auto; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .how-grid::before { display: none; }
  .cta-card { grid-template-columns: 1fr; padding: 48px 36px; }
  .nav-links { display: none; }
  .trust-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .trust-label { padding-right: 0; border-right: 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); width: 100%; }
  .trust-items { grid-template-columns: repeat(2, 1fr); width: 100%; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  section.block { padding: 72px 0; }
  .features { grid-template-columns: 1fr; }
  .sec-grid { grid-template-columns: 1fr; }
  .trust-items { grid-template-columns: 1fr; }
  .composition { height: 600px; }
  .dash { width: 92%; right: 0; }
  .phone { width: 200px; height: 410px; }
  .cta-card { padding: 36px 24px; }
  h1.hero-title { font-size: 38px; }
}
