/* Index — billboard + tools + steps + why + faq + cta */
.gj-frameIsHome {
  background: var(--gj-bright);
}

.gj-firstScreen {
  display: flex;
  flex-direction: column;
  max-height: 100dvh;
  max-height: 100vh;
  overflow: hidden;
  position: relative;
  background: var(--gj-bright);
}

.gj-firstScreen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/photos/hero-bg.png") center top / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}

.gj-ridgeIsBright,
.gj-billboard {
  position: relative;
  z-index: 1;
}

.gj-billboard {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(24px, 4vh, 64px) 24px clamp(32px, 5vh, 80px);
  min-height: 0;
}

.gj-billboardBg {
  display: none;
}

.gj-billboardInner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 2.5vh, 28px);
}

.gj-billboardTitle {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5.2vw, 73.6px);
  line-height: 1.04;
  color: var(--gj-dark);
  letter-spacing: -0.02em;
}

.gj-billboardSub {
  margin: 0;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 600;
  font-size: clamp(16px, 1.8vw, 24px);
  line-height: 1.45;
  color: var(--gj-text);
  max-width: 720px;
}

.gj-trustRow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.gj-trustItem {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 600;
  color: var(--gj-dark);
}

.gj-trustIcon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.gj-microLegal {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  color: var(--gj-muted);
}

.gj-microLegal a {
  text-decoration: underline;
  color: var(--gj-muted);
}

.gj-microLegal a:hover {
  color: var(--gj-main);
}

/* Tools */
.gj-kitBand {
  padding: clamp(64px, 8vw, 120px) 0;
  background: var(--gj-bright);
}

.gj-bandHead {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.gj-bandTitle {
  margin: 0 0 12px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.1;
  color: var(--gj-dark);
}

.gj-bandSub {
  margin: 0;
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--gj-text);
}

.gj-kitGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gj-kitCard {
  background: var(--gj-white);
  border: 1px solid rgba(35, 40, 56, 0.06);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 28px -18px rgba(35, 40, 56, 0.28);
}

.gj-kitArt {
  background: var(--gj-brightMain);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 24px;
  min-height: 160px;
}

.gj-kitArt img {
  max-height: 100px;
  width: auto;
}

.gj-kitBody {
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.gj-kitTitle {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 21px;
  line-height: 1.3;
  color: var(--gj-dark);
}

.gj-kitCopy {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--gj-text);
}

.gj-kitChips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.gj-kitChip {
  padding: 6px 12px;
  border-radius: var(--gj-radPill);
  background: var(--gj-bright);
  border: 1px solid var(--gj-tone);
  font-size: 13px;
  color: var(--gj-text);
}

/* Steps — numbered markers above plain step copy (light cards, soft chrome) */
.gj-pathBand {
  padding: clamp(64px, 8vw, 120px) 0;
  background: var(--gj-bright);
}

.gj-pathGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.gj-pathCard {
  background: var(--gj-white);
  border: none;
  border-radius: 16px;
  padding: 32px 22px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 32px -20px rgba(35, 40, 56, 0.35);
}

.gj-pathNum {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gj-main);
  color: var(--gj-white);
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gj-pathTitle {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 21px;
  color: var(--gj-dark);
}

.gj-pathCopy {
  margin: 0;
  font-size: 16px;
  color: var(--gj-text);
  line-height: 1.5;
}

/* Why */
.gj-whyBand {
  padding: clamp(64px, 8vw, 120px) 0;
  background: var(--gj-dark);
  color: var(--gj-white);
}

.gj-whyBand .gj-bandTitle {
  color: var(--gj-white);
}

.gj-whyBand .gj-bandSub {
  color: var(--gj-muted);
}

.gj-whyGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.gj-whyCard {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
}

.gj-whyIconWrap {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(255, 77, 42, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gj-whyIconWrap img {
  width: 24px;
  height: 24px;
}

.gj-whyTitle {
  margin: 0 0 8px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 21px;
  color: var(--gj-white);
}

.gj-whyCopy {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--gj-muted);
}

/* FAQ index — soft white rows, orange + (no filled circle chrome) */
.gj-askBand {
  padding: clamp(64px, 8vw, 120px) 0;
  background: var(--gj-bright);
}

.gj-askList {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.gj-askItem {
  background: var(--gj-white);
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 22px -14px rgba(35, 40, 56, 0.28);
}

.gj-askTrigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px;
  text-align: left;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--gj-dark);
}

.gj-askPlus {
  flex-shrink: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: var(--gj-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  font-weight: 400;
}

.gj-askTrigger[aria-expanded="true"] .gj-askPlus {
  font-size: 0;
}

.gj-askTrigger[aria-expanded="true"] .gj-askPlus::after {
  content: "\00d7";
  font-size: 28px;
  line-height: 1;
}

.gj-askPanel {
  padding: 0 26px 20px;
  font-size: 16px;
  color: var(--gj-text);
  line-height: 1.55;
}

.gj-askPanel[hidden] {
  display: none;
}

/* Final CTA */
.gj-finaleBand {
  padding: clamp(64px, 8vw, 100px) 24px;
  text-align: center;
  background: var(--gj-bright);
}

.gj-finaleTitle {
  margin: 0 0 32px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 42px);
  color: var(--gj-dark);
}

