/* Shared full-bleed hero banner for public tool landing pages */
.tl-page { overflow-x: clip; }
.tl-page .section--cosmic { overflow: visible; }

.tl-hero-banner {
  position: relative;
  isolation: isolate;
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
  min-height: clamp(22rem, 52vw, 32rem);
  display: flex;
  align-items: flex-end;
  margin-bottom: 0.5rem;
}
.fa-page > .tl-hero-banner,
.fh-page > .tl-hero-banner {
  min-height: 11rem;
}
.tl-hero-banner--arch,
.fa-page > .tl-hero-banner--arch,
.fh-page > .tl-hero-banner--arch {
  min-height: 0;
  align-items: center;
  padding: clamp(1.6rem, 4vw, 3rem) 0 1.2rem;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(227, 189, 77, .16), transparent 42%),
    radial-gradient(ellipse at 85% 10%, rgba(124, 58, 237, .28), transparent 50%),
    #0c0b12;
}
.tl-hero-arch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(11rem, 16.5rem);
  gap: clamp(1.2rem, 3vw, 2.6rem);
  align-items: center;
  width: min(100% - 2rem, 1120px);
  margin-inline: auto;
}
.tl-hero-arch__copy { max-width: none; padding-block: 0; }
.tl-hero-arch__frame {
  position: relative;
  aspect-ratio: 3 / 4.15;
  border-radius: 50% 50% 1.15rem 1.15rem / 34% 34% 1.15rem 1.15rem;
  overflow: hidden;
  background: #100e18;
  box-shadow:
    0 0 0 1px rgba(227, 189, 77, .7),
    0 0 0 7px rgba(227, 189, 77, .1),
    0 28px 48px -22px rgba(0, 0, 0, .75);
}
.tl-hero-arch__frame::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: inherit;
  border: 1px solid rgba(255, 236, 190, .4);
  pointer-events: none;
  z-index: 2;
}
.tl-hero-arch__frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tl-hero-arch__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(8, 6, 14, .45), transparent 46%);
}
@media (max-width: 760px) {
  .tl-hero-arch { grid-template-columns: 1fr; }
  .tl-hero-arch__frame {
    width: min(100%, 14.5rem);
    margin-inline: auto;
    order: -1;
  }
}
.tl-hero-banner__img,
.tl-hero-banner__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
}
.tl-hero-banner--fit .tl-hero-banner__video {
  object-fit: contain;
  background: #08060e;
}
.tl-hero-banner--film .tl-hero-banner__shade {
  background:
    linear-gradient(to top, rgba(8, 6, 14, 0.94) 0%, rgba(8, 6, 14, 0.68) 46%, rgba(8, 6, 14, 0.5) 100%);
}
.tl-hero-banner__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(8, 6, 14, 0.97) 0%, rgba(8, 6, 14, 0.58) 44%, rgba(8, 6, 14, 0.22) 100%),
    radial-gradient(ellipse at 80% 20%, rgba(94, 234, 212, 0.12), transparent 50%);
}
.tl-hero-banner__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: clamp(1.5rem, 4vw, 2.5rem);
  direction: rtl;
  text-align: start;
  max-width: 42rem;
}
.tl-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(94, 234, 212, 0.45);
  background: rgba(8, 6, 14, 0.55);
  backdrop-filter: blur(8px);
  color: #5eead4;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.tl-hero-banner h1 {
  font-size: clamp(1.55rem, 4.2vw, 2.25rem);
  line-height: 1.32;
  color: #faf7f0;
  margin: 0 0 0.6rem;
  font-weight: 800;
  text-wrap: balance;
}
.tl-hero__lead {
  color: #c8bfd8;
  font-size: 1rem;
  line-height: 1.75;
  margin: 0 0 0.85rem;
}
.tl-hero__quote {
  margin: 0 0 1.1rem;
  padding: 0.65rem 0.95rem;
  border-inline-start: 3px solid rgba(232, 217, 168, 0.7);
  border-radius: 0 10px 10px 0;
  background: rgba(0, 0, 0, 0.35);
  color: #e8d9a8;
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.7;
}
.tl-hero__quote cite {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-style: normal;
  color: rgba(232, 217, 168, 0.65);
}
.tl-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.8rem;
}
/* The photo stays dark in both themes, so ghost buttons stay light. */
.tl-hero-banner .tl-hero__actions .btn-ghost,
.tl-hero-banner .tl-hero__actions .btn-ghost:hover {
  color: #f7f3ff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(8, 6, 16, 0.45);
}
.tl-hero-banner .tl-hero__actions .btn-ghost:hover {
  background: rgba(8, 6, 16, 0.68);
  border-color: #fff;
}
.tl-unlimited-pill {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(94, 234, 212, 0.12);
  border: 1px solid rgba(94, 234, 212, 0.35);
  color: #5eead4;
  font-size: 0.74rem;
  font-weight: 800;
}
.tl-trial-pill {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(157, 122, 234, 0.12);
  border: 1px solid rgba(157, 122, 234, 0.35);
  color: #c4b5fd;
  font-size: 0.74rem;
  font-weight: 800;
}
.tl-special-pill {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(227, 189, 77, 0.12);
  border: 1px solid rgba(227, 189, 77, 0.35);
  color: #e8d9a8;
  font-size: 0.74rem;
  font-weight: 800;
}

