/* ══════════════════════════════════════════════════════════════════════
   FORMERA — Marketing site stylesheet
   Tutti i token vengono da colors_and_type.css
   ══════════════════════════════════════════════════════════════════════ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ───── Layout helpers ───── */
.fm-container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.fm-narrow    { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
.fm-section   { padding: 96px 0; position: relative; }
.fm-section--tight { padding: 64px 0; }
.fm-section--alt   { background: var(--bg-section); }

/* fade divider */
.fm-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-md), transparent);
  border: 0;
  margin: 0;
}

/* eyebrow / mono label */
.fm-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.fm-eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: currentColor;
}
.fm-eyebrow--plain::before { display: none; }
.fm-eyebrow--accent { color: var(--accent); }
.fm-eyebrow--light  { color: rgba(255,255,255,0.65); }

/* ───── Buttons ───── */
.fm-btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  transition: background var(--dur) var(--ease-out),
              color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
  background: var(--primary);
  color: #fff;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.fm-btn:hover    { background: var(--primary-700); }
.fm-btn:active   { transform: scale(0.98); }
.fm-btn .lucide  { width: 18px; height: 18px; stroke-width: 2; }

.fm-btn--accent  { background: var(--accent); }
.fm-btn--accent:hover { background: var(--accent-700); }

.fm-btn--teal    { background: var(--teal); }
.fm-btn--teal:hover { background: var(--teal-700); }

.fm-btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-md);
}
.fm-btn--outline:hover { background: var(--bg-section); border-color: var(--border-lg); }

.fm-btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.fm-btn--outline-light:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }

.fm-btn--ghost {
  background: transparent;
  color: var(--primary);
  padding: 10px 14px;
}
.fm-btn--ghost:hover { color: var(--primary-700); }

.fm-btn--sm { padding: 9px 16px; font-size: 13px; }

/* ───── Nav ───── */
.fm-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,246,241,0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.fm-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.fm-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.fm-nav__brand img { height: 32px; width: 32px; }
.fm-nav__brand .dot { color: var(--accent); }
.fm-nav__byline {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-light);
  padding-left: 14px;
  margin-left: 14px;
  border-left: 1px solid var(--border-md);
  white-space: nowrap;
}
.fm-nav__links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.fm-nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  transition: color var(--dur);
}
.fm-nav__link:hover { color: var(--ink); }
.fm-nav__cta { display: flex; align-items: center; gap: 12px; }

@media (max-width: 900px) {
  .fm-nav__links, .fm-nav__byline { display: none; }
}

