/* Home 1b redesign — header from design, body from Home 1b, live footer chrome */

:root {
  --green-500: #54f9a1;
  --ink-800: #343740;
  --ink-600: #595e6e;
  --ink-500: #6b7285;
  --ink-400: #798197;
  --ink-300: #bdc1cb;
  --ink-200: #dedfe2;
  --ink-100: #eff0f2;
  --white: #fff;
  --font-display: 'Public Sans', system-ui, sans-serif;
  --font-ui: 'Geist', 'Public Sans', system-ui, sans-serif;
  --font-fine: 'Public Sans', system-ui, sans-serif;
  --max-width: 1440px;
  --header-height: 72px;

  --h1b-ink: #343740;
  --h1b-muted: #5b5751;
  --h1b-muted-2: #6b655e;
  --h1b-accent: #a2ffc8;
  --h1b-accent-ink: #20321f;
  --h1b-navy: #323b70;
  --h1b-band: #c9dbf1;
  --h1b-platform: #eaebf0;
  --h1b-soft: #f2f2f2;
  --h1b-line: #e2ded7;
  --h1b-font: 'Montserrat', 'Public Sans', system-ui, sans-serif;
  --h1b-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --h1b-max: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--white);
  color: var(--ink-800);
  font-family: var(--h1b-font);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: clip;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  color: inherit;
}

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

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

/* —— Phosphor thin (subset) —— */
@font-face {
  font-family: 'Phosphor-Thin';
  src: url('/assets/home-1b/phosphor-thin.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.ph-thin {
  font-family: 'Phosphor-Thin' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}

.ph-thin.ph-globe-hemisphere-west::before {
  content: '\e28c';
}
.ph-thin.ph-shield-check::before {
  content: '\e40c';
}
.ph-thin.ph-squares-four::before {
  content: '\e464';
}
.ph-thin.ph-cube::before {
  content: '\e1da';
}
.ph-thin.ph-target::before {
  content: '\e47c';
}
.ph-thin.ph-seal-check::before {
  content: '\e606';
}
.ph-thin.ph-plugs::before {
  content: '\eb56';
}
.ph-thin.ph-clock-countdown::before {
  content: '\ed2c';
}
.ph-thin.ph-scales::before {
  content: '\e750';
}
.ph-thin.ph-caret-down::before {
  content: '\e136';
}
.ph-thin.ph-rocket-launch::before {
  content: '\e3fe';
}
.ph-thin.ph-stack::before {
  content: '\e466';
}
.ph-thin.ph-path::before {
  content: '\e39c';
}
.ph-thin.ph-check::before {
  content: '\e182';
}
.ph-thin.ph-buildings::before {
  content: '\e102';
}
.ph-thin.ph-graph::before {
  content: '\eb58';
}
.ph-thin.ph-palette::before {
  content: '\e6c8';
}
.ph-thin.ph-device-mobile::before {
  content: '\e1e0';
}
.ph-thin.ph-broadcast::before {
  content: '\e0f2';
}
.ph-thin.ph-drop-half::before {
  content: '\e566';
}
.ph-thin.ph-scissors::before {
  content: '\eae0';
}
.ph-thin.ph-trend-up::before {
  content: '\e4ae';
}
.ph-thin.ph-hand-coins::before {
  content: '\ea8c';
}
.ph-thin.ph-sign-out::before {
  content: '\e42a';
}
.ph-thin.ph-sliders-horizontal::before {
  content: '\e434';
}
.ph-thin.ph-arrows-left-right::before {
  content: '\e0a0';
}
.ph-thin.ph-book-open-text::before {
  content: '\e8f2';
}
.ph-thin.ph-chats-circle::before {
  content: '\e17e';
}
.ph-thin.ph-stairs::before {
  content: '\e8ec';
}
.ph-thin.ph-steps::before {
  content: '\ecbe';
}
.ph-thin.ph-graduation-cap::before {
  content: '\e62c';
}
.ph-thin.ph-flask::before {
  content: '\e79e';
}
.ph-thin.ph-user::before {
  content: '\e4c2';
}
.ph-thin.ph-fingerprint::before {
  content: '\e23e';
}
.ph-thin.ph-map-pin-area::before {
  content: '\ee3a';
}
.ph-thin.ph-warning-circle::before {
  content: '\e4e2';
}

/* Header chrome: assets/h1b-header.css (linked separately) */

/* —— Page body —— */
.home-1b__inner {
  width: min(100% - 48px, var(--h1b-max));
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .home-1b__inner {
    width: min(100% - 160px, var(--h1b-max));
  }
}

.h1b-hero {
  position: relative;
  /* Leave room so the trust/logo band sits above the fold */
  min-height: calc(100svh - var(--header-height) - 88px);
  max-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: var(--h1b-ink);
}

.h1b-hero__bg {
  position: absolute;
  inset: 0;
  background: url('/assets/home-1b/hero.webp') 38% 55% / cover no-repeat;
  filter: grayscale(1) contrast(1.04);
}

@media (max-width: 767px) {
  .h1b-hero__bg {
    background-position: 22% 55%;
  }
}

.h1b-hero__shade,
.h1b-hero__shade-2 {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.h1b-hero__shade {
  background: linear-gradient(
    180deg,
    rgba(52, 55, 64, 0.66) 0%,
    rgba(52, 55, 64, 0.8) 55%,
    rgba(52, 55, 64, 0.94) 100%
  );
  mix-blend-mode: multiply;
}

.h1b-hero__shade-2 {
  background: linear-gradient(
    180deg,
    rgba(52, 55, 64, 0.2) 0%,
    rgba(52, 55, 64, 0.45) 100%
  );
}

.h1b-hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, 720px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 56px 0 48px;
}

.h1b-hero__title {
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.06;
  text-wrap: balance;
}

.h1b-hero__lede {
  font-weight: 400;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.5;
  color: #e8eaee;
  max-width: 34rem;
}

.h1b-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}

