/* Live polish: copied from approved Preview 6 polish for root homepage promotion. */
.hero {
  min-height: auto;
  padding-top: clamp(90px, 10vh, 140px);
  padding-bottom: clamp(70px, 9vh, 120px);
}

.hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  max-width: min(1500px, calc(100vw - 96px));
}

.hero-copy {
  max-width: 920px;
}

.preview5-page h1,
.hero-copy h1,
.hero h1 {
  font-size: clamp(58px, 6.4vw, 116px) !important;
  line-height: .86;
  letter-spacing: -0.07em;
  max-width: min(980px, 92vw);
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

#snapshot .wrap,
#intro .wrap,
#workflow .wrap,
#modules .wrap,
#value .wrap,
#audience .wrap,
#early-access .wrap {
  max-width: min(1500px, calc(100vw - 96px));
}

.p5-display-title,
#snapshot h2,
#intro h2,
#workflow h2,
#modules h2,
#value h2,
#audience h2,
#early-access h2 {
  font-family: inherit;
  text-transform: uppercase;
  font-weight: 950;
  letter-spacing: -0.06em;
  line-height: .88;
  max-width: min(1220px, 94vw);
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
  background: linear-gradient(105deg,#fff,#8f9895 24%,#f7f7f4 48%,#68706e 78%,#fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 20px 55px rgba(0,0,0,.72));
}

#snapshot h2,
#intro h2,
#modules h2,
#audience h2,
#early-access h2 {
  font-size: clamp(44px, 5.25vw, 88px) !important;
}

#snapshot h2 {
  font-size: clamp(44px, 5vw, 82px) !important;
  max-width: min(1380px, 94vw);
}

#workflow h2 {
  font-size: clamp(46px, 5.4vw, 92px) !important;
  max-width: min(980px, 94vw);
}

#value h2 {
  width: fit-content;
  max-width: min(1120px, 94vw);
  font-size: clamp(48px, 5.8vw, 96px) !important;
}

#audience h2 {
  font-size: clamp(44px, 5.2vw, 86px) !important;
  max-width: min(1200px, 94vw);
}

#snapshot h2 .section-accent,
#intro h2 .section-accent,
#workflow h2 .section-accent,
#modules h2 .section-accent,
#value h2 .section-accent,
#audience h2 .section-accent,
#early-access h2 .section-accent,
.p5-display-title .hot {
  color: var(--orange);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  text-shadow: 0 0 30px rgba(255,138,18,.32),0 22px 60px rgba(0,0,0,.72);
  transition: color .25s ease,text-shadow .25s ease;
}

body[data-active-module] #snapshot h2 .section-accent,
body[data-active-module] #intro h2 .section-accent,
body[data-active-module] #workflow h2 .section-accent,
body[data-active-module] #modules h2 .section-accent,
body[data-active-module] #value h2 .section-accent,
body[data-active-module] #audience h2 .section-accent,
body[data-active-module] #early-access h2 .section-accent {
  color: rgb(var(--mode-rgb));
  text-shadow: 0 0 34px rgba(var(--mode-rgb),.42),0 22px 60px rgba(0,0,0,.72);
}

.section-head h2,
.copy-panel h2,
.cta-panel h2 {
  margin-bottom: 0;
  max-width: 100%;
}

.copy-panel,
.cta-panel,
.snapshot-panel,
.module-card,
.step,
.value,
.trust-item,
.proof-item,
.p5-icon-card {
  overflow: visible !important;
}

#snapshot .snapshot-grid {
  display: block;
  grid-template-columns: 1fr;
}

#snapshot .snapshot-panel {
  width: 100%;
  max-width: 100%;
  grid-column: 1 / -1;
}

#snapshot .trust-grid {
  grid-column: 1 / -1;
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 16px;
}

.p5-icon-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 1px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 28px;
  margin-bottom: 28px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  overflow: visible;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.045)), linear-gradient(180deg, rgba(9,12,13,.7), rgba(7,9,10,.64));
  box-shadow: 0 30px 90px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.08);
}

