/* ========== FUTURE — Ticker / full-hero grid / stagger features / rail timeline ========== */
:root {
  --bg: #f8efe5;
  --panel: #fff9f2;
  --line: rgba(188, 142, 102, 0.28);
  --text: #3b2e29;
  --muted: #8a7467;
  --cyan: #f2a368;
  --violet: #d9b184;
  --font: "Space Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: clamp(1rem, 4vw, 2rem);
  --container: min(1040px, calc(100% - var(--gutter) * 2));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .ticker__track {
    animation: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  background: radial-gradient(110% 75% at 50% -10%, #fff8ef 0%, transparent 55%), var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: clip;
}
img {
  max-width: 100%;
  height: auto;
}
main {
  min-width: 0;
}
h1,
h2,
h3 {
  overflow-wrap: break-word;
}
a {
  color: var(--cyan);
}
a:hover {
  color: #ffbe7f;
}
.container {
  width: var(--container);
  margin-inline: auto;
}
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Ticker */
.ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #f1e3d3;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9d7c67;
}
.ticker__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  padding: 0.5rem 0;
  animation: tick 28s linear infinite;
}
@keyframes tick {
  to {
    transform: translateX(-50%);
  }
}
.ticker__track span {
  white-space: nowrap;
}

.header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 1rem;
  row-gap: 0.5rem;
  padding: 0.9rem max(1rem, 4vw);
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, #f8efe5 94%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header .brand {
  justify-self: start;
}
.header .nav {
  justify-self: center;
}
.header .btn--ghost {
  justify-self: end;
}
@media (max-width: 767px) {
  .header {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }
  .header .nav {
    display: none;
  }
  .header .btn--ghost {
    grid-column: 2;
    grid-row: 1;
  }
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.brand > span:last-child {
  min-width: 0;
}
.brand__mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: block;
}
.brand__mark--sm {
  width: 28px;
  height: 28px;
}
.brand--dim {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  text-decoration: none;
}
.nav {
  display: none;
  gap: 1.5rem;
  font-size: 0.88rem;
  font-weight: 600;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
}
.nav a:hover {
  color: var(--text);
}
@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.15s, background 0.2s;
}
.btn:active {
  transform: scale(0.98);
}
.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--cyan);
}
.btn--neon {
  background: linear-gradient(135deg, #f2a15f, #f6c487);
  color: #3a2d27;
  box-shadow: 0 8px 28px rgba(242, 161, 95, 0.28);
}
.btn--neon:hover {
  box-shadow: 0 12px 34px rgba(223, 181, 134, 0.35);
}

/* Hero — top-aligned so content doesn’t float in a tall min-height box */
.hero-future {
  position: relative;
  padding: clamp(2.5rem, 8vw, 5rem) 0 clamp(2rem, 6vw, 3.5rem);
  display: flex;
  align-items: flex-start;
}
@media (min-width: 960px) {
  .hero-future {
    padding-top: clamp(3rem, 9vw, 5.5rem);
    padding-bottom: clamp(2.25rem, 6vw, 4rem);
  }
  .hero-future__layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 42%);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: center;
  }
}
@media (max-height: 480px) and (orientation: landscape) {
  .hero-future {
    padding: 1.75rem 0 2rem;
  }
}
.hero-future__grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(201, 150, 111, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 150, 111, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, black, transparent);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, black, transparent);
  pointer-events: none;
}
/* Do not set width: 100% here — it overrides .container and full-bleeds the grid,
   which leaves copy hugging the left on wide screens while the right feels empty. */
.hero-future__layout {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
  max-width: 100%;
}
.hero-future__content {
  position: relative;
  max-width: 720px;
  min-width: 0;
}
.hero-future__art {
  position: relative;
}
.hero-future__art img {
  width: auto;
  max-width: min(520px, 100%);
  max-height: min(680px, 85vh);
  margin-inline: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}
.eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  margin: 0 0 0.85rem;
  padding-left: 0.02em;
}
.hero-future h1 {
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  letter-spacing: -0.04em;
}
.sub {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 38rem;
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
}
.pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(13, 15, 24, 0.8);
}
.inline-join {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 440px;
}
@media (min-width: 520px) {
  .inline-join {
    flex-direction: row;
    align-items: stretch;
  }
}
.inline-join input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font: inherit;
  outline: none;
}
.inline-join input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(242, 161, 95, 0.18);
}
.fine {
  margin: 1rem 0 0;
  font-size: 0.88rem;
}
.fine a {
  color: var(--muted);
}
.fine a:hover {
  color: var(--text);
}

