/* Elevatia — shared styles */
:root {
  --navy-950: #efece3;
  --navy-900: #f7f5f0;
  --navy-800: #fbfaf7;
  --navy-700: #f2eee5;
  --line: rgba(20,33,46,0.10);
  --gold: #9e370c;
  --gold-bright: #9e370c;
  --gold-hover: #7c2c0a;
  --gold-dim: rgba(158,55,12,0.09);
  --text: #14212e;
  --muted: #59637a;
  --muted-2: #8b95ab;
  --c-red: #d6491f;
  --c-yellow: #e8ac1f;
  --c-green: #3f9d4f;
  --c-blue: #4a6fa8;
  --c-teal: #0f9e88;
  --radius: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(900px 500px at 8% -5%, rgba(214,73,31,0.06), transparent 60%),
    radial-gradient(700px 460px at 95% 10%, rgba(15,158,136,0.06), transparent 60%),
    var(--navy-900);
  background-attachment: fixed;
  color: var(--text);
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 30px -22px rgba(20,33,46,0.15);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.brand .mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  display: flex; align-items: center; justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  font-family: "IBM Plex Sans", sans-serif;
  box-shadow: 0 4px 16px -4px rgba(214,73,31,0.5);
}
.logo-crop {
  display: block;
  height: 42px;
  width: 150px;
  overflow: hidden;
  position: relative;
}
.logo-crop img {
  position: absolute;
  width: 131px;
  height: 131px;
  top: -39px;
  left: -10px;
  max-width: none;
}
.footer-brand { display: inline-block; margin-bottom: 14px; }
.footer-logo-crop {
  display: block;
  height: 140px;
  width: 310px;
  overflow: hidden;
  position: relative;
  margin-left: -22px;
}
.footer-logo-crop img {
  position: absolute;
  width: 311px;
  height: 311px;
  top: -93px;
  left: -17px;
  max-width: none;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-cta {
  background: var(--gold);
  color: #fff8f1 !important;
  height: 38px;
  padding: 0 16px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  transition: background 0.18s ease;
}
.nav-cta:hover { background: var(--gold-hover); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 42px; height: 38px;
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy-900);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 20px 24px 28px;
    gap: 18px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}

/* ---------- Sections / generic ---------- */
section { padding: 96px 0; }
section.tight { padding: 64px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--gold);
}

h1, h2, h3, h4 {
  font-family: "IBM Plex Sans", sans-serif;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { color: var(--muted); margin: 0 0 16px; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 640px; }

.accent { color: var(--gold); }
.gradient-text {
  background: linear-gradient(135deg, #ffffff 25%, var(--gold-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.15s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn-primary {
  background: var(--gold);
  color: #fff8f1;
}
.btn-primary:hover { background: var(--gold-hover); transform: translateY(-1px); }
.btn-primary:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0)), var(--navy-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 16px 32px -24px rgba(20,33,46,0.18);
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.card.hoverable:hover {
  border-color: rgba(214,73,31,0.4);
  transform: translateY(-6px) scale(1.015);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0)), var(--navy-700);
  box-shadow: 0 20px 40px -20px rgba(20,33,46,0.22), 0 0 0 1px rgba(214,73,31,0.1);
}

/* ---------- Hero ---------- */
.hero {
  padding: 110px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

/* ---------- Hero entrance animation ---------- */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-inner > .eyebrow { animation: heroFadeUp 0.7s ease both; }
.hero-inner > h1 { animation: heroFadeUp 0.7s ease both 0.1s; }
.hero-inner > .lede { animation: heroFadeUp 0.7s ease both 0.2s; }
.hero-inner > .hero-cta { animation: heroFadeUp 0.7s ease both 0.3s; }
.hero-inner > p:last-child:not(.lede) { animation: heroFadeUp 0.7s ease both 0.4s; }
.hero-form-card, .hero-visual-full { animation: heroFadeUp 0.8s ease both 0.35s; }
@media (prefers-reduced-motion: reduce) {
  .hero-inner > *, .hero-form-card, .hero-visual-full { animation: none; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
  position: relative;
  z-index: 1;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero-form-card {
  background: var(--navy-800);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 30px 60px -30px rgba(20,33,46,0.25);
}
.hero-form-card select {
  width: 100%;
  padding: 13px 16px;
  background: var(--navy-950);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
}

/* ---------- Trust bar ---------- */
.trust-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  padding: 28px 0;
}
.trust-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  text-align: center;
}
.trust-bar .trust-label {
  color: var(--muted-2);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Stats strip ---------- */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--navy-950);
}
.stat-num {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
  text-shadow: 0 0 24px rgba(214,73,31,0.25);
}
.stat-label { color: var(--muted-2); font-size: 0.88rem; margin-top: 4px; }

