/* ============================================================
   BTC0 — landing v3
   Design source: Figma GCBC5kYBn2pm2CF0FiGufq, node 370:2802 (1440 frame)
   Layout: two equal halves (right column starts at x=728 @1440).
   ============================================================ */

:root {
  /* palette */
  --cream:  #eae9e0;
  --stone:  #d1d0cb;
  --plum:   #39303e;
  --plum-2: #32303e;
  --ink-2:  #39313e;
  --sand:   #a48762;
  --gold:   #d2b187;
  --mist:   #dadada;
  --blue:   #283e51;
  --teal:   #285150;
  --gray:   #969696;
  --ink:    #2d2d2d;
  --rule:   #969696;
  --rule-soft: #c9c8c0;
  --rule-blue: rgba(130, 130, 130, .5);   /* dividers on the blue custody section */

  /* fonts */
  --serif: "Baskervville", Georgia, serif;
  --sans:  "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono:  "Roboto Mono", ui-monospace, monospace;

  /* type scale (Figma @1440, fluid below) */
  --fs-h1:        clamp(44px, 7.083vw, 102px);
  --fs-h2:        clamp(36px, 3.889vw, 56px);
  --fs-num:       clamp(56px, 6.667vw, 96px);
  --fs-statement: clamp(26px, 3.333vw, 48px);
  --fs-lede:      clamp(20px, 2.083vw, 30px);
  --fs-card:      clamp(22px, 2.222vw, 32px);
  --fs-body:      20px;
  --fs-link:      18px;
  --fs-label:     14px;
  --fs-legal:     13px;

  /* layout */
  --pad: 32px;
  --gap: 16px;   /* gutter between the two halves */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.33;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
ol, ul { list-style: none; }

h1, h2 { font-weight: 500; }
h3 { font-weight: 400; }

.gold { color: var(--gold); }

/* arrow drawn to match Instrument Sans stroke (the font has no U+2192) */
.arrowed::after {
  content: "";
  display: inline-block;
  width: 19px;
  height: 12px;
  margin-left: 12px;
  background: currentColor;
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 12"><path d="M0 6h18.2M13.2 1l5 5-5 5" fill="none" stroke="black" stroke-width="1.5"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 12"><path d="M0 6h18.2M13.2 1l5 5-5 5" fill="none" stroke="black" stroke-width="1.5"/></svg>') center / contain no-repeat;
}
a.arrowed::after { vertical-align: -1px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  min-width: 200px;
  padding: 0 21px 2px;
  border: 0;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: pre;
  transition: opacity .2s ease;
}
.btn:hover { opacity: .85; }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--dark  { background: var(--ink);  color: var(--cream); }

/* shared section heading (Baskervville Medium 56 @1440) */
.section-title {
  font-family: var(--serif);
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.0086em;
  font-variant-numeric: lining-nums;   /* "BTC0": Baskervville defaults to old-style figures */
}

/* title + body block (Figma component btc0/card) */
.card {
  min-width: 0;
  padding-right: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card h3,
.row__body h3 {
  font-size: var(--fs-card);
  line-height: 1.2;
}

/* ============ 1. HERO ============ */

.hero {
  position: relative;
  min-height: 838px;
  background: var(--plum);
  color: var(--mist);
  padding: 0 var(--pad) 39px;
  display: flex;
  flex-direction: column;
}

.hero__bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--gap);
  align-items: start;
  padding: var(--pad) 0;
}

