/* ==========================================================================
   RAVA — Design System (validation mockup)
   Tokens, base styles, and shared components for ravasolutions.io
   ========================================================================== */

:root {
  /* Primary brand — deep teal background */
  --deep: #193A40;
  --deep-2: #234B52;
  --deep-3: #2D5C64;

  /* Cool accents */
  --cyan-light: #C7E4EA;
  --cyan-bright: #A0D2DC;
  --purple-deep: #5C509C;
  --lavender: #CFC4F0;

  /* Warm accents */
  --rust: #D8552B;
  --peach: #F5B49B;

  /* Surfaces and text */
  --cream: #F4ECDE;
  --cream-2: #EBE0C9;
  --cream-3: #DDD0B0;
  --ink: #0F2428;
  --ink-soft: #2A3D44;
  --ink-mute: #5A7077;
  --white: #ffffff;

  /* Fonts */
  --font-display: 'Lexend', system-ui, sans-serif;
  --font-body: 'Geologica', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --max-w: 1280px;
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(15, 36, 40, 0.06);
  --shadow: 0 8px 28px rgba(15, 36, 40, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 36, 40, 0.14);

  /* Easing */
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ------------------------------ reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }

/* ------------------------------ typography ---------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(40px, 5vw, 56px); letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 3.2vw, 36px); }
h3 { font-size: clamp(20px, 2vw, 24px); }
h4 { font-size: 18px; letter-spacing: -0.01em; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.lede { font-size: 19px; line-height: 1.55; color: var(--ink-soft); max-width: 60ch; }
.lede-lg { font-size: 21px; line-height: 1.5; color: var(--ink-soft); max-width: 62ch; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--purple-deep);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px; height: 1px;
  background: currentColor;
}
.on-deep .eyebrow,
.eyebrow.on-deep { color: var(--lavender); }

.mono { font-family: var(--font-mono); }

/* ------------------------------ layout helpers ------------------------ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}
section { padding: 96px 0; }
section.tight { padding: 72px 0; }
section.bare { padding: 64px 0; }
@media (max-width: 768px) {
  section, section.tight, section.bare { padding: 56px 0; }
  .container { padding: 0 22px; }
}

.surface-cream { background: var(--cream); color: var(--ink-soft); }
.surface-cream-2 { background: var(--cream-2); color: var(--ink-soft); }
.surface-white { background: var(--white); color: var(--ink-soft); }
.surface-deep { background: var(--deep); color: var(--cream); }
.surface-deep h1, .surface-deep h2, .surface-deep h3, .surface-deep h4 { color: var(--white); }
.surface-deep .lede, .surface-deep p { color: rgba(244, 236, 222, 0.86); }

/* ------------------------------ logo ---------------------------------- */
.rava-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cyan-light);
  line-height: 1;
  user-select: none;
}
.rava-logo .wave-icon { width: 36px; height: 24px; flex-shrink: 0; color: inherit; }
.rava-logo .wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.045em;
  line-height: 0.85;
  color: inherit;
}
.rava-logo.size-hero .wave-icon { width: 84px; height: 56px; }
.rava-logo.size-hero .wordmark { font-size: 80px; }
.rava-logo.size-hero { gap: 18px; }

.rava-logo.size-footer .wave-icon { width: 28px; height: 18px; }
.rava-logo.size-footer .wordmark { font-size: 18px; }
.rava-logo.size-footer { gap: 10px; }

.rava-logo.on-deep { color: var(--cyan-light); }
.rava-logo.on-light { color: var(--deep); }

/* ------------------------------ buttons ------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform .15s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; }

.btn-primary { background: var(--rust); color: var(--white); }
.btn-primary:hover { background: #c44a23; }

.btn-secondary { background: var(--deep); color: var(--cream); }
.btn-secondary:hover { background: var(--deep-2); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(15, 36, 40, 0.22);
}
.btn-ghost:hover { background: rgba(15, 36, 40, 0.04); border-color: rgba(15, 36, 40, 0.42); }

.btn-on-deep {
  background: var(--cream);
  color: var(--deep);
}
.btn-on-deep:hover { background: var(--white); }

.btn-ghost-on-deep {
  background: transparent;
  color: var(--cream);
  border-color: rgba(244, 236, 222, 0.32);
}
.btn-ghost-on-deep:hover { background: rgba(244, 236, 222, 0.08); border-color: rgba(244, 236, 222, 0.62); }

.btn-coral {
  background: linear-gradient(115deg, var(--peach) 0%, var(--lavender) 100%);
  color: var(--deep);
}
.btn-coral:hover { filter: brightness(1.04); }

.btn-sm { padding: 10px 16px; font-size: 14px; }

.btn-row { display: inline-flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: var(--purple-deep);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.link-arrow:hover { color: var(--rust); }
.on-deep .link-arrow, .link-arrow.on-deep { color: var(--lavender); }
.on-deep .link-arrow:hover, .link-arrow.on-deep:hover { color: var(--peach); }

/* ------------------------------ pre-GA banner ------------------------- */
.pre-ga-banner {
  position: relative;
  background: linear-gradient(96deg, var(--peach) 0%, var(--lavender) 100%);
  color: var(--deep);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 60px 10px 22px;
  text-align: center;
}
.pre-ga-banner .wave-emoji { margin-right: 6px; }
.pre-ga-banner a {
  margin-left: 10px;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}
