/* ============================================================
   LEXLEGIS.AI , Brand Layer on Bootstrap 5.3
   This file rides on top of Bootstrap , it overrides typography,
   colors, and adds editorial components while keeping Bootstrap
   grid + utilities + responsive helpers intact.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,300..700;1,6..72,300..700&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* -------- Bootstrap CSS variable overrides -------- */
:root {
  /* Brand colors */
  --ink: #0A0A0A;
  --ink-2: #1a1a1a;
  --paper: #FAFAF7;
  --bone: #F2F1EA;
  --hairline: #E5E3DA;
  --mute: #8A8A82;
  --accent: #C4A463;

  /* Typography stacks */
  --display: 'Newsreader', 'Times New Roman', serif;
  --body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', monospace;

  /* Override Bootstrap tokens */
  --bs-body-font-family: var(--body);
  --bs-body-font-size: 1rem;
  --bs-body-line-height: 1.55;
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--paper);
  --bs-border-color: var(--hairline);
  --bs-link-color: var(--ink);
  --bs-link-hover-color: #000;
  --bs-primary: var(--ink);
  --bs-primary-rgb: 10, 10, 10;
  --bs-secondary-color: var(--mute);
  --bs-heading-color: var(--ink);
  --bs-border-radius: 3px;

  /* Container width (editorial, slightly wider than BS default) */
  --maxw: 1280px;
  --narrow: 860px;
  --gutter: clamp(20px, 4vw, 48px);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

/* -------- Editorial grain overlay -------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* -------- Container width override -------- */
.container, .container-fluid, .container-lg, .container-xl {
  max-width: var(--maxw);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* =============================================================
   TYPOGRAPHY , Editorial Newsreader display + Inter body
   ============================================================= */
h1, h2, h3, h4, h5 {
  font-family: var(--display);
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
}
h1 { font-weight: 300; }
h2 { font-weight: 300; }
h3 { font-weight: 400; }
h4 { font-weight: 500; }
em { font-style: italic; font-weight: 400; }

.eyebrow {
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mute);
  display: inline-block;
  margin-bottom: 12px;
}

.lede {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: #333;
  line-height: 1.5;
  max-width: 58ch;
}

/* =============================================================
   NAV , Sticky, blurred, with editorial brand mark
   ============================================================= */
.navbar-lexlegis {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--hairline);
  padding: 14px 0;
}
.navbar-lexlegis .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-mark {
  width: 28px; height: 28px;
  background: var(--ink);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1rem;
  border-radius: 2px;
}
.navbar-lexlegis .nav-link {
  font-family: var(--body);
  font-size: .94rem;
  font-weight: 450;
  color: #3a3a3a;
  padding: 6px 0 !important;
  margin: 0 14px;
  border-bottom: 1.5px solid transparent;
  transition: all .2s ease;
}
.navbar-lexlegis .nav-link:hover,
.navbar-lexlegis .nav-link.active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.navbar-lexlegis .ai { color: var(--mute); font-weight: 400; }

/* Features dropdown , editorial styling */
.dropdown-menu-editorial {
  min-width: 320px;
  border: 1px solid var(--hairline);
  border-radius: 3px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  padding: 12px 0;
  background: var(--paper);
}
.dropdown-menu-editorial .dropdown-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 12px 22px;
  white-space: normal;
  align-items: center;
}
.dropdown-menu-editorial .dropdown-item:hover {
  background: var(--bone);
}
.dropdown-menu-editorial strong {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1rem;
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
}
.dropdown-menu-editorial .dd-desc {
  font-size: .82rem;
  color: var(--mute);
  line-height: 1.3;
}

.dd-badge {
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 2px;
  white-space: nowrap;
  align-self: start;
  margin-top: 3px;
}
.dd-badge.live {
  background: rgba(31, 122, 31, 0.12);
  color: #1f7a1f;
  border: 1px solid rgba(31, 122, 31, 0.3);
}
.dd-badge.early {
  background: var(--bone);
  color: var(--ink);
  border: 1px solid var(--hairline);
}

/* CTA buttons in nav */
.btn-nav-login {
  font-family: var(--body);
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 18px;
  border-radius: 3px;
}
.btn-nav-login:hover { background: var(--bone); color: var(--ink); }
.btn-nav-trial {
  font-family: var(--body);
  font-size: .92rem;
  font-weight: 500;
  color: var(--paper);
  background: var(--ink);
  padding: 9px 20px;
  border-radius: 3px;
  border: none;
}
.btn-nav-trial:hover { background: #000; color: var(--paper); }

/* =============================================================
   BUTTONS , Editorial
   ============================================================= */
.btn-lex-primary {
  font-family: var(--body);
  font-size: .98rem;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 3px;
  background: var(--ink);
  color: var(--paper);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all .2s ease;
}
.btn-lex-primary:hover {
  background: #000;
  color: var(--paper);
  transform: translateY(-1px);
}
.btn-lex-primary .arr { transition: transform .2s; }
.btn-lex-primary:hover .arr { transform: translateX(4px); }

.btn-lex-ghost {
  font-family: var(--body);
  font-size: .98rem;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: 3px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--hairline);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all .2s ease;
}
.btn-lex-ghost:hover {
  background: var(--bone);
  border-color: var(--ink);
  color: var(--ink);
}

.btn-lex-lg {
  font-size: 1.05rem;
  padding: 16px 32px;
}

/* =============================================================
   HERO , Editorial, static
   ============================================================= */