.p5-icon-card {
  position: relative;
  min-width: 0;
  height: auto;
  padding: 34px 30px 32px;
  background:
    radial-gradient(circle at 20% 10%, rgba(210,111,0,.13), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  transition: transform .28s ease, background .28s ease, box-shadow .28s ease;
}

.p5-icon-card + .p5-icon-card {
  border-left: 1px solid rgba(255,255,255,.11);
}

.p5-icon,
.p5-card-icon,
.p6-card-icon {
  display: grid;
  place-items: center;
  color: #d86f00;
  filter: drop-shadow(0 0 14px rgba(216,111,0,.42));
}

.p5-icon {
  width: 68px;
  height: 68px;
  margin-bottom: 24px;
}

.p5-card-icon,
.p6-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
}

.p5-icon svg {
  width: 64px;
  height: 64px;
}

.p5-card-icon svg,
.p6-card-icon svg {
  width: 48px;
  height: 48px;
}

.p5-icon svg,
.p5-card-icon svg,
.p6-card-icon svg {
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.p5-icon svg {
  stroke-width: 2.35;
}

.p5-icon-card h3 {
  margin: 0 0 12px;
  text-transform: uppercase;
  font-size: clamp(22px, 1.65vw, 30px);
  line-height: .95;
  letter-spacing: -0.045em;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
  color: rgba(230,232,228,.94);
}

.p5-icon-card p {
  margin: 0;
  color: rgba(205,211,205,.72);
  font-size: clamp(14px, .95vw, 17px);
  line-height: 1.45;
}

.trust-grid,
.proof-list,
.module-grid,
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: stretch;
  gap: 18px;
  width: 100%;
  max-width: 100%;
  overflow: visible !important;
}

.trust-item,
.proof-item,
.module-card,
.value,
.step {
  min-width: 0;
  min-height: unset;
  height: auto;
}

.step .p5-card-icon,
.value .p5-card-icon,
.proof-item .p6-card-icon,
.cta-option .p6-card-icon {
  opacity: .94;
}

.cta-options {
  align-items: stretch;
}

.cta-option {
  min-width: 0;
}

.cta-option .p6-card-icon {
  margin-bottom: 14px;
}

.access-form {
  display: grid;
  gap: 15px;
  max-width: 760px;
  margin: 34px auto 0;
  text-align: left;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 0, rgba(255,138,18,.12), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    linear-gradient(180deg, rgba(9,12,13,.7), rgba(7,9,10,.64));
  box-shadow: 0 30px 90px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.08);
}

.access-form label {
  display: grid;
  gap: 8px;
  color: var(--soft);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.access-form input,
.access-form select,
.access-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 15px;
  background: rgba(0,0,0,.22);
  color: var(--text);
  padding: 14px 15px;
  outline: none;
  font-family: var(--sans,Inter,system-ui,sans-serif);
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
}

.access-form input:focus,
.access-form select:focus,
.access-form textarea:focus {
  border-color: rgba(255,138,18,.62);
  box-shadow: 0 0 0 4px rgba(255,138,18,.11);
}

.access-form textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.form-note-close {
  max-width: 680px;
  margin: 4px auto 0;
  color: rgba(214,220,214,.74);
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.55;
  letter-spacing: .01em;
  text-wrap: balance;
}

.see-better-signoff {
  margin: 4px 0 0;
  text-align: center;
  color: rgba(246,248,244,.92);
  font-size: clamp(34px, 4vw, 58px);
  line-height: .9;
  font-weight: 950;
  letter-spacing: -0.065em;
  text-shadow: 0 20px 58px rgba(0,0,0,.72);
}

.see-better-signoff span {
  color: var(--orange);
  text-shadow: 0 0 30px rgba(255,138,18,.38), 0 20px 58px rgba(0,0,0,.72);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.audience {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.audience span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.audience svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke: #d86f00;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 9px rgba(216,111,0,.34));
}

#modules .module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 18px;
  max-width: min(1320px, 94vw);
  margin-inline: auto;
}

#modules .module-card:nth-last-child(1):nth-child(5) {
  grid-column: auto;
}

@media (min-width: 1500px) {
  #modules .module-grid {
    grid-template-columns: repeat(5, minmax(230px, 1fr)) !important;
  }
}

#value h2 .headline-line {
  display: block;
  white-space: nowrap;
}

.no-break {
  white-space: nowrap;
}