/* First screen on desktop/laptop: header + billboard = exactly one viewport,
   every size scales by one factor relative to a 1440×900 layout */
@media (min-width: 768px) and (orientation: landscape) {
  .gj-frameIsHome {
    --u: min(calc(100vw / 1440), calc(100vh / 900));
  }

  @supports (height: 100dvh) {
    .gj-frameIsHome {
      --u: min(calc(100vw / 1440), calc(100dvh / 900));
    }
  }

  .gj-firstScreen {
    height: 100vh;
    height: 100dvh;
    max-height: none;
  }

  .gj-frameIsHome .gj-ridgeInner {
    max-width: calc(1200 * var(--u));
    padding: calc(16 * var(--u)) calc(32 * var(--u));
  }

  .gj-frameIsHome .gj-logoMark {
    width: calc(146 * var(--u));
  }

  .gj-frameIsHome .gj-ridgeOutline {
    padding: calc(10 * var(--u)) calc(28 * var(--u));
    border-width: calc(1.25 * var(--u));
    font-size: calc(19 * var(--u));
  }

  .gj-billboard {
    padding: calc(40 * var(--u)) calc(24 * var(--u)) calc(56 * var(--u));
  }

  .gj-billboardInner {
    max-width: calc(900 * var(--u));
    gap: calc(28 * var(--u));
  }

  .gj-billboardTitle {
    font-size: calc(73.6 * var(--u));
  }

  .gj-billboardSub {
    font-size: calc(24 * var(--u));
    max-width: calc(720 * var(--u));
  }

  .gj-billboard .gj-ctaFillLg {
    gap: calc(12 * var(--u));
    font-size: calc(38 * var(--u));
    padding: calc(22 * var(--u)) calc(48 * var(--u));
    box-shadow: 0 calc(15.75 * var(--u)) calc(42.75 * var(--u)) calc(-13.5 * var(--u)) rgba(255, 77, 42, 0.5);
  }

  .gj-trustRow {
    gap: calc(28 * var(--u));
  }

  .gj-trustItem {
    gap: calc(8 * var(--u));
    font-size: calc(16 * var(--u));
  }

  .gj-trustIcon {
    width: calc(18 * var(--u));
    height: calc(18 * var(--u));
  }

  .gj-microLegal {
    font-size: calc(12 * var(--u));
  }
}

/* Download indicator — Figma EN Indicator 10309:2498 */
.gj-bbnset {
  --gj-ind-scale: min(1, (100vw - 24px) / 580px);
  position: absolute;
  top: 12px;
  left: 50%;
  width: 580px;
  height: 145px;
  transform: translateX(-50%) scale(var(--gj-ind-scale));
  transform-origin: top center;
  cursor: pointer;
  animation: gj-bbnsetSway 1.1s ease-in-out infinite;
}

@keyframes gj-bbnsetSway {
  0%,
  100% {
    transform: translateX(calc(-50% - 22px)) scale(var(--gj-ind-scale));
  }

  50% {
    transform: translateX(calc(-50% + 22px)) scale(var(--gj-ind-scale));
  }
}

@media (prefers-reduced-motion: reduce) {
  .gj-bbnset {
    animation: none;
  }
}

.gj-bbnsetShape,
.gj-bbnsetFill {
  position: absolute;
  display: block;
  max-width: none;
}

.gj-bbnsetShape {
  left: 0;
  top: 1.15px;
}

.gj-bbnsetFill {
  left: -0.8px;
  top: 0.814px;
}

.gj-bbnsetCopy {
  position: absolute;
  left: 29.5px;
  top: calc(50% - 1.5px);
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  z-index: 1;
}

.gj-bbnsetTitle {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 42px;
  line-height: normal;
  letter-spacing: -1.26px;
  color: var(--gj-main);
  font-variation-settings: "opsz" 14, "wdth" 100;
  white-space: nowrap;
}

.gj-bbnsetNote {
  margin: 0;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: normal;
  color: var(--gj-text);
  font-variation-settings: "wdth" 100;
  white-space: nowrap;
}

.gj-bbnsetRetry {
  color: inherit;
  text-decoration: underline;
  text-underline-position: from-font;
  text-decoration-thickness: from-font;
}

@media (max-width: 960px) {
  .gj-kitGrid,
  .gj-pathGrid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .gj-whyGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .gj-firstScreen {
    max-height: none;
    overflow: visible;
  }

  .gj-askTrigger {
    font-size: 16px;
    padding: 18px 20px;
  }
}