/* ---------- Service / feature cards ---------- */
.icon-box {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(214,73,31,0.2), rgba(15,158,136,0.10));
  border: 1px solid rgba(214,73,31,0.3);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 700;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.card:hover .icon-box { transform: scale(1.12) rotate(-6deg); }
.icon-box svg { width: 22px; height: 22px; }
.icon-box.c-red { background: rgba(214,73,31,0.12); border-color: rgba(214,73,31,0.3); color: var(--c-red); }
.icon-box.c-yellow { background: rgba(232,172,31,0.14); border-color: rgba(232,172,31,0.35); color: var(--c-yellow); }
.icon-box.c-green { background: rgba(63,157,79,0.12); border-color: rgba(63,157,79,0.3); color: var(--c-green); }
.icon-box.c-blue { background: rgba(74,111,168,0.12); border-color: rgba(74,111,168,0.3); color: var(--c-blue); }
.icon-box.c-teal { background: rgba(15,158,136,0.12); border-color: rgba(15,158,136,0.3); color: var(--c-teal); }

/* ---------- Process steps ---------- */
.step {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  min-width: 40px;
}
.step-proof {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--gold-dim);
  color: var(--gold-bright);
  font-size: 0.82rem;
  font-weight: 700;
}

/* ---------- Table (comparison) ---------- */
.compare {
  border-collapse: collapse;
  width: 100%;
}
.compare th, .compare td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.compare th { color: var(--muted-2); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; }
.compare td.yes { color: var(--gold); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(500px 260px at 20% 0%, rgba(214,73,31,0.16), transparent 65%),
    radial-gradient(500px 260px at 85% 100%, rgba(15,158,136,0.08), transparent 65%),
    linear-gradient(135deg, var(--navy-800), var(--navy-700));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 48px -28px rgba(20,33,46,0.2);
}
@media (max-width: 640px) { .cta-band { padding: 40px 24px; } }

/* ---------- Forms ---------- */
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 13px 16px;
  background: var(--navy-950);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--gold);
}
.form-field textarea { resize: vertical; min-height: 120px; }

/* ---------- Footer ---------- */
footer.site {
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--c-red), var(--c-yellow), var(--c-green), var(--c-blue)) 1;
  padding: 0 0 32px;
  background: var(--navy-950);
}
.footer-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 36px; } }
.footer-grid h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted-2); margin-bottom: 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-grid a { color: var(--muted); font-size: 0.93rem; transition: color 0.15s ease; }
.footer-grid a:hover { color: var(--gold); }
.footer-contact-line { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.93rem; margin-bottom: 12px; }
.footer-contact-line svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--gold); }
.footer-contact-line a { color: var(--muted); }
.footer-contact-line a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}
.social-links { display: flex; gap: 14px; }
.social-links a {
  width: 34px; height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
}
.social-links a:hover { border-color: var(--gold); color: var(--gold); }

