/* =====================================================================
   Helva — rebuild (v2)  ·  plain HTML/CSS + vanilla JS
   Faithful reproduction of the live design, built on extracted tokens.
   ===================================================================== */

/* ----------------------------- Fonts ----------------------------- */
/* Reused from the live site (self-hosted in /assets/fonts). */
@font-face { font-family: "Mona Sans Variable"; src: url("/assets/fonts/o-0IIpQmx24alC5A4PNb5z5Ba_2c7A.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 200 900; }
@font-face { font-family: "Urbanist"; src: url("/assets/fonts/urbanist-fb9f50c363c6.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 400; }
@font-face { font-family: "Urbanist"; src: url("/assets/fonts/urbanist-9e6719f10da7.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 500; }
@font-face { font-family: "Urbanist"; src: url("/assets/fonts/urbanist-0aa3c3e606c6.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 700; }
@font-face { font-family: "Urbanist"; src: url("/assets/fonts/urbanist-e0d1f628f9a6.woff2") format("woff2"); font-display: swap; font-style: italic; font-weight: 400; }
@font-face { font-family: "Urbanist"; src: url("/assets/fonts/urbanist-532406e813b2.woff2") format("woff2"); font-display: swap; font-style: italic; font-weight: 700; }

/* ----------------------------- Tokens ----------------------------- */
:root {
  /* brand */
  --blue: #006CFD;
  --green: #56DE98;
  --ink: #070707;
  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --surface-light: #F1F1F1;
  --grey: #CDCDCD;

  /* text */
  --muted-on-dark: rgba(255, 255, 255, 0.7);
  --muted-on-light: rgba(7, 7, 7, 0.5);
  --hairline-light: rgba(7, 7, 7, 0.2);

  /* dark surfaces */
  --card-dark: rgba(0, 0, 0, 0.3);
  --card-dark-soft: rgba(255, 255, 255, 0.05);
  --card-dark-hover: rgba(100, 100, 100, 0.3);

  /* type */
  --font-display: "Mona Sans Variable", "Mona Sans", sans-serif;
  --font-ui: "Urbanist", sans-serif;

  /* layout */
  --gutter: 3rem;          /* 24px each side */
  --container: 1328px;
  --radius: 16px;
}

/* ----------------------------- Reset ------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; } /* keep [hidden] authoritative over display:grid/flex */
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

.container {
  width: min(var(--container), 100% - var(--gutter));
  margin-inline: auto;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ------------------------------ Nav ------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-top: 18px;
  transition: padding-top 0.25s ease;
}
.nav__bar {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 8px 8px 20px;
  background: var(--card-dark-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
/* solidify the floating pill once scrolled off the hero (stays legible over light sections).
   .nav--solid = always-on variant for non-hero pages (team, imprint, etc.) — not toggled by JS. */
.nav.is-scrolled { padding-top: 10px; }
.nav.is-scrolled .nav__bar,
.nav--solid .nav__bar {
  background: rgba(12, 12, 12, 0.78);
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
}
.nav__logo { display: flex; align-items: center; padding-right: 14px; }
.nav__logo img { height: 26px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 2px; }
.nav__menu a {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  padding: 10px 16px;
  border-radius: 10px;
  transition: background-color 0.18s ease;
}
.nav__menu a:hover { background: rgba(255, 255, 255, 0.08); }

/* hamburger (mobile only) */
.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: transparent; border: 0; border-radius: 10px;
  cursor: pointer; color: var(--white);
}
.nav__toggle:hover { background: rgba(255, 255, 255, 0.08); }
.nav__burger, .nav__burger::before, .nav__burger::after {
  content: ""; display: block;
  width: 20px; height: 2px; border-radius: 2px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.nav__burger { position: relative; }
.nav__burger::before { position: absolute; top: -6px; left: 0; }
.nav__burger::after { position: absolute; top: 6px; left: 0; }
.nav__toggle[aria-expanded="true"] .nav__burger { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__burger::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__burger::after { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------ Hero ------------------------------ */
.hero {
  position: relative;
  /* Fill the viewport so the fold is clean and the next section never peeks.
     svh = small viewport height: stable on mobile as browser chrome hides/shows.
     min-height is a floor for short/landscape screens where content would clip. */
  height: 100svh;
  min-height: 760px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* Bias the crop toward the right so the lit figure/window sit in frame while
     the darker room fills the text side. Tune per final photo. */
  object-position: 72% center;
  z-index: 0;
}
/* Directional scrim: keeps the upper-right (lamp-lit figure) readable while
   darkening the left + bottom where the H1, panels and trustbar live.
   Layer 1: bottom-up wash for the panels/trustbar.
   Layer 2: left-heavy wash for the H1/subhead.
   Layer 3: gentle top wash so the nav stays legible. */
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7,7,7,0.55) 0%, rgba(7,7,7,0) 22%, rgba(7,7,7,0) 40%, rgba(7,7,7,0.78) 100%),
    linear-gradient(90deg, rgba(7,7,7,0.72) 0%, rgba(7,7,7,0.35) 34%, rgba(7,7,7,0) 62%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  /* Clear the floating nav at the top; anchor the stack to the bottom of the fold. */
  padding-top: 120px;
  padding-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 72px;
}
/* Push the lede to the top of the fold and let the panels + trustbar sit at the
   bottom, leaving the upper-right open for the lit figure in the photo. */
.hero__lede { max-width: 640px; margin-bottom: auto; }
.hero__title {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 125, "wght" 400; /* live uses the expanded axis */
  font-weight: 400;
  font-size: 60px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--white);
}
.hero__subhead {
  margin-top: 20px;
  font-family: var(--font-ui);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--muted-on-dark);
  max-width: 620px;
}

/* Two equal audience panels, side by side (Borrow / Lend) */
.hero__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.hpanel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  /* Glass safety net: legible whatever the photo does behind it, without going
     fully solid (keeps the hero feeling like one image, not stacked boxes). */
  background: rgba(10, 12, 16, 0.5);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.hpanel:hover { background: rgba(24, 28, 34, 0.58); transform: translateY(-2px); }
.hpanel::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.hpanel--borrow::before { background: var(--blue); }
.hpanel--lend::before { background: var(--green); }
.hpanel__head { display: flex; align-items: center; gap: 12px; }
.hpanel__mark { flex: none; width: 8px; height: 8px; border-radius: 50%; }
.hpanel--borrow .hpanel__mark { background: var(--blue); }
.hpanel--lend .hpanel__mark { background: var(--green); }
.hpanel__kicker {
  font-family: var(--font-ui); font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--white);
}
.hpanel__title {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 125, "wght" 500;
  font-size: 26px; font-weight: 500; line-height: 1.2; color: var(--white);
}
.hpanel__body {
  font-family: var(--font-ui); font-size: 16px; line-height: 1.45;
  color: var(--muted-on-dark); flex: 1 1 auto;
}
.hpanel__cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-ui); font-size: 15px; font-weight: 600;
  padding: 13px 22px; border-radius: 999px; align-self: flex-start;
  white-space: nowrap; transition: transform .15s ease, filter .15s ease;
}
.hpanel__cta:hover { transform: translateY(-1px); filter: brightness(1.05); }
.hpanel__cta--blue { background: var(--blue); color: #fff; }
.hpanel__cta--green { background: var(--green); color: var(--ink); }
.hpanel__cta .chev { margin-right: -4px; }

/* ---------------------------- Trust bar --------------------------- */
.trustbar {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
.trustbar__item {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 260px;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.4;
  color: var(--white);
}
.trustbar__icon {
  flex: none;
  width: 22px; height: 22px;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M12 0c.7 6.6 4.4 10.3 11 11-6.6.7-10.3 4.4-11 11-.7-6.6-4.4-10.3-11-11 6.6-.7 10.3-4.4 11-11z'/%3E%3C/svg%3E");
}

/* ------------------ Supported assets & currencies strip ------------------ */
.assetstrip {
  background: var(--ink);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 34px 0;
}
.assetstrip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 30px;
}
.assetstrip__group {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.assetstrip__label {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-on-dark);
  white-space: nowrap;
}
.assetstrip__arrow { flex: none; color: var(--muted-on-dark); display: inline-flex; }
.chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 18px;
}
/* Plain wordmarks with hairline dividers between them */
.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}
.chip:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -9px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 14px;
  background: rgba(255, 255, 255, 0.2);
}
/* Only wstETH is elevated to a highlighted pill (no divider) */
.chip--yield {
  gap: 9px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(86, 222, 152, 0.5);
  background: rgba(86, 222, 152, 0.1);
}
.chip--yield::after { content: none; }
.chip__badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--green);
  padding-left: 9px;
  border-left: 1px solid rgba(86, 222, 152, 0.4);
}
/* Mobile-only legend explaining the wstETH marker (hidden on desktop) */
.assetstrip__legend { display: none; }
.assetstrip__legend-mark { color: var(--green); }

/* --------------------------- Responsive --------------------------- */
@media (max-width: 900px) {
  /* On phones the stacked content is taller than the viewport, so let the hero
     grow with its content instead of clipping to 100svh. */
  .hero { height: auto; min-height: 100svh; padding-top: 120px; }
  .hero__bg { object-position: 62% center; }
  .hero__inner { gap: 48px; padding-top: 0; padding-bottom: 56px; }
  .hero__lede { margin-bottom: 0; }
  .hero__title { font-size: 42px; }
  .hero__split { grid-template-columns: 1fr; gap: 16px; }
  .trustbar { flex-wrap: wrap; gap: 24px 32px; }
  .trustbar__item { flex: 1 1 40%; max-width: none; }
  .nav__bar { width: 100%; justify-content: space-between; }
}
@media (max-width: 540px) {
  .hero__title { font-size: 34px; }
  .hpanel { padding: 24px; }
  .hpanel__cta { width: 100%; justify-content: center; }
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px;
    border-radius: 14px;
    background: rgba(12, 12, 12, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.10);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  }
  .nav__menu.is-open { display: flex; }
  .nav__menu a { padding: 12px 14px; border-radius: 10px; }
  .trustbar__item { flex-basis: 100%; }
  .assetstrip__inner { flex-direction: column; gap: 22px; }
  .assetstrip__group { flex-direction: column; align-items: center; gap: 14px; }
  .assetstrip__arrow { display: none; }
  .assetstrip .chips { justify-content: center; gap: 6px 20px; }
  /* Simplify the wstETH pill on mobile: drop the inline badge text (explained in Benefits) */
  .chip--yield { padding: 6px 13px; }
  .chip__badge {
    padding: 0; border-left: 0;
    font-size: 0;
  }
  .chip__badge::before {
    content: "\2726"; /* small green spark marks the yield asset */
    font-size: 12px;
    letter-spacing: 0;
  }
  .assetstrip__legend {
    display: block;
    margin: 4px 0 0;
    text-align: center;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--muted-on-dark);
  }
}