.h1b-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 8px;
  font-family: var(--h1b-font);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.2;
  transition: opacity 0.15s ease;
}

.h1b-btn:hover {
  opacity: 0.92;
}

.h1b-btn--primary {
  background: var(--h1b-accent);
  color: var(--h1b-accent-ink);
}

.h1b-btn--ink {
  background: var(--h1b-ink);
  color: #fff;
}

.h1b-btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  background: transparent;
}

.h1b-btn--light {
  background: #fff;
  color: var(--h1b-ink);
}

.h1b-trust {
  background: var(--h1b-band);
  padding: 48px 0;
}

.h1b-trust__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px 48px;
}

.h1b-trust__label {
  flex: 0 0 12rem;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--h1b-navy);
}

.h1b-trust__logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  flex: 1 1 320px;
  gap: 32px 44px;
  align-items: center;
  min-width: 0;
}

.h1b-trust__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  min-width: 0;
}

.h1b-trust__logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 56px;
  object-fit: contain;
  opacity: 0.92;
}

.h1b-proof__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem clamp(2.75rem, 6.5vw, 5.5rem);
  text-align: center;
}

@media (min-width: 901px) {
  .h1b-proof__grid {
    margin-left: 0;
    width: 100%;
    justify-content: center;
    gap: clamp(2.5rem, 8vw, 6rem);
  }
}

.h1b-proof__stat {
  flex: 0 1 11.5rem;
  min-width: 8.5rem;
}

.h1b-proof__value {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: clamp(1.625rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--h1b-navy);
}

.h1b-proof__rule {
  display: block;
  width: 28px;
  height: 2px;
  margin: 0 auto 8px;
  background: #5f8fd4;
  border-radius: 1px;
}

.h1b-proof__label {
  margin: 0 auto;
  max-width: 11rem;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--h1b-muted);
}

.h1b-trust__ph {
  flex: 1;
  height: 18px;
  border-radius: 4px;
  background: rgba(50, 59, 112, 0.17);
  min-width: 48px;
}

.h1b-section {
  padding: 88px 0;
}

/* Match logo-band height (override .h1b-section padding) */
.h1b-section.h1b-proof,
.h1b-proof {
  /* Trial mint — swap background if it feels off */
  background: #dafde5;
  padding: 48px 0;
  border-top: 1px solid rgba(32, 50, 31, 0.06);
}

.h1b-section--platform {
  background: var(--h1b-platform);
}

.h1b-section--dark {
  background: var(--h1b-ink);
  color: #fff;
}