.hero-lex {
  padding: clamp(80px, 12vh, 140px) 0 clamp(60px, 10vh, 100px);
  border-bottom: 1px solid var(--hairline);
}
.hero-meta {
  display: flex;
  gap: 28px;
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.hero-meta strong {
  color: var(--ink);
  font-weight: 600;
}
.hero-headline {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.6rem, 7vw, 6rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
  max-width: 14ch;
  margin-bottom: 0;
}
.hero-headline em {
  font-style: italic;
  font-weight: 400;
}
.hero-sub-text {
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 58ch;
  color: #222;
}
.hero-attrib {
  display: block;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 20px;
}

/* Hero illustration panel */
.hero-illus {
  background: var(--bone);
  border: 1px solid var(--hairline);
  padding: 40px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-illus svg { width: 100%; height: auto; }

/* =============================================================
   TICKER
   ============================================================= */
.ticker {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 14px 0;
  background: var(--bone);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.ticker-track {
  display: inline-block;
  animation: tickerScroll 40s linear infinite;
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #444;
}
.ticker-track span { margin: 0 10px; }
.ticker-track .sep { color: var(--mute); }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =============================================================
   SECTIONS
   ============================================================= */
.section-lex {
  padding: clamp(60px, 10vh, 120px) 0;
}
.section-lex.warm { background: var(--bone); }
.section-lex.dark {
  background: var(--ink);
  color: var(--paper);
}
.section-lex.dark h1, .section-lex.dark h2, .section-lex.dark h3 { color: var(--paper); }
.section-lex.dark .lede { color: #c9c9c4; }
.section-lex.dark .eyebrow { color: var(--mute); }

.section-head h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1;
  max-width: 18ch;
  margin-bottom: 20px;
}

/* =============================================================
   AVAILABILITY BADGES
   ============================================================= */
.avail-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 3px;
}
.avail-badge.live {
  background: rgba(31, 122, 31, 0.12);
  color: #1f7a1f;
  border: 1px solid rgba(31, 122, 31, 0.3);
}
.avail-badge.live::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #1f7a1f;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(31, 122, 31, 0.2);
  animation: pulse 2s ease-in-out infinite;
}
.avail-badge.early {
  background: var(--bone);
  color: var(--ink);
  border: 1px solid var(--hairline);
}
.avail-badge.early::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(31, 122, 31, 0.2); }
  50% { box-shadow: 0 0 0 5px rgba(31, 122, 31, 0.1); }
}

/* =============================================================
   AID CARDS
   ============================================================= */
.aid-card-lex {
  background: var(--paper);
  border: 1px solid var(--hairline);
  padding: 36px 30px;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color .2s;
}
.aid-card-lex:hover { border-color: var(--ink); }
.aid-card-lex .card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: rgba(31, 122, 31, 0.12);
  color: #1f7a1f;
  border: 1px solid rgba(31, 122, 31, 0.3);
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.aid-card-lex .card-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  background: #1f7a1f;
  border-radius: 50%;
  display: inline-block;
}
.aid-card-lex .aid-num {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .14em;
  color: var(--mute);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.aid-card-lex .aid-name {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 6px;
}
.aid-card-lex .aid-tag {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 20px;
}
.aid-card-lex ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
}
.aid-card-lex ul li {
  padding: 8px 0 8px 20px;
  position: relative;
  font-size: .92rem;
  line-height: 1.45;
  color: #444;
}
.aid-card-lex ul li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--mute);
  font-weight: 600;
}

/* Ready block */
.aid-ready-block {
  background: var(--bone);
  border: 1px solid var(--hairline);
  padding: 28px 32px;
  border-radius: 3px;
  margin: 30px 0;
}
.aid-ready-block h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.aid-ready-block p {
  font-size: .95rem;
  color: #444;
  line-height: 1.5;
  margin: 0;
}

.mira-early-block {
  background: var(--ink);
  color: var(--paper);
  padding: 28px 32px;
  border-radius: 3px;
  margin-top: 50px;
}
.mira-early-block h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.3rem;
  margin-bottom: 6px;
  color: var(--paper);
}
.mira-early-block p {
  font-size: .95rem;
  color: #c9c9c4;
  line-height: 1.5;
  margin: 0;
}
.mira-early-block .btn-lex-primary {
  background: var(--paper);
  color: var(--ink);
}
.mira-early-block .btn-lex-primary:hover { background: #fff; }

/* =============================================================
   STAT STRIP
   ============================================================= */
.stat-strip-lex {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--paper);
}
.stat-lex {
  padding: 40px 30px;
  text-align: center;
  border-right: 1px solid var(--hairline);
}
.stat-lex:last-child { border-right: none; }
.stat-lex .stat-num {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-lex .stat-num sup {
  font-size: .5em;
  vertical-align: super;
  color: var(--mute);
}
.stat-lex .stat-label {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--mute);
  text-transform: uppercase;
  margin-top: 10px;
}
@media (max-width: 768px) {
  .stat-strip-lex { grid-template-columns: repeat(2, 1fr); }
  .stat-lex:nth-child(2n) { border-right: none; }
  .stat-lex:nth-child(1), .stat-lex:nth-child(2) { border-bottom: 1px solid var(--hairline); }
}

/* =============================================================
   LOGO STRIP
   ============================================================= */
.logo-strip {
  padding: 50px 0;
  text-align: center;
  border-bottom: 1px solid var(--hairline);
}
.logo-strip .logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding: 10px 0;
}
.logo-item {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: #4a4a4a;
  opacity: .7;
  transition: opacity .2s;
}
.logo-item:hover { opacity: 1; }