/* =====================================================================
   Shared section scaffolding
   ===================================================================== */
.section { padding: 120px 0; }
.section--light { background: var(--white); color: var(--ink); }

.inline-link {
  color: var(--blue); text-decoration: underline;
  text-decoration-color: rgba(0, 108, 253, 0.32); text-decoration-thickness: 1px;
  text-underline-offset: 3px; transition: text-decoration-color .18s ease, color .18s ease;
}
.inline-link:hover { text-decoration-color: var(--blue); }


.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-ui); font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted-on-light); margin: 0 0 22px;
}
.eyebrow--ondark { color: var(--muted-on-dark); }

.spark {
  width: 15px; height: 15px; flex: none; display: inline-block;
  color: var(--blue); background: currentColor;
  -webkit-mask: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 0c.7 6.6 4.4 10.3 11 11-6.6.7-10.3 4.4-11 11-.7-6.6-4.4-10.3-11-11 6.6-.7 10.3-4.4 11-11z'/%3E%3C/svg%3E");
  mask: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 0c.7 6.6 4.4 10.3 11 11-6.6.7-10.3 4.4-11 11-.7-6.6-4.4-10.3-11-11 6.6-.7 10.3-4.4 11-11z'/%3E%3C/svg%3E");
}
.spark--ink { color: var(--ink); width: 18px; height: 18px; }
/* optical alignment: eyebrow sparks render ~0.7px high against uppercase caps */
.eyebrow .spark { transform: translateY(1px); }