.pre-ga-banner .banner-close {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: var(--deep);
  font-size: 16px;
  line-height: 1;
}
.pre-ga-banner .banner-close:hover { background: rgba(15, 36, 40, 0.08); }
.pre-ga-banner.hidden { display: none; }

/* ------------------------------ header / nav -------------------------- */
.site-header {
  background: var(--deep);
  color: var(--cream);
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(199, 228, 234, 0.06);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  max-width: 1480px;
  margin: 0 auto;
  gap: 24px;
}
.nav-primary {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  margin-left: 36px;
}
.nav-primary > li { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14.5px;
  color: rgba(244, 236, 222, 0.86);
  font-weight: 500;
}
.nav-link:hover { color: var(--cream); background: rgba(199, 228, 234, 0.06); }
.nav-link svg { width: 12px; height: 12px; opacity: 0.7; }

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  background: var(--deep-2);
  border: 1px solid rgba(199, 228, 234, 0.08);
  border-radius: 12px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
}
.nav-primary > li:hover > .dropdown,
.nav-primary > li:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}
.dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  color: rgba(244, 236, 222, 0.84);
  font-size: 14px;
}
.dropdown a:hover { background: var(--deep-3); color: var(--white); }
.dropdown .dropdown-sep {
  height: 1px;
  background: rgba(199, 228, 234, 0.1);
  margin: 6px 4px;
}
.dropdown .dropdown-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lavender);
  font-weight: 600;
  padding: 8px 12px 4px;
}

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-login { color: rgba(244, 236, 222, 0.78); font-size: 14.5px; padding: 8px 12px; }
.nav-login:hover { color: var(--cream); }

.maren-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(115deg, var(--peach) 0%, var(--lavender) 100%);
  color: var(--deep);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
}
.maren-pill:hover { filter: brightness(1.05); }
.maren-pill .chat-icon { width: 16px; height: 16px; }

.mobile-nav-toggle {
  display: none;
  padding: 8px;
  color: var(--cream);
}
.mobile-nav-toggle svg { width: 24px; height: 24px; }

/* mobile drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--deep);
  z-index: 100;
  padding: 24px 24px 80px;
  overflow-y: auto;
}
.mobile-drawer.open { display: block; }
.mobile-drawer .drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px;
}
.mobile-drawer .drawer-close { color: var(--cream); padding: 8px; }
.mobile-drawer .drawer-close svg { width: 28px; height: 28px; }
.mobile-drawer .group { margin-bottom: 28px; }
.mobile-drawer .group-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--lavender);
  margin-bottom: 12px;
  font-weight: 600;
}
.mobile-drawer a {
  display: block;
  padding: 10px 0;
  font-size: 17px;
  color: var(--cream);
  border-bottom: 1px solid rgba(199, 228, 234, 0.06);
}
.mobile-drawer .drawer-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }

@media (max-width: 980px) {
  .nav-primary, .nav-actions .desktop-only { display: none; }
  .mobile-nav-toggle { display: inline-grid; place-items: center; }
}

/* ------------------------------ footer -------------------------------- */
.site-footer {
  background: var(--deep);
  color: rgba(244, 236, 222, 0.78);
  padding: 72px 0 28px;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(5, 1fr);
  gap: 40px;
  margin-bottom: 56px;
}
.site-footer .footer-brand p {
  color: rgba(244, 236, 222, 0.6);
  font-size: 14px;
  margin-top: 16px;
  max-width: 260px;
}
.site-footer .footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cyan-light);
  margin-bottom: 14px;
  font-weight: 600;
}
.site-footer .footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 14px;
  color: rgba(244, 236, 222, 0.74);
}
.site-footer .footer-col a:hover { color: var(--cream); }
.site-footer .footer-col a .soon {
  font-size: 11px;
  color: var(--lavender);
  margin-left: 6px;
}

.site-footer .footer-utility {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid rgba(199, 228, 234, 0.08);
  font-size: 13px;
  color: rgba(244, 236, 222, 0.56);
}
.site-footer .footer-utility .dot { opacity: 0.5; margin: 0 8px; }
.site-footer .footer-utility .emergence {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lavender);
}

@media (max-width: 980px) {
  .site-footer .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .site-footer .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; }
}

