/* ============================================================
   Home + shared page styles — Vestima brand
   ============================================================ */

/* ===== HERO ===== */
.hero {
  padding: 170px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg .grid-lines {
  position: absolute;
  inset: 0;
  display: none;
}
.hero-bg .wash {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  display: none;
}
.hero-bg .w1 {
  width: 620px; height: 620px;
  background: rgba(32,71,100,0.12);
  top: -160px; left: 5%;
}
.hero-bg .w2 {
  width: 480px; height: 480px;
  background: rgba(77,108,131,0.10);
  bottom: -140px; right: 8%;
}

.hero-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(52px, 7.4vw, 100px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin: 28px 0 28px;
  font-weight: 600;
  color: var(--primary-800);
}
.hero h1 em {
  font-style: normal;
  color: var(--primary-500);
  font-weight: 600;
}
.hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 40px;
}

/* Hero CTA — dark pill with orb */
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.cta-main {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px 18px 36px;
  background: var(--primary-800);
  color: var(--text-on-dark);
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: all 0.35s var(--e-out);
  box-shadow: 0 14px 40px -14px rgba(19,43,60,0.45), inset 0 1px 0 rgba(255,255,255,0.08);
}
.cta-main:hover { transform: translateY(-2px); background: var(--primary-700); box-shadow: 0 20px 50px -14px rgba(19,43,60,0.55); }
.cta-main .cta-arrow {
  display: inline-flex;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--secondary-100);
  color: var(--primary-800);
  align-items: center;
  justify-content: center;
  transition: transform 0.35s var(--e-out);
}
.cta-main:hover .cta-arrow { transform: translateX(3px); }

.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  padding: 8px 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
.cta-secondary:hover { color: var(--primary-800); border-bottom-color: var(--primary-800); }
.cta-secondary .cta-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success-600);
  box-shadow: 0 0 0 3px rgba(0,153,81,0.18);
  animation: ctaPulse 2.4s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(0,153,81,0.18); }
  50% { box-shadow: 0 0 0 6px rgba(0,153,81,0.04); }
}

/* Built-for rotator */
.hero-built-for {
  margin: 64px auto 0;
  display: flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 28px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
  line-height: 1;
}
.bf-label, .bf-sep, .bf-suffix { line-height: 1; display: inline-flex; align-items: center; }
.bf-sep { color: var(--text-subtle); opacity: 0.5; }
.bf-suffix { color: var(--text-muted); }

.bf-rotator {
  position: relative;
  display: inline-block;
  width: 200px;
  height: 1em;
  overflow: hidden;
  text-align: center;
  vertical-align: middle;
}
.bf-word {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: var(--primary-700);
  font-weight: 600;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.6s var(--e-out), transform 0.6s var(--e-out);
}
.bf-word.is-active { opacity: 1; transform: translateY(0); }
.bf-word.is-out    { opacity: 0; transform: translateY(-100%); }

/* Hero product visual */
.hero-visual {
  max-width: 1120px;
  margin: 80px auto 0;
  position: relative;
  z-index: 2;
}