.section__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px; flex-wrap: wrap; margin-bottom: 64px;
}
.section__title {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 125, "wght" 600;
  font-weight: 600;
  font-size: 48px; line-height: 1.1; letter-spacing: -0.01em; color: inherit;
}

/* ------------------------------ Buttons --------------------------- */
.btnrow { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.btnrow--center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-ui); font-size: 15px; font-weight: 600;
  padding: 14px 24px; border-radius: 999px; white-space: nowrap;
  transition: transform .15s ease, filter .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.04); }
.btn .chev { margin-right: -4px; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--green { background: var(--green); color: var(--ink); }
.btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.28); }
.btn--ghost:hover { background: rgba(255,255,255,0.08); filter: none; }

/* --------------------------- How it works ------------------------- */
/* One section, two rows (borrower then lender). Each row pairs a vertical
   numbered stepper with the real product screenshot. Sides swap per row. */
.howto__head { margin-bottom: 64px; }

.howrow {
  display: grid;
  grid-template-columns: 40fr 60fr;   /* text rail : screenshot (screenshot dominant) */
  gap: 64px;
  align-items: start;
}
.howrow + .howrow {
  margin-top: 72px; padding-top: 72px;
  border-top: 1px solid var(--hairline-light);
}
/* Lender row: flip the sides AND the column ratio so the screenshot still gets
   the wide track. Place children explicitly by grid line (not `order`) so the
   40/60 split follows the visual position, not the DOM order. */