.h1b-section--soft {
  background: var(--h1b-soft);
}

.h1b-kicker {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--h1b-muted);
  margin-bottom: 10px;
}

.h1b-section--dark .h1b-kicker {
  color: var(--h1b-accent);
}

.h1b-title {
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.12;
  margin-bottom: 14px;
}

.h1b-lede {
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--h1b-muted);
  max-width: 38rem;
}

.h1b-section--dark .h1b-lede {
  color: #c2c6cf;
}

.h1b-head {
  text-align: center;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.h1b-platform-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 768px) {
  .h1b-platform-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

.h1b-platform-card {
  text-align: center;
}

.h1b-platform-card .ph-thin {
  font-size: 2rem;
  color: var(--h1b-navy);
  display: block;
  margin: 0 auto 14px;
  line-height: 1;
}

.h1b-platform-card h3 {
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.25;
  margin-bottom: 8px;
}

.h1b-platform-card p {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--h1b-muted-2);
}

.h1b-pf-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  justify-content: center;
  margin-bottom: 36px;
}

.h1b-pf-tab {
  background: none;
  border: 0;
  padding: 0 0 6px;
  cursor: pointer;
  font-family: var(--h1b-font);
  font-size: 0.9375rem;
  font-weight: 400;
  color: #8f8a83;
}

.h1b-pf-tab.is-active {
  font-weight: 600;
  color: var(--h1b-accent);
}

.h1b-pf-tab__bar {
  display: block;
  height: 2px;
  margin-top: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 1px;
  overflow: hidden;
  width: 100%;
  min-width: 88px;
}

.h1b-pf-tab__fill {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--h1b-accent);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.h1b-pf-tab.is-active .h1b-pf-tab__fill.is-running {
  animation: h1b-pf-line 10s linear forwards;
}

.h1b-pf-tab.is-active .h1b-pf-tab__fill.is-complete {
  transform: scaleX(1);
  animation: none;
}

.h1b-pf.is-paused .h1b-pf-tab__fill.is-running {
  animation-play-state: paused;
}

@keyframes h1b-pf-line {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 699px) {
  .h1b-pf-tabs {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    margin-bottom: 16px;
  }

  .h1b-pf-tab {
    text-align: left;
    padding: 12px 14px;
    border: 1px solid #4b4f5d;
    border-radius: 6px;
    color: #8f8a83;
    font-size: 0.9375rem;
  }

  .h1b-pf-tab.is-active {
    border-color: var(--h1b-accent);
    color: var(--h1b-accent);
  }

  .h1b-pf-tab__bar {
    display: none;
  }
}