/* =============================================================
   TIMELINE
   ============================================================= */
.timeline-lex {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--hairline);
  margin-top: 40px;
  background: var(--paper);
}
.tl-col {
  padding: 36px 30px;
  border-right: 1px solid var(--hairline);
}
.tl-col:last-child { border-right: none; }
.tl-year {
  font-family: var(--display);
  font-weight: 300;
  font-size: 3rem;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 16px;
}
.tl-col h4 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.tl-col p {
  font-size: .92rem;
  line-height: 1.5;
  color: #444;
  margin: 0;
}
@media (max-width: 900px) {
  .timeline-lex { grid-template-columns: repeat(2, 1fr); }
  .tl-col:nth-child(2n) { border-right: none; }
  .tl-col:nth-child(1), .tl-col:nth-child(2) { border-bottom: 1px solid var(--hairline); }
}
@media (max-width: 500px) {
  .timeline-lex { grid-template-columns: 1fr; }
  .tl-col { border-right: none; border-bottom: 1px solid var(--hairline); }
  .tl-col:last-child { border-bottom: none; }
}

/* =============================================================
   TRUST & PRINCIPLE CARDS
   ============================================================= */
.card-lex {
  background: var(--paper);
  border: 1px solid var(--hairline);
  padding: 36px 30px;
  height: 100%;
  transition: border-color .2s;
}
.card-lex:hover { border-color: var(--ink); }
.card-lex .card-num {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .14em;
  color: var(--mute);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.card-lex h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.2;
  margin-bottom: 12px;
}
.card-lex p {
  font-size: .95rem;
  line-height: 1.55;
  color: #444;
}

/* =============================================================
   FAQ ACCORDION (Bootstrap native, restyled)
   ============================================================= */
.accordion-lex .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hairline);
}
.accordion-lex .accordion-item:first-child {
  border-top: 1px solid var(--hairline);
}
.accordion-lex .accordion-button {
  background: transparent;
  padding: 24px 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--ink);
  box-shadow: none;
  border: none;
}
.accordion-lex .accordion-button:not(.collapsed) {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}
.accordion-lex .accordion-button:focus {
  box-shadow: none;
  border: none;
}
.accordion-lex .accordion-body {
  padding: 0 0 24px;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  max-width: 70ch;
}

/* =============================================================
   SECURITY TRUST ICONS
   ============================================================= */
.trust-icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--hairline);
  background: var(--paper);
}
.trust-icon {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid var(--hairline);
}
.trust-icon:last-child { border-right: none; }
.trust-icon-svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--ink);
}
.trust-icon h4 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 6px;
}
.trust-icon p {
  font-size: .84rem;
  color: var(--mute);
  line-height: 1.4;
  margin: 0;
}
@media (max-width: 768px) {
  .trust-icon-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-icon:nth-child(2n) { border-right: none; }
  .trust-icon:nth-child(1), .trust-icon:nth-child(2) { border-bottom: 1px solid var(--hairline); }
}

/* =============================================================
   MIRA SECTION
   ============================================================= */
.mira-section {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(80px, 12vh, 140px) 0;
}
.mira-section h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 5rem);
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--paper);
  margin-bottom: 30px;
}
.mira-section .mira-body {
  font-size: 1.08rem;
  line-height: 1.65;
  color: #c9c9c4;
}
.mira-section .mira-body .thesis {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.25rem;
  color: var(--paper);
  margin-top: 24px;
  line-height: 1.5;
}
.mira-section .eyebrow { color: var(--mute); }

/* =============================================================
   CTA BLOCK
   ============================================================= */
.cta-block-lex {
  padding: clamp(80px, 12vh, 140px) 0;
  text-align: center;
  background: var(--bone);
  border-top: 1px solid var(--hairline);
}
.cta-block-lex h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  letter-spacing: -0.035em;
  line-height: 1;
  max-width: 20ch;
  margin: 0 auto 20px;
}
.cta-block-lex p {
  max-width: 60ch;
  margin: 0 auto 30px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333;
}

/* =============================================================
   FOOTER
   ============================================================= */
.footer-lex {
  background: var(--ink);
  color: #c9c9c4;
  padding: 80px 0 30px;
}
.footer-lex .brand {
  color: var(--paper);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.28rem;
  text-decoration: none;
}
.footer-lex .brand .ai { color: var(--mute); }
.footer-lex .brand-mark { background: var(--paper); color: var(--ink); }

.footer-lex h5 {
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 20px;
}
.footer-lex ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-lex ul li { padding: 6px 0; }
.footer-lex ul a {
  color: #c9c9c4;
  text-decoration: none;
  font-size: .93rem;
  transition: color .2s;
}
.footer-lex ul a:hover { color: var(--paper); }

.footer-lex .legal-ids {
  font-family: var(--mono);
  font-size: .68rem;
  line-height: 1.8;
  color: #8a8a82;
  margin-top: 20px;
}

.footer-lex .footer-wordmark {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(4rem, 14vw, 10rem);
  letter-spacing: -0.05em;
  line-height: 1;
  color: #1a1a1a;
  text-align: center;
  padding: 30px 0 20px;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  margin: 50px 0 30px;
  user-select: none;
}
.footer-lex .footer-wordmark em {
  font-style: italic;
  font-weight: 400;
  color: var(--mute);
}

.footer-lex .footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mute);
}
.footer-lex .footer-bottom a {
  color: var(--mute);
  margin-left: 18px;
}

/* =============================================================
   REVEAL ANIMATIONS
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s cubic-bezier(.25,.46,.45,.94), transform .9s cubic-bezier(.25,.46,.45,.94);
}
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =============================================================
   MISC
   ============================================================= */