.howrow--lend { grid-template-columns: 60fr 40fr; }        /* screenshot : text rail */
.howrow--lend .howrow__shot { grid-column: 1; grid-row: 1; } /* wide track, left */
.howrow--lend .howrow__text { grid-column: 2; grid-row: 1; } /* narrow track, right */

.howrow__kick { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.howrow__mark { flex: none; width: 6px; height: 24px; border-radius: 3px; }
.howrow__mark--borrow { background: var(--blue); }
.howrow__mark--lend { background: var(--green); }
.howrow__label {
  font-family: var(--font-ui); font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
}

/* Vertical stepper: numbers joined by a connecting line down the left edge */
.vsteps { display: flex; flex-direction: column; }
.vstep { position: relative; display: flex; gap: 18px; padding-bottom: 26px; }
.vstep:last-child { padding-bottom: 0; }
/* connector line between the number bubbles */
.vstep:not(:last-child)::before {
  content: ""; position: absolute; left: 15px; top: 34px; bottom: -4px;
  width: 2px; background: var(--hairline-light);
}
.vstep__num {
  position: relative; z-index: 1; flex: none;
  width: 32px; height: 32px; display: grid; place-items: center;
  border-radius: 50%; color: #fff;
  font-family: var(--font-display);
  font-variation-settings: "wdth" 125, "wght" 600;
  font-weight: 600; font-size: 14px;
}
.vsteps--borrow .vstep__num { background: var(--blue); }
.vsteps--lend .vstep__num { background: var(--green); color: var(--ink); }
.vstep__body { padding-top: 4px; }
.vstep__title {
  font-family: var(--font-ui); font-size: 15px; font-weight: 700;
  letter-spacing: 0.01em; line-height: 1.3; color: var(--ink); margin-bottom: 4px;
}
.vstep__desc { font-family: var(--font-ui); font-size: 14px; line-height: 1.5; color: var(--muted-on-light); }

.howrow__cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 32px;
  font-family: var(--font-ui); font-size: 15px; font-weight: 600;
  padding: 13px 24px; border-radius: 999px; align-self: flex-start;
  background: var(--blue); color: #fff;
  transition: transform .15s ease, filter .15s ease;
}
.howrow__cta:hover { transform: translateY(-1px); filter: brightness(1.05); }
.howrow__cta--green { background: var(--green); color: var(--ink); }
.howrow__cta .chev { margin-right: -4px; }

/* App-window frame: a slim macOS-style title bar over the screenshot, so the
   shot reads as a real app window without duplicating its in-app navigation. */