/* Utility */
.mt-0 { margin-top: 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.tag {
  display: inline-block;
  background: var(--gold-dim);
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Industry / trust tags ---------- */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tag-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.88rem;
  color: var(--muted);
  background: var(--navy-800);
  box-shadow: 0 8px 18px -14px rgba(20,33,46,0.15);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.tag-pill:hover { border-color: var(--gold); color: var(--text); transform: translateY(-2px); }

/* ---------- FAQ accordion ---------- */
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  text-align: left;
  padding: 22px 4px;
  font-size: 1.02rem;
  font-weight: 600;
  font-family: inherit;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}
.faq-q .plus {
  color: var(--gold);
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  line-height: 1;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a p { padding: 0 4px 22px; margin: 0; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.testimonial-quote {
  color: var(--text);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.7;
  flex-grow: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #ffffff;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.95rem;
}
.testimonial-name { font-weight: 600; font-size: 0.92rem; }
.testimonial-role { color: var(--muted-2); font-size: 0.82rem; }

/* ---------- Pricing rows ---------- */
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.price-row:last-child { border-bottom: none; }
.price-row-info { flex: 1; min-width: 220px; }
.price-row-info h3 { margin-bottom: 4px; }
.price-row-duration {
  color: var(--muted-2);
  font-size: 0.85rem;
  min-width: 90px;
  text-align: center;
}
.price-row-amount { text-align: right; min-width: 150px; }
.price-row-amount .value {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 800;
  color: var(--gold);
  font-size: 1.25rem;
  display: block;
}
.price-row-amount .unit { color: var(--muted-2); font-size: 0.8rem; }

/* ---------- Checklist ---------- */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.checklist li {
  color: var(--muted);
  font-size: 0.95rem;
  padding-left: 26px;
  position: relative;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ---------- Section illustrations ---------- */
.section-illustration {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 30px 60px -30px rgba(20,33,46,0.25);
  display: block;
}

/* ---------- Funnel diagram ---------- */
.funnel {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}
@media (max-width: 900px) {
  .funnel { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
.funnel-stage {
  padding: 20px 14px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  position: relative;
}
.funnel-stage .sub {
  display: block;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 400;
  font-size: 0.76rem;
  margin-top: 6px;
  opacity: 0.9;
}
.funnel-stage.s1 { background: var(--c-blue); }
.funnel-stage.s2 { background: var(--c-red); }
.funnel-stage.s3 { background: var(--c-yellow); }
.funnel-stage.s4 { background: var(--c-green); }
.funnel-stage.s5 { background: var(--c-teal); }
.funnel-stage.s6 { background: #6b5ca5; }
.funnel-measure {
  margin-top: 14px;
  text-align: center;
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  color: var(--muted-2);
  font-size: 0.82rem;
}

/* ---------- Problem list ---------- */
.problem-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.problem-list li {
  padding-left: 28px;
  position: relative;
  color: var(--text);
  font-size: 1rem;
}
.problem-list li::before {
  content: "?";
  position: absolute;
  left: 0;
  top: -1px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gold-dim);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Stage cards (0→1 / Fix / Scale / Lead) ---------- */
.stage-card { border-top: 4px solid var(--gold); }
.stage-card.stage-fix { border-top-color: var(--c-blue); }
.stage-card.stage-scale { border-top-color: var(--c-green); }
.stage-card.stage-lead { border-top-color: var(--c-teal); }
.stage-tag {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- Numbered mini badge ---------- */
.badge-num {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: linear-gradient(150deg, rgba(214,73,31,0.2), rgba(15,158,136,0.10));
  border: 1px solid rgba(214,73,31,0.35);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* =====================================================================
   DESIGN SYSTEM V2 — Editorial consulting redesign
   Additive only. Old tokens/components above are untouched so pages
   not yet migrated keep rendering exactly as before. New v2-* classes
   are scoped to avoid colliding with the existing system.
   ===================================================================== */

:root {
  --v2-paper: #f7f5f0;
  --v2-paper-raised: #fbfaf7;
  --v2-ink: #17150f;
  --v2-grey: #63594c;
  --v2-grey-2: #6b6152;
  --v2-line: rgba(23,21,15,0.13);
  --v2-line-soft: rgba(23,21,15,0.07);
  --v2-line-strong: rgba(23,21,15,0.4);
  --v2-rust: #9e370c;
  --v2-rust-dim: rgba(184,65,15,0.09);
  --v2-max: 1280px;
}

.v2 {
  font-family: "IBM Plex Sans", -apple-system, "Segoe UI", sans-serif;
  color: var(--v2-ink);
  background: var(--v2-paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.v2 * { box-sizing: border-box; }
.v2 .wrap {
  max-width: var(--v2-max);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 640px) {
  .v2 .wrap { padding: 0 22px; }
}

.v2 h1, .v2 h2, .v2 h3 {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.0;
  margin: 0;
  color: var(--v2-ink);
}
.v2 h1 { font-size: clamp(2.75rem, 5.4vw, 5.1rem); letter-spacing: -0.04em; }
.v2 h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.06; }
.v2 h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.15; }

.v2 p { color: var(--v2-grey); margin: 0 0 16px; }
.v2 .v2-body {
  font-size: 1.125rem;
  line-height: 1.62;
  max-width: 62ch;
  color: var(--v2-grey);
}
@media (max-width: 640px) { .v2 .v2-body { font-size: 1.05rem; } }

.v2-serif {
  font-family: "Source Serif 4", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.v2-mono {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--v2-grey-2);
}

.v2 a { color: inherit; text-decoration: none; }

/* ---------- Nav ---------- */
.v2-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--v2-paper);
  border-bottom: 1px solid var(--v2-line);
}
.v2-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
}
.v2-nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0; padding: 0;
}
.v2-nav-links a {
  font-size: 0.92rem;
  color: var(--v2-grey);
  transition: color 0.2s ease;
}
.v2-nav-links a:hover, .v2-nav-links a.active { color: var(--v2-ink); }
.v2-nav-links a.active { border-bottom: 1px solid var(--v2-rust); padding-bottom: 3px; }
.v2-logo-crop {
  display: block;
  height: 45px;
  width: 159px;
  overflow: hidden;
  position: relative;
  margin-left: 2px;
}
.v2-logo-crop img {
  position: absolute;
  width: 134px; height: 134px;
  top: -40px; left: -11px;
  max-width: none;
}
.v2-nav-cta {
  height: 35px !important;
  padding: 0 14px !important;
  font-size: 0.875rem !important;
}
.v2-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--v2-line);
  border-radius: 6px;
  width: 40px; height: 36px;
  color: var(--v2-ink);
  cursor: pointer;
}
@media (max-width: 900px) {
  .v2-nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--v2-paper);
    border-bottom: 1px solid var(--v2-line);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 32px 28px;
    gap: 18px;
    display: none;
  }
  .v2-nav-links.open { display: flex; }
  .v2-nav-toggle { display: block; }
}

/* ---------- Buttons ---------- */
.v2-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 7px;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.15s ease, border-color 0.18s ease;
}
.v2-btn-primary,
.v2 a.v2-btn-primary,
.v2 a.v2-btn-primary:link,
.v2 a.v2-btn-primary:visited,
.v2 a.v2-btn-primary:hover,
.v2 a.v2-btn-primary:active,
.v2 a.v2-btn-primary:focus {
  background: var(--v2-rust);
  color: #fff8f1;
}
.v2-btn-primary:hover,
.v2 a.v2-btn-primary:hover {
  background: #7c2c0a;
  transform: translateY(-1px);
}
.v2-btn:focus-visible {
  outline: 2px solid var(--v2-ink);
  outline-offset: 2px;
}
.v2-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--v2-ink);
  font-size: 0.92rem;
  font-weight: 500;
  border-bottom: 1px solid var(--v2-line);
  padding-bottom: 2px;
  transition: border-color 0.2s ease, gap 0.2s ease;
}
.v2-btn-link:hover { border-color: var(--v2-ink); gap: 10px; }
.v2-btn-link:focus-visible { outline: 2px solid var(--v2-ink); outline-offset: 3px; }
.v2-nav-links a:focus-visible { outline: 2px solid var(--v2-ink); outline-offset: 3px; }

