/* ==========================================================================
   REV CLUB — site styles
   Rebuilt from joinrev.club. Breakpoints: desktop ≥1200px, tablet 810–1199px,
   mobile ≤809px.
   ========================================================================== */

:root {
  --bg: #101826;
  --bg-deep: #0a1018;
  --surface: #1b2538;
  --surface-2: #263349;
  --surface-blue: #18354d;
  --blue: #3b82f6;
  --blue-hover: #2563eb;
  --blue-light: #5096f7;
  --blue-tint: #3b82f61f;
  --text: #f3f6fa;
  --text-2: #c9d8e8;
  --text-muted: #7b8794;
  --line: #c9d8e81f;
  --line-2: #c9d8e838;
  --link: #0099ff;

  --font-display: "Sora", "Sora Placeholder", sans-serif;
  --font-body: "Plus Jakarta Sans", "Plus Jakarta Sans Placeholder", sans-serif;
  --font-mono: "JetBrains Mono", "JetBrains Mono Placeholder", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, p {
  margin: 0;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

/* The page root: a centered column, like Framer's root frame. */
.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  background: var(--bg);
}

.page > main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

/* Framer gives every layer flex: none; explicit flex values below override this. */
.page :where(div, section, p, h1, h2, h3, a, span, img, form, label, input, textarea, button) {
  flex-shrink: 0;
}

/* Rich text: consecutive paragraphs are spaced 20px apart. */
.rich > p + p {
  margin-top: 20px;
}

/* Responsive visibility helpers. */
@media (min-width: 1200px) {
  .hide-desktop { display: none !important; }
}
@media (min-width: 810px) and (max-width: 1199.98px) {
  .hide-tablet { display: none !important; }
}
@media (max-width: 809.98px) {
  .hide-mobile { display: none !important; }
}

/* Framer-style overlay border: sits on top of the box without affecting layout. */
.bordered {
  position: relative;
}

.bordered::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  border-radius: inherit;
  pointer-events: none;
}

.border-bottom::after {
  content: "";
  position: absolute;
  inset: 0;
  border-bottom: 1px solid var(--line);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Type presets
   -------------------------------------------------------------------------- */

.eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  white-space: pre;
}

.eyebrow-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min-content;
}

.eyebrow-row .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--blue);
  flex: none;
}

.h1 {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--text);
  white-space: pre-wrap;
  text-wrap: balance;
  word-break: break-word;
}

.h2 {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--text);
  white-space: pre-wrap;
  text-wrap: balance;
  word-break: break-word;
}

.h3 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
}

.lead {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.02em;
  color: var(--text-2);
  white-space: pre-wrap;
  word-break: break-word;
}

.body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.02em;
  color: var(--text-2);
  white-space: pre-wrap;
  word-break: break-word;
}

.small {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.02em;
  color: var(--text-2);
  white-space: pre-wrap;
  word-break: break-word;
}

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.02em;
  color: var(--text-muted);
  white-space: pre;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: min-content;
  padding: 16px 26px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--text);
  white-space: pre;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--blue);
  box-shadow: rgba(0, 0, 0, 0.35) 0px 4px 10px -6px;
}

.btn-primary:hover {
  background: var(--blue-hover);
  box-shadow: rgba(59, 130, 246, 0.45) 0px 8px 24px -6px;
}

.btn-secondary {
  background: transparent;
  color: #f8fafc;
}

.btn-secondary::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(51, 65, 85, 0.22);
  border-radius: inherit;
  pointer-events: none;
  transition: border-color 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(59, 130, 246, 0.08);
  color: #fff;
  box-shadow: rgba(59, 130, 246, 0.3) 0px 8px 24px -8px;
}

.btn-secondary:hover::after {
  border-color: rgba(59, 130, 246, 0.22);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

/* --------------------------------------------------------------------------
   Logo
   -------------------------------------------------------------------------- */

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: min-content;
  height: 24px;
  overflow: clip;
}

.logo img {
  width: 24px;
  height: 24px;
  aspect-ratio: 1;
  object-fit: cover;
  flex: none;
}

.logo .wordmark {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.22em;
  color: var(--text);
  white-space: pre;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Header / nav
   -------------------------------------------------------------------------- */

.site-header {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100px;
  padding: 7px;
  background: var(--bg);
}

.nav-inner {
  display: flex;
  flex: 1 0 0px;
  width: 1px;
  align-items: center;
  justify-content: center;
  gap: 50px;
  padding: 0 32px;
}

.nav-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 371px;
  flex: none;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  width: 336.5px;
  height: 24px;
  flex: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: pre;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: rgba(255, 255, 255, 0.61);
}