/* ══════════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  background: var(--primary-deep);
  color: #fff;
  overflow: hidden;
  padding: 120px 0 110px;
}
.hero__orbs {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(600px 600px at 12% 30%, rgba(0,168,150,0.22), transparent 60%),
    radial-gradient(700px 700px at 88% 75%, rgba(11,61,145,0.45), transparent 60%),
    radial-gradient(500px 500px at 75% 18%, rgba(255,107,53,0.16), transparent 65%);
}
.hero__grid {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255,255,255,0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.6) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero__copy { max-width: 620px; }
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.hero__eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}
.hero__eyebrow .by {
  color: rgba(255,255,255,0.45);
  margin-right: 4px;
}
.hero__eyebrow .dinus {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #fff;
  text-transform: none;
}
.hero__eyebrow .dinus i { color: var(--accent); font-style: normal; }
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 28px;
}
.hero h1 em {
  font-style: italic;
  color: var(--teal-300);
}
.hero__lead {
  font-size: 19px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  margin: 0 0 40px;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__meta {
  margin-top: 56px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta .check {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--teal-600);
  display: inline-flex;
  align-items: center; justify-content: center;
  color: #fff;
}
.hero__meta .check svg { width: 9px; height: 9px; stroke-width: 3; }

/* ── Hero visual: stylised dashboard ── */
.hero__visual {
  position: relative;
  perspective: 1800px;
}
.dash {
  position: relative;
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: 0 40px 100px rgba(0,0,0,0.45), 0 8px 24px rgba(0,0,0,0.25);
  overflow: hidden;
  transform: rotateY(-6deg) rotateX(2deg) rotate(0.4deg);
  transform-origin: left center;
  border: 1px solid rgba(255,255,255,0.1);
}
.dash::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--teal), var(--accent));
  height: 2px;
}
.dash__top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.dash__top .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--border-md);
}
.dash__top .url {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--slate-light);
  letter-spacing: 0.02em;
}
.dash__body {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 460px;
}
.dash__side {
  background: var(--bg);
  padding: 22px 16px;
  border-right: 1px solid var(--border);
  font-size: 13px;
}
.dash__side .brand {
  font-family: var(--font-heading);
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 8px;
}
.dash__side .brand .dot { color: var(--accent); }
.dash__side .brand img { height: 22px; width: 22px; }
.dash__side .label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin: 18px 0 10px;
}
.dash__side .item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  color: var(--slate);
  margin-bottom: 2px;
  font-size: 13px;
}
.dash__side .item.active {
  background: var(--primary-pale);
  color: var(--primary);
  font-weight: 600;
}
.dash__side .item .ico {
  width: 14px; height: 14px;
  border-radius: 3px;
  background: currentColor;
  opacity: 0.5;
}
.dash__main { padding: 26px; }
.dash__main h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.dash__main .sub {
  font-size: 12px;
  color: var(--slate);
  margin-bottom: 22px;
}
.dash__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.dash__stats .cell {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px;
}
.dash__stats .cell .v {
  font-family: var(--font-heading);
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.dash__stats .cell .v .unit {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--slate-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-left: 4px;
}
.dash__stats .cell .k {
  font-size: 11px;
  color: var(--slate);
  margin-top: 2px;
}
.dash__stats .cell.accent .v { color: var(--accent); }
.dash__stats .cell.teal .v { color: var(--teal); }
.dash__course {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 8px;
  position: relative;
}
.dash__course::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  border-top-left-radius: var(--r-md);
  border-top-right-radius: var(--r-md);
  background: linear-gradient(90deg, var(--teal), var(--accent));
}
.dash__course .img {
  height: 56px; width: 56px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--primary), var(--teal));
}
.dash__course.c2 .img { background: linear-gradient(135deg, var(--teal), var(--teal-300)); }
.dash__course.c3 .img { background: linear-gradient(135deg, var(--accent), var(--accent-300)); }
.dash__course .meta {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 3px;
}
.dash__course .title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.dash__course .pill {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--accent-pale);
  color: var(--accent-700);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-pill);
}
.dash__course .progress {
  margin-top: 8px;
  grid-column: 2 / 4;
  height: 4px;
  background: var(--bg-section);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.dash__course .progress > div {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--teal-300));
  border-radius: var(--r-pill);
}

/* ── Floating credit badge ── */
.hero__badge {
  position: absolute;
  left: -22px;
  bottom: 32px;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 16px 20px 16px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 280px;
  transform: rotate(-2deg);
}
.hero__badge .ring {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) 0 78%, var(--bg-section) 78% 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero__badge .ring::after {
  content: "";
  position: absolute; inset: 5px;
  border-radius: 50%;
  background: #fff;
}
.hero__badge .ring .v {
  position: relative;
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.hero__badge .label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-bottom: 2px;
}
.hero__badge .text {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}
.hero__badge .text strong { color: var(--accent-700); }

@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { margin-top: 48px; }
  .dash { transform: none; }
  .hero__badge { display: none; }
}

/* ══════════════════════════════════════════════════════════════════════
   STATS strip
   ══════════════════════════════════════════════════════════════════════ */
