/* =============================================================
   DIP — Horizon → Iteration 2
   landing.css — Home band layouts
   Forked from frontend/src/styles/horizon/horizon-landing.css.
   IT2: the graphite teaser/why blocks and the /home/preview hero are
   removed (dark-below-fold + out of scope); the hero block is untouched;
   cta-final is restyled for the warm sand band; the coming-soon glow is
   toned for a light band.
   ============================================================= */

/* =============================================================
   HERO  (theme-navy)
   ============================================================= */
.hero {
  position: relative;
  padding-top: calc(88px + clamp(2.5rem, 1.5rem + 4vw, 5rem));
  padding-bottom: clamp(10rem, 6rem + 13vw, 17rem);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}
.hero__copy { max-width: 34rem; }
.hero h1 { font-size: clamp(2.5rem, 1.4rem + 3.4vw, 4.3rem); margin-top: 1.1rem; }
.hero .lede { margin-top: 1.4rem; max-width: 40ch; }
.hero .btn-row { margin-top: 2rem; }
.hero .trust-row { margin-top: 2.2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

.hero__panel {
  position: relative;
  justify-self: end;
  width: min(100%, 440px);
}
.hero-card {
  position: relative;
  z-index: 2;
  background: linear-gradient(168deg,
    color-mix(in srgb, var(--surface) 92%, transparent),
    color-mix(in srgb, var(--surface-2) 92%, transparent));
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  padding: 1.6rem 1.7rem 1.5rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
}
.hero-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.hero-card__name {
  font-family: var(--display);
  font-size: 1.3rem;
  line-height: 1.15;
  margin-top: 1rem;
}
.hero-card__sub { color: var(--muted); font-size: 0.86rem; margin-top: 0.3rem; }
.hero-card__rate {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.hero-card__rate .big {
  font-family: var(--mono);
  font-size: clamp(2.6rem, 2rem + 3vw, 3.4rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-card__rate .label { color: var(--muted); font-size: 0.85rem; }
.hero-card__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
  margin-top: 1.4rem;
}
.hero-card__meta .k {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.hero-card__meta .v { font-size: 0.96rem; margin-top: 0.2rem; }
.hero-card__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}

.hero__float {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.55em 0.9em;
  border-radius: var(--pill);
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(8px);
  font-size: 0.8rem;
  box-shadow: var(--shadow);
}
.hero__float .num { color: var(--accent); font-weight: 500; }
.hero__float--a { top: -1.4rem; left: -1.2rem; }
.hero__float--b { bottom: 1.5rem; left: -2.4rem; }

.hero__sea {
  position: absolute;
  inset: auto 0 0 0;
  height: clamp(220px, 32vw, 420px);
  z-index: 0;
  pointer-events: none;
}
.hero__sea img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; opacity: 0.9; }
.hero__sea::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg) 1%, transparent 52%, transparent 84%, color-mix(in srgb, var(--bg) 60%, transparent) 100%),
    linear-gradient(90deg, color-mix(in srgb, var(--bg) 55%, transparent), transparent 34%, transparent 66%, color-mix(in srgb, var(--bg) 55%, transparent));
}

/* =============================================================
   HOW IT WORKS  (theme-paper)
   ============================================================= */
.steps {
  margin-top: clamp(2.5rem, 1rem + 4vw, 4rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 0.5rem + 2vw, 2.4rem);
  counter-reset: step;
}
.step { position: relative; padding-top: 2.5rem; }
.step::before {
  content: counter(step, decimal-leading-zero);
  counter-increment: step;
  position: absolute;
  top: 0; left: 0;
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.step::after {
  content: "";
  position: absolute;
  top: 0.45rem; left: 3.4rem; right: -0.6rem;
  height: 1px;
  background: var(--line-2);
}
.steps .step:last-child::after { display: none; }
.step__icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--accent);
  margin-bottom: 1.1rem;
  box-shadow: var(--shadow);
}
.step__icon svg { width: 22px; height: 22px; }
.step__n { font-family: var(--mono); font-weight: 600; font-size: 1.25rem; line-height: 1; }
.step h3 { font-family: var(--display); font-size: 1.3rem; line-height: 1.1; }
.step p { color: var(--muted); margin-top: 0.5rem; font-size: 0.94rem; }

/* =============================================================
   ABOUT  (theme-mist)
   ============================================================= */