.appframe {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--hairline-light);
  box-shadow: 0 2px 4px rgba(7,7,7,0.04), 0 24px 60px -18px rgba(7,7,7,0.28);
}
.appframe__bar {
  display: flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 16px;
  background: #f6f6f7;
  border-bottom: 1px solid var(--hairline-light);
}
.appframe__dot { width: 11px; height: 11px; border-radius: 50%; background: #d6d6d9; }
.appframe__dot:nth-child(1) { background: #ff5f57; }
.appframe__dot:nth-child(2) { background: #febc2e; }
.appframe__dot:nth-child(3) { background: #28c840; }
.appframe__img { width: 100%; height: auto; display: block; }

/* --------------------- On-chain statement band -------------------- */
.band { position: relative; overflow: hidden; background: var(--surface-light); color: var(--ink); }
.band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; z-index: 0; }
.band__veil {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(250,250,250,0.97) 0%, rgba(250,250,250,0.88) 30%, rgba(250,250,250,0.35) 54%, rgba(250,250,250,0) 74%);
}
.band__inner { position: relative; z-index: 2; padding: 120px 0; }
.band__title { font-family: var(--font-display); font-variation-settings: "wdth" 125, "wght" 600; font-weight: 600; font-size: 52px; line-height: 1.12; letter-spacing: -0.01em; color: var(--ink); }
.band__hl { color: var(--blue); }
.band__star { color: var(--blue); }
.band__sub { margin-top: 22px; font-family: var(--font-ui); font-size: 18px; color: var(--muted-on-light); }
.band__note { margin-top: 40px; font-size: 13px; font-weight: 600; }
.band__note a { color: var(--ink); }

/* ----------------------------- Compare ---------------------------- */
/* Two stacked audience comparisons (borrower then lender). Semantic
   <table> for a11y/SEO; each Helva column is audience-accented (blue for
   borrowers, green for lenders) with a subtle tint + 3px top bar, echoing
   the hero panels. Competitor columns stay neutral - no red-x carpet. */
.compare .section__heading { margin-bottom: 56px; }

.cmp + .cmp { margin-top: 72px; padding-top: 64px; border-top: 1px solid var(--hairline-light); }
.cmp__head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.cmp__mark { flex: none; width: 6px; height: 26px; border-radius: 3px; }
.cmp__mark--borrow { background: var(--blue); }
.cmp__mark--lend { background: var(--green); }
.cmp__label {
  font-family: var(--font-ui); font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
}
.cmp__title {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 125, "wght" 600;
  font-weight: 600; font-size: 30px; line-height: 1.15; letter-spacing: -0.01em;
  color: var(--ink); margin-bottom: 14px;
}
.cmp__lede {
  font-family: var(--font-ui); font-size: 17px; line-height: 1.55;
  color: var(--muted-on-light); max-width: 760px; margin-bottom: 32px;
}

.ctable-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ctable {
  width: 100%; border-collapse: collapse; font-family: var(--font-ui);
  table-layout: fixed;
}
.ctable th, .ctable td {
  padding: 16px 18px; text-align: left; vertical-align: top;
  border-top: 1px solid var(--hairline-light);
  font-size: 15px; line-height: 1.4; font-weight: 400;
}
.ctable thead th {
  border-top: 0; vertical-align: bottom;
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted-on-light);
  padding-bottom: 14px;
}
/* Row-header (attribute) column: quiet label down the left edge */
.ctable tbody th[scope="row"] {
  font-weight: 600; color: var(--ink); width: 24%;
}
.ctable .col-attr { width: 24%; }
.ctable td { color: var(--ink); }

/* Helva column: audience tint + heavier text + top accent bar */
.ctable .col-helva { position: relative; }
.ctable--lend .col-helva { background: rgba(86, 222, 152, 0.08); }
.ctable--borrow .col-helva { background: rgba(0, 108, 253, 0.05); }
.ctable td.col-helva { font-weight: 600; }
.ctable thead .col-helva { color: var(--ink); }
.ctable thead .col-helva::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
}
.ctable--lend thead .col-helva::before { background: var(--green); }
.ctable--borrow thead .col-helva::before { background: var(--blue); }

/* Genuine competitor win - a single positive tick (never on Helva's rivals as a carpet) */
.ctable .tick { font-weight: 700; }
.ctable--borrow .is-win .tick { color: var(--blue); }
.ctable--lend .is-win .tick { color: var(--green); }
.ctable sup { font-weight: 600; color: var(--muted-on-light); font-size: 0.72em; }
.ctable .col-helva sup { color: inherit; opacity: 0.6; }

.cmp__kicker {
  margin-top: 22px; font-family: var(--font-ui); font-size: 16px;
  font-weight: 600; line-height: 1.5; color: var(--ink);
}
.ctable__notes {
  margin-top: 16px; display: flex; flex-direction: column; gap: 6px;
  font-family: var(--font-ui); font-size: 12.5px; line-height: 1.5;
  color: var(--muted-on-light); list-style: none;
}
.ctable__notes sup { font-weight: 600; }
.cmp__more { margin-top: 24px; max-width: 760px; }
.cmp__more summary { font-size: 17px; padding: 18px 0; }
.ctable__disclaimer {
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--hairline-light);
  font-family: var(--font-ui); font-size: 12.5px; line-height: 1.6;
  color: var(--muted-on-light); max-width: 900px;
}
.compare__cta { margin-top: 64px; }

/* ----------------------- Anvil (powered by) ----------------------- */
.anvil { position: relative; overflow: hidden; color: #fff; background: linear-gradient(155deg, #0d0d0d 0%, #050505 55%, #0b0b0b 100%); }
.anvil__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
.anvil__inner { position: relative; z-index: 1; padding: 110px 0; }
.anvil__powered { display: inline-flex; align-items: center; gap: 12px; }
.anvil__logo { height: 15px; width: auto; display: inline-block; color: #fff; }
.anvil__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; margin-top: 6px; }
.anvil__title { font-family: var(--font-display); font-variation-settings: "wdth" 125, "wght" 600; font-weight: 600; font-size: 44px; line-height: 1.12; letter-spacing: -0.01em; max-width: 620px; }
.anvil__aside { font-family: var(--font-display); font-variation-settings: "wdth" 125, "wght" 500; font-weight: 500; font-size: 30px; line-height: 1.2; color: rgba(255,255,255,0.34); max-width: 360px; text-align: right; }
.anvil .btn--ghost { margin-top: 48px; }

/* ----------------------------- Benefits --------------------------- */
.benefits { padding-bottom: 0; }
.benefits__intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }
.bpoints { display: flex; flex-direction: column; gap: 26px; padding-top: 6px; }
.bpoint { display: flex; gap: 16px; align-items: center; }
.bpoint p { font-family: var(--font-ui); font-size: 17px; line-height: 1.5; color: var(--ink); }
.bpoint .muted { color: var(--muted-on-light); }
.benefits__lower { padding: 72px 0; }