.stats {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}
.stats__grid > div {
  padding: 36px 24px;
  text-align: center;
  border-left: 1px solid var(--border);
}
.stats__grid > div:first-child { border-left: 0; }
.stats__v {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--primary);
}
.stats__v .unit {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--slate-light);
  letter-spacing: 0.08em;
  margin-left: 2px;
  text-transform: uppercase;
}
.stats__v.accent { color: var(--accent); }
.stats__v.teal   { color: var(--teal); }
.stats__k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 12px;
}
@media (max-width: 800px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid > div:nth-child(odd) { border-left: 0; }
  .stats__grid > div:nth-child(3) { border-top: 1px solid var(--border); }
  .stats__grid > div:nth-child(4) { border-top: 1px solid var(--border); }
}

/* ══════════════════════════════════════════════════════════════════════
   Generic section header
   ══════════════════════════════════════════════════════════════════════ */
.fm-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.fm-head h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(34px, 4.5vw, 52px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 16px 0 0;
  color: var(--ink);
}
.fm-head h2 em { font-style: italic; color: var(--slate); }
.fm-head p {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--slate);
  max-width: 540px;
  margin: 0;
}
.fm-head--center {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.fm-head--center p { margin: 12px auto 0; }
.fm-head--center .fm-eyebrow { justify-content: center; }
@media (max-width: 800px) {
  .fm-head { grid-template-columns: 1fr; gap: 16px; }
}

/* ══════════════════════════════════════════════════════════════════════
   PILLARS (3-up benefits)
   ══════════════════════════════════════════════════════════════════════ */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 32px 32px;
  position: relative;
  transition: box-shadow var(--dur), transform var(--dur);
}
.pillar:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.pillar__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.pillar__icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: var(--primary-pale);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  margin-bottom: 22px;
}
.pillar__icon svg { width: 24px; height: 24px; stroke-width: 1.8; }
.pillar.teal .pillar__icon { background: var(--teal-pale); color: var(--teal); }
.pillar.accent .pillar__icon { background: var(--accent-pale); color: var(--accent-700); }
.pillar h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  line-height: 1.15;
}
.pillar p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--slate);
  margin: 0;
}
@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════════
   PRODUCT showcase (split)
   ══════════════════════════════════════════════════════════════════════ */
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.split--reverse > :first-child { order: 2; }
.split h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 18px 0 20px;
}
.split h2 em { font-style: italic; color: var(--teal); }
.split p { font-size: 17px; line-height: 1.65; color: var(--slate); margin: 0 0 12px; }
.split__list {
  list-style: none;
  padding: 0;
  margin: 28px 0 32px;
}
.split__list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
.split__list li:last-child { border-bottom: 1px solid var(--border); }
.split__list .ico {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: var(--r-sm);
  background: var(--teal-pale);
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.split__list .ico svg { width: 16px; height: 16px; stroke-width: 2.2; }
.split__list .label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-bottom: 2px;
}
.split__list .text {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.4;
}
.split__list .text span { color: var(--slate); font-weight: 400; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse > :first-child { order: 0; }
}

/* ── Visual mockups ── */
.mock {
  position: relative;
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  overflow: hidden;
}
.mock::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--accent));
  z-index: 2;
}
.mock__head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.mock__head .dots { display: flex; gap: 6px; }
.mock__head .dots span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--border-md);
}
.mock__head .tab {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-light);
}
.mock__body { padding: 24px; }

.mock-course {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  border-radius: var(--r-lg);
  padding: 28px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.mock-course::after {
  content: "";
  position: absolute;
  right: -80px; bottom: -100px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, var(--teal) 0%, transparent 60%);
  opacity: 0.6;
}
.mock-course .meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.mock-course h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin: 10px 0 16px;
  line-height: 1.2;
  max-width: 90%;
  position: relative; z-index: 1;
}
.mock-course .row {
  display: flex; gap: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  position: relative; z-index: 1;
}
.mock-course .row b { color: #fff; font-weight: 600; }
.mock-course .progress {
  margin-top: 22px;
  height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--r-pill);
  overflow: hidden;
  position: relative; z-index: 1;
}
.mock-course .progress div {
  width: 64%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--teal-300));
}