/* ------------------------------ hero ---------------------------------- */
.hero {
  position: relative;
  background: var(--deep);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.hero.with-waves { padding: 96px 0 130px; }
.hero .hero-waves {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center bottom;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}
@media (max-width: 980px) {
  .hero .hero-waves { height: 150px; opacity: 0.78; }
}
.hero .container { position: relative; z-index: 2; }
.hero h1 {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 18px;
  max-width: 22ch;
}
.hero h1 .accent { color: var(--cyan-light); }
.hero .lede { color: rgba(244, 236, 222, 0.86); max-width: 56ch; }

.hero-split {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-split { grid-template-columns: 1fr; gap: 40px; }
}

/* ------------------------------ cards --------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--cream-2);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--cream-3);
}
.card h3 { margin-bottom: 10px; font-size: 20px; }
.card p { color: var(--ink-soft); font-size: 15.5px; }

.card-on-deep {
  background: rgba(35, 75, 82, 0.55);
  border: 1px solid rgba(199, 228, 234, 0.14);
  color: var(--cream);
}
.card-on-deep h3 { color: var(--white); }
.card-on-deep p { color: rgba(244, 236, 222, 0.78); }
.card-on-deep:hover {
  background: rgba(199, 228, 234, 0.07);
  border-color: rgba(199, 228, 234, 0.24);
}

.card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--cream-2);
  color: var(--purple-deep);
  margin-bottom: 16px;
}
.card-icon svg { width: 22px; height: 22px; }
.card-on-deep .card-icon { background: rgba(207, 196, 240, 0.12); color: var(--lavender); }

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

/* ------------------------------ section heads ------------------------- */
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: 18px; color: var(--ink-soft); }
.surface-deep .section-head p { color: rgba(244, 236, 222, 0.78); }

/* ------------------------------ stakes / value pillars ---------------- */
.stake-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stake-card {
  background: var(--white);
  border: 1px solid var(--cream-2);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
}
.stake-card .stake-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(216, 85, 43, 0.08);
  color: var(--rust);
  margin-bottom: 18px;
}
.stake-card .stake-icon svg { width: 22px; height: 22px; }
.stake-card h3 { margin-bottom: 8px; }
.stake-card p { font-size: 15.5px; }
@media (max-width: 800px) { .stake-cards { grid-template-columns: 1fr; } }

.stake-pivot { text-align: center; margin-top: 48px; font-size: 22px; font-family: var(--font-display); color: var(--ink); font-weight: 500; }

/* ------------------------------ plan steps ---------------------------- */
.plan-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
.plan-step {
  background: var(--white);
  border: 1px solid var(--cream-2);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  counter-increment: step;
}
.plan-step::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--purple-deep);
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}
.plan-step h3 { margin-bottom: 8px; font-size: 22px; }
.plan-step p { font-size: 15.5px; color: var(--ink-soft); }
@media (max-width: 800px) { .plan-steps { grid-template-columns: 1fr; } }

/* ------------------------------ proof cards (deep) -------------------- */
.proof-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 800px) { .proof-cards { grid-template-columns: 1fr; } }

/* ------------------------------ industry tiles ------------------------ */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .industry-grid { grid-template-columns: 1fr; } }
.industry-tile {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(199, 228, 234, 0.14);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--cream);
  text-align: left;
  /* Uniform card sizing: pin a min-height and push the "Get started" link to the bottom */
  min-height: 160px;
  justify-content: space-between;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.industry-tile .iname {
  /* Reserve room for up to two title lines so cards line up */
  min-height: 2.2em;
  display: block;
}
.industry-tile .igo { margin-top: auto; }
.industry-tile:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(207, 196, 240, 0.4);
  transform: translateY(-2px);
}
.industry-tile .iname { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--white); }
.industry-tile .isubs { font-size: 13px; color: rgba(244, 236, 222, 0.68); line-height: 1.5; }
.industry-tile .igo {
  margin-top: 6px;
  font-size: 13px;
  color: var(--lavender);
  display: inline-flex; align-items: center; gap: 6px;
}
.industry-tile:hover .igo { color: var(--peach); }

.industry-tile.on-light {
  background: var(--white);
  border: 1px solid var(--cream-2);
  color: var(--ink);
}
.industry-tile.on-light .iname { color: var(--ink); }
.industry-tile.on-light .isubs { color: var(--ink-mute); }
.industry-tile.on-light .igo { color: var(--purple-deep); }
.industry-tile.on-light:hover { border-color: var(--purple-deep); background: var(--white); }
.industry-tile.on-light:hover .igo { color: var(--rust); }

/* ------------------------------ closing CTA band ---------------------- */
.cta-band {
  background: var(--deep);
  color: var(--cream);
  position: relative;
  padding: 88px 0;
  overflow: hidden;
}
.cta-band .cta-waves {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: cover;
  object-position: center bottom;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}
.cta-band .container { position: relative; z-index: 2; text-align: center; }
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { color: rgba(244, 236, 222, 0.82); margin-bottom: 28px; }
.cta-band .btn-row { justify-content: center; }