.brand { text-decoration: none; color: #fff; width: fit-content; }
.brand__word {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 1.7px;
  line-height: 1;
}
.brand__q { font-family: var(--serif); }

.hero__links {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.hero__links a {
  font-size: var(--fs-link);
  line-height: 24px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  white-space: nowrap;
  transition: color .2s ease;
}
.hero__links a:hover { color: #fff; }

.hero__title {
  margin-top: 72px;
  font-family: var(--serif);
  font-size: var(--fs-h1);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.005em;
  display: flex;
  flex-direction: column;
}
.hero__l2 { text-align: right; }
.hero__l2 em { font-style: italic; }

.hero__grid {
  margin-top: auto;
  padding-top: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--gap);
  align-items: start;
}

.hero__aside {
  max-width: 448px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}
.hero__lede {
  font-size: 18px;
  line-height: 26.6px;
}
.hero__cta {
  font-size: var(--fs-link);
  line-height: 1.33;
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  white-space: pre;
}
.hero__cta:hover { color: #e3c8a2; }

/* animated block in the right half: 679x365 @1440 */
.hero__fx {
  position: relative;
  width: 100%;
  aspect-ratio: 679 / 365;
  overflow: hidden;
  /* 1-bit poster at dither-cell resolution, rendered by tools/dither.py from
     the same video: shows until the shader's first frame, and stays for
     reduced-motion users */
  background: var(--sand) url(../assets/hero-poster.png) center / cover no-repeat;
  image-rendering: pixelated;
}

/* ============ 2. STATEMENT + PARTNERS ============ */

.statement {
  min-height: 817px;
  background: var(--cream);
  padding: 36px var(--pad) 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 96px;
}
.statement__text {
  font-size: var(--fs-statement);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--plum);
}

/* four ruled columns: role label top-left, logo centred below */
.logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 200px;
}
.logos li {
  min-width: 0;
  border-left: 1px solid var(--rule-soft);
  padding: 16px 16px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.logos__role {
  align-self: stretch;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: rgba(23, 23, 23, .5);
}
.logos img {
  width: min(100%, 180px);
  height: auto;
  opacity: .7;   /* one fill colour, one opacity (Figma: ecosystem logos) */
}

/* ============ 3. WHAT BTC0 IS ============ */

.pillars {
  min-height: 984px;
  background: var(--stone);
  color: var(--ink-2);
  padding: 36px var(--pad) 72px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 96px;
}
.rows { display: flex; flex-direction: column; gap: 64px; }
.row {
  border-top: 1px solid var(--ink-2);
  padding-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--gap);
}
.row__num {
  font-family: var(--serif);
  font-size: var(--fs-num);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.005em;
  font-variant-numeric: lining-nums proportional-nums;
}
.row__body {
  padding-right: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ============ 4. CUSTODY AND TRANSPARENCY ============ */

.custody {
  background: var(--blue);
  color: var(--cream);
  padding: 36px var(--pad) 80px;
  display: flex;
  flex-direction: column;
  gap: 240px;
}
.custody__title { max-width: 690px; }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
/* ruled columns: 1px line, title + body on top, logo row pinned to the bottom */
.custody .cards { gap: 16px; }
.custody .card {
  min-height: 310px;
  border-left: 1px solid var(--rule-blue);
  padding: 0 0 0 16px;
  justify-content: space-between;
  gap: 40px;
}
.card__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-right: 40px;
}
.custody .card__text p {
  font-size: 18px;
  line-height: 1.33;
  opacity: .6;
}
.card__foot {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.card__foot img { flex: none; max-width: 100%; height: auto; }
.card__meta {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.33;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.card__meta span { display: block; white-space: nowrap; opacity: .6; }
.card__meta a {
  color: var(--gold);
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.card__meta a:hover { color: var(--cream); }
.custody__link,
.faq__link,
.available__link {
  align-self: flex-start;
  font-size: var(--fs-link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.faq__link { display: inline-block; margin-top: 16px; color: var(--cream); }

/* ============ 5. ACCENT / WATER ============ */

.cta {
  position: relative;
  min-height: 603px;
  background: var(--blue);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta__fx {
  position: absolute;
  inset: 0;
  z-index: 1;
}
/* blends the water into the blue section above */
.cta::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 200px;
  z-index: 2;
  background: linear-gradient(var(--blue), rgba(40, 62, 81, 0));
  pointer-events: none;
}
.cta__content {
  position: relative;
  z-index: 3;
  max-width: calc(100% - 2 * var(--pad));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}
.cta__text {
  font-size: var(--fs-statement);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.cta__text span { display: block; }   /* one phrase per line */

/* ============ 6. BUILT FOR FINANCIAL MARKETS ============ */

.integrate {
  min-height: 941px;
  background: var(--cream);
  color: var(--plum-2);
  padding: 36px var(--pad) 41px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 96px;
}
.integrate__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--gap);
  align-items: start;
}
.integrate__title { color: var(--ink); max-width: 625px; }
.integrate__lede {
  font-size: var(--fs-lede);
  line-height: 1.2;
  max-width: 672px;
}
.integrate__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--gap);
  row-gap: 40px;
}
/* vertical rule on the left of each block (Figma: 1px #969696) */
.card--ruled {
  border-left: 1px solid var(--rule);
  padding-left: 24px;
  min-height: 200px;
}

/* ============ 7. INTEGRATIONS (hidden until live) ============ */

.available {
  background: var(--cream);
  padding: 0 var(--pad) 96px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.available__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.available__list li { display: flex; flex-direction: column; gap: 8px; padding-right: 40px; }
.available__name { font-size: var(--fs-card); line-height: 1.2; color: var(--plum-2); }
.available__kind { color: var(--gray); }

/* ============ 8. FAQ ============ */

.faq {
  min-height: 737px;
  background: var(--teal);
  color: var(--cream);
  padding: 55px var(--pad) 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--gap);
  align-items: start;
}
.faq__list { min-width: 0; }

.faq__item {
  border-top: 1px solid rgba(234, 233, 224, .5);
  padding: 24px 0;
}
.faq__item summary {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary > span:first-child {
  flex: 1 0 0;
  min-width: 0;
  font-size: var(--fs-card);
  line-height: 1.33;
}
.faq__icon {
  position: relative;
  flex: 0 0 auto;
  width: 43px;
  height: 43px;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: var(--cream);
  transition: transform .42s cubic-bezier(.4, 0, .2, 1);
}
.faq__icon::before { width: 22px; height: 2px; transform: translate(-50%, -50%); }
.faq__icon::after  { width: 2px; height: 22px; transform: translate(-50%, -50%); }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__icon::before { transform: translate(-50%, -50%) rotate(180deg); }

.faq__answer {
  color: var(--gray);
  overflow: hidden;
}
.faq__answer-inner {
  padding: 16px 48px 20px 0;
}

/* ============ 9. CONTACT ============ */

.waitlist {
  position: relative;
  min-height: 738px;
  background: var(--cream);
  padding-left: var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--gap);
  overflow: hidden;
}
.waitlist__head {
  padding: 36px 0 72px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 631px;
}
.waitlist__title { color: var(--ink); }
.waitlist__lede {
  font-size: var(--fs-lede);
  line-height: 1.2;
  color: var(--plum-2);
}

/* right half: dithered clouds full height, form on a cream panel */
.waitlist__side {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 0;
}
.waitlist__fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .5;
  background: var(--cream) url(../assets/clouds-poster.png) center / cover no-repeat;
  image-rendering: pixelated;
}
.waitlist__form {
  position: relative;
  z-index: 1;
  width: 490px;
  max-width: 100%;
  padding: 15px 37px 37px;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field {
  position: relative;
  display: block;
  height: 80px;
  border-bottom: 1px solid rgba(0, 0, 0, .4);
  transition: border-color .2s ease;
  cursor: text;
}
.field:hover { border-bottom-color: rgba(0, 0, 0, .75); }
.field:focus-within { border-bottom-color: var(--ink); }
.field.invalid { border-bottom-color: #8c2f2f; }
.field.invalid .field__label { color: #8c2f2f; }
.field.invalid::after { background: #8c2f2f; transform: scaleX(1); }

.field__error {
  position: absolute;
  right: 16px;
  top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #8c2f2f;
  display: none;
}
.field.invalid .field__error { display: block; }

/* thicker underline sweeping in on focus */
.field::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
.field:focus-within::after { transform: scaleX(1); }

.field__label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: var(--fs-label);
  line-height: .9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: rgba(23, 23, 23, .6);
  pointer-events: none;
  transition: top .28s cubic-bezier(.4, 0, .2, 1),
              transform .28s cubic-bezier(.4, 0, .2, 1),
              font-size .28s cubic-bezier(.4, 0, .2, 1),
              color .2s ease;
}
.field__input {
  border: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 18px;
  color: var(--ink);
  outline: none;
  width: 100%;
  height: 100%;
  padding: 22px 16px 0;
}
.field__input:focus + .field__label,
.field__input:not(:placeholder-shown) + .field__label {
  top: 14px;
  transform: none;
  font-size: 11px;
}
.field__input:focus + .field__label { color: rgba(23, 23, 23, .85); }

.waitlist__submit {
  width: 100%;
  margin-top: 24px;
  transition: background .3s ease, color .3s ease;
}
.waitlist__submit.success {
  background: var(--blue);
  color: var(--cream);
  pointer-events: none;
}
.waitlist__submit.success::after { display: none; }
.waitlist__success {
  font-size: 14px;
  color: var(--blue);
  text-align: center;
}

/* ============ 10. FOOTER ============ */

.footer {
  min-height: 218px;
  background: var(--gray);
  color: #fff;
  padding: 33px var(--pad);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  column-gap: var(--gap);
  align-items: start;
  line-height: 26.6px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.footer__links a {
  text-decoration: none;
  white-space: nowrap;
}
.footer__links a:hover { opacity: .8; }
.footer__legal {
  font-size: var(--fs-legal);
  line-height: 1.5;
  max-width: 321px;
}

/* ============ FX (video shader) ============ */

.fx canvas,
.fx video.fx__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fx canvas { opacity: 0; transition: opacity .5s ease; }
.fx.is-live canvas { opacity: 1; }
/* animated pre-dithered fallback (autoplay refused, e.g. Low Power Mode) */
.fx__still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
  display: block;
}

.fx__plus {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 10;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .45);
  background: rgba(0, 0, 0, .25);
  cursor: pointer;
  padding: 0;
  transition: transform .25s ease, background .2s ease;
}
.fx__plus::before,
.fx__plus::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: rgba(255, 255, 255, .85);
}
.fx__plus::before { width: 11px; height: 1px; transform: translate(-50%, -50%); }
.fx__plus::after  { width: 1px; height: 11px; transform: translate(-50%, -50%); }
.fx__plus:hover { background: rgba(0, 0, 0, .45); }
.fx__plus[aria-expanded="true"] { transform: rotate(45deg); }

.fx__panel {
  position: absolute;
  right: 12px;
  bottom: 52px;
  z-index: 11;
  width: 224px;
  padding: 14px 14px 12px;
  border-radius: 6px;
  background: rgba(10, 10, 12, .82);
  backdrop-filter: blur(6px);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .02em;
  display: none;
}
.fx__panel.open { display: block; }

.fx__row { margin-bottom: 10px; }
.fx__row label {
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  color: rgba(234, 233, 224, .65);
  margin-bottom: 4px;
}
.fx__row output { color: var(--cream); }

.fx__row input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 14px;
  background: transparent;
  cursor: pointer;
}
.fx__row input[type="range"]::-webkit-slider-runnable-track {
  height: 2px;
  background: rgba(234, 233, 224, .3);
}
.fx__row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--cream);
  margin-top: -4px;
}
.fx__row input[type="range"]::-moz-range-track {
  height: 2px;
  background: rgba(234, 233, 224, .3);
}
.fx__row input[type="range"]::-moz-range-thumb {
  width: 10px; height: 10px;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
}