/* —— Home 1b mobile (≈390px column in design doc) —— */
@media (max-width: 767px) {
  .h1b-section {
    padding: 56px 0;
  }

  .h1b-head {
    margin-bottom: 28px;
    text-align: left;
    align-items: flex-start;
  }

  .h1b-title {
    font-size: 1.5rem;
  }

  .h1b-hero {
    min-height: auto;
    max-height: none;
  }

  .h1b-hero__content {
    width: min(100% - 36px, 720px);
    padding: 64px 0 56px;
    gap: 16px;
  }

  .h1b-hero__title {
    font-size: 2rem;
  }

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

  .h1b-hero__actions .h1b-btn--primary {
    width: 100%;
  }

  .h1b-hero__actions .h1b-btn--ghost {
    display: inline-flex;
    width: 100%;
    justify-content: center;
  }

  .h1b-trust {
    padding: 40px 0;
  }

  .h1b-trust__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .h1b-trust__label {
    flex: none;
    max-width: none;
  }

  .h1b-trust__logos {
    flex: none;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 32px;
  }

  .h1b-trust__logo {
    height: 64px;
  }

  .h1b-trust__logo img {
    max-height: 48px;
  }

  .h1b-trust {
    padding: 40px 0;
  }

  .h1b-section.h1b-proof,
  .h1b-proof {
    padding: 40px 0;
  }

  .h1b-proof__grid {
    flex-direction: column;
    align-items: center;
    gap: 28px;
    margin-left: 0;
    width: 100%;
  }

  .h1b-proof__stat {
    flex: none;
    width: 100%;
    max-width: 16rem;
  }

  /* Platform: keep card + section body copy on mobile (traffic is mostly mobile) */
  .h1b-section--platform .h1b-lede {
    display: block;
  }

  .h1b-platform-grid {
    gap: 20px;
  }

  .h1b-platform-card {
    text-align: left;
  }

  .h1b-platform-card .ph-thin {
    margin: 0 0 10px;
  }

  .h1b-platform-card p {
    display: block;
  }

  /* Protocol Finance: stacked tabs; show lede + panel body */
  .h1b-pf .h1b-lede {
    display: block;
  }

  .h1b-pf-panel {
    min-height: 0;
  }

  .h1b-pf-shot {
    min-height: 160px;
  }

  .h1b-pf-shot--photo {
    min-height: 180px;
  }

  .h1b-pf-copy {
    padding: 14px 16px;
  }

  .h1b-pf-copy__eyebrow {
    display: block;
    margin-bottom: 6px;
  }

  .h1b-pf-copy__body {
    display: block;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-top: 8px;
  }

  .h1b-pf-copy__title {
    margin-bottom: 0;
    font-size: 1.0625rem;
  }

  /* Start Here: number left of label, no connector rules; keep body copy */
  .h1b-sh .h1b-lede {
    display: block;
  }

  .h1b-steps {
    gap: 14px;
    margin-bottom: 20px;
  }

  .h1b-step {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    opacity: 1;
  }

  .h1b-step:not(.is-active) {
    opacity: 0.55;
  }

  .h1b-step__top {
    margin-bottom: 0;
  }

  .h1b-step__rule {
    display: none;
  }

  .h1b-step__label {
    padding-top: 4px;
  }

  .h1b-sh-shot {
    min-height: 88px;
  }

  .h1b-sh-shot.has-image {
    min-height: 0;
  }

  .h1b-sh-copy__eyebrow {
    display: block;
  }

  .h1b-sh-copy__body {
    display: block;
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .h1b-sh-copy__title {
    margin-bottom: 8px;
  }

  /* Outcomes: T+0 full width, then 24/7 | −23%; hide media placeholders */
  .h1b-outcomes__intro {
    margin-bottom: 20px;
  }

  .h1b-outcomes__intro p {
    display: block;
  }

  .h1b-bento {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .h1b-bento__tile--tall {
    grid-column: 1 / -1;
  }

  .h1b-bento__tile--media {
    display: none;
  }

  .h1b-bento__tile {
    min-height: 96px;
    padding: 18px 14px;
  }

  /* CTA: centered overlay like Home 1b mobile */
  .h1b-cta {
    background-position: 50% 24%;
    text-align: center;
  }

  .h1b-cta__shade {
    background: linear-gradient(
      180deg,
      rgba(52, 55, 64, 0.42) 0%,
      rgba(52, 55, 64, 0.86) 50%,
      rgba(52, 55, 64, 0.97) 100%
    );
  }

  .h1b-cta__shade-2 {
    background: linear-gradient(
      180deg,
      rgba(52, 55, 64, 0.15) 0%,
      rgba(52, 55, 64, 0.5) 60%,
      rgba(52, 55, 64, 0.7) 100%
    );
  }

  .h1b-cta__inner {
    max-width: none;
    padding: 72px 0 40px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

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

  .h1b-cta__title-line {
    white-space: normal;
  }

  .h1b-cta__lede {
    display: block;
  }

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

  .h1b-cta__actions .h1b-btn--primary {
    width: 100%;
  }

  .h1b-cta__actions .h1b-btn--ghost {
    display: inline-flex;
    width: 100%;
    justify-content: center;
  }

  .h1b-cta__note {
    left: 18px;
    right: 18px;
  }

  /* FAQ: accordion rows with +; keep section lede visible */
  .h1b-faq .h1b-lede {
    display: block;
  }

  .h1b-faq-grid {
    gap: 0;
    margin-top: 8px;
  }

  .h1b-faq-item {
    text-align: left;
    border-bottom: 1px solid var(--h1b-line);
  }

  .h1b-faq-item__q {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    text-align: left;
    cursor: pointer;
  }

  .h1b-faq-item__q .ph-thin {
    display: none;
  }

  .h1b-faq-item__q h3 {
    margin: 0;
    flex: 1;
    font-weight: 500;
    font-size: 0.9375rem;
  }

  .h1b-faq-item__toggle {
    display: block;
    color: #a8a29a;
    font-size: 1.125rem;
    line-height: 1;
    flex: none;
  }

  .h1b-faq-item.is-open .h1b-faq-item__toggle {
    transform: rotate(45deg);
  }

  .h1b-faq-item__a {
    display: none;
    padding: 8px 0 14px;
  }

  .h1b-faq-item.is-open .h1b-faq-item__a {
    display: block;
  }

  .h1b-faq-item__a p {
    max-width: none;
    margin: 0;
    text-align: left;
  }

  .h1b-faq-more {
    margin-top: 28px;
  }
}

.h1b-pf-stage {
  position: relative;
}

.h1b-pf-panel {
  display: flex;
  flex-direction: column;
  border: 1px solid #4b4f5d;
  border-radius: 10px;
  overflow: hidden;
  min-height: 180px;
  touch-action: pan-y;
  cursor: default;
  transition: opacity 0.52s ease;
  user-select: none;
  opacity: 1;
}

.h1b-pf-panel.is-entering {
  opacity: 0;
}

.h1b-pf-panel--ghost {
  position: absolute;
  z-index: 2;
  margin: 0;
  pointer-events: none;
  transition: opacity 0.52s ease;
  opacity: 1;
}

.h1b-pf-panel--ghost.is-leaving {
  opacity: 0;
}

@media (min-width: 768px) {
  .h1b-pf-panel {
    flex-direction: row;
  }
}

.h1b-pf-shot {
  position: relative;
  flex: none;
  width: 100%;
  min-height: 200px;
  overflow: hidden;
  background: #2c303c;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  font-family: var(--h1b-mono);
  font-size: 0.75rem;
  color: #9096a3;
}

.h1b-pf-shot:not(.h1b-pf-shot--photo) {
  background: repeating-linear-gradient(45deg, #3e424e 0 8px, #353945 8px 16px);
}

.h1b-pf-shot--photo {
  padding: 0;
  color: transparent;
}

.h1b-pf-shot--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Calm toward slate without crushing the photo */
  filter: grayscale(12%) saturate(0.88) contrast(0.98) brightness(1.02);
  transform: scale(1.02);
}

.h1b-pf-shot--photo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      155deg,
      rgba(48, 54, 70, 0.12) 0%,
      rgba(40, 44, 58, 0.28) 55%,
      rgba(34, 38, 50, 0.36) 100%
    ),
    rgba(55, 62, 78, 0.18);
}

@media (min-width: 768px) {
  .h1b-pf-shot {
    width: 280px;
    min-height: 240px;
    align-self: stretch;
  }
}

.h1b-pf-copy {
  flex: 1;
  padding: 24px 28px;
}

.h1b-pf-copy__eyebrow {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--h1b-accent);
  margin-bottom: 8px;
}