/* ------------------------------ pricing tiers ------------------------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.tier-card {
  background: var(--white);
  border: 1px solid var(--cream-2);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.tier-card.featured {
  border: 2px solid var(--purple-deep);
  background: var(--white);
  box-shadow: 0 24px 60px rgba(92, 80, 156, 0.16);
  transform: translateY(-4px);
}
.tier-card .tier-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple-deep);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tier-name { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--ink); }
.tier-price { display: flex; align-items: baseline; gap: 6px; }
.tier-price .num { font-family: var(--font-display); font-size: 44px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.tier-price .per { font-size: 15px; color: var(--ink-mute); }
.tier-meta { font-size: 14px; color: var(--ink-mute); }
.tier-meta strong { color: var(--ink); font-weight: 600; }
.tier-tag { font-size: 15.5px; color: var(--ink-soft); min-height: 56px; }
.tier-feat-label {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--ink-mute); margin-top: 8px;
}
.tier-feats { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tier-feats li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.tier-feats li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--cream-2);
  background-image: linear-gradient(135deg, var(--cyan-bright), var(--purple-deep));
  opacity: 0.85;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><circle cx='7' cy='7' r='3' fill='black'/></svg>");
}
.tier-feats li.is-divider { color: var(--ink); font-weight: 600; padding-left: 0; }
.tier-feats li.is-divider::before { display: none; }
.tier-card .tier-cta { margin-top: 8px; }
.tier-card .tier-cta .btn { width: 100%; justify-content: center; }

/* ------------------------------ forms --------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.field label .req { color: var(--rust); margin-left: 2px; }
.field input,
.field select,
.field textarea {
  background: var(--white);
  border: 1px solid var(--cream-3);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--ink);
  width: 100%;
  font-family: var(--font-body);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--purple-deep);
  box-shadow: 0 0 0 3px rgba(92, 80, 156, 0.18);
}

.form-card {
  background: var(--white);
  border: 1px solid var(--cream-2);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.form-card h3 { margin-bottom: 18px; }
.form-actions { margin-top: 24px; display: flex; gap: 12px; align-items: center; }
.form-success {
  background: linear-gradient(135deg, rgba(207, 196, 240, 0.18), rgba(245, 180, 155, 0.14));
  border: 1px solid var(--lavender);
  border-radius: var(--radius);
  padding: 24px;
  color: var(--ink);
}
.form-success .ok-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--purple-deep); color: var(--white);
  display: grid; place-items: center;
  margin-bottom: 12px;
}

.trust-signals {
  display: flex; flex-direction: column; gap: 20px;
  background: var(--cream-2);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.trust-signals .signal {
  display: flex; gap: 12px; align-items: flex-start;
}
.trust-signals .signal .check {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--purple-deep); color: var(--white);
  display: grid; place-items: center;
  flex-shrink: 0;
  font-size: 13px;
}
.trust-signals h4 { font-size: 15px; font-family: var(--font-body); font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.trust-signals p { font-size: 14px; color: var(--ink-soft); }

/* ------------------------------ maren chat panel ---------------------- */
.maren-launcher {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--peach) 0%, var(--lavender) 100%);
  color: var(--deep);
  display: grid; place-items: center;
  box-shadow: 0 12px 28px rgba(15, 36, 40, 0.28);
  z-index: 70;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.96);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.maren-launcher.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}
.maren-launcher:hover { transform: translateY(-2px) scale(1.04); }
.maren-launcher svg { width: 26px; height: 26px; }
.maren-launcher .ping {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(245, 180, 155, 0.6);
  animation: marenPing 2.4s ease-out infinite;
}
@keyframes marenPing {
  0% { opacity: 0.8; transform: scale(0.92); }
  80% { opacity: 0; transform: scale(1.18); }
  100% { opacity: 0; transform: scale(1.2); }
}

.maren-panel {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: 420px;
  max-width: 100%;
  background: var(--cream);
  z-index: 110;
  box-shadow: -20px 0 60px rgba(15, 36, 40, 0.2);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
}
.maren-panel.open { transform: translateX(0); }
@media (max-width: 480px) { .maren-panel { width: 100%; } }

