/* alps.bot — landing styles. Mobile-first. */
:root {
  --slate-950: #0a1220;
  --slate-900: #0d1626;
  --slate-850: #111c30;
  --slate-800: #16233a;
  --slate-700: #22324e;
  --ice: #e9f0f8;
  --mist: #b8c6da;
  --muted: #9fb0c8;
  --alpine: #6f9fd8;
  --alpine-deep: #2f5d9a;
  --gold: #f2c46d;
  --rose: #e9a08b;
  --ok: #9ee6b8;
  --err: #ffb4a8;
  --radius: 14px;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ice);
  background: var(--slate-900);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 50;
  background: var(--gold); color: var(--slate-950); padding: .6rem 1rem; border-radius: 10px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: max(1rem, env(safe-area-inset-top)) clamp(1.1rem, 4vw, 2.5rem) 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .55rem; text-decoration: none;
  font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; color: #fff;
}
.brand-mark { width: 30px; height: 30px; color: #8fb3e0; }
.brand .dot { color: var(--gold); }

.lang { display: inline-flex; align-items: center; gap: .15rem; font-size: .85rem; font-weight: 600; }
.lang-sep { color: rgba(255,255,255,.35); }
.lang-btn {
  appearance: none; border: 0; background: transparent; color: rgba(255,255,255,.7);
  font: inherit; letter-spacing: .08em; padding: .45rem .55rem; border-radius: 8px; cursor: pointer;
  min-width: 44px; min-height: 40px; transition: color .2s, background-color .2s;
}
.lang-btn:hover { color: #fff; background: rgba(255,255,255,.08); }
.lang-btn[aria-pressed="true"] { color: #fff; background: rgba(255,255,255,.14); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-start;
  overflow: hidden; isolation: isolate; background: var(--slate-900);
}
.hero-inner {
  position: relative; z-index: 3; width: 100%; max-width: 46rem; margin: 0 auto;
  padding: calc(6.5rem + env(safe-area-inset-top)) clamp(1.25rem, 5vw, 2rem) 2rem;
  text-align: center;
}
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: #ffe3b0; padding: .4rem .85rem; border: 1px solid rgba(255,227,176,.3); border-radius: 999px;
  background: rgba(10,18,32,.28); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero h1 {
  margin-top: 1.1rem;
  font-family: var(--font-display); font-weight: 500; font-optical-sizing: auto;
  font-size: clamp(2.35rem, 7.4vw, 4.6rem); line-height: 1.04; letter-spacing: -.02em;
  color: #fff; text-wrap: balance;
  text-shadow: 0 2px 30px rgba(6,12,26,.45);
}
.lede {
  margin: 1.1rem auto 0; max-width: 34rem; font-size: clamp(1.05rem, 2.4vw, 1.22rem);
  color: rgba(240,245,252,.92); text-wrap: pretty; text-shadow: 0 1px 16px rgba(6,12,26,.55);
}

/* ---------- Form ---------- */
.waitlist {
  margin: 1.8rem auto 0; max-width: 32rem; text-align: left;
  padding: .5rem .5rem .8rem; border-radius: 20px;
  background: rgba(10,18,34,.55); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(16px) saturate(1.15); -webkit-backdrop-filter: blur(16px) saturate(1.15);
  box-shadow: 0 24px 60px -24px rgba(4,8,20,.7);
}
.field { display: flex; flex-direction: column; gap: .5rem; }
.field input[type="email"] {
  flex: 1; min-width: 0; appearance: none; border: 1px solid transparent; outline: none;
  background: rgba(255,255,255,.94); color: var(--slate-950);
  font: inherit; font-size: 1rem; padding: .9rem 1rem; border-radius: 12px; min-height: 50px;
  transition: border-color .2s, box-shadow .2s;
}
.field input[type="email"]::placeholder { color: #6a7890; }
.field input[type="email"]:focus-visible { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242,196,109,.45); }
.field input[aria-invalid="true"] { border-color: #e2725f; box-shadow: 0 0 0 3px rgba(226,114,95,.35); }
.btn {
  appearance: none; border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 1rem;
  color: var(--slate-950); padding: .9rem 1.3rem; border-radius: 12px; min-height: 50px; white-space: nowrap;
  background: linear-gradient(135deg, #f7d58c 0%, #f2c46d 45%, #e9a08b 100%);
  box-shadow: 0 8px 24px -10px rgba(242,196,109,.7);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(242,196,109,.85); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.btn[disabled] { filter: saturate(.6) brightness(.9); cursor: progress; }
.status:empty { display: none; }
.status { margin: .65rem .5rem 0; font-size: .95rem; font-weight: 600; }
.status.ok { color: var(--ok); }
.status.err { color: var(--err); }
.status.info { color: #ffe3b0; }
.privacy { margin: .6rem .5rem 0; font-size: .84rem; color: rgba(226,234,246,.82); }
.privacy a { color: #fff; text-underline-offset: 3px; }

@media (min-width: 560px) {
  .field { flex-direction: row; align-items: stretch; }
  .field input[type="email"] { padding-left: 1.1rem; }
}

.scroll-cue {
  position: absolute; z-index: 3; left: 50%; bottom: max(1.4rem, env(safe-area-inset-bottom));
  transform: translateX(-50%); width: 28px; height: 44px; border-radius: 14px;
  border: 1.5px solid rgba(255,255,255,.5);
}
.scroll-cue span {
  position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: #fff; animation: cue 2.6s ease-in-out infinite;
}
@keyframes cue { 0%,100% { transform: translateY(0); opacity: .9; } 55% { transform: translateY(12px); opacity: .2; } }

/* ---------- Scene ---------- */
.scene { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.scene > *, .layer > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.sky { will-change: opacity; }
.sky-summer-a { background: linear-gradient(180deg, #17223f 0%, #3a3f6c 38%, #a5677a 70%, #ee9f69 92%, #f6b878 100%); }
.sky-summer-b { background: linear-gradient(180deg, #3a6aa6 0%, #6f9bcb 36%, #bcd0e2 64%, #f6d6a6 88%, #ffe5b0 100%); opacity: .8; }
.sky-winter-a { background: linear-gradient(180deg, #111a33 0%, #313d68 38%, #86769f 68%, #d99a96 90%, #efb69c 100%); }
.sky-winter-b { background: linear-gradient(180deg, #4a6fa2 0%, #8eaad0 38%, #cfdbec 66%, #f2dcdc 88%, #fbe7d6 100%); opacity: .8; }
.winter { opacity: 0; }
.sun-svg { will-change: transform, opacity; overflow: visible; }
.layer { position: absolute; inset: 0; will-change: transform; }
.layer-svg { will-change: opacity; }
.layer-svg.tint { opacity: .1; }
.layer-svg.glow { opacity: .15; }
.mist {
  inset: auto -30% auto -30% !important; width: 160% !important; height: 26% !important;
  background:
    radial-gradient(40% 60% at 25% 50%, rgba(236,240,248,.55), transparent 70%),
    radial-gradient(35% 50% at 62% 55%, rgba(236,240,248,.42), transparent 70%),
    radial-gradient(30% 55% at 88% 45%, rgba(236,240,248,.38), transparent 70%);
  filter: blur(18px); opacity: .55; will-change: transform;
}
.mist-1 { top: 47% !important; animation: drift 90s ease-in-out infinite alternate; }
.mist-2 { top: 64% !important; opacity: .45; animation: drift 120s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate3d(-6%,0,0); } to { transform: translate3d(6%,0,0); } }
.snow { opacity: 0; }
.scrim {
  background:
    radial-gradient(70% 55% at 50% 30%, rgba(8,14,30,.42), rgba(8,14,30,0) 70%),
    linear-gradient(180deg, rgba(8,14,30,.55) 0%, rgba(8,14,30,.12) 38%, rgba(8,14,30,0) 60%, rgba(13,22,38,0) 86%, var(--slate-900) 100%);
}
@media (max-width: 640px) {
  .eyebrow { font-size: .68rem; letter-spacing: .12em; padding: .35rem .75rem; }
  .layer-svg, .sun-svg { top: 12% !important; }
  .scrim {
    background:
      linear-gradient(180deg, rgba(8,14,30,.62) 0%, rgba(8,14,30,.38) 45%, rgba(8,14,30,.15) 70%, var(--slate-900) 100%);
  }
}

/* ---------- Sections ---------- */
.wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 clamp(1.25rem, 5vw, 2.5rem); }
.section { position: relative; padding: clamp(4.5rem, 11vw, 8rem) 0; }
.section h2 {
  font-family: var(--font-display); font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.1;
  letter-spacing: -.015em; margin: .5rem 0 1.1rem; text-wrap: balance;
}
.section p { color: var(--mist); max-width: 36rem; }
.kicker { font-size: .78rem !important; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold) !important; }
.center { text-align: center; }
.center p, .center h2 { margin-left: auto; margin-right: auto; }
.two-col { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (min-width: 860px) {
  .two-col { grid-template-columns: 1.05fr 1fr; }
  .two-col.reverse > :first-child { order: 2; }
}

.problem { background: linear-gradient(180deg, var(--slate-900), var(--slate-850)); }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; max-width: 30rem; margin: 0 auto; }
.chip {
  font-size: .92rem; font-weight: 600; color: #cfdaea; padding: .55rem .95rem; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
}
.chip:nth-child(3n+1) { transform: rotate(-2deg); }
.chip:nth-child(4n+2) { transform: rotate(1.6deg) translateY(4px); }
.chip:nth-child(5n) { opacity: .6; }
.chip:nth-child(2) { border-color: rgba(233,160,139,.4); }
.chip:nth-child(7) { border-color: rgba(111,159,216,.45); }

.solution { background: var(--slate-850); }
.chat {
  margin: 0; padding: 1.4rem; border-radius: 22px; position: relative;
  background: linear-gradient(160deg, rgba(47,93,154,.25), rgba(17,28,48,.9) 55%);
  border: 1px solid rgba(143,179,224,.2);
  box-shadow: 0 30px 80px -40px rgba(0,0,0,.8);
}
.chat-cap { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
.bubble { padding: .9rem 1.1rem; border-radius: 16px; font-size: .98rem; line-height: 1.55; }
.bubble.q { background: rgba(255,255,255,.92); color: var(--slate-950); border-bottom-right-radius: 4px; margin-left: 12%; }
.bubble.a { margin-top: .8rem; margin-right: 6%; background: rgba(13,22,38,.85); border: 1px solid rgba(255,255,255,.08); border-bottom-left-radius: 4px; }
.bubble.a p { color: var(--ice); max-width: none; }
.bubble.a strong { color: #ffe3b0; font-weight: 700; }
.bubble.a ul { margin: .6rem 0 0; padding-left: 1.1rem; color: var(--mist); }
.bubble.a li { margin: .2rem 0; }
.bubble.a li::marker { color: var(--alpine); }

.benefits { background: linear-gradient(180deg, var(--slate-850), var(--slate-900)); }
.cards { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  padding: 1.6rem 1.4rem; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.09);
  transition: border-color .3s, transform .3s;
}
.card:hover { border-color: rgba(242,196,109,.35); transform: translateY(-2px); }
.card h3 { font-size: 1.08rem; font-weight: 700; margin: 1rem 0 .45rem; color: #fff; }
.card p { font-size: .97rem; }
.icon { width: 40px; height: 40px; padding: 8px; border-radius: 12px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; background: rgba(242,196,109,.1); }

.cta { padding-top: 2rem; }
.cta-card {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(2.6rem, 7vw, 4.5rem) clamp(1.25rem, 5vw, 3rem) clamp(2.2rem, 6vw, 3.5rem);
  border-radius: 28px;
  background:
    radial-gradient(80% 90% at 50% 0%, rgba(242,196,109,.18), transparent 60%),
    linear-gradient(180deg, #1b2c4a 0%, #121d33 100%);
  border: 1px solid rgba(143,179,224,.18);
}
.cta-card h2, .cta-card > p { margin-left: auto; margin-right: auto; position: relative; }
.cta-ridge { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 70px; fill: rgba(143,179,224,.08); }
.cta-card .waitlist { position: relative; }

/* ---------- Footer ---------- */
.site-footer { padding: 2.5rem 0 calc(2rem + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.07); background: var(--slate-950); font-size: .92rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; gap: 1.4rem; }
.site-footer nav a { color: var(--mist); text-decoration: none; padding: .3rem 0; }
.site-footer nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .lang-btn { color: var(--muted); }
.site-footer .lang-btn[aria-pressed="true"] { color: #fff; }
.disclaimer { margin-top: 1.4rem; font-size: .8rem; color: #7f8fa8; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mist, .scroll-cue span { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}