/* Two always-visible audience tracks (borrower + lender), one shared surface */
.btrack + .btrack { margin-top: 64px; padding-top: 60px; border-top: 1px solid var(--hairline-light); }
.btrack__head { display: flex; align-items: center; gap: 14px; margin-bottom: 40px; }
.btrack__mark { flex: none; width: 6px; height: 26px; border-radius: 3px; }
.btrack--borrow .btrack__mark { background: var(--blue); }
.btrack--lend .btrack__mark { background: var(--green); }
.btrack__label {
  font-family: var(--font-ui); font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
}
.bgroups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.bgroup__icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--ink); color: #fff; margin-bottom: 24px; }
.bgroup__title { font-family: var(--font-ui); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink); margin-bottom: 22px; }
.bgroup__list { display: flex; flex-direction: column; gap: 18px; }
.bgroup__list li { position: relative; padding-left: 26px; font-family: var(--font-ui); font-size: 15px; line-height: 1.5; color: var(--muted-on-light); }
.bgroup__list li::before { content: "+"; position: absolute; left: 0; top: -1px; color: var(--ink); font-weight: 600; }

/* ------------------------------- FAQ ------------------------------ */
.faq{ background: var(--surface-light);}
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: start; }
.faq__head { position: sticky; top: 40px; }
.faq__contact { margin-top: 24px; font-family: var(--font-ui); font-size: 15px; line-height: 1.6; color: var(--muted-on-light); }
.faq__contact a { color: var(--blue); font-weight: 600; }
.faq__cat { font-family: var(--font-ui); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-on-light); margin: 36px 0 4px; }
.faq__cat:first-child { margin-top: 0; }
.faq__item { border-top: 1px solid var(--hairline-light); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 20px; padding: 22px 0;
  font-family: var(--font-ui); font-size: 20px; font-weight: 500; line-height: 1.4; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 22px; height: 22px; transition: transform .2s ease;
  background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23070707' stroke-width='1.5'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v8M8 12h8' stroke-linecap='round'/%3E%3C/svg%3E");
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 0 24px; font-family: var(--font-ui); font-size: 16px; line-height: 1.5; color: rgba(7,7,7,0.72); max-width: 680px; }
.faq__a ul { display: flex; flex-direction: column; gap: 8px; padding-left: 18px; list-style: disc; }

/* ---------------------------- Footer CTA -------------------------- */
.cta { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cta__veil { position: absolute; inset: 0; z-index: 1; background: radial-gradient(120% 120% at 50% 38%, rgba(7,7,7,0.32) 0%, rgba(7,7,7,0.7) 68%, rgba(7,7,7,0.92) 100%); }
.cta__inner { position: relative; z-index: 2; padding: 130px 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.cta__logo { height: 34px; width: auto; }
.cta__title { font-family: var(--font-display); font-variation-settings: "wdth" 125, "wght" 600; font-weight: 600; font-size: 52px; line-height: 1.1; letter-spacing: -0.01em; }

/* ------------------------ Team / Imprint pages -------------------- */
.team-page,
.imprint-page { padding-top: 140px; min-height: 70vh; }
.team-page__eyebrow,
.imprint-page__eyebrow { margin: 0 0 40px; }
.team-gate,
.imprint-gate {
  max-width: 420px;
  margin: 0 auto;
  padding: 32px 28px;
  border: 1px solid var(--hairline-light);
  border-radius: var(--radius);
  background: var(--off-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.team-gate__label,
.imprint-gate__label {
  margin: 0;
  font-size: 14px;
  color: var(--muted-on-light);
  text-align: center;
}
.team-gate__error,
.imprint-gate__error {
  margin: 0;
  font-size: 13px;
  color: #b42318;
  text-align: center;
}
.team__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 880px;
}
.team__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--hairline-light);
  border-radius: var(--radius);
  background: var(--white);
}
.team__photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: calc(var(--radius) - 4px);
  background: var(--surface-light);
  margin-bottom: 8px;
}
.team__name {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 125, "wght" 600;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}
.team__role {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.01em;
}
.team__bio {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted-on-light);
  margin-top: 4px;
}
.team__li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  width: fit-content;
}
.team__li:hover { color: var(--blue); }
.team__li--soon { opacity: 0.45; cursor: default; }
.team__li-icon { flex: none; }