.fx__row select {
  width: 100%;
  background: rgba(234, 233, 224, .08);
  color: var(--cream);
  border: 1px solid rgba(234, 233, 224, .25);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 11px;
  padding: 4px 6px;
}

.fx__swatches {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.fx__swatch {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  cursor: pointer;
  padding: 0;
}
.fx__swatch.active {
  outline: 2px solid var(--cream);
  outline-offset: 1px;
}

.fx__load {
  width: 100%;
  background: rgba(234, 233, 224, .08);
  border: 1px solid rgba(234, 233, 224, .25);
  border-radius: 3px;
  color: var(--cream);
  font-family: var(--mono);
  font-size: 11px;
  padding: 5px 0;
  cursor: pointer;
}
.fx__load:hover { border-color: rgba(234, 233, 224, .5); }

.fx__reset {
  width: 100%;
  margin-top: 2px;
  background: transparent;
  border: 1px solid rgba(234, 233, 224, .25);
  border-radius: 3px;
  color: rgba(234, 233, 224, .65);
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  padding: 5px 0;
  cursor: pointer;
}
.fx__reset:hover { color: var(--cream); border-color: rgba(234, 233, 224, .5); }

/* ============ RESPONSIVE ============ */

/* tablet / small laptop: hero title scales with vw, cards tighten */
@media (max-width: 1200px) {
  .card, .row__body { padding-right: 24px; }
  .hero { min-height: 0; }
  .statement, .pillars, .custody, .integrate, .faq, .waitlist { min-height: 0; }
}

/* ============ MOBILE (proposal: single column, same rhythm) ============ */

@media (max-width: 900px) {
  :root {
    --pad: 20px;
    --fs-h1: clamp(40px, 12vw, 64px);
    --fs-h2: clamp(34px, 9.6vw, 48px);
    --fs-num: 56px;
    --fs-statement: clamp(24px, 7vw, 36px);
    --fs-lede: 20px;
    --fs-card: 24px;
    --fs-body: 16px;
    --fs-link: 16px;
  }

  /* header: logo + Contact; the section links live in the page flow */
  .hero { padding-bottom: 0; }
  .hero__bar { grid-template-columns: auto 1fr; padding: 20px 0; }
  .hero__links { justify-content: flex-end; }
  .hero__links a:not([href="#waitlist"]) { display: none; }

  .hero__title { margin-top: 56px; line-height: 1.02; }
  .hero__l2 { margin-top: 4px; }

  .hero__grid {
    grid-template-columns: 1fr;
    row-gap: 40px;
    padding-top: 40px;
    margin-top: 0;
  }
  .hero__aside { max-width: 440px; padding-right: 0; gap: 24px; }
  .hero__lede { font-size: 16px; line-height: 1.5; }
  /* animation goes full bleed and a little taller than the desktop crop */
  .hero__fx {
    width: auto;
    margin: 0 calc(-1 * var(--pad));
    aspect-ratio: 4 / 3;
    background-image: url(../assets/hero-poster-m.png);
  }

  .statement { gap: 56px; padding-bottom: 40px; }
  /* partners: 2x2 ruled grid */
  .logos { grid-template-columns: 1fr 1fr; row-gap: 24px; min-height: 0; }
  .logos li { padding: 12px 12px 16px; gap: 28px; }
  .logos__role { font-size: 10px; }

  .pillars { gap: 48px; padding-bottom: 48px; }
  .rows { gap: 40px; }
  /* number on top, text below */
  .row { grid-template-columns: 1fr; row-gap: 16px; padding: 16px 0 0; }
  .row__body { padding-right: 0; gap: 12px; }

  .custody { gap: 48px; padding-bottom: 56px; }
  .cards { grid-template-columns: 1fr; gap: 40px; }
  .card { padding-right: 0; gap: 12px; }
  .custody .cards { gap: 32px; }
  .custody .card { min-height: 0; padding: 4px 0 4px 20px; gap: 24px; }
  .card__text { padding-right: 0; gap: 12px; }
  .custody .card__text p { font-size: var(--fs-body); }
  .card__foot { gap: 14px; }
  .card__foot--finra img { width: 88px; }

  .cta { min-height: 460px; }
  .cta::before { height: 120px; }
  .cta__content { gap: 28px; }

  .integrate { gap: 40px; padding-bottom: 56px; }
  .integrate__head { grid-template-columns: 1fr; row-gap: 20px; }
  .integrate__row { grid-template-columns: 1fr; row-gap: 32px; }
  .card--ruled { min-height: 0; padding: 4px 0 4px 20px; }
  .available__list { grid-template-columns: 1fr; gap: 24px; }

  .faq { grid-template-columns: 1fr; row-gap: 32px; padding: 40px var(--pad) 48px; }
  .faq__item { padding: 20px 0; }
  .faq__icon { width: 32px; height: 32px; }
  .faq__icon::before { width: 18px; }
  .faq__icon::after { height: 18px; }
  .faq__answer-inner { padding: 12px 0 8px; }

  /* contact: copy on top, then clouds full bleed behind the form panel */
  .waitlist { grid-template-columns: 1fr; padding: 0; }
  .waitlist__head { padding: 36px var(--pad) 40px; gap: 20px; }
  /* clouds show as a band above the form and a frame around it */
  .waitlist__side { padding: 160px var(--pad) 48px; }
  .waitlist__form { width: 100%; max-width: 490px; padding: 4px 20px 24px; }
  .field { height: 72px; }
  .field__label { left: 12px; }
  .field__input { padding: 22px 12px 0; }
  .field__error { right: 12px; }

  .footer { grid-template-columns: 1fr 1fr; row-gap: 32px; padding: 32px var(--pad); line-height: 1.5; }
  .footer__legal { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 380px) {
  .logos__role { font-size: 9px; letter-spacing: 0; }
}