.section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}
/* Tighter gap after hero so the page doesn’t feel split by empty space */
#features.section {
  padding-top: clamp(2rem, 4.5vw, 3.25rem);
}
.headline-block {
  max-width: 520px;
  margin-bottom: 2.5rem;
  padding-left: 0;
}
.headline-block h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.04em;
}
.headline-block p {
  margin: 0;
  color: var(--muted);
}
.headline-block--tight {
  margin-bottom: 1.75rem;
}

.stagger-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.stagger-card {
  padding: 1.5rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #fffdf8;
  max-width: 100%;
  transition: transform 0.2s, border-color 0.2s;
}
@media (min-width: 700px) {
  .stagger-card {
    max-width: 88%;
  }
  .stagger-card--push {
    margin-left: auto;
    max-width: 88%;
  }
}
@media (hover: hover) {
  .stagger-card:hover {
    transform: translateX(4px);
    border-color: rgba(223, 181, 134, 0.5);
  }
}
.stagger-card .mono {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 0.08em;
}
.stagger-card h3 {
  margin: 0.4rem 0 0.35rem;
  font-size: 1.08rem;
}
.stagger-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Rail timeline */
.rail-section {
  background: linear-gradient(180deg, transparent, #f2e4d5 20%, transparent);
  border-block: 1px solid var(--line);
}
.rail-wrap {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
.rail {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.25rem;
  border-left: 2px solid var(--line);
}
.rail li {
  position: relative;
  padding: 0 0 2rem 1.5rem;
}
.rail li:last-child {
  padding-bottom: 0;
}
.rail__node {
  position: absolute;
  left: calc(-1.25rem - 5px);
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--cyan);
  box-shadow: 0 0 12px rgba(242, 161, 95, 0.45);
}
.rail h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}
.rail p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* Dual proof */
.dual-proof {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .dual-proof {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .future-preview {
    grid-column: 1 / -1;
  }
}
.tile-quote {
  margin: 0;
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fffdf8;
}
.tile-quote--alt {
  border-color: rgba(167, 139, 250, 0.35);
}
.tile-quote p {
  margin: 0 0 1rem;
  font-size: 1.05rem;
}
.tile-quote footer {
  font-size: 0.82rem;
  color: var(--muted);
}
.future-preview {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
}
.future-preview img {
  width: auto;
  max-width: 100%;
  max-height: min(360px, 55vh);
  margin-inline: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.dock-cta {
  padding: 2.5rem 0 3rem;
}
.dock-cta__box {
  border-radius: 28px;
  border: 1px solid var(--line);
  padding: 1.75rem;
  background: linear-gradient(145deg, #fff9f2, #f2e3d2);
  display: grid;
  gap: 1rem;
  text-align: center;
}
.dock-cta__right {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: stretch;
}
@media (min-width: 700px) {
  .dock-cta__box {
    grid-template-columns: 1fr minmax(280px, 1fr);
    align-items: center;
    text-align: left;
  }
  .dock-cta__right {
    align-items: flex-end;
  }
  .dock-cta__right .inline-join {
    max-width: none;
    width: 100%;
  }
  .dock-cta__right .fine {
    margin: 0;
    align-self: flex-end;
  }
}
.dock-cta__box h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: -0.02em;
}
@media (max-width: 520px) {
  .hero-future .inline-join,
  .dock-cta__right .inline-join {
    flex-direction: column;
  }
  .hero-future .inline-join .btn,
  .dock-cta__right .btn {
    width: 100%;
  }
}

.footer {
  padding: 1.25rem 0 2rem;
  border-top: 1px solid var(--line);
}
.footer__flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer__flex p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Motion: load-in + scroll reveal */
html.has-motion body {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 420ms ease, transform 420ms ease;
}
html.has-motion body.is-loaded {
  opacity: 1;
  transform: none;
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.has-motion body,
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ——— Legal & trust (privacy, terms, footer disclaimer) ——— */
.site-disclaimer {
  margin: 0 auto 1rem;
  max-width: 40rem;
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: center;
  opacity: 0.88;
  color: var(--muted, var(--color-text-muted, inherit));
}
.business-contact {
  margin: 0 auto 1rem;
  max-width: 40rem;
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: center;
  font-style: normal;
  color: var(--muted, var(--color-text-muted, inherit));
}
.business-contact a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  align-items: center;
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: var(--muted, var(--color-text-muted, inherit));
}
.legal-nav a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.legal-page {
  padding: 2rem 0 4rem;
}
.legal-page .container {
  max-width: 42rem;
}
.legal-page h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.2;
}
.legal-page .legal-meta {
  margin: 0 0 2rem;
  font-size: 0.85rem;
  opacity: 0.75;
}
.legal-page h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.08rem;
}
.legal-page p,
.legal-page li {
  margin: 0.65rem 0;
  line-height: 1.65;
}
.legal-page ul {
  margin: 0.5rem 0;
  padding-left: 1.2rem;
}