.nav-spacer {
  flex: 1 0 0px;
  width: 1px;
  aspect-ratio: 5.11607;
  overflow: hidden;
}

.nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min-content;
  flex: none;
}

/* --------------------------------------------------------------------------
   Shared building blocks
   -------------------------------------------------------------------------- */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 24px;
  border-radius: 12px;
  background: var(--surface);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  border-radius: inherit;
  pointer-events: none;
}

.card > * {
  width: 100%;
}

.card > .eyebrow {
  width: auto;
}

/* --------------------------------------------------------------------------
   Home — hero
   -------------------------------------------------------------------------- */

.hero {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 96px 48px 45px;
  background: var(--bg);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 39px;
  width: 94%;
  max-width: 1100px;
}

.hero-title {
  width: auto;
  max-width: 900px;
}

.hero-lead {
  width: 80%;
  max-width: 58%;
}

.hero-actions {
  width: 35%;
}

/* --------------------------------------------------------------------------
   Home — problem
   -------------------------------------------------------------------------- */

.problem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 64px;
  width: 92%;
  max-width: 1280px;
  padding: 100px 0 50px;
}

.problem-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 67px;
  width: 100%;
}

.problem-title {
  width: 63%;
  max-width: 700px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 320px);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  justify-content: center;
  gap: 20px;
  width: 91%;
}

.problem-grid .card {
  place-self: center;
  height: 100%;
}

.problem-grid .card.tall {
  height: min-content;
  padding: 38px 24px;
}

/* --------------------------------------------------------------------------
   Home — services
   -------------------------------------------------------------------------- */

.services {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 850px;
  padding: 120px 48px;
  background: var(--bg-deep);
}

.services-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 29px;
  width: 100%;
  max-width: 1280px;
}

.services-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  width: 100%;
  padding: 30px 0;
}

.services-title {
  width: 88%;
  max-width: 100%;
}

.services-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: min-content;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--text);
  white-space: pre;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(50px, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  justify-content: start;
  gap: 20px;
  width: 100%;
}

.services-grid .card {
  gap: 14px;
  place-self: center;
  height: min-content;
}

/* --------------------------------------------------------------------------
   CTA band (desktop / tablet) and its mobile variant
   -------------------------------------------------------------------------- */

.cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 500px;
  padding: 120px 48px;
  background: var(--bg);
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 23px;
  width: 82%;
  max-width: 900px;
}

.cta-title {
  width: 75%;
  max-width: 100%;
}

.cta-lead {
  width: 541px;
  max-width: 540px;
  height: 87px;
}

.cta-actions {
  align-items: flex-start;
  width: 41%;
}

.cta-mobile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 25px 48px;
  background: var(--bg);
}

.cta-mobile-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 39px;
  width: 323px;
  max-width: 900px;
}

.cta-mobile-title {
  width: 100%;
  max-width: 100%;
}

.cta-mobile-lead {
  width: 100%;
  max-width: 540px;
  height: 171px;
}

.cta-mobile-actions {
  align-items: flex-start;
  width: 41%;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 282px;
  background: var(--bg-deep);
}

.footer-inner {
  position: absolute;
  z-index: 1;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  width: 1104px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 220px);
  grid-auto-rows: minmax(0, 1fr);
  justify-content: start;
  gap: 48px 10px;
  width: 1104px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  place-self: start center;
  width: min-content;
}

.footer-col.brand {
  width: 100%;
  gap: 12px;
}

.footer-col.brand .logo {
  gap: 7px;
  width: 132px;
  z-index: 1;
}

.footer-col.brand .small {
  width: 100%;
  max-width: 380px;
}

.footer-col.services-col {
  gap: 14px;
}

.footer-col.company-col {
  gap: 26px;
}

.footer-col.contact-col {
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.footer-col .eyebrow {
  color: var(--text-muted);
}

.footer-col a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.02em;
  color: var(--link);
  white-space: pre;
}

.footer-linkedin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 85px;
  overflow: clip;
}

.footer-linkedin img {
  width: 18px;
  aspect-ratio: 1.17593;
  height: auto;
  object-fit: cover;
  flex: none;
}