.mock-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.mock-cell {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px;
}
.mock-cell .label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-bottom: 6px;
}
.mock-cell .v {
  font-family: var(--font-heading);
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.mock-cell .v small {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--slate-light);
  letter-spacing: 0.1em;
  margin-left: 4px;
}
.mock-cell.accent .v { color: var(--accent); }
.mock-cell.teal .v { color: var(--teal); }
.mock-cell .bar {
  margin-top: 8px;
  display: flex; gap: 3px; height: 22px; align-items: end;
}
.mock-cell .bar span {
  flex: 1;
  background: var(--teal-200);
  border-radius: 2px;
}
.mock-cell .bar span.hi { background: var(--teal); }

/* ══════════════════════════════════════════════════════════════════════
   FEATURES grid
   ══════════════════════════════════════════════════════════════════════ */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.feature {
  background: var(--bg-raised);
  padding: 36px 32px;
  transition: background var(--dur);
}
.feature:hover { background: #fff; }
.feature__icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: var(--primary-pale);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.feature__icon svg { width: 22px; height: 22px; stroke-width: 1.8; }
.feature.teal .feature__icon { background: var(--teal-pale); color: var(--teal); }
.feature.accent .feature__icon { background: var(--accent-pale); color: var(--accent-700); }
.feature h4 {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin: 0 0 8px;
  color: var(--ink);
}
.feature p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate);
  margin: 0;
}
@media (max-width: 800px) {
  .features { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════════
   AUDIENCE chips
   ══════════════════════════════════════════════════════════════════════ */
.audience {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 880px;
  margin: 0 auto;
}
.aud {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  padding: 14px 22px 14px 18px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: all var(--dur);
}
.aud:hover {
  background: #fff;
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}
.aud .ico {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--teal-pale);
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.aud .ico svg { width: 14px; height: 14px; stroke-width: 2.2; }
.aud .crd {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-light);
  padding-left: 10px;
  border-left: 1px solid var(--border-md);
  margin-left: 4px;
}

/* ══════════════════════════════════════════════════════════════════════
   WORKFLOW timeline
   ══════════════════════════════════════════════════════════════════════ */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
  position: relative;
}
.flow::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--accent));
  z-index: 0;
  opacity: 0.4;
}
.flow__step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
.flow__num {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--bg-raised);
  border: 2px solid var(--teal);
  color: var(--teal);
  font-family: var(--font-heading);
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
}
.flow__step:nth-child(2) .flow__num { border-color: var(--primary); color: var(--primary); }
.flow__step:nth-child(3) .flow__num { border-color: var(--accent); color: var(--accent); }
.flow__step:nth-child(4) .flow__num { border-color: var(--primary-deep); color: var(--primary-deep); }
.flow__step h4 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin: 0 0 8px;
}
.flow__step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--slate);
  margin: 0;
}
@media (max-width: 800px) {
  .flow { grid-template-columns: 1fr 1fr; }
  .flow::before { display: none; }
  .flow__step { margin-bottom: 32px; }
}

/* ══════════════════════════════════════════════════════════════════════
   LOGOS strip
   ══════════════════════════════════════════════════════════════════════ */
.logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logos__cell {
  border-left: 1px solid var(--border);
  padding: 32px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  text-align: center;
}
.logos__cell:first-child { border-left: 0; }
.logos__cell .name {
  font-family: var(--font-heading);
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--slate);
  opacity: 0.7;
  line-height: 1.1;
}
.logos__cell .name small {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-top: 4px;
}
@media (max-width: 900px) {
  .logos { grid-template-columns: repeat(3, 1fr); }
  .logos__cell:nth-child(4),
  .logos__cell:nth-child(5),
  .logos__cell:nth-child(6) { border-top: 1px solid var(--border); }
  .logos__cell:nth-child(4) { border-left: 0; }
}