.maren-head {
  background: var(--deep);
  color: var(--cream);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.maren-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lavender), var(--cyan-bright));
  display: grid; place-items: center;
  color: var(--deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.maren-head .meta { flex: 1; }
.maren-head .name { font-family: var(--font-display); font-weight: 600; font-size: 17px; line-height: 1.1; color: var(--white); }
.maren-head .status {
  font-size: 12px;
  color: rgba(244, 236, 222, 0.76);
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.maren-head .status::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #6FE8B8;
  box-shadow: 0 0 0 3px rgba(111, 232, 184, 0.2);
}
.maren-head .head-close { color: var(--cream); padding: 6px; }
.maren-head .head-close svg { width: 20px; height: 20px; }

.maren-talk-human {
  background: var(--deep-2);
  color: rgba(244, 236, 222, 0.84);
  font-size: 12.5px;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(199, 228, 234, 0.06);
  text-align: center;
}
.maren-talk-human a {
  color: var(--lavender);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.maren-talk-human a:hover { color: var(--peach); }

.maren-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.msg {
  max-width: 88%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14.5px;
  line-height: 1.5;
  word-wrap: break-word;
}
.msg.from-maren {
  background: var(--white);
  border: 1px solid var(--cream-2);
  color: var(--ink-soft);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.msg.from-user {
  background: var(--deep);
  color: var(--cream);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.msg.typing {
  background: var(--white);
  border: 1px solid var(--cream-2);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  display: inline-flex; gap: 4px;
  padding: 14px 18px;
}
.msg.typing span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ink-mute);
  animation: typingDot 1.4s infinite ease-in-out;
}
.msg.typing span:nth-child(2) { animation-delay: 0.2s; }
.msg.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.maren-pills {
  display: flex; flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
  align-self: flex-start;
  max-width: 100%;
}
.maren-pill-btn {
  background: var(--white);
  border: 1px solid var(--purple-deep);
  color: var(--purple-deep);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.maren-pill-btn:hover { background: var(--purple-deep); color: var(--white); }

.maren-input {
  border-top: 1px solid var(--cream-2);
  padding: 14px 16px;
  background: var(--white);
  display: flex;
  gap: 10px;
}
.maren-input input {
  flex: 1;
  border: 1px solid var(--cream-3);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  background: var(--cream);
  color: var(--ink);
}
.maren-input input:focus {
  outline: 0;
  border-color: var(--purple-deep);
  background: var(--white);
}
.maren-input .send-btn {
  background: var(--rust);
  color: var(--white);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
}
.maren-input .send-btn svg { width: 16px; height: 16px; }

.maren-mini-form {
  background: var(--white);
  border: 1px solid var(--cream-2);
  border-radius: 12px;
  padding: 16px;
  align-self: flex-start;
  max-width: 88%;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.maren-mini-form label { font-size: 12px; font-weight: 600; color: var(--ink); }
.maren-mini-form input,
.maren-mini-form select {
  border: 1px solid var(--cream-3);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 14px;
  background: var(--cream);
  width: 100%;
}
.maren-mini-form button {
  background: var(--rust);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 13px;
  align-self: flex-start;
}

.maren-quote-card {
  background: var(--white);
  border: 1px solid var(--cream-2);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  align-self: flex-start;
  max-width: 88%;
  width: 100%;
}
.maren-quote-card .qhead {
  background: linear-gradient(135deg, var(--lavender), var(--peach));
  color: var(--deep);
  padding: 18px;
}
.maren-quote-card .qhead .qbrand {
  font-family: var(--font-display); font-weight: 700;
  font-size: 18px; letter-spacing: -0.045em;
}
.maren-quote-card .qhead .qsub { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; margin-top: 6px; opacity: 0.85; }
.maren-quote-card .qbody { padding: 16px; }
.maren-quote-card .qrow { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--cream-2); font-size: 13px; }
.maren-quote-card .qrow:last-of-type { border-bottom: 0; }
.maren-quote-card .qrow .label { color: var(--ink-mute); }
.maren-quote-card .qrow .val { color: var(--ink); font-weight: 600; }
.maren-quote-card .qtotal {
  display: flex; justify-content: space-between;
  padding: 12px 16px;
  background: var(--cream);
  border-top: 1px solid var(--cream-2);
  font-family: var(--font-display);
}
.maren-quote-card .qtotal .label { font-size: 13px; color: var(--ink-mute); align-self: center; }
.maren-quote-card .qtotal .val { font-size: 24px; font-weight: 700; color: var(--ink); }

.maren-proposal {
  background: var(--white);
  border: 1px solid var(--cream-2);
  border-radius: 12px;
  overflow: hidden;
  align-self: flex-start;
  max-width: 88%;
  width: 100%;
  box-shadow: var(--shadow);
}
.maren-proposal .pcover {
  background: var(--deep);
  color: var(--cream);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.maren-proposal .pcover::before {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -10%; right: -10%;
  height: 120%;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(207, 196, 240, 0.35), transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(245, 180, 155, 0.3), transparent 60%);
  pointer-events: none;
}
.maren-proposal .pcover > * { position: relative; z-index: 1; }
.maren-proposal .pcover .plabel { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--lavender); margin-bottom: 12px; }
.maren-proposal .pcover h4 { color: var(--white); font-size: 22px; margin-bottom: 4px; font-family: var(--font-display); font-weight: 600; }
.maren-proposal .pcover .pfor { color: rgba(244, 236, 222, 0.7); font-size: 13px; }
.maren-proposal .pbody { padding: 18px; }
.maren-proposal .pmeta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 13px; }
.maren-proposal .pmeta .label { color: var(--ink-mute); }
.maren-proposal .pmeta .val { color: var(--ink); font-weight: 600; }
.maren-proposal .pactions {
  border-top: 1px solid var(--cream-2);
  padding: 14px 18px;
  display: flex; flex-direction: column; gap: 8px;
}
.maren-proposal .pactions button {
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
}
.maren-proposal .pactions .primary { background: var(--rust); color: var(--white); }
.maren-proposal .pactions .ghost { background: var(--white); color: var(--ink); border: 1px solid var(--cream-3); }

/* ------------------------------ industry-detail / bermuda / etc ------- */

/* anchor offset for sticky header */
.anchor { scroll-margin-top: 120px; }

/* video card */
.video-card {
  background: var(--white);
  border: 1px solid var(--cream-2);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.video-card .vthumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(ellipse at 20% 30%, var(--lavender), transparent 60%),
    radial-gradient(ellipse at 80% 70%, var(--peach), transparent 60%),
    var(--deep);
  display: grid; place-items: center;
}
.video-card .vplay {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--deep);
  display: grid; place-items: center;
  box-shadow: 0 12px 28px rgba(15, 36, 40, 0.3);
  transition: transform .2s var(--ease);
}
.video-card:hover .vplay { transform: scale(1.06); }
.video-card .vplay svg { width: 26px; height: 26px; margin-left: 4px; }
.video-card .vmeta { padding: 16px; }
.video-card .vmeta h4 { font-size: 16px; font-family: var(--font-display); }
.video-card .vmeta p { font-size: 13px; color: var(--ink-mute); margin-top: 4px; }