.footer-linkedin span {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.02em;
  color: #0199ff;
  white-space: pre;
}

/* ==========================================================================
   Tablet: 810px – 1199px
   ========================================================================== */

@media (max-width: 1199.98px) {
  .nav {
    justify-content: center;
    gap: 0;
  }

  .nav-inner {
    flex: none;
    width: auto;
    gap: 120px;
  }

  .nav-brand {
    width: auto;
  }

  .nav-links {
    width: auto;
  }

  .nav-spacer {
    display: none;
  }

  .hero {
    width: 95%;
  }

  .hero-inner {
    width: 672px;
  }

  .hero-actions {
    width: 66%;
  }

  .problem-grid {
    grid-template-columns: repeat(2, 320px);
  }

  .services,
  .cta {
    height: min-content;
  }

  .cta-title {
    width: 100%;
  }

  .cta-actions {
    width: 67%;
  }

  /* Footer switches to a stacked, centered column. */
  .site-footer {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 0 50px 20px;
  }

  .footer-inner {
    position: static;
    transform: none;
    align-items: center;
    width: 100%;
  }

  .footer-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 48px 10px;
    width: min-content;
    padding: 23px 0;
  }

  .footer-col {
    place-self: auto;
    align-items: center;
  }

  .footer-col.brand {
    align-items: flex-start;
    width: 100%;
  }
}

/* ==========================================================================
   Mobile: ≤809px
   ========================================================================== */

@media (max-width: 809.98px) {
  .site-header {
    align-items: center;
  }

  .nav {
    justify-content: center;
    gap: 0;
    width: min-content;
    max-width: min(390px, 100%);
    height: auto;
  }

  .nav-inner {
    flex: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
    width: min(390px, 100vw);
    padding: 20px 32px 0;
  }

  .nav-brand {
    justify-content: flex-start;
    width: 371px;
    max-width: 100%;
    padding-left: 25px;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 28%;
    height: 24px;
  }

  .nav-spacer {
    display: none;
  }

  .nav-cta {
    width: 132px;
  }

  .hero {
    flex-direction: column;
    width: 100%;
  }

  .hero-inner {
    align-items: center;
    width: 94%;
  }

  .hero-lead {
    width: 100%;
    max-width: 100%;
  }

  .problem {
    gap: 7px;
  }

  .problem-head {
    flex-direction: column;
    gap: 21px;
  }

  .problem-title {
    width: 70%;
    max-width: 100%;
  }

  .problem-grid {
    grid-template-columns: repeat(1, 320px);
  }

  .services {
    flex-direction: column;
    height: min-content;
    padding: 49px 48px;
  }

  .services-head {
    flex-direction: column;
    gap: 29px;
    overflow: visible;
  }

  .services-head .eyebrow-row {
    gap: 13px;
  }

  .services-title {
    width: auto;
  }

  .services-grid {
    grid-template-columns: repeat(1, minmax(50px, 1fr));
    justify-content: center;
  }
}

/* ==========================================================================
   Nav: current page
   ========================================================================== */

.nav-links a[aria-current="page"] {
  color: rgba(255, 255, 255, 0.61);
  text-decoration: underline;
  text-decoration-color: var(--blue);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

/* ==========================================================================
   Shared: inner-page hero, plain buttons, spacers
   ========================================================================== */

.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 72px 48px;
  background: var(--bg);
}

.page-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 26px;
  width: 100%;
  max-width: 920px;
}

.page-hero-title,
.page-hero-lead {
  width: 100%;
  max-width: 100%;
}

.page-hero-actions {
  width: 100%;
}

.eyebrow.muted {
  color: var(--text-muted);
}

.btn-plain {
  background: var(--blue);
}

.btn-outline {
  background: transparent;
}

.btn-outline::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line-2);
  border-radius: inherit;
  pointer-events: none;
}

.spacer-28 { width: 100%; height: 28px; }
.spacer-40 { width: 100%; height: 40px; }

.bg-deep {
  background: var(--bg-deep) !important;
}

/* ==========================================================================
   Services page
   ========================================================================== */

.svc {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 100px 48px;
  background: var(--bg);
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(50px, 1fr));
  grid-template-rows: repeat(1, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  justify-content: start;
  gap: 80px;
  width: 100%;
  max-width: 1280px;
}

.svc-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  width: 100%;
  place-self: center;
}

.svc-title {
  width: 100%;
  max-width: 500px;
}