.h1b-pf-copy__title {
  font-weight: 600;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.2;
  margin-bottom: 12px;
}

.h1b-pf-copy__body {
  font-size: 1rem;
  line-height: 1.55;
  color: #c2c6cf;
}

.h1b-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .h1b-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

.h1b-step {
  cursor: pointer;
  text-align: left;
  opacity: 0.5;
  transition: opacity 0.15s ease;
  width: 100%;
}

.h1b-step.is-active {
  opacity: 1;
}

.h1b-step__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.h1b-step__num {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  border: 1.5px solid #c9c5be;
  color: var(--h1b-muted);
}

.h1b-step.is-active .h1b-step__num {
  background: var(--h1b-ink);
  border-color: var(--h1b-ink);
  color: #fff;
}

.h1b-step__rule {
  flex: 1;
  height: 2px;
  background: #dcd8d1;
}

.h1b-step.is-active .h1b-step__rule {
  background: var(--h1b-ink);
}

.h1b-step__label {
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.35;
  color: #6b655e;
}

.h1b-step.is-active .h1b-step__label {
  font-weight: 600;
  color: var(--h1b-ink);
}

.h1b-sh-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 768px) {
  .h1b-sh-detail {
    grid-template-columns: 1fr 1.15fr;
    gap: 36px;
  }
}