/* modal */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(15, 36, 40, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 480px;
  width: 100%;
  position: relative;
  text-align: center;
}
.modal h3 { margin-bottom: 12px; }
.modal .close-x {
  position: absolute;
  top: 14px; right: 14px;
  padding: 6px;
}
.modal .close-x svg { width: 22px; height: 22px; }

/* ------------------------------ bermuda calculator -------------------- */
.calculator-card {
  background: var(--white);
  border: 1px solid var(--cream-2);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 800px) { .calc-grid { grid-template-columns: 1fr; } }
.calc-result {
  background: var(--deep);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 24px;
}
.calc-result .res-label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--lavender); margin-bottom: 8px; }
.calc-result .res-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 42px;
  color: var(--cyan-light);
  letter-spacing: -0.02em;
}
.calc-result .res-sub { font-size: 13px; color: rgba(244, 236, 222, 0.72); margin-top: 8px; }
.calc-steps {
  margin-top: 18px;
  border-top: 1px solid rgba(199, 228, 234, 0.16);
  padding-top: 14px;
  font-size: 13px;
  font-family: var(--font-mono);
  color: rgba(244, 236, 222, 0.78);
  line-height: 1.7;
  max-height: 220px;
  overflow-y: auto;
}
.calc-steps .step-row { display: flex; justify-content: space-between; padding: 2px 0; }
.calc-steps .step-row.total { color: var(--cyan-light); font-weight: 600; padding-top: 8px; border-top: 1px dashed rgba(199, 228, 234, 0.2); margin-top: 4px; }

/* ------------------------------ trust center -------------------------- */
.trust-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: flex-start;
}
@media (max-width: 980px) { .trust-layout { grid-template-columns: 1fr; gap: 28px; } }
.trust-nav {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
@media (max-width: 980px) { .trust-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; } }
.trust-nav a {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--ink-soft);
  border-left: 2px solid transparent;
}
@media (max-width: 980px) { .trust-nav a { border-left: 0; background: var(--cream-2); border-radius: 999px; padding: 6px 14px; } }
.trust-nav a:hover { background: var(--cream-2); color: var(--ink); }
.trust-nav a.active { color: var(--purple-deep); border-left-color: var(--purple-deep); background: rgba(92, 80, 156, 0.08); }
.trust-section { padding-bottom: 56px; border-bottom: 1px solid var(--cream-2); margin-bottom: 56px; }
.trust-section:last-of-type { border-bottom: 0; }
.trust-section h2 { margin-bottom: 18px; }
.trust-section .lede { margin-bottom: 24px; }

.layer-stack { display: flex; flex-direction: column; gap: 12px; }
.layer-row {
  background: var(--white);
  border: 1px solid var(--cream-2);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: center;
}
.layer-row .layer-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--purple-deep);
  font-weight: 600;
}
.layer-row h4 { font-size: 17px; margin-bottom: 4px; font-family: var(--font-display); }
.layer-row p { font-size: 14px; color: var(--ink-soft); }

.fact-table {
  background: var(--white);
  border: 1px solid var(--cream-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.fact-table .row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--cream-2);
  font-size: 14.5px;
}
.fact-table .row:last-child { border-bottom: 0; }
.fact-table .row .k { font-weight: 600; color: var(--ink); }
.fact-table .row .v { color: var(--ink-soft); }

.subprocessor-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--cream-2);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
}
.subprocessor-table th, .subprocessor-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--cream-2);
}
.subprocessor-table thead { background: var(--cream-2); }
.subprocessor-table th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink); font-weight: 600; }
.subprocessor-table tbody tr:last-child td { border-bottom: 0; }

/* ------------------------------ AI page agents ------------------------ */
.agent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .agent-grid { grid-template-columns: 1fr; } }
.agent-card {
  background: var(--white);
  border: 1px solid var(--cream-2);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.agent-card.featured {
  background: var(--deep);
  color: var(--cream);
  border-color: var(--deep);
}
.agent-card.featured h3 { color: var(--white); }
.agent-card.featured p { color: rgba(244, 236, 222, 0.84); }
.agent-card .avatar {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--lavender), var(--cyan-bright));
  display: grid; place-items: center;
  color: var(--deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 18px;
}
.agent-card.featured .avatar { background: linear-gradient(135deg, var(--peach), var(--lavender)); }
.agent-card h3 { font-size: 22px; margin-bottom: 4px; }
.agent-card .agent-role {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple-deep);
  font-weight: 600;
  margin-bottom: 14px;
}
.agent-card.featured .agent-role { color: var(--lavender); }
.agent-card .agent-line {
  font-size: 14.5px;
  font-style: italic;
  color: var(--ink-mute);
  margin-top: 14px;
}
.agent-card.featured .agent-line { color: rgba(244, 236, 222, 0.7); }