.imprint {
  max-width: 600px;
  padding: 28px;
  border: 1px solid var(--hairline-light);
  border-radius: var(--radius);
  background: var(--white);
}
.imprint__name {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 125, "wght" 600;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 8px;
}
.imprint__line {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 4px;
}
.imprint__block { margin-top: 24px; }
.imprint__meta {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 6px;
}
.imprint__meta span { color: var(--muted-on-light); }
.imprint__contact-h {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 125, "wght" 600;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.imprint__contact a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(7, 7, 7, 0.25);
  text-underline-offset: 3px;
}
.imprint__contact a:hover { color: var(--blue); text-decoration-color: var(--blue); }

@media (max-width: 700px) {
  .team__grid { grid-template-columns: 1fr; gap: 24px; max-width: 420px; margin-inline: auto; }
  .team-page,
  .imprint-page { padding-top: 120px; }
  .team-page__eyebrow,
  .imprint-page__eyebrow { margin-bottom: 28px; }
}

/* ------------------------------ Footer ---------------------------- */
.footer { background: var(--ink); color: #fff; padding: 80px 0 60px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand img { height: 28px; width: auto; }
.footer__h { font-family: var(--font-ui); font-size: 15px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin: 0 0 20px; }
.footer__col { display: flex; flex-direction: column; gap: 14px; }
.footer__col a { font-family: var(--font-ui); font-size: 14px; color: rgba(255,255,255,0.85); }
.footer__col a:hover { color: #fff; }
.footer__name { font-size: 15px; font-weight: 600; }
.footer__muted { font-size: 14px; color: rgba(255,255,255,0.5); }

/* "Available soon" links (href-less) + floating tooltip */
[data-soon] { cursor: pointer; }
.available-soon-tooltip {
  position: fixed; z-index: 99999; pointer-events: none;
  padding: 6px 14px; border-radius: 8px;
  background: #222; color: #fff;
  font-family: var(--font-ui); font-size: 13px; white-space: nowrap;
  opacity: 0; transition: opacity 0.18s;
}
.available-soon-tooltip.show { opacity: 1; }

/* -------------------- Waitlist modal (lender) ---------------------- */
.helva-modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.6); z-index: 99999;
  align-items: center; justify-content: center;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.helva-modal-overlay.active { display: flex; }
.helva-modal-card {
  background: #fff; border-radius: 24px; max-width: 480px; width: 90%;
  max-height: 90vh; overflow-y: auto; padding: 40px 36px; position: relative;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
  animation: helvaModalIn 0.25s ease-out;
}
@keyframes helvaModalIn {
  from { opacity: 0; transform: scale(0.95) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.helva-modal-close {
  position: absolute; top: 16px; right: 16px; width: 36px; height: 36px;
  border: none; background: #fafafa; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #070707; line-height: 1; transition: background 0.15s;
}
.helva-modal-close:hover { background: #eee; }
.helva-modal-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: 18px; font-variation-settings: "wdth" 125, "wght" 500;
  color: #070707; margin: 0 0 8px; line-height: 1.3;
}
.helva-modal-desc {
  font-family: var(--font-ui); font-weight: 400; font-size: 16px;
  color: rgba(7, 7, 7, 0.6); margin: 0 0 28px; line-height: 1.4;
}
.helva-modal-card .inf-field-container { margin-bottom: 4px; }
.helva-modal-card .inf-input {
  width: 100%; padding: 14px 16px; border: 1.5px solid #e0e0e0;
  border-radius: 12px; font-family: var(--font-ui); font-size: 15px;
  color: #070707; background: #fafafa; outline: none;
  transition: border-color 0.15s; box-sizing: border-box;
}
.helva-modal-card .inf-input:focus { border-color: #006cfd; }
.helva-modal-card .inf-input::placeholder { color: rgba(7, 7, 7, 0.35); }
.helva-modal-card .inf-label {
  font-family: var(--font-ui); font-size: 14px; font-weight: 500;
  color: #070707; margin-bottom: 6px; display: block;
}
.helva-modal-card .inf-submit {
  width: 100%; padding: 16px 24px; background-color: #006cfd; color: #fff;
  border: none; border-radius: 16px; font-family: var(--font-ui);
  font-size: 16px; font-weight: 500; cursor: pointer;
  transition: background-color 0.15s; margin-top: 8px;
}
.helva-modal-card .inf-submit:hover { background-color: #0058d4; }
.helva-modal-card .inf-submit:disabled { opacity: 0.7; cursor: not-allowed; }
.helva-modal-card altcha-widget { margin-top: 20px; display: block; }
.helva-modal-msg {
  display: none; margin-top: 16px; text-align: center;
  font-family: var(--font-ui); font-size: 15px; line-height: 1.5;
}
@media (max-width: 810px) {
  .helva-modal-card { padding: 32px 24px; border-radius: 20px; }
  .helva-modal-title { font-size: 16px; }
}

/* ----------------- Responsive (new sections) ---------------------- */
@media (max-width: 1024px) {
  .bgroups { grid-template-columns: 1fr; gap: 40px; }
  .benefits__intro { grid-template-columns: 1fr; gap: 32px; }
  .faq__grid { grid-template-columns: 1fr; gap: 36px; }
  .faq__head { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__brand { grid-column: 1 / -1; }
  /* Give the screenshot a bit less dominance as the viewport narrows */
  .howrow, .howrow--lend { grid-template-columns: 1fr 1fr; gap: 44px; }
}
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .section__head { margin-bottom: 44px; }
  .section__title, .band__title, .cta__title { font-size: 36px; }
  .anvil__row { flex-direction: column; gap: 16px; }
  .anvil__title { font-size: 32px; }
  .anvil__aside { font-size: 22px; text-align: left; max-width: none; }
  .band__inner, .anvil__inner { padding: 80px 0; }
  .cta__inner { padding: 90px 0; }
  /* How it works: stack each row - steps first, screenshot below - and keep
     that order for both rows (drop the lender-side swap on mobile). */
  .howrow, .howrow--lend { grid-template-columns: 1fr; gap: 36px; }
  .howrow--lend .howrow__text { grid-column: 1; grid-row: auto; order: 1; }
  .howrow--lend .howrow__shot { grid-column: 1; grid-row: auto; order: 2; }
  .howrow + .howrow { margin-top: 56px; padding-top: 56px; }
  .cmp__title { font-size: 26px; }
  .cmp__lede { font-size: 16px; }
}
/* Compare tables on mobile: keep the 3 comparison columns side by side
   (cells are short), but stack the attribute name as a full-width title
   above each row. Each row becomes a bordered card = a 4-line CSS grid:
   the attribute spans the top, the 3 columns (incl. Helva) sit beneath. */
@media (max-width: 720px) {
  .ctable-wrap { overflow-x: visible; }
  .ctable, .ctable tbody { display: block; width: auto; }
  .ctable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .ctable tr {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--hairline-light); border-radius: var(--radius);
    overflow: hidden;
    padding: 0; margin-bottom: 16px;
  }
  /* attribute name: full-width title bar across the top of the card */
  .ctable tbody th[scope="row"] {
    grid-column: 1 / -1; width: auto; border-top: 0;
    padding: 12px 14px 10px;
    font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
    text-transform: uppercase; color: var(--ink);
    background: rgba(7, 7, 7, 0.03);
    border-bottom: 1px solid var(--hairline-light);
  }
  /* three value cells: small column label from data-label, then the value */
  .ctable td {
    position: relative; display: block; border-top: 0;
    padding: 12px 12px 14px; font-size: 14px; line-height: 1.35;
  }
  .ctable td:not(:last-child) { border-right: 1px solid var(--hairline-light); }
  .ctable td::before {
    content: attr(data-label); display: block;
    font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em;
    text-transform: uppercase; color: var(--muted-on-light); margin-bottom: 5px;
  }
  /* Helva column stays tinted + accented so it still reads as "ours" */
  .ctable--borrow td.col-helva { background: rgba(0, 108, 253, 0.05); }
  .ctable--lend td.col-helva { background: rgba(86, 222, 152, 0.08); }
  .ctable--borrow td.col-helva::before { color: var(--blue); }
  .ctable--lend td.col-helva::before { color: #2f9e6b; }
  .ctable thead .col-helva::before { display: none; }
}
@media (max-width: 400px) {
  /* very narrow: ease the padding so 3 columns don't crowd */
  .ctable td { padding: 10px 8px 12px; font-size: 13px; }
  .ctable tbody th[scope="row"] { padding: 10px 10px 8px; }
}
@media (max-width: 540px) {
  .footer__grid { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .btnrow { width: 100%; }
  .howrow__cta { width: 100%; justify-content: center; }
}