.arr {
  display: inline-block;
  font-family: var(--mono);
  transition: transform .2s;
}

/* =============================================================
   HERO VARIANTS (small hero for inner pages)
   ============================================================= */
.hero-lex-sm {
  padding: clamp(50px, 8vh, 90px) 0 clamp(40px, 6vh, 70px);
  border-bottom: 1px solid var(--hairline);
}
.hero-lex-sm .hero-headline {
  font-size: clamp(2.2rem, 5.5vw, 4.8rem);
  max-width: 18ch;
}

/* =============================================================
   DEPLOY CARDS & DEEP DIVES
   ============================================================= */
.deploy-detail {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
  padding: 60px 0;
  border-top: 1px solid var(--hairline);
}
.deploy-detail:first-child { border-top: none; }
.dd-letter {
  font-family: var(--display);
  font-weight: 300;
  font-size: 5rem;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.dd-letter em { font-style: italic; }
.dd-mult {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .14em;
  color: var(--mute);
  text-transform: uppercase;
  margin-top: 14px;
}
.dd-time {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--mute);
  text-transform: uppercase;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
}
.dd-time strong {
  display: block;
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--ink);
  margin-top: 4px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.deploy-detail h3 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.025em;
  margin-bottom: 18px;
  line-height: 1.1;
}
.dd-lede {
  font-size: 1.08rem;
  line-height: 1.6;
  margin-bottom: 24px;
  color: #222;
  max-width: 62ch;
}
.dd-feats {
  list-style: none;
  padding: 0;
}
.dd-feats li {
  padding: 10px 0 10px 22px;
  position: relative;
  font-size: .96rem;
  line-height: 1.5;
  border-bottom: 1px dotted var(--hairline);
}
.dd-feats li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--mute);
  font-weight: 600;
}
@media (max-width: 900px) {
  .deploy-detail { grid-template-columns: 1fr; gap: 30px; }
}

/* =============================================================
   PRICING (USD/INR toggle + price cards)
   ============================================================= */
.currency-bar {
  padding: 20px 0;
  background: var(--bone);
  border-bottom: 1px solid var(--hairline);
  text-align: center;
}
.currency-toggle {
  display: inline-flex;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 3px;
  overflow: hidden;
}
.currency-toggle button {
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 8px 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #444;
  transition: all .2s ease;
}
.currency-toggle button:hover { color: var(--ink); background: var(--bone); }
.currency-toggle button.active { background: var(--ink); color: var(--paper); }
.currency-toggle button + button { border-left: 1px solid var(--hairline); }
#currency-detected-label {
  color: var(--mute);
  font-size: .72rem;
  letter-spacing: .12em;
  font-family: var(--mono);
  text-transform: uppercase;
  margin-right: 16px;
}

/* Currency visibility */
[data-currency="USD"] .amt-inr,
[data-currency="USD"] .amt-inr-alt { display: none; }
[data-currency="INR"] .amt-usd,
[data-currency="INR"] .amt-usd-alt { display: none; }
.amt-usd, .amt-usd-alt { display: none; }
[data-currency="USD"] .amt-usd,
[data-currency="USD"] .amt-usd-alt { display: inline; }

.price-card-lex {
  background: var(--paper);
  border: 1px solid var(--hairline);
  padding: 44px 32px;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.price-card-lex.featured {
  background: var(--ink);
  color: var(--paper);
}
.price-card-lex.featured .price-tier,
.price-card-lex.featured .price-unit,
.price-card-lex.featured .price-alt,
.price-card-lex.featured .price-features li { color: #c9c9c4; }
.price-card-lex.featured .price-features li { border-color: #2a2a2a; }
.price-card-lex.featured .price-features li::before { color: var(--paper); }
.price-tag {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 5px 10px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 2px;
}
.price-tier {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 16px;
}
.price-amount {
  font-family: var(--display);
  font-weight: 300;
  font-size: 2.8rem;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.price-unit {
  font-family: var(--body);
  font-size: 1rem;
  color: var(--mute);
  font-weight: 400;
}
.price-alt {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .12em;
  color: var(--mute);
  text-transform: uppercase;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hairline);
}
.price-card-lex.featured .price-alt { border-color: #2a2a2a; }
.price-blurb {
  font-size: .98rem;
  line-height: 1.55;
  margin-bottom: 24px;
  color: inherit;
}
.price-features {
  list-style: none;
  padding: 0;
  margin-bottom: 28px;
  flex-grow: 1;
}
.price-features li {
  font-size: .94rem;
  padding: 10px 0 10px 24px;
  position: relative;
  border-bottom: 1px solid var(--hairline);
  line-height: 1.45;
}
.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 600;
  color: var(--ink);
}

/* Pricing table */
.tier-table-lex {
  border: 1px solid var(--hairline);
  background: var(--paper);
  overflow-x: auto;
}
.tier-table-lex table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}
.tier-table-lex th,
.tier-table-lex td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--hairline);
  font-size: .95rem;
}
.tier-table-lex th {
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
  background: var(--bone);
  white-space: nowrap;
}
.tier-table-lex tr:last-child td { border-bottom: none; }
.tier-table-lex tbody tr:hover { background: var(--bone); }