/* ------------------------------ chapter list (tour) ------------------- */
.chapter-list { display: flex; flex-direction: column; gap: 4px; }
.chapter {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  align-items: center;
  border: 1px solid transparent;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.chapter:hover {
  background: var(--white);
  border-color: var(--cream-2);
}
.chapter .ts {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--purple-deep);
  font-weight: 500;
}
.chapter h4 { font-size: 16px; font-family: var(--font-display); font-weight: 600; }

/* ------------------------------ stat block --------------------------- */
.stat-block {
  background: var(--white);
  border: 1px solid var(--cream-2);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.stat-block .stat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px dashed var(--cream-2);
}
.stat-block .stat-row:last-child { border-bottom: 0; }
.stat-block .stat-row .num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.stat-block .stat-row .num .unit { font-size: 14px; color: var(--ink-mute); font-weight: 500; margin-left: 4px; }
.stat-block .stat-row .label { font-size: 14px; color: var(--ink-soft); max-width: 60%; text-align: right; }

/* ------------------------------ utility classes ----------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cream-2);
  color: var(--ink);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 500;
}
.pill.on-deep { background: rgba(199, 228, 234, 0.12); color: var(--cyan-light); }

.kbd-route {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--cream-2);
  color: var(--ink);
  padding: 3px 8px;
  border-radius: 4px;
}

.divider-row {
  display: flex; align-items: center; gap: 16px;
  color: var(--ink-mute);
  font-size: 13px;
  margin: 24px 0;
}
.divider-row::before, .divider-row::after {
  content: ""; flex: 1; height: 1px; background: var(--cream-2);
}

.brand-band {
  background: var(--cream-2);
  padding: 32px 0;
  text-align: center;
  border-top: 1px solid var(--cream-3);
  border-bottom: 1px solid var(--cream-3);
}
.brand-band .label { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 14px; }
.brand-band .logos {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 36px;
  color: var(--ink-mute);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  opacity: 0.65;
}

.quote-box {
  background: var(--white);
  border: 1px solid var(--cream-2);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: left;
  max-width: 720px;
  margin: 0 auto;
}
.quote-box q {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 500;
  display: block;
  margin-bottom: 18px;
}
.quote-box .attribution { font-size: 14px; color: var(--ink-mute); }

/* hero-side device mockup (used on bermuda hero) */
.device-mock {
  background: linear-gradient(160deg, var(--deep-2), var(--deep-3));
  border: 1px solid rgba(199, 228, 234, 0.18);
  border-radius: var(--radius-lg);
  padding: 22px;
  color: var(--cream);
  box-shadow: 0 24px 60px rgba(15, 36, 40, 0.45);
}
.device-mock .device-head {
  display: flex; align-items: center; gap: 8px; margin-bottom: 16px;
}
.device-mock .device-head .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(244, 236, 222, 0.16); }
.device-mock .device-head .ttl { margin-left: 8px; font-size: 13px; color: rgba(244, 236, 222, 0.72); }
.device-mock .device-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(199, 228, 234, 0.08);
  font-size: 13px;
}
.device-mock .device-row .lbl { color: rgba(244, 236, 222, 0.74); }
.device-mock .device-row .val { color: var(--cyan-light); font-family: var(--font-mono); }
.device-mock .device-row:last-child { border-bottom: 0; }
.device-mock .device-bar {
  height: 8px; border-radius: 4px;
  background: rgba(199, 228, 234, 0.14);
  overflow: hidden;
  margin-top: 6px;
}
.device-mock .device-bar .fill {
  height: 100%; border-radius: 4px;
  background: linear-gradient(90deg, var(--peach), var(--lavender));
}

/* visually hide */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* helper: stub page */
.stub-hero {
  padding: 120px 0;
  text-align: center;
}
.stub-hero h1 { margin-bottom: 14px; }
.stub-hero .pill { margin-bottom: 18px; }

/* toast */
.toast {
  position: fixed;
  bottom: 100px;
  right: 24px;
  background: var(--deep);
  color: var(--cream);
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  z-index: 120;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.toast.show { opacity: 1; transform: translateY(0); }

/* confetti */
.confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 130;
  overflow: hidden;
}
.confetti .piece {
  position: absolute;
  width: 10px; height: 14px;
  top: -20px;
  animation: confettiFall 2.4s ease-in forwards;
}
@keyframes confettiFall {
  0% { transform: translateY(-20px) rotate(0); opacity: 1; }
  100% { transform: translateY(110vh) rotate(720deg); opacity: 0.6; }
}

/* hide elements until script enhances */
[data-maren-trigger] { cursor: pointer; }

/* small responsive tweak */
@media (max-width: 720px) {
  .hero.with-waves { padding: 56px 0 96px; }
  h1 { font-size: 36px; }
}

/* ==========================================================================
   Adriana feedback round 1: hero color, padding, hover animations, FAQ accordion
   ========================================================================== */

/* Lighter hero so the header (--deep) and hero are visually distinct.
   Header stays --deep; hero shifts one step lighter to --deep-2. */
.hero { background: var(--deep-2); }
.hero.with-waves { padding-top: 56px; }

/* Stake-cards hover animation (Bermuda payroll is hard section). */
.stake-card {
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  cursor: pointer;
}
.stake-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--cream-3);
}
a.stake-card,
a.stake-card:hover { text-decoration: none; color: inherit; }
a.stake-card .stake-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--purple-deep);
  margin-top: 14px;
}
a.stake-card:hover .stake-cta { color: var(--rust); }