.h1b-sh-shot {
  min-height: 180px;
  border-radius: 10px;
  background: repeating-linear-gradient(45deg, #e6e7ea 0 8px, #dadce1 8px 16px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  font-family: var(--h1b-mono);
  font-size: 0.75rem;
  color: #8c867e;
  overflow: hidden;
  position: relative;
}

/* Floating screenshots: no grey plate; keep PNG shadow uncropped */
.h1b-sh-shot.has-image {
  background: transparent;
  padding: 0;
  color: transparent;
  overflow: visible;
  border-radius: 0;
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.h1b-sh-shot.has-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

@media (min-width: 768px) {
  .h1b-sh-shot {
    min-height: 340px;
  }

  .h1b-sh-shot.has-image {
    min-height: 0;
    aspect-ratio: 16 / 10;
    min-height: 420px;
  }
}

@media (min-width: 1100px) {
  .h1b-sh-shot.has-image {
    min-height: 510px;
  }
}

.h1b-sh-copy__eyebrow {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--h1b-muted);
  margin-bottom: 10px;
}

.h1b-sh-copy__title {
  font-weight: 600;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.2;
  margin-bottom: 12px;
}

.h1b-sh-copy__body {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--h1b-muted);
}

.h1b-outcomes__intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 36px;
}

@media (min-width: 768px) {
  .h1b-outcomes__intro {
    grid-template-columns: 1fr 1.25fr;
    gap: 40px;
    align-items: end;
  }
}

.h1b-outcomes__intro h2 {
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.15;
}

.h1b-outcomes__intro p {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--h1b-muted);
}

.h1b-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (min-width: 900px) {
  .h1b-bento {
    grid-template-columns: 1.1fr 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .h1b-bento__tile--tall {
    grid-row: span 2;
  }
}

.h1b-bento__tile {
  background: #fff;
  border-radius: 10px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 120px;
}

.h1b-bento__tile--media {
  background: repeating-linear-gradient(45deg, #e6e7ea 0 8px, #dadce1 8px 16px);
  color: #8c867e;
  font-family: var(--h1b-mono);
  font-size: 0.75rem;
  min-height: 100px;
}

.h1b-bento__value {
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  margin-bottom: 8px;
}

.h1b-bento__label {
  font-weight: 600;
  font-size: 0.9375rem;
}

.h1b-cta {
  position: relative;
  overflow: hidden;
  background: var(--h1b-ink) url('/assets/home-1b/portrait.webp?v=2') 72% 28% /
    cover no-repeat;
  color: #fff;
}

.h1b-cta__shade,
.h1b-cta__shade-2 {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.h1b-cta__shade {
  background: linear-gradient(
    90deg,
    rgba(52, 55, 64, 0.97) 0%,
    rgba(52, 55, 64, 0.9) 40%,
    rgba(52, 55, 64, 0.42) 74%,
    rgba(52, 55, 64, 0.22) 100%
  );
  mix-blend-mode: multiply;
}

.h1b-cta__shade-2 {
  background: linear-gradient(
    90deg,
    rgba(52, 55, 64, 0.55) 0%,
    rgba(52, 55, 64, 0.25) 46%,
    rgba(52, 55, 64, 0) 78%
  );
}

.h1b-cta__inner {
  position: relative;
  z-index: 1;
  padding: 96px 0;
  max-width: 44rem;
}

.h1b-cta__title {
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin-bottom: 14px;
}

.h1b-cta__title-line {
  display: block;
}

@media (min-width: 640px) {
  .h1b-cta__title-line {
    white-space: nowrap;
  }
}

.h1b-cta__lede {
  font-size: 1.0625rem;
  line-height: 1.5;
  color: #dee0e5;
  margin-bottom: 24px;
}

.h1b-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.h1b-cta__note {
  position: absolute;
  bottom: 12px;
  left: max(24px, calc((100% - var(--h1b-max)) / 2));
  z-index: 1;
  font-family: var(--h1b-mono);
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.72);
}

.h1b-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 40px;
}

@media (min-width: 700px) {
  .h1b-faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .h1b-faq-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
  }
}

.h1b-faq-item {
  text-align: center;
}

.h1b-faq-item__q {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 0;
  text-align: center;
  cursor: default;
}

.h1b-faq-item__q .ph-thin {
  font-size: 1.75rem;
  color: var(--h1b-navy);
  display: block;
  margin: 0 auto 12px;
  line-height: 1;
}