.mult-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--hairline);
  background: var(--paper);
}
.mult-card {
  padding: 36px 24px;
  border-right: 1px solid var(--hairline);
  text-align: center;
}
.mult-card:last-child { border-right: none; }
.mult-label {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .16em;
  color: var(--mute);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.mult-name {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.mult-x {
  font-family: var(--display);
  font-weight: 300;
  font-size: 2rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
@media (max-width: 900px) {
  .mult-grid { grid-template-columns: repeat(2, 1fr); }
  .mult-card:nth-child(2n) { border-right: none; }
  .mult-card { border-bottom: 1px solid var(--hairline); }
}

/* =============================================================
   SKILL MATRIX
   ============================================================= */
.skill-group {
  margin-bottom: 50px;
  border: 1px solid var(--hairline);
  background: var(--paper);
}
.skill-group-head {
  padding: 28px 32px;
  background: var(--bone);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
  border-bottom: 1px solid var(--hairline);
}
.skill-group-num {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .16em;
  color: var(--mute);
  text-transform: uppercase;
}
.skill-group-name {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: -0.015em;
  line-height: 1;
}
.skill-group-count {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--mute);
  text-transform: uppercase;
}
.skill-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.skill {
  padding: 18px 32px;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  font-size: .94rem;
  line-height: 1.4;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.skill .s-num {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--mute);
  padding-top: 2px;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .skill-group-head { grid-template-columns: 1fr; gap: 8px; }
}

/* =============================================================
   USE CASE CARDS & SEGMENT DETAIL
   ============================================================= */
.uc-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  padding: 32px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.uc-num {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .14em;
  color: var(--mute);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.uc-card h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 14px;
}
.uc-card p {
  font-size: .94rem;
  line-height: 1.55;
  color: #333;
  margin-bottom: 14px;
  flex-grow: 1;
}
.uc-deliverable {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--mute);
  text-transform: uppercase;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
}
.uc-deliverable strong {
  color: var(--ink);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.seg-detail {
  padding: 60px 0;
  border-top: 1px solid var(--hairline);
}
.seg-detail:first-child { border-top: none; }
.seg-detail-meta {
  position: sticky;
  top: 100px;
}
.seg-detail-num {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .15em;
  color: var(--mute);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.seg-detail-meta h3 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 14px;
}
.seg-applicability {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--ink);
  text-transform: uppercase;
  padding: 10px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.seg-lede {
  font-family: var(--display);
  font-weight: 300;
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.45;
  margin-bottom: 24px;
  color: #222;
}
.uc-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--hairline);
}
.uc-item:first-child { border-top: 1px solid var(--hairline); }
.uc-item h4 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  line-height: 1.25;
}
.uc-item p {
  font-size: .95rem;
  line-height: 1.55;
  color: #444;
  margin-bottom: 10px;
}
@media (max-width: 900px) {
  .seg-detail-meta { position: static; }
}

/* =============================================================
   LEGAL PAGES
   ============================================================= */
.legal-page {
  padding: 120px 0 100px;
  max-width: var(--narrow);
  margin: 0 auto;
}
.legal-meta {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .15em;
  color: var(--mute);
  text-transform: uppercase;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 40px;
}
.legal-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
}
.legal-body p {
  margin-bottom: 20px;
  max-width: 68ch;
}
.legal-body h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: -0.015em;
  margin: 48px 0 16px;
  line-height: 1.2;
}
.legal-body h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.2rem;
  margin: 30px 0 12px;
}
.legal-body ul, .legal-body ol {
  margin: 0 0 20px 0;
  padding-left: 24px;
  max-width: 68ch;
}
.legal-body li {
  margin-bottom: 8px;
  line-height: 1.6;
}
.legal-body strong { font-weight: 600; }
.legal-body a {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}

/* =============================================================
   TEAM & CUSTOMERS
   ============================================================= */
.founder-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
  padding: 40px;
  background: var(--bone);
  border: 1px solid var(--hairline);
}
.founder-photo, .leader-photo, .team-avatar {
  border-radius: 50%;
  background: linear-gradient(135deg, #3a3a3a 0%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  font-family: var(--display);
  font-weight: 400;
  border: 2px solid var(--ink);
  position: relative;
  overflow: hidden;
}
.founder-photo { width: 260px; height: 260px; font-size: 4rem; font-weight: 300; letter-spacing: -0.03em; box-shadow: 0 10px 40px rgba(0,0,0,0.15); }
.leader-photo { width: 120px; height: 120px; font-size: 2rem; margin: 0 auto 20px; border-width: 1.5px; }
.team-avatar { width: 80px; height: 80px; font-size: 1.4rem; margin: 0 auto 14px; background: linear-gradient(135deg, #6a6a6a 0%, #3a3a3a 100%); border: none; }
.founder-photo img, .leader-photo img, .team-avatar img {
  width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0;
}
.leader-card {
  background: var(--paper);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--hairline);
  height: 100%;
}
.leader-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.2;
  margin-bottom: 4px;
}
.leader-role {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 14px;
}
.leader-bio {
  font-size: .9rem;
  line-height: 1.5;
  color: #444;
}
.team-member {
  background: var(--paper);
  padding: 24px 16px;
  text-align: center;
  border: 1px solid var(--hairline);
}
.tm-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: .96rem;
  line-height: 1.2;
  margin-bottom: 3px;
}
.tm-role {
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mute);
  line-height: 1.3;
}
@media (max-width: 800px) {
  .founder-grid { grid-template-columns: 1fr; gap: 30px; padding: 30px; }
  .founder-photo { margin: 0 auto; }
}