/* Plan-step hover animation. */
.plan-step {
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.plan-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--cream-3);
}

/* ------------------------------ FAQ accordion ------------------------ */
.faq-group { margin-bottom: 48px; }
.faq-group:last-child { margin-bottom: 0; }
.faq-group-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--purple-deep);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--cream-2);
}
.faq-item {
  border-bottom: 1px solid var(--cream-2);
  background: transparent;
}
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 44px 18px 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  line-height: 1.35;
  transition: color .15s var(--ease);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 26px;
  line-height: 1;
  color: var(--purple-deep);
  transition: transform .25s var(--ease), color .15s var(--ease);
}
.faq-item[open] > summary::after { content: "−"; }
.faq-item > summary:hover { color: var(--purple-deep); }
.faq-item .faq-body {
  padding: 0 0 22px 0;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 68ch;
}
.faq-item .faq-body p { margin-bottom: 0.7em; }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ==========================================================================
   MAREN FEATURE FLAG
   When window.RAVA_FLAGS.MAREN_ENABLED is false, script.js adds
   .maren-disabled to <body>. These rules hide everything Maren-specific.
   Mark any future Maren-only content with class="maren-only".
   ========================================================================== */
body.maren-disabled .maren-launcher,
body.maren-disabled #maren-panel,
body.maren-disabled .maren-pill,
body.maren-disabled .maren-only,
body.maren-disabled .nav-actions .maren-pill,
body.maren-disabled .drawer-actions .btn-coral {
  display: none !important;
}
/* Reclaim space when the Talk-to-Maren drawer button is hidden */
body.maren-disabled .drawer-actions { gap: 0; }

/* Alternative copy: hidden by default, revealed only when Maren is off.
   Use 'revert' so cells/rows/items get their correct display type. */
.when-maren-disabled { display: none !important; }
body.maren-disabled .when-maren-disabled { display: revert !important; }

/* ==========================================================================
   LEGAL DOCUMENTS
   Typography and layout for privacy.html, terms.html, cookies.html
   ========================================================================== */
.legal-doc {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.legal-doc .draft-notice {
  background: rgba(216, 85, 43, 0.08);
  border-left: 4px solid var(--rust);
  padding: 16px 20px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 40px;
}
.legal-doc .draft-notice strong { color: var(--rust); }
.legal-doc .doc-meta {
  font-size: 13px;
  color: var(--ink-mute);
  border-bottom: 1px solid var(--cream-2);
  padding-bottom: 20px;
  margin-bottom: 32px;
}
.legal-doc .doc-meta strong { color: var(--ink); }
.legal-doc .toc {
  background: var(--cream-2);
  padding: 24px 28px;
  border-radius: var(--radius);
  margin-bottom: 40px;
}
.legal-doc .toc h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  font-weight: 600;
  margin-bottom: 12px;
}
.legal-doc .toc ol {
  list-style: decimal;
  padding-left: 22px;
  margin: 0;
  font-size: 14.5px;
  columns: 2;
  column-gap: 32px;
}
.legal-doc .toc ol li { padding: 3px 0; break-inside: avoid; }
.legal-doc .toc a { color: var(--purple-deep); }
.legal-doc .toc a:hover { color: var(--rust); }

.legal-doc h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 48px;
  margin-bottom: 16px;
  scroll-margin-top: 100px;
}
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc h2 .section-num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--purple-deep);
  margin-right: 12px;
  letter-spacing: 0.04em;
}
.legal-doc h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 28px;
  margin-bottom: 10px;
}
.legal-doc p { margin-bottom: 16px; }
.legal-doc ul, .legal-doc ol {
  padding-left: 24px;
  margin-bottom: 18px;
}
.legal-doc ul { list-style: disc; }
.legal-doc ol { list-style: decimal; }
.legal-doc ul li, .legal-doc ol li { padding: 4px 0; }
.legal-doc strong { color: var(--ink); font-weight: 600; }
.legal-doc a { color: var(--purple-deep); border-bottom: 1px solid rgba(92, 80, 156, 0.3); }
.legal-doc a:hover { color: var(--rust); border-bottom-color: currentColor; }
.legal-doc .contact-card {
  background: var(--cream-2);
  padding: 24px 28px;
  border-radius: var(--radius);
  margin-top: 24px;
  font-size: 14.5px;
}
.legal-doc .contact-card strong { display: block; margin-bottom: 4px; }

@media (max-width: 720px) {
  .legal-doc .toc ol { columns: 1; }
}

.form-privacy-note {
  font-size: 12.5px;
  color: var(--ink-mute);
  margin-top: 12px;
  line-height: 1.55;
  max-width: 480px;
}
.form-privacy-note a { color: var(--purple-deep); border-bottom: 1px solid currentColor; }

/* Honeypot field: visually removed but present in the DOM for bots */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Form submission error notice (added by initForms on failed submit) */
.form-error-note {
  font-size: 14px;
  color: var(--rust);
  margin-top: 12px;
  line-height: 1.55;
  max-width: 480px;
}