/* ===== DASHBOARD CARD ===== */
.dashboard {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.dashboard-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--secondary-200);
}
.dashboard-chrome .dots { display: flex; gap: 6px; }
.dashboard-chrome .dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--tertiary-200);
}
.dashboard-chrome .dots span:nth-child(1) { background: #E86A5E; }
.dashboard-chrome .dots span:nth-child(2) { background: #E4B53F; }
.dashboard-chrome .dots span:nth-child(3) { background: #6BB860; }
.dashboard-chrome .title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}
.dashboard-body {
  display: grid;
  grid-template-columns: 224px 1fr;
  min-height: 480px;
}
.dash-side {
  padding: 24px 18px;
  border-right: 1px solid var(--line);
  background: var(--secondary-200);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dash-side .group {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin: 20px 0 10px;
  padding: 0 10px;
  font-weight: 500;
}
.dash-side .group:first-child { margin-top: 0; }
.dash-side .nav {
  padding: 9px 12px;
  font-size: 13px;
  color: var(--text-body);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
}
.dash-side .nav.active {
  background: var(--primary-800);
  color: var(--text-on-dark);
}
.dash-side .nav .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.5; }

.dash-main { padding: 28px 32px; }
.dash-topline {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 28px;
}
.dash-topline h3 {
  font-size: 22px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-heading);
}
.dash-topline .live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--success-600);
}
.dash-topline .live::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success-600);
  box-shadow: 0 0 0 0 rgba(0,153,81,0.5);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,153,81,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(0,153,81,0); }
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.kpi {
  background: var(--secondary-200);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px;
}
.kpi .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 8px;
  font-weight: 500;
}
.kpi .val {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 600;
  color: var(--text-heading);
  line-height: 1;
  letter-spacing: -0.025em;
}
.kpi .delta {
  font-size: 12px;
  margin-top: 8px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.kpi .delta.up { color: var(--success-600); }
.kpi .delta.crit { color: var(--alert-500); }

.dash-table {
  background: var(--secondary-200);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.dash-table .th,
.dash-table .tr {
  display: grid;
  grid-template-columns: 96px 1fr 96px 72px;
  padding: 13px 18px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-family: var(--font-body);
}
.dash-table .th {
  background: var(--secondary-300);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
  font-weight: 500;
}
.dash-table .tr {
  border-bottom: 1px solid var(--line);
  color: var(--text-body);
  background: #FFF;
}
.dash-table .tr:last-child { border-bottom: none; }
.dash-table .tr:hover { background: var(--secondary-300); }
.dash-table .id { font-family: var(--font-mono); font-size: 11px; color: var(--text-subtle); }
.dash-table .title { color: var(--text-heading); font-weight: 500; }
.pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  justify-self: start;
}
.pill.crit { background: var(--alert-100); color: var(--alert-700); }
.pill.high { background: var(--warning-100); color: var(--warning-700); }
.pill.ok   { background: var(--success-100); color: var(--success-700); }
.pill.info { background: var(--primary-100); color: var(--primary-700); }

.countdown { font-family: var(--font-mono); font-weight: 500; }
.countdown.crit { color: var(--alert-500); }
.countdown.high { color: var(--warning-700); }
.countdown.ok   { color: var(--success-600); }

/* ===== OFFERINGS ===== */
.offerings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.offering {
  background: var(--secondary-200);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 48px;
  transition: all .4s var(--e-out);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  overflow: hidden;
}
.offering::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary-800), var(--primary-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--e-out);
}
.offering:hover::before { transform: scaleX(1); }
.offering:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  background: #FFFFFF;
}
.offering .o-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.offering .o-name {
  font-family: var(--font-heading);
  font-size: 44px;
  letter-spacing: -0.025em;
  color: var(--text-heading);
  line-height: 1;
  font-weight: 600;
}
.offering .o-mark {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary-800);
  display: grid; place-items: center;
  padding: 12px;
  overflow: hidden;
}
.offering .o-mark img { filter: invert(1) brightness(1.2); width: 100%; height: 100%; object-fit: contain; }
.offering .o-tagline {
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.2;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  font-weight: 500;
}
.offering .o-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}
.offering .o-caps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.offering .o-caps li {
  font-size: 12px;
  padding: 6px 12px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--text-body);
  font-family: var(--font-body);
}
.offering .o-foot {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  gap: 10px;
  border-top: 1px solid var(--line);
}
.o-foot a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-heading);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  transition: all .2s;
  font-family: var(--font-body);
}
.o-foot a:hover { background: var(--primary-800); color: var(--text-on-dark); border-color: var(--primary-800); }
.o-foot a.primary { background: var(--primary-800); color: var(--text-on-dark); border-color: var(--primary-800); }
.o-foot a.primary:hover { background: var(--primary-700); }

@media (max-width: 900px) {
  .offerings { grid-template-columns: 1fr; }
  .offering { padding: 32px; }
}

/* ===== LOCAL PULSE ===== */
.local-pulse {
  background: var(--primary-800);
  color: var(--text-on-dark);
  border-radius: var(--r-xl);
  padding: 80px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.local-pulse::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 70% 50%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 50%, black 0%, transparent 70%);
}
.local-pulse > * { position: relative; z-index: 1; }
.local-pulse h2 {
  color: var(--text-on-dark);
  font-size: clamp(36px, 4.5vw, 54px);
  margin-top: 20px;
}
.local-pulse h2 em { font-style: normal; color: var(--primary-300); }
.local-pulse p { color: var(--primary-300); font-size: 17px; margin-top: 24px; line-height: 1.6; max-width: 520px; }
.local-pulse .eyebrow { color: var(--primary-300); }
.local-pulse .eyebrow::before { background: var(--primary-300); }