.svc-lead {
  width: 100%;
  max-width: 480px;
}

.svc-detail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
  width: 100%;
  place-self: center;
}

.pain {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 20px 24px;
  border-radius: 8px;
  background: var(--blue-tint);
}

.pain::after {
  content: "";
  position: absolute;
  inset: 0;
  border-left: 2px solid var(--blue);
  border-radius: inherit;
  pointer-events: none;
}

.pain.centered {
  align-items: center;
}

.pain .small {
  width: 100%;
}

.svc-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  width: 100%;
}

.svc-list .small {
  width: 100%;
}

.svc-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 60px 48px;
  background: var(--bg);
}

.svc-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: 900px;
}

.svc-cta-title {
  width: 100%;
  max-width: 700px;
}

.svc-cta-lead {
  width: 60%;
  max-width: 540px;
}

.svc-cta-actions {
  width: 42%;
}

@media (max-width: 1199.98px) {
  .page-hero,
  .svc,
  .svc-cta {
    flex-direction: column;
  }

  .page-hero-inner {
    max-width: 100%;
  }

  .svc-grid {
    grid-template-columns: repeat(1, minmax(50px, 1fr));
  }

  .svc-cta-inner {
    align-items: center;
    gap: 32px;
  }
}

/* ==========================================================================
   Pages with only two breakpoints (≥1200 / <1200) use the stacked nav below 1200px
   ========================================================================== */

@media (max-width: 1199.98px) {
  .page--2bp .site-header {
    align-items: center;
  }

  .page--2bp .nav {
    justify-content: center;
    gap: 0;
    width: min-content;
    max-width: min(390px, 100%);
    height: auto;
  }

  .page--2bp .nav-inner {
    flex: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
    width: min(390px, 100vw);
    padding: 20px 32px 0;
  }

  .page--2bp .nav-brand {
    justify-content: flex-start;
    width: 371px;
    max-width: 100%;
    padding-left: 25px;
  }

  .page--2bp .nav-links {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 28%;
    height: 24px;
  }

  .page--2bp .nav-spacer {
    display: none;
  }

  .page--2bp .nav-cta {
    width: 132px;
  }

  .svc-cta .spacer-28,
  .svc-cta .spacer-40 {
    display: none;
  }
}

/* ==========================================================================
   Why Rev Club page
   ========================================================================== */

.h2-sm {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--text);
  white-space: pre-wrap;
  text-wrap: balance;
  word-break: break-word;
}

.spacer-20 { width: 100%; height: 20px; }

.nowrap {
  white-space: pre;
  width: auto !important;
}

.nowrap-desktop {
  white-space: pre;
  width: auto !important;
}

.why-hero-inner {
  flex: 1 0 0px;
  width: 1px;
  gap: 19px;
}

.why-hero-title {
  width: 87%;
  max-width: 800px;
}

.why-hero-lead {
  width: 100%;
  max-width: 640px;
}

.why-principles {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 100px 48px;
  background: var(--bg);
}

.why-principles-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 48px;
  width: 100%;
  max-width: 1280px;
}

.why-principles-title {
  z-index: 1;
  width: 74%;
  max-width: 100%;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(50px, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  justify-content: start;
  gap: 20px;
  width: 100%;
}

.why-card {
  gap: 14px;
  height: 100%;
  place-self: center;
}

.why-card.first {
  gap: 9px;
}

.why-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 33px;
  width: 100%;
  padding: 100px 48px;
  background: var(--bg);
}

.why-cta-title {
  width: 900px;
  max-width: 100%;
}

.why-cta-actions {
  width: 35%;
}

@media (max-width: 1199.98px) {
  .why-hero-inner {
    flex: none;
    width: 100%;
  }

  .why-hero-title,
  .why-principles-title,
  .why-cta-title {
    width: 100%;
  }

  .why-principles {
    flex-direction: column;
  }

  .why-grid {
    grid-template-columns: repeat(1, minmax(50px, 1fr));
  }

  .why-card.first {
    width: 303px;
    height: min-content;
  }

  .why-card.first .h3 {
    width: 246px;
  }

  .nowrap-desktop {
    white-space: pre-wrap;
    width: 100% !important;
  }
}

/* ==========================================================================
   About page
   ========================================================================== */

.spacer-24 { width: 100%; height: 24px; }

.about-hero-inner {
  gap: 0;
}

.about-hero-title {
  width: 100%;
  max-width: 800px;
}