.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.about__portrait {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 1 / 1.05;
  box-shadow: var(--shadow-lg);
}
.about__portrait img { width: 100%; height: 100%; object-fit: cover; }
.quote {
  font-family: var(--display);
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.35rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  font-weight: 360;
}
.quote em { color: var(--accent); font-style: italic; }
.quote__by { margin-top: 1.8rem; display: flex; align-items: center; gap: 0.8rem; font-family: var(--sans); }
.quote__by .nm { font-size: 0.98rem; font-weight: 540; }
.quote__by .ro { color: var(--muted); font-size: 0.86rem; }
.quote__by .bar { width: 2rem; height: 1px; background: var(--accent); }

/* =============================================================
   FINAL CTA  (IT2: theme-sand — the page's single warm band)
   ============================================================= */
.cta-final { overflow: hidden; }
.cta-final .display { font-size: var(--step-3); }
/* a single soft warm bloom instead of the navy aurora */
.cta-final::before {
  content: "";
  position: absolute;
  right: -10%; top: -30%;
  width: 46vw; height: 46vw;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
    color-mix(in srgb, var(--orange) 18%, transparent), transparent 62%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.cta-final .band__inner { text-align: center; }
.cta-final h2 { margin: 0 auto; max-width: 18ch; }
.cta-final .lede { margin: 1.4rem auto 0; }
.cta-final .btn-row { margin-top: 2.4rem; justify-content: center; }
.cta-final .trust-row { margin-top: 2.6rem; justify-content: center; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__copy { max-width: 100%; }
  .hero__panel { justify-self: stretch; width: 100%; max-width: 460px; }
  .about__grid { grid-template-columns: 1fr; }
  .about__portrait { max-width: 360px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 2rem 1.6rem; }
  .step::after { display: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; gap: 1.6rem; }
  .hero__float--b { left: 0; }
  .hero__float--a { left: 0; }
}

/* =============================================================
   HOME — client-content additions (dark Horizon design)
   ============================================================= */

/* Disclosure strip */
.disclosure-note {
  color: var(--faint);
  font-size: 0.82rem;
  line-height: 1.6;
  max-width: 90ch;
}
.disclosure-note strong { color: var(--muted); }
.disclosure-band { padding-block: clamp(2rem, 1.5rem + 2vw, 3rem); }

/* Opportunities — equal cards in a responsive row. */
.opps-grid.opps-grid--auto {
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
/* Opportunities header: eyebrow + "view all" on one line, big heading below. */
.opp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.opp-title {
  margin-top: 0.5rem;
  margin-bottom: clamp(2rem, 1rem + 3vw, 3rem);
}

/* "One account" value props — 3-up feature row. */
.why__points--cols {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem 2.4rem;
  margin-top: clamp(2rem, 1rem + 3vw, 3rem);
}

/* Roadmap chip row. */
.grow-roadmap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-top: clamp(2rem, 1rem + 3vw, 2.8rem);
  padding-top: clamp(1.6rem, 1rem + 2vw, 2.2rem);
  border-top: 1px solid var(--line);
}
.grow-roadmap__label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-right: 0.4rem;
}

/* ===== ON THE HORIZON — consolidated tension timeline + account funnel ===== */
.coming { position: relative; overflow: hidden; }
.coming__glow {
  position: absolute; right: -10%; top: -4%;
  width: 56vw; height: 56vw; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
    color-mix(in srgb, var(--cyan) 14%, transparent), transparent 62%); /* IT2: toned for light */
  filter: blur(70px); z-index: 0; pointer-events: none;
}
.coming .band__inner { position: relative; z-index: 1; }

/* Now → Next → Later vertical timeline */
.horizon-timeline {
  list-style: none;
  margin: clamp(2.2rem, 1.4rem + 2.5vw, 3.4rem) 0 0;
  padding: 0;
  position: relative;
  max-width: 47rem;
}
.htl { padding-bottom: clamp(2.2rem, 1.4rem + 2vw, 3.2rem); }
.htl:last-child { padding-bottom: 0; }
.htl__phase {
  display: block;
  margin: 0 0 0.55rem 70px;
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
}
/* outlined (line) icon tile, vertically centred on the title */
.htl__head { display: flex; align-items: center; gap: 1rem; }
.htl__marker {
  flex: none;
  width: 54px; height: 54px;
  border-radius: 15px;
  display: grid; place-items: center;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--line-2);
}
.htl__marker svg { width: 28px; height: 28px; }
.htl__title {
  font-family: var(--display);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem);
  line-height: 1.1;
  margin: 0;
}
/* the lead item (hospitality) gets a large display-headline title */
.htl--lead .htl__title {
  font-weight: 380;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0;
  font-size: var(--step-4);
  line-height: 1.04;
  letter-spacing: -0.018em;
}
.htl__text { margin-left: 70px; margin-top: 0.6rem; }
.htl__text p { color: var(--muted); max-width: 50ch; font-size: 0.95rem; line-height: 1.55; }
.htl__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.9rem; }