.cust-card {
  background: var(--paper);
  padding: 32px;
  border: 1px solid var(--hairline);
  height: 100%;
}
.cust-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.cust-type {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .14em;
  color: var(--mute);
  text-transform: uppercase;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 14px;
}
.cust-card p {
  font-size: .92rem;
  line-height: 1.55;
  color: #444;
  margin: 0;
}
.case-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  padding: 40px;
}
.case-meta {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--mute);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.case-card h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
  max-width: 32ch;
}
.case-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 70ch;
  color: #333;
}
.case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
}
.case-stats strong {
  font-family: var(--display);
  font-weight: 300;
  font-size: 2rem;
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
}
.case-stats span {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .14em;
  color: var(--mute);
  text-transform: uppercase;
}
@media (max-width: 700px) {
  .case-stats { grid-template-columns: 1fr; gap: 14px; }
}
.big-quote {
  margin: 0;
  padding: 36px;
  font-family: var(--display);
  font-weight: 300;
  font-size: 1.18rem;
  line-height: 1.5;
  font-style: italic;
  color: #222;
  border: 1px solid var(--hairline);
  height: 100%;
}
.big-quote cite {
  display: block;
  font-family: var(--mono);
  font-style: normal;
  font-size: .7rem;
  letter-spacing: .14em;
  color: var(--mute);
  text-transform: uppercase;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
}

/* =============================================================
   CAREERS
   ============================================================= */
.role-block { margin-top: 40px; }
.role-block h3 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
}
.role-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink);
  text-decoration: none;
  transition: padding-left .3s cubic-bezier(.2,.7,.2,1);
}
.role-item:hover { padding-left: 10px; color: var(--ink); }
.role-item strong {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 3px;
}
.role-item .role-meta {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .12em;
  color: var(--mute);
  text-transform: uppercase;
}

/* =============================================================
   CONTACT FORM
   ============================================================= */
.contact-form-lex {
  background: var(--paper);
  border: 1px solid var(--hairline);
  padding: 40px;
}
.contact-form-lex label {
  display: block;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .15em;
  color: var(--mute);
  text-transform: uppercase;
  margin-bottom: 8px;
  margin-top: 18px;
}
.contact-form-lex label:first-of-type { margin-top: 0; }
.contact-form-lex input,
.contact-form-lex select,
.contact-form-lex textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--hairline);
  background: var(--bone);
  font-family: var(--body);
  font-size: .96rem;
  color: var(--ink);
  border-radius: 2px;
}
.contact-form-lex input:focus,
.contact-form-lex select:focus,
.contact-form-lex textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--paper);
}
.contact-form-lex textarea { resize: vertical; min-height: 100px; }
.demo-list {
  list-style: none;
  padding: 0;
}
.demo-list li {
  padding: 10px 0 10px 24px;
  position: relative;
  font-size: .96rem;
  line-height: 1.5;
  border-bottom: 1px dotted var(--hairline);
}
.demo-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ink);
  font-weight: 600;
}

/* =============================================================
   CERT CARDS, SECURITY
   ============================================================= */
.cert-card {
  background: var(--paper);
  padding: 28px;
  border: 1px solid var(--hairline);
  height: 100%;
}
.cert-card h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.cert-card p {
  font-size: .9rem;
  line-height: 1.5;
  color: #444;
  margin: 0;
}
.sec-card {
  background: var(--ink);
  padding: 32px;
  color: var(--paper);
  height: 100%;
}
.sec-card h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.4rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #2a2a2a;
  color: var(--paper);
}
.sec-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sec-card li {
  padding: 8px 0 8px 16px;
  position: relative;
  font-size: .92rem;
  line-height: 1.45;
  color: #c9c9c4;
}
.sec-card li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--mute);
  font-weight: 600;
}

/* =============================================================
   VALUE CARDS (careers, principles)
   ============================================================= */
.value-card {
  background: var(--paper);
  padding: 32px;
  border: 1px solid var(--hairline);
  height: 100%;
}
.value-card h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.2;
  margin-bottom: 10px;
}
.value-card p {
  font-size: .94rem;
  line-height: 1.55;
  color: #444;
  margin: 0;
}

/* =============================================================
   DATASET / FEATURE CARDS
   ============================================================= */
.dataset-card {
  background: var(--paper);
  padding: 36px 30px;
  border: 1px solid var(--hairline);
  height: 100%;
}
.dataset-num {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--mute);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.dataset-card h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.dataset-card p {
  font-size: .95rem;
  line-height: 1.55;
  color: #444;
  margin: 0;
}

/* =============================================================
   FEATURE PAGE (Ask/Interact/Draft) MODULE
   ============================================================= */
.feature-module {
  padding: 80px 0;
  border-top: 1px solid var(--hairline);
}
.feature-module.warm { background: var(--bone); border-color: var(--hairline); }

/* =============================================================
   SVG ILLUSTRATION PANELS
   ============================================================= */
.illus-panel {
  background: var(--bone);
  border: 1px solid var(--hairline);
  padding: 40px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.illus-panel svg { width: 100%; height: auto; }
.illus-panel.dark {
  background: var(--ink);
  border-color: #2a2a2a;
}

/* =============================================================
   DESK CARDS (contact offices)
   ============================================================= */
.desk-card {
  background: var(--paper);
  padding: 28px;
  border: 1px solid var(--hairline);
  height: 100%;
}
.desk-card h4 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.desk-card p {
  font-size: .92rem;
  line-height: 1.5;
  color: #444;
  margin: 0;
}
.desk-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}
.office {
  background: var(--paper);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--hairline);
  height: 100%;
}
.office h4 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.office p {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .14em;
  color: var(--mute);
  text-transform: uppercase;
  line-height: 1.6;
  margin: 0;
}