.about-hero-lead {
  width: 100%;
  max-width: 640px;
}

.origin {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 700px;
  padding: 120px 48px;
  background: var(--bg);
}

.origin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 320px);
  grid-auto-rows: minmax(0, 1fr);
  justify-content: start;
  gap: 80px 30px;
  width: 100%;
  max-width: 1280px;
}

.origin-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  grid-column: span 2;
  place-self: center;
  width: 100%;
}

.origin-title {
  width: 100%;
  max-width: 100%;
}

.origin-lead {
  width: 100%;
  max-width: 540px;
}

.origin-stats {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  place-self: center;
  width: 100%;
}

.stat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 24px;
  border-radius: 12px;
  background: var(--surface);
}

.stat::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  border-radius: inherit;
  pointer-events: none;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: -0.015em;
  color: var(--text);
  white-space: pre;
}

.principles {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 120px 48px;
  background: var(--bg-deep);
}

.principles-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 48px;
  width: 100%;
  max-width: 1280px;
}

.principles-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 33px;
  width: 100%;
}

.principles-title {
  width: 79%;
  max-width: 100%;
}

.principle-card {
  height: min-content;
}

.principle-card .h3 {
  width: auto;
}

.about-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  height: 625px;
  padding: 120px 48px;
  background: var(--bg-deep);
}

.about-cta-inner {
  display: flex;
  flex-flow: column wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  width: 82%;
  max-width: 900px;
}

.about-cta-title {
  width: 80%;
  max-width: 720px;
}

.about-cta-lead {
  width: 67%;
  max-width: 600.03px;
}

.about-cta-actions {
  width: 42%;
}

@media (max-width: 1199.98px) {
  .origin {
    flex-direction: column;
    height: min-content;
    padding: 120px 0;
  }

  .origin-grid {
    gap: 40px 0;
    padding: 0 35px;
  }

  .origin-lead {
    max-width: 100%;
  }

  .origin-stats,
  .about-cta-inner {
    align-items: center;
  }

  .principles {
    flex-direction: column;
  }

  .principles-head {
    flex-direction: column;
    width: 295px;
  }

  .principles-title,
  .about-cta-title,
  .about-cta-lead {
    width: 100%;
  }

  .about-cta {
    flex-direction: column;
    height: min-content;
  }

  .about-cta-actions {
    width: min-content;
  }
}

/* ==========================================================================
   Audit page
   ========================================================================== */

.audit-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 52px;
  width: 100%;
  padding: 72px 48px;
  background: var(--bg);
}

.audit-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 920px;
}

.audit-hero-title {
  width: 100%;
  max-width: 100%;
  min-height: 20%;
}

.btn-audit {
  align-items: flex-start;
  padding: 18px 26px;
  border-radius: 10px;
  background: var(--blue);
}

.audit-what {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
  height: 500px;
  padding: 120px 48px;
  background: var(--bg-deep);
}

.audit-what-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  width: 92%;
}

.audit-what-title {
  width: 197%;
  max-width: 720px;
}

.audit-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: 31%;
}

.audit-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  padding: 24px;
  border-radius: 14px;
  background: var(--surface);
}

.audit-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  border-radius: inherit;
  pointer-events: none;
}

.audit-card.first {
  gap: 16px;
  min-width: 0%;
  min-height: 100%;
}

.audit-card > * {
  width: 100%;
}

.audit-card > .eyebrow,
.audit-card > .h3.fit {
  width: auto;
}

.audit-book {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 700px;
  padding: 120px 48px;
  background: var(--surface);
}

.audit-book-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 82px;
  width: 100%;
  max-width: 1280px;
  padding: 40px;
  border-radius: 18px;
  background: var(--bg);
}

.audit-book-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  border-radius: inherit;
  pointer-events: none;
}

.audit-book-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  width: 54%;
}

.audit-book-title {
  width: 100%;
  max-width: 620px;
}

.audit-book-lead {
  width: 100%;
  max-width: 560px;
}

.audit-book-lead strong {
  font-weight: 700;
}

.audit-expect {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
}

.audit-expect .small {
  width: auto;
}

/* Lead form (shared with Contact page) */

.lead-form {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20px;
  width: 280px;
  padding: 20px;
  border-radius: 15px;
  background: var(--surface);
  overflow: hidden;
}

.lead-form::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  border-radius: inherit;
  pointer-events: none;
}