.pulse-stats {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.pulse-stats > div {
  padding: 28px 20px 0 0;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pulse-stats > div:last-child { border-right: none; padding-right: 0; }
.pulse-stats .n {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 32px;
  color: var(--text-on-dark);
  line-height: 1;
  letter-spacing: -0.025em;
}
.pulse-stats .l {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary-400);
}

.globe-viz {
  width: 100%;
  aspect-ratio: 1;
  max-width: 380px;
  margin: 0 auto;
  position: relative;
}
.globe-viz svg { width: 100%; height: 100%; }

@media (max-width: 900px) {
  .local-pulse { padding: 48px; grid-template-columns: 1fr; }
}

/* ===== CTA block ===== */
.cta {
  text-align: center;
  padding: 120px 0;
  position: relative;
}
.cta h2 {
  font-size: clamp(44px, 6vw, 76px);
  margin: 20px auto 24px;
  max-width: 900px;
  font-weight: 600;
  line-height: 1.05;
}
.cta h2 em { font-style: normal; color: var(--primary-500); }
.cta p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 36px;
}

/* ============================================================
   Product page (Veridex/Vantage) — capability, timeline, etc.
   ============================================================ */

.product-hero {
  padding: 180px 0 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.product-hero h1 {
  font-size: clamp(80px, 13vw, 180px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  margin: 28px 0 32px;
  font-weight: 600;
  color: var(--primary-800);
}
.product-hero h1 em { font-style: normal; color: var(--primary-500); }
.product-hero .lead {
  max-width: 680px;
  margin: 0 auto 32px;
  color: var(--text-muted);
  font-size: 19px;
  line-height: 1.55;
}

.caps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.cap {
  background: var(--secondary-200);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  transition: all .3s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cap:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); background: #fff; }
.cap .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--primary-600);
  font-weight: 500;
}
.cap h4 {
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 500;
  color: var(--text-heading);
}
.cap p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}
@media (max-width: 700px) { .caps-grid { grid-template-columns: 1fr; } }

/* 2-col split */
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.split.reverse { grid-template-columns: 1.1fr 1fr; }
.split.reverse .split-text { order: 2; }
.split.reverse .split-visual { order: 1; }
.split-text h2 {
  font-size: clamp(36px, 4.5vw, 52px);
  margin: 20px 0 24px;
  font-weight: 600;
}
.split-text h2 em { font-style: normal; color: var(--primary-500); }
.split-text p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 480px;
}

.lanes {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}
.lane {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--secondary-200);
}
.lane .dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.lane.crit .dot { background: var(--alert-500); }
.lane.high .dot { background: var(--warning-600); }
.lane.ok   .dot { background: var(--success-600); }
.lane strong { color: var(--text-heading); font-weight: 500; font-size: 15px; display: block; margin-bottom: 2px; font-family: var(--font-body); }
.lane span { font-size: 13px; color: var(--text-muted); }

@media (max-width: 900px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-text { order: 1; }
  .split.reverse .split-visual { order: 2; }
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 24px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 18px; left: 10%; right: 10%;
  height: 1px;
  background: var(--line-strong);
}
.t-step {
  text-align: center;
  padding: 0 12px;
}
.t-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--line-strong);
  margin: 0 auto 16px;
  position: relative;
  z-index: 2;
  display: grid; place-items: center;
}
.t-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tertiary-300); }
.t-step.active .t-dot { border-color: var(--primary-600); background: var(--primary-100); }
.t-step.active .t-dot::after { background: var(--primary-600); }
.t-kind {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-600);
  margin-bottom: 6px;
  font-weight: 500;
}
.t-title { font-size: 14px; color: var(--text-heading); font-weight: 500; font-family: var(--font-body); }
.t-date { font-size: 12px; color: var(--text-muted); margin-top: 6px; font-family: var(--font-mono); }
@media (max-width: 800px) {
  .timeline { grid-template-columns: 1fr; gap: 24px; }
  .timeline::before { display: none; }
}

/* Arch grid */
.arch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.arch {
  padding: 32px 24px;
  background: var(--secondary-200);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all .3s;
}
.arch:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); background: #fff; }
.arch .num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--primary-600);
  font-weight: 500;
}
.arch h5 { font-size: 20px; letter-spacing: -0.02em; line-height: 1.2; font-weight: 500; color: var(--text-heading); }
.arch p { font-size: 13px; line-height: 1.6; color: var(--text-muted); }
@media (max-width: 800px) { .arch-grid { grid-template-columns: 1fr 1fr; } }