.preview5-page .eyebrow,
.preview5-page .mini-label,
.preview5-page .section-kicker,
.preview5-page .value-kicker,
.preview5-page .module-card small,
.preview5-page .step small,
.preview5-page .p5-kicker {
  font-size: clamp(12px, .82vw, 15px);
  letter-spacing: .24em;
  font-weight: 700;
  opacity: .95;
}

/* Preview 6 sun/orb: softer atmospheric light with no hard circular or dark outer edge. */
body[data-page="live"] .flare {
  width: clamp(240px, 25vw, 430px);
  height: clamp(240px, 25vw, 430px);
  background:
    radial-gradient(
      circle at center,
      rgba(255, 249, 220, 0.42) 0%,
      rgba(255, 202, 104, 0.28) 18%,
      rgba(255, 138, 18, 0.16) 36%,
      rgba(255, 138, 18, 0.06) 54%,
      transparent 70%
    );
  box-shadow:
    0 0 90px rgba(255, 151, 24, 0.18),
    0 0 190px rgba(255, 139, 0, 0.12),
    0 0 320px rgba(255, 117, 0, 0.08);
  filter: blur(32px) saturate(1.08);
  opacity: .58;
  border: 0;
  inset: auto;
  right: 21vw;
  top: 22vh;
}

body[data-page="live"] .flare::before,
body[data-page="live"] .flare::after {
  background: transparent;
  box-shadow: none;
  border: 0;
  mask-image: none;
  -webkit-mask-image: none;
}

@media (hover:hover) {
  .p5-icon-card:hover {
    transform: translateY(-6px);
    background:
      radial-gradient(circle at 20% 10%, rgba(216,111,0,.22), transparent 36%),
      linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.02));
    box-shadow: 0 30px 100px rgba(0,0,0,.45);
  }
}

@media (max-width: 1180px) {
  .p5-icon-row {
    grid-template-columns: 1fr;
  }

  .p5-icon-card + .p5-icon-card {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.11);
  }
}

@media (max-width: 980px) {
  #snapshot .trust-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hero-copy h1,
  .hero h1,
  #snapshot h2,
  #intro h2,
  #workflow h2,
  #modules h2,
  #value h2,
  #audience h2,
  #early-access h2 {
    font-size: clamp(38px, 11vw, 70px) !important;
    line-height: .9;
    letter-spacing: -0.052em;
    max-width: 100%;
  }

  .hero-grid,
  #snapshot .snapshot-grid,
  #intro .intro-grid {
    grid-template-columns: 1fr !important;
  }

  #snapshot .wrap,
  #intro .wrap,
  #workflow .wrap,
  #modules .wrap,
  #value .wrap,
  #audience .wrap,
  #early-access .wrap {
    max-width: calc(100vw - 36px);
  }

  .p5-icon-row,
  .workflow-strip,
  .module-grid,
  .value-grid,
  .proof-list,
  .trust-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 760px) {
  .hero {
    padding-top: clamp(82px, 14vh, 110px);
    padding-bottom: 64px;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 76px) !important;
    max-width: 100%;
    line-height: .9;
  }

  #modules .module-grid {
    grid-template-columns: 1fr !important;
  }

  .p5-card-icon,
  .p6-card-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
  }

  .p5-card-icon svg,
  .p6-card-icon svg {
    width: 42px;
    height: 42px;
  }

  #value h2 .headline-line,
  .no-break {
    white-space: normal;
  }

  #value h2 {
    width: auto;
    font-size: clamp(40px, 12vw, 68px) !important;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .access-form {
    padding: 22px;
  }
}

/* Dock frosting (see reveal.css): restore the original blur recipe on the
   early-access panels while the dock floats behind them. */
.p5-icon-row.see-dock-frost {
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(34px) saturate(1.25);
  -webkit-backdrop-filter: blur(34px) saturate(1.25);
}

.access-form.see-dock-frost {
  background:
    radial-gradient(circle at 18% 0, rgba(255,138,18,.12), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  backdrop-filter: blur(30px) saturate(1.2);
  -webkit-backdrop-filter: blur(30px) saturate(1.2);
}

/* Keep deliberately grouped short headline words together at every breakpoint. */
.no-orphan {
  white-space: nowrap !important;
}