.h1b-faq-item__q h3 {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .h1b-faq-item__a {
    margin-top: 0;
    padding-top: 16px;
  }
}

.h1b-faq-item__toggle {
  display: none;
}

.h1b-faq-item__a p {
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--h1b-muted);
  max-width: 22rem;
  margin: 0 auto;
}

.h1b-faq-more {
  text-align: center;
  margin-top: 48px;
}

.h1b-faq-more h3 {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.h1b-faq-more p {
  font-size: 0.9375rem;
  color: var(--h1b-muted);
  margin-bottom: 16px;
}

/* —— Live footer (kept) —— */
.site-footer {
  background: var(--ink-800);
  color: var(--ink-300);
  padding: 60px 24px;
  font-family: var(--font-display);
}

@media (min-width: 1024px) {
  .site-footer {
    padding: 60px 0;
  }
  .footer__inner {
    padding-left: 80px;
    padding-right: 80px;
  }
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr 280px;
    gap: 160px;
  }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer__brand-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__logo-link {
  display: inline-flex;
  flex-shrink: 0;
}

.footer__logo-wrap {
  width: 182px;
  height: 37px;
  overflow: hidden;
  position: relative;
  display: block;
  flex-shrink: 0;
}

.footer__logo-wrap .footer__logo {
  position: absolute;
  width: 125.82%;
  height: 216.68%;
  top: -62.4%;
  left: -12.64%;
  max-width: none;
}

.footer__copy {
  font-family: var(--font-fine);
  font-size: 14px;
  color: var(--ink-400);
}

.footer__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.footer__link {
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--ink-300);
}

.footer__link:hover {
  color: var(--white);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__contact-h {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
}

.footer__contact a {
  font-family: var(--font-ui);
  font-size: 16px;
  color: var(--ink-300);
}

.footer__contact a:hover {
  color: var(--white);
}

.footer__legal {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 14px;
  color: var(--ink-400);
  margin-top: 32px;
}

.footer__legal strong {
  font-weight: 400;
  color: var(--white);
}

/* —— UX review: homepage kickers off; mobile peek cards; shorter copy —— */
.h1b-home .h1b-kicker,
.h1b-home .h1b-pf-copy__eyebrow,
.h1b-home .h1b-sh-copy__eyebrow {
  display: none;
}

.h1b-peek {
  display: none;
}

.h1b-word {
  font-style: italic;
  background: linear-gradient(120deg, #a2ffc8 0%, #7ee0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nowrap {
  white-space: nowrap;
}

.h1b-cta__title-line {
  display: inline;
}

.h1b-cta__title-line + .h1b-cta__title-line::before {
  content: ' ';
}

@media (max-width: 767px) {
  .h1b-home .h1b-hero__lede {
    display: block;
    font-size: 0.9375rem;
  }

  .h1b-pf-tabs,
  .h1b-pf-panel,
  .h1b-pf-panel--ghost {
    display: none !important;
  }

  .h1b-pf .h1b-peek {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 4px;
    padding: 4px 0 12px;
    -webkit-overflow-scrolling: touch;
  }

  .h1b-peek__card {
    flex: 0 0 84%;
    scroll-snap-align: start;
    background: #2a2d35;
    border-radius: 12px;
    overflow: hidden;
  }

  .h1b-peek__card img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
  }

  .h1b-peek__card h3 {
    font-size: 1.0625rem;
    margin: 14px 16px 8px;
  }

  .h1b-peek__card p {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #c2c6cf;
    margin: 0 16px 18px;
  }

  .h1b-sh .h1b-steps {
    display: none;
  }

  .h1b-sh .h1b-sh-detail {
    display: none;
  }

  .h1b-sh .h1b-peek {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 0 12px;
    -webkit-overflow-scrolling: touch;
  }

  .h1b-sh .h1b-peek__card {
    background: #fff;
    border: 1px solid #e2ded7;
    color: var(--h1b-ink);
  }

  .h1b-sh .h1b-peek__card img {
    height: 200px;
    object-fit: contain;
    background: #f7f5f1;
  }

  .h1b-sh .h1b-peek__card p {
    color: var(--h1b-muted);
  }
}