/* Journey keeps the form next, under a full photo hero. */
.tl-page--journey { display: flex; flex-direction: column; }
.tl-page--journey > .tl-hero-banner {
  order: -2;
  height: auto;
  min-height: clamp(16rem, 46vw, 26rem);
}
.tl-page--journey > #try { order: -1; padding-top: 12px; }
.tl-page--journey .tl-hero-banner__img,
.tl-page--journey .tl-hero-banner__video { min-height: clamp(16rem, 46vw, 26rem); }
.tl-page--journey .tl-hero-banner__content {
  min-height: clamp(16rem, 46vw, 26rem);
  height: auto;
  padding-block: clamp(1.4rem, 4vw, 2.6rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}
.tl-page--journey .tl-hero__quote,
.tl-page--journey .tl-hero__actions { display: none; }
.tl-page--journey #tl-hero-title {
  margin: 0.2rem 0 0.35rem;
  font-size: clamp(1.4rem, 3.8vw, 2.2rem);
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}
.tl-page--journey #try .section__head { margin-bottom: 12px; }
.tl-page--journey #try .section__head .eyebrow,
.tl-page--journey #try .section__head h2 { display: none; }
.jrn-trust { margin: 0; font-size: .9rem; color: var(--muted, #aaa); }
.jrn-field-err { display: block; margin-top: 4px; font-size: .8rem; color: var(--danger, #e35d5d); }
.jrn-answer { display: grid; gap: 6px; margin-bottom: 16px; padding: 16px; border-radius: 16px;
  background: color-mix(in srgb, var(--accent, #9d7aea) 8%, var(--surface));
  color: var(--text);
  border: 1px solid color-mix(in srgb, var(--accent, #9d7aea) 30%, transparent); }
.jrn-answer h4 { margin: 8px 0 0; font-size: .85rem; color: var(--accent, #c9a227); }
.jrn-answer h4:first-child { margin-top: 0; }
.jrn-answer p { margin: 0; line-height: 1.9; }
.jrn-depth { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.jrn-depth__card { flex: 1 1 200px; min-height: 44px; }
.jrn-box { margin: 14px 0; padding: 14px; border-radius: 16px; }
.jrn-box__form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.jrn-box__title { flex-basis: 100%; margin: 0 0 2px; font-weight: 700; }
.jrn-box__form input, .jrn-box__form select { flex: 1 1 140px; min-height: 46px; padding: 0 12px; border-radius: 12px; font: inherit;
  border: 1px solid var(--border); background: var(--surface); color: var(--text); }
.jrn-box__form .btn { flex: 1 1 100%; min-height: 48px; }
@media (min-width: 720px) { .jrn-box__form .btn { flex: 0 0 auto; } }