/* =============================================================
   ELITE TYPOGRAPHY UPGRADE
   ============================================================= */

/* BIGGER section headlines everywhere */
.section-lex .section-head h2,
.section-lex h2,
.cta-block-lex h2 {
  font-size: clamp(2.6rem, 6vw, 5rem) !important;
  letter-spacing: -0.035em !important;
  line-height: 0.98 !important;
  max-width: 22ch;
}

.mira-section h2 {
  font-size: clamp(3rem, 7vw, 6rem) !important;
  letter-spacing: -0.04em !important;
  line-height: 0.95 !important;
  max-width: 20ch;
}

.hero-lex-sm .hero-headline {
  font-size: clamp(2.8rem, 7vw, 6rem);
}

.lede {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.45;
  max-width: 60ch;
}

/* Elite section head with number + title composition */
.section-head-elite {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
.section-head-elite .sh-num {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mute);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hairline);
}
.section-head-elite h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.8rem, 7vw, 5.5rem) !important;
  letter-spacing: -0.04em;
  line-height: 0.95;
  max-width: 24ch;
  margin: 0;
}
.section-head-elite h2 em {
  font-style: italic;
  font-weight: 300;
}
.section-head-elite .sh-lede {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  line-height: 1.4;
  color: #333;
  max-width: 54ch;
  margin-top: 24px;
}

/* Manifesto block - for the MIRA copy */
.manifesto {
  padding: clamp(80px, 14vh, 160px) 0;
  background: var(--ink);
  color: var(--paper);
  position: relative;
}
.manifesto::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 80px;
  background: var(--accent);
  transform: translateX(-50%);
}
.manifesto-eyebrow {
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  margin-bottom: 60px;
}
.manifesto h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 7rem);
  letter-spacing: -0.045em;
  line-height: 0.9;
  color: var(--paper);
  text-align: center;
  max-width: 26ch;
  margin: 0 auto 60px;
}
.manifesto h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.manifesto-body {
  max-width: 680px;
  margin: 0 auto;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.6;
  color: #d8d8d4;
}
.manifesto-body p { margin-bottom: 24px; }
.manifesto-body p.lead {
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  color: var(--paper);
  border-left: 2px solid var(--accent);
  padding-left: 28px;
  margin: 40px 0;
}
.manifesto-body strong {
  color: var(--paper);
  font-weight: 500;
}
.manifesto-signature {
  margin-top: 60px;
  text-align: center;
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .22em;
  color: var(--mute);
  text-transform: uppercase;
  padding-top: 40px;
  border-top: 1px solid #2a2a2a;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

/* Process steps (how it works) */
.proc-step {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 40px;
  padding: 50px 0;
  border-bottom: 1px solid var(--hairline);
  align-items: start;
}
.proc-step:last-child { border-bottom: none; }
.proc-num {
  font-family: var(--display);
  font-weight: 300;
  font-size: 4rem;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.proc-num em { color: var(--accent); font-style: italic; }
.proc-step h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 14px;
  max-width: 22ch;
}
.proc-step h3 em { font-style: italic; }
.proc-body {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #222;
  max-width: 62ch;
  margin-bottom: 16px;
}
.proc-detail {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .14em;
  color: var(--mute);
  text-transform: uppercase;
  padding-top: 16px;
  border-top: 1px dotted var(--hairline);
  max-width: 62ch;
}
@media (max-width: 900px) {
  .proc-step { grid-template-columns: 1fr; gap: 16px; }
  .proc-num { font-size: 3rem; }
}

/* Comparison table */
.cmp-table-wrap {
  border: 1px solid var(--hairline);
  overflow-x: auto;
  background: var(--paper);
}
.cmp-table {
  width: 100%;
  border-collapse: collapse;
}
.cmp-table th, .cmp-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
  font-size: .95rem;
  vertical-align: top;
}
.cmp-table thead th {
  background: var(--bone);
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
}
.cmp-table thead th.cmp-own {
  background: var(--ink);
  color: var(--paper);
}
.cmp-table td:first-child {
  font-weight: 500;
  color: var(--ink);
  width: 26%;
}
.cmp-table td.cmp-own {
  background: rgba(196, 164, 99, 0.08);
  font-weight: 500;
}
.cmp-yes { color: #1f7a1f; font-weight: 600; }
.cmp-no { color: #b64b4b; font-weight: 600; }
.cmp-partial { color: #a67a2a; font-weight: 600; }

/* Editorial callout box */
.editorial-note {
  background: var(--bone);
  border-left: 3px solid var(--accent);
  padding: 28px 32px;
  margin: 30px 0;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.55;
  color: #333;
}
.editorial-note::before {
  content: "Editor's note";
  display: block;
  font-family: var(--mono);
  font-style: normal;
  font-size: .68rem;
  letter-spacing: .2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Feature use case cards (for ask/interact/draft) - richer */
.feature-uc {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.feature-uc-item {
  padding: 40px 0;
  border-bottom: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 30px;
  align-items: start;
}
.feature-uc-item:first-child { border-top: 1px solid var(--hairline); }
.feature-uc-num {
  font-family: var(--display);
  font-weight: 300;
  font-size: 3rem;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.feature-uc-item h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
  max-width: 28ch;
}
.feature-uc-item h3 em { font-style: italic; font-weight: 400; }
.feature-uc-item .uc-scenario {
  font-size: 1.02rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 18px;
  max-width: 66ch;
}
.feature-uc-item .uc-before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mute);
  max-width: 66ch;
}
.feature-uc-item .uc-before-after strong {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-top: 4px;
  text-transform: none;
}
@media (max-width: 700px) {
  .feature-uc-item { grid-template-columns: 1fr; gap: 10px; }
  .feature-uc-num { font-size: 2.2rem; }
}

/* Roadmap timeline */
.roadmap-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--hairline);
}
.roadmap-date {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .16em;
  color: var(--mute);
  text-transform: uppercase;
}
.roadmap-date strong {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-top: 6px;
  text-transform: none;
}
.roadmap-item h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 14px;
  max-width: 28ch;
}
.roadmap-item h3 em { font-style: italic; }
.roadmap-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  max-width: 62ch;
  margin: 0;
}
.roadmap-status {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--hairline);
  border-radius: 2px;
  background: var(--bone);
  color: #444;
}
.roadmap-status.live { color: #1f7a1f; border-color: rgba(31,122,31,0.3); background: rgba(31,122,31,0.08); }
.roadmap-status.now { color: var(--accent); border-color: rgba(196,164,99,0.5); background: rgba(196,164,99,0.12); }
@media (max-width: 700px) {
  .roadmap-item { grid-template-columns: 1fr; gap: 10px; }
}

/* Big quote display */
.display-quote {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 28ch;
  margin: 0;
}
.display-quote em {
  font-style: italic;
  font-weight: 400;
}
.display-quote cite {
  display: block;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .18em;
  color: var(--mute);
  text-transform: uppercase;
  margin-top: 24px;
  font-style: normal;
}

/* Partner card */
.partner-feature {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
  padding: 70px 0;
  border-bottom: 1px solid var(--hairline);
  align-items: start;
}
.partner-feature:last-child { border-bottom: none; }
.partner-mark {
  background: var(--bone);
  border: 1px solid var(--hairline);
  padding: 40px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 300;
  font-size: 3rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-align: center;
  line-height: 1;
}
.partner-feature h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 20px;
  max-width: 22ch;
}
.partner-feature .partner-meta {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .16em;
  color: var(--mute);
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
  max-width: 62ch;
}
.partner-feature p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #222;
  max-width: 62ch;
  margin-bottom: 18px;
}
@media (max-width: 800px) {
  .partner-feature { grid-template-columns: 1fr; gap: 30px; }
  .partner-mark { aspect-ratio: auto; padding: 30px; font-size: 2rem; }
}