/* ---------- Hero ---------- */
.v2-hero { padding: 64px 0 56px; }
.v2-hero-grid {
  display: grid;
  grid-template-columns: 8fr 5fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 940px) {
  .v2-hero-grid { grid-template-columns: 1fr; gap: 48px; }
}
.v2-hero-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #862f09;
  margin-bottom: 22px;
}
.v2-hero h1 {
  font-size: clamp(2.5rem, 4.4vw, 4.125rem);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin-bottom: 24px;
}
.v2-hero-cta { display: flex; align-items: center; gap: 28px; margin-top: 21px; flex-wrap: wrap; }
.v2-hero .v2-body { max-width: 620px; color: #4f473b; }

.v2-diagram-wrap {
  border: 1px solid var(--v2-line);
  border-radius: 8px;
  background: var(--v2-paper-raised);
  padding: 20px 22px 16px;
  margin-top: 10px;
}
.v2-diagram-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.v2-diagram-head h3 { font-size: 0.98rem; font-weight: 500; }
.v2-diagram-caption {
  margin-top: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--v2-grey-2);
}

/* ---------- Credibility strip ---------- */
.v2-stats {
  border-top: 1px solid var(--v2-line);
  border-bottom: 1px solid var(--v2-line);
  padding: 40px 0;
}
.v2-stats-row {
  display: flex;
  flex-wrap: wrap;
}
.v2-stat {
  flex: 1 1 25%;
  min-width: 150px;
  padding: 0 28px;
  border-left: 1px solid var(--v2-line);
}
.v2-stat:first-child { border-left: none; padding-left: 0; }
@media (max-width: 760px) {
  .v2-stat { flex: 1 1 45%; border-left: none !important; padding-left: 0; margin-bottom: 24px; }
}
.v2-stat-num {
  font-family: "IBM Plex Mono", monospace;
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  font-weight: 500;
  color: var(--v2-ink);
  display: block;
  margin-bottom: 6px;
  white-space: nowrap;
}
.v2-stat-label {
  font-size: 0.82rem;
  color: var(--v2-grey);
}

@keyframes v2FadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.v2-hero-label { animation: v2FadeUp 0.5s ease both; }
.v2-hero h1 { animation: v2FadeUp 0.5s ease both 0.08s; }
.v2-hero .v2-body { animation: v2FadeUp 0.5s ease both 0.16s; }
.v2-hero-cta { animation: v2FadeUp 0.5s ease both 0.24s; }
.v2-diagram-wrap { animation: v2FadeUp 0.6s ease both 0.2s; }

@media (prefers-reduced-motion: reduce) {
  .v2 * { animation: none !important; transition: none !important; }
}