/* ══════════════════════════════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════════════════════════════ */
.quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.quote {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 32px 28px;
  position: relative;
}
.quote::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  border-top-left-radius: var(--r-lg);
  border-top-right-radius: var(--r-lg);
  background: linear-gradient(90deg, var(--teal), var(--accent));
}
.quote__mark {
  font-family: var(--font-heading);
  font-size: 60px;
  line-height: 0.7;
  color: var(--teal);
  opacity: 0.25;
  margin-bottom: 4px;
  display: block;
  height: 28px;
}
.quote p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 300;
  margin: 0 0 24px;
  letter-spacing: -0.005em;
}
.quote__person {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.quote__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary-pale);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 16px;
}
.quote__person .who { font-size: 15px; font-weight: 600; color: var(--ink); }
.quote__person .role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-top: 2px;
}
@media (max-width: 800px) { .quotes { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════════════════
   DINUS parent section
   ══════════════════════════════════════════════════════════════════════ */
.dinus {
  background: var(--primary-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 96px 0;
}
.dinus__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 500px at 90% 10%, rgba(0,168,150,0.15), transparent 60%),
    radial-gradient(600px 600px at 10% 90%, rgba(255,107,53,0.10), transparent 60%);
  pointer-events: none;
}
.dinus__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.dinus__brand {
  font-family: var(--font-heading);
  font-size: 56px;
  letter-spacing: -0.03em;
  margin: 24px 0 12px;
  line-height: 0.95;
}
.dinus__brand .dot { color: var(--accent); }
.dinus__tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 22px;
  color: rgba(255,255,255,0.8);
  margin: 0 0 28px;
  line-height: 1.3;
  max-width: 420px;
}
.dinus h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 22px;
  color: #fff;
}
.dinus h2 em { font-style: italic; color: var(--teal-300); }
.dinus p {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
  margin: 0 0 18px;
}
.dinus__leaders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.dinus__leader {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  padding: 18px 20px;
}
.dinus__leader .role {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-300);
  margin-bottom: 4px;
}
.dinus__leader .name {
  font-family: var(--font-heading);
  font-size: 19px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.dinus__leader .bio {
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.6);
}
.dinus__cta { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .dinus__inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ══════════════════════════════════════════════════════════════════════
   FINAL CTA
   ══════════════════════════════════════════════════════════════════════ */
.cta {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 72px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--accent));
}
.cta h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 16px;
}
.cta h2 em { font-style: italic; color: var(--teal); }
.cta p {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--slate);
  max-width: 520px;
  margin: 0 auto 32px;
}
.cta__ctas { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.cta__note {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate-light);
}
@media (max-width: 700px) { .cta { padding: 48px 24px; } }

/* ══════════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.65);
  padding: 80px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand {
  font-family: var(--font-heading);
  font-size: 32px;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__brand .dot { color: var(--accent); }
.footer__brand img { height: 32px; width: 32px; filter: invert(1) brightness(2); }
.footer__about {
  font-size: 14px;
  line-height: 1.65;
  max-width: 340px;
  margin: 0 0 16px;
}
.footer__parent {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.footer__parent strong {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #fff;
  font-weight: 400;
  margin-left: 6px;
}
.footer__parent strong .dot { color: var(--accent); }
.footer__col h5 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin: 0 0 18px;
  font-weight: 700;
}
.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__col li { margin-bottom: 10px; }
.footer__col a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color var(--dur);
}
.footer__col a:hover { color: #fff; }
.footer__bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.footer__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer__status .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal-300);
  box-shadow: 0 0 0 3px rgba(102,199,190,0.2);
}
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ══════════════════════════════════════════════════════════════════════
   Counter animation
   ══════════════════════════════════════════════════════════════════════ */
.count[data-target] { font-variant-numeric: tabular-nums; }