/* Press item */
.press-item {
  padding: 32px 0;
  border-bottom: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 30px;
  align-items: start;
}
.press-item:first-child { border-top: 1px solid var(--hairline); }
.press-date {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--mute);
  text-transform: uppercase;
  padding-top: 4px;
}
.press-item h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin-bottom: 6px;
  max-width: 50ch;
}
.press-outlet {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .12em;
  color: var(--mute);
  text-transform: uppercase;
}
.press-read {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  padding-top: 4px;
}
@media (max-width: 700px) {
  .press-item { grid-template-columns: 1fr; gap: 6px; }
}

/* Blueprint-style illustration panel */
.illus-blueprint {
  background: var(--bone);
  border: 1px solid var(--hairline);
  padding: 30px;
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}
.illus-blueprint::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(10,10,10,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,10,10,0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}
.illus-blueprint .corner-mark {
  position: absolute;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .18em;
  color: var(--mute);
  text-transform: uppercase;
}
.illus-blueprint .cm-tl { top: 12px; left: 16px; }
.illus-blueprint .cm-tr { top: 12px; right: 16px; }
.illus-blueprint .cm-bl { bottom: 12px; left: 16px; }
.illus-blueprint .cm-br { bottom: 12px; right: 16px; }

/* Pricing - currency toggle repositioned to inline */
.price-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hairline);
}
.price-head .ph-left {
  flex: 1;
  min-width: 280px;
}
.price-head h2 {
  font-size: clamp(2.2rem, 5vw, 4rem) !important;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 8px;
}
.price-head .ph-sub {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .14em;
  color: var(--mute);
  text-transform: uppercase;
}

/* MIRA hiring model block */
.hiring-model {
  background: var(--bone);
  border: 1px solid var(--hairline);
  padding: 50px 40px;
  margin: 40px 0;
}
.hiring-model h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 28ch;
}
.hiring-model h3 em { font-style: italic; }
.hiring-model p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #222;
  max-width: 66ch;
  margin-bottom: 16px;
}
.hiring-model .hm-future {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--hairline);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.5;
  color: #333;
  max-width: 66ch;
}
.hiring-model .hm-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .18em;
  color: var(--accent);
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid rgba(196,164,99,0.4);
  background: rgba(196,164,99,0.08);
  border-radius: 2px;
  margin-bottom: 12px;
}

/* Use cases (how to use MIRA) - instead of pods */
.use-mode {
  padding: 50px 0;
  border-bottom: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
}
.use-mode:last-child { border-bottom: none; }
.use-mode-num {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .18em;
  color: var(--mute);
  text-transform: uppercase;
}
.use-mode h3 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 14px 0 20px;
  max-width: 16ch;
}
.use-mode h3 em { font-style: italic; font-weight: 400; }
.use-mode-body p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #222;
  max-width: 62ch;
  margin-bottom: 18px;
}
.use-mode-example {
  background: var(--paper);
  border: 1px solid var(--hairline);
  padding: 24px 28px;
  margin-top: 20px;
}
.use-mode-example .ex-label {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .16em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.use-mode-example .ex-quote {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #222;
}
@media (max-width: 900px) {
  .use-mode { grid-template-columns: 1fr; gap: 20px; }
}