/* consolidated "what's coming" (left) + "investor portal" (right) on one band */
.horizon-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 1.5rem + 5vw, 5.5rem);
  align-items: start;
}
.horizon-split__col > .eyebrow { display: block; margin-bottom: 1.6rem; }
.horizon-split__col .horizon-timeline { margin-top: 0; }
/* keep the lead (hospitality) title from overflowing the narrower column */
.horizon-split .htl--lead .htl__title { font-size: clamp(1.7rem, 1.35rem + 1.5vw, 2.15rem); }

.horizon-split__title {
  font-family: var(--display);
  font-weight: 380;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0;
  font-size: var(--step-3);
  line-height: 1.08;
  letter-spacing: -0.018em;
}
.horizon-split__title em { font-style: italic; color: var(--accent); }
.horizon-split__col .lede { margin-top: 0.9rem; max-width: 42ch; }

.portal-steps {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}
.pstep { display: grid; grid-template-columns: 38px 1fr; gap: 1rem; align-items: start; }
.pstep__n {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid; place-items: center;
  font-family: var(--mono); font-weight: 600; font-size: 0.95rem;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--line-2);
}
.pstep h4 { font-family: var(--display); font-size: 1.15rem; line-height: 1.15; }
.pstep p { color: var(--muted); margin-top: 0.25rem; font-size: 0.95rem; line-height: 1.55; }

/* shared caption (mono accent) for "Next step" / "Features" */
.htl__cap {
  display: block;
  font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  margin: 1.1rem 0 0.45rem;
}
/* hospitality "next step" — informational text on its own line */
.htl__next { margin: 0; font-size: 0.88rem; color: var(--muted); }

/* trading feature bullets (replaces the pills) */
.htl__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.htl__list li { position: relative; padding-left: 1.1rem; font-size: 0.92rem; color: var(--muted); }
.htl__list li strong { color: var(--text); font-weight: 540; }
.htl__list li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

/* OPEN OPPORTUNITIES — flagship card structure in clean light-band cards */
.horizon-open {
  margin-top: clamp(2.6rem, 1.6rem + 4vw, 4.5rem);
  padding-top: clamp(2rem, 1.4rem + 2vw, 3rem);
  border-top: 1px solid var(--line);
}
.horizon-open > .eyebrow { display: block; margin-bottom: 1.6rem; }
.open-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.4rem;
}
.open-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  padding: 1.5rem 1.6rem 1.4rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.open-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.open-card .btn--block { margin-top: 1.5rem; }

@media (max-width: 880px) {
  .horizon-split { grid-template-columns: 1fr; gap: clamp(2.5rem, 2rem + 3vw, 3.8rem); }
}

.coming__cta {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.4rem;
  margin-top: clamp(2.6rem, 1.6rem + 3vw, 3.8rem);
  padding: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  backdrop-filter: blur(8px);
}
.coming__cta-title {
  font-family: var(--display);
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem);
  line-height: 1.12;
}
.coming__cta p { color: var(--muted); margin-top: 0.4rem; max-width: 46ch; }

/* "Continue your account" band (returning users / account prompt). */
.onboarding-strip { padding-block: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); }
.ob-band {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 0.5rem + 1.5vw, 2.2rem);
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1rem, 0.7rem + 1vw, 1.5rem) clamp(1.2rem, 0.8rem + 1.4vw, 1.8rem);
  box-shadow: var(--shadow);
}
.ob-band__item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  flex: 1 1 200px;
}
.ob-band__item--link { transition: color 0.2s; }
.ob-band__item--link:hover { color: var(--accent); }
.ob-band__icon {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--on-accent);
  background: var(--grad);
}
.ob-band__icon--label { font-size: 0.8rem; letter-spacing: 0.04em; }
.ob-band__text { min-width: 0; }
.ob-band__text strong { display: block; font-size: 0.96rem; font-weight: 540; }
.ob-band__text span { display: block; color: var(--muted); font-size: 0.82rem; margin-top: 0.1rem; }
.ob-band__bar {
  height: 4px;
  border-radius: var(--pill);
  background: var(--line);
  overflow: hidden;
  margin-top: 0.5rem;
}
.ob-band__bar > span { display: block; height: 100%; background: var(--grad); border-radius: var(--pill); }
.ob-band .btn { flex: none; margin-left: auto; }

@media (max-width: 820px) {
  .ob-band { flex-direction: column; align-items: stretch; }
  .ob-band__item { flex-basis: auto; }
  .ob-band .btn { margin-left: 0; justify-content: center; }
}
@media (max-width: 760px) {
  .why__points--cols { grid-template-columns: 1fr; }
}