.field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
}

.field-label {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.02em;
  color: var(--text-2);
  white-space: pre;
}

.field-label .req {
  color: #ff0000;
}

.field-input {
  display: flex;
  align-items: center;
  width: 100%;
  height: 40px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(187, 187, 187, 0.15);
  overflow: hidden;
}

.field-input input {
  flex: 1 1 0%;
  width: 100%;
  height: 16px;
  margin: 0;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-family: "Inter", "Inter Placeholder", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  overflow: clip;
  -moz-appearance: textfield;
}

.field-input input::-webkit-outer-spin-button,
.field-input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.field-input input::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

.field-input:focus-within {
  box-shadow: 0 0 0 1px var(--blue);
}

.lead-form .hp {
  position: absolute;
  transform: scale(0);
}

.field-submit {
  width: 100%;
  height: 40px;
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  box-shadow: rgba(0, 0, 0, 0.25) 0px 4px 10px -6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.submit-btn:hover {
  background: var(--blue-hover);
}

.submit-btn span {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--text);
  white-space: pre;
}

.form-status {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: -0.02em;
  color: var(--text-2);
}

.form-status.is-error {
  color: #ff6b6b;
}

@media (max-width: 1199.98px) {
  .audit-what {
    height: min-content;
  }

  .audit-what-head {
    flex-direction: column;
    gap: 19px;
  }

  .audit-what-title {
    width: 100%;
  }

  .audit-cards {
    flex-direction: column;
    width: 100%;
  }

  .audit-book {
    flex-direction: column;
    height: min-content;
  }

  .audit-book-card {
    flex-direction: column;
  }

  .audit-book-copy {
    width: 109%;
  }

  .audit-expect .small {
    width: 100%;
  }

  .lead-form {
    width: 100%;
  }
}

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-title {
  width: auto;
}

.contact-title .h2,
.contact-title .h3 {
  white-space: pre;
}

.contact-spacer {
  width: 172px;
  height: 5vh;
  overflow: clip;
}

.lead-form.plain {
  background: transparent;
}

.lead-form.plain::after {
  content: none;
}

.field-label.sm {
  font-size: 14px;
}

.field-label.sm .req {
  color: rgba(252, 8, 8, 0.79);
}

@media (max-width: 1199.98px) {
  .contact-form {
    width: 280px;
  }
}

/* ==========================================================================
   Privacy & Terms pages
   ========================================================================== */

.page--gap10,
.page--gap10 > main {
  gap: 10px;
}

.legal-hero-inner {
  gap: 18px;
}

.privacy-hero-title {
  width: 100%;
  max-width: 760px;
}

.privacy-hero-lead {
  width: 100%;
  max-width: 620px;
}

.policy {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 88px 48px;
  background: var(--bg-deep);
}

.policy-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 920px;
}

.policy-block {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  padding: 28px 0;
}

.policy-block::after {
  content: "";
  position: absolute;
  inset: 0;
  border-bottom: 1px solid var(--line);
  pointer-events: none;
}

.policy-block.first {
  padding: 0 0 28px;
}

.policy-block.last {
  padding: 28px 0 0;
}

.policy-block.last::after {
  content: none;
}

.policy-block > * {
  width: 100%;
}

.terms-hero-title {
  width: 100%;
  max-width: 100%;
}

.terms-hero-lead {
  width: 77%;
  max-width: 100%;
}

.terms-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 50px 0;
  overflow: clip;
}

.rich-text {
  z-index: 1;
  width: 1011px;
}

.rich-text h2,
.rich-text h3,
.rich-text p {
  white-space: pre-wrap;
  word-break: break-word;
}

.rich-text h2 {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--text);
  text-wrap: balance;
}

.rich-text h3 {
  margin-top: 40px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--text);
}

.rich-text p,
.rich-text ul {
  margin-top: 20px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.02em;
  color: var(--text-2);
}

.rich-text > :first-child {
  margin-top: 0;
}

.rich-text a {
  color: var(--link);
}

.rich-text ul {
  padding: 0;
  list-style: none;
}

.rich-text li {
  position: relative;
  padding-left: 23.424px;
}

.rich-text li::before {
  content: "•";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
}

.rich-text li p {
  margin-top: 0;
}

@media (max-width: 1199.98px) {
  .terms-hero-lead,
  .rich-text {
    width: 100%;
  }

  .terms-body {
    padding: 50px 30px;
  }
}