/* Stat pair */
.stat-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { text-align: center; }
.stat .big {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--text-heading);
  margin-bottom: 12px;
}
.stat .big .unit { color: var(--primary-500); font-weight: 600; }
.stat .lbl {
  font-size: 17px;
  color: var(--text-heading);
  font-weight: 500;
  margin-bottom: 8px;
}
.stat .sub {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 300px;
  margin: 0 auto;
}

/* Spec table */
.spec {
  background: var(--secondary-200);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.spec .row {
  display: grid;
  grid-template-columns: 240px 1fr;
  border-bottom: 1px solid var(--line);
  align-items: stretch;
  gap: 0;
}
.spec .row:last-child { border-bottom: none; }
.spec .row .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-600);
  font-weight: 500;
  padding: 28px 36px;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
}
.spec .row .v {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-body);
  padding: 28px 36px;
  display: flex;
  align-items: center;
}
.spec .row .v strong { color: var(--text-heading); font-weight: 500; }
@media (max-width: 700px) {
  .spec .row { grid-template-columns: 1fr; gap: 0; }
  .spec .row .k { padding: 20px 24px; border-right: none; border-bottom: 1px solid var(--line); }
  .spec .row .v { padding: 20px 24px; }
}

/* Code block */
.code-block {
  background: var(--primary-800);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--primary-200);
  box-shadow: var(--shadow-lg);
}
.code-block .hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 12px;
  margin-bottom: 14px;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--primary-400);
}
.code-block .kw { color: #A6B5C1; }
.code-block .str { color: #66C297; }
.code-block .num { color: #EFC666; }
.code-block .fn { color: #7991A2; }

/* Values / About */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.value {
  background: var(--secondary-200);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px;
  transition: all .3s;
}
.value:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); background: #fff; }
.value .pill-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--primary-600);
  margin-bottom: 20px;
  font-weight: 500;
}
.value .pill-label::before { content: ""; width: 24px; height: 1px; background: var(--primary-600); }
.value h4 {
  font-size: 26px;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  font-weight: 500;
  color: var(--text-heading);
}
.value p { font-size: 15px; line-height: 1.6; color: var(--text-muted); }
@media (max-width: 700px) { .values-grid { grid-template-columns: 1fr; } }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.member {
  padding: 36px 28px;
  background: var(--secondary-200);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: all .3s;
}
.member:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); background: #fff; }
.avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--primary-800);
  color: var(--text-on-dark);
  display: grid; place-items: center;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
}
.member h5 { font-size: 20px; letter-spacing: -0.02em; margin-bottom: 6px; font-weight: 500; color: var(--text-heading); }
.member .role { font-size: 13px; line-height: 1.5; color: var(--text-muted); }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr 1fr; } }

/* Vision quote */
.vision {
  background: var(--secondary-200);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 80px 60px;
  text-align: center;
  position: relative;
}
.vision::before, .vision::after {
  content: "\201C";
  font-family: var(--font-heading);
  font-size: 120px;
  line-height: 1;
  position: absolute;
  top: 40px; left: 50px;
  color: var(--primary-600);
  opacity: 0.25;
  font-weight: 600;
}
.vision::after {
  content: "\201D";
  top: auto; left: auto;
  bottom: 20px; right: 50px;
}
.vision blockquote {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.35;
  color: var(--text-heading);
  max-width: 900px;
  margin: 0 auto;
  letter-spacing: -0.02em;
  font-weight: 500;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact-info h1 { font-size: clamp(56px, 7vw, 88px); line-height: 1; margin: 24px 0 24px; font-weight: 600; }
.contact-info h1 em { font-style: normal; color: var(--primary-500); }
.contact-info .lead { font-size: 18px; color: var(--text-muted); line-height: 1.6; max-width: 480px; }

.contact-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.contact-blocks h6 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--primary-600);
  margin-bottom: 14px;
  text-transform: uppercase;
  font-weight: 500;
}
.contact-blocks p, .contact-blocks .line {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
}
.contact-blocks .line { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }

.contact-form {
  background: var(--secondary-200);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.contact-form .field { margin-bottom: 20px; }
.contact-form label {
  display: block;
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  font-size: 15px;
  font-family: var(--font-body);
  background: #FFFFFF;
  color: var(--text-heading);
  transition: border-color .2s, background .2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-800);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button {
  width: 100%;
  padding: 14px 20px;
  background: var(--primary-800);
  color: var(--text-on-dark);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-body);
  transition: all .25s;
  margin-top: 8px;
}
.contact-form button:hover { background: var(--primary-700); }

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .contact-blocks { grid-template-columns: 1fr; }
}
