/* ============================================================
   DUSTY — iOS app funnel landing page ("Axis Mundi" world)
   Reuses design tokens from styles.css.
   ============================================================ */

.lp { position: relative; }

/* ---------- nav ---------- */
.lp-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 40px);
  transition: background .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.lp-nav.scrolled { background: rgba(8,9,18,0.8); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.lp-nav .brand { font-family: var(--f-display); font-weight: 700; font-size: 19px; letter-spacing: 0.04em; color: var(--starlight); display: inline-flex; align-items: center; gap: 0.45em; }
.lp-nav .brand .leaf { color: var(--gold); filter: drop-shadow(0 0 8px rgba(242,179,61,0.6)); }
.lp-nav .brand .back { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }

/* ---------- hero ---------- */
.lp-hero {
  min-height: 100svh; display: grid; grid-template-columns: 1.05fr 0.95fr;
  align-items: center; gap: clamp(30px, 5vw, 70px);
  padding: 120px clamp(20px, 5vw, 72px) 70px; position: relative; overflow: hidden;
}
.lp-hero::after { content: ""; position: absolute; right: -10%; top: 20%; width: 70%; height: 70%;
  background: radial-gradient(circle, rgba(232,116,59,0.16), transparent 65%); pointer-events: none; z-index: 0; }
.hero-copy { position: relative; z-index: 2; }
.app-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--line-warm); border-radius: 999px; padding: 7px 15px; }
.app-badge .apple { font-size: 14px; }
.lp-title {
  font-family: var(--f-display); font-weight: 700; line-height: 0.92;
  font-size: clamp(64px, 11vw, 140px); margin: 22px 0 0; color: var(--starlight);
  text-shadow: 0 0 70px rgba(242,179,61,0.22);
}
.lp-tagline { font-family: var(--f-serif); font-style: italic; font-size: clamp(22px, 3.2vw, 36px); color: var(--gold); margin: 6px 0 0; }
.lp-sub { font-size: clamp(17px, 1.8vw, 20px); color: var(--ink-soft); max-width: 46ch; margin: 22px 0 0; line-height: 1.6; }
.lp-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.lp-trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 26px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--ink-faint); }
.lp-trust span { display: inline-flex; align-items: center; gap: 7px; }
.lp-trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sap); box-shadow: 0 0 8px var(--sap); }

.hero-phone { position: relative; z-index: 2; display: flex; justify-content: center; }

/* ---------- iPhone frame ---------- */
.phone {
  position: relative; width: clamp(240px, 26vw, 320px); aspect-ratio: 300 / 620;
  background: linear-gradient(155deg, #2a2620, #0d0c10); border-radius: 13% / 6.3%;
  padding: 11px; box-shadow: 0 40px 90px rgba(0,0,0,0.6), 0 0 0 1px rgba(237,231,214,0.08), inset 0 0 0 2px rgba(0,0,0,0.6);
}
.phone.tilt { transform: rotate(3deg); }
.phone-screen {
  position: relative; width: 100%; height: 100%; border-radius: 11.5% / 5.8%; overflow: hidden;
  background: linear-gradient(180deg, #0b0e1a 0%, #160f1d 55%, #1a1209 100%);
  display: flex; flex-direction: column;
}
.phone .island { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 34%; height: 18px; background: #000; border-radius: 999px; z-index: 5; }
.app-top { padding: 30px 16px 12px; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid var(--line); }
.app-top .av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; background: radial-gradient(circle at 50% 35%, rgba(242,179,61,0.25), rgba(11,14,26,0.9)); border: 1px solid var(--line-warm); }
.app-top .nm { font-family: var(--f-display); font-weight: 700; font-size: 14px; color: var(--starlight); }
.app-top .st { font-family: var(--f-mono); font-size: 8px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sap); display: flex; align-items: center; gap: 4px; }
.app-top .st::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--sap); box-shadow: 0 0 6px var(--sap); }
.app-chat { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.am { max-width: 84%; padding: 9px 11px; border-radius: 13px; font-size: 11.5px; line-height: 1.45; }
.am.bot { align-self: flex-start; background: linear-gradient(160deg, rgba(232,116,59,0.12), rgba(20,17,28,0.7)); border: 1px solid var(--line-warm); border-top-left-radius: 4px; color: var(--ink); }
.am.bot b { color: var(--gold); }
.am.user { align-self: flex-end; background: var(--ember-grad); color: #1a0d04; font-weight: 500; border-top-right-radius: 4px; }
.app-input { margin: 0 12px 16px; display: flex; align-items: center; gap: 7px; background: rgba(0,0,0,0.35); border: 1px solid var(--line); border-radius: 999px; padding: 8px 8px 8px 14px; }
.app-input .ph { flex: 1; font-size: 11px; color: var(--ink-faint); }
.app-input .go { width: 26px; height: 26px; border-radius: 50%; background: var(--ember-grad); color: #1a0d04; display: grid; place-items: center; font-size: 13px; }

/* ---------- generic section ---------- */
.lp-sec { padding: clamp(70px, 10vw, 130px) clamp(20px, 5vw, 72px); position: relative; }
.lp-sec .head { max-width: 880px; margin: 0 auto clamp(40px, 6vw, 70px); text-align: center; }
.lp-eyebrow { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); display: inline-block; margin-bottom: 16px; }
.lp-h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(32px, 5vw, 58px); line-height: 1.05; color: var(--starlight); letter-spacing: 0.01em; text-wrap: balance; }
.lp-h2 .punch { display: block; font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(19px, 2.5vw, 30px); line-height: 1.2; color: var(--gold); letter-spacing: 0; margin-top: 14px; opacity: 0.92; }
.lp-lede { font-family: var(--f-serif); font-size: clamp(19px, 2.2vw, 25px); color: var(--ink-soft); line-height: 1.5; margin: 18px auto 0; max-width: 60ch; }

/* value-prop cards */
.vp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1100px; margin: 0 auto; }
.vp-card { padding: 32px 26px; border-radius: var(--radius); background: linear-gradient(160deg, var(--panel), var(--panel-2)); border: 1px solid var(--line); }
.vp-card .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; background: rgba(232,116,59,0.12); border: 1px solid var(--line-warm); margin-bottom: 18px; }
.vp-card h3 { font-family: var(--f-display); font-weight: 700; font-size: 21px; color: var(--starlight); margin-bottom: 10px; }
.vp-card p { color: var(--ink-soft); font-size: 15.5px; margin: 0; line-height: 1.6; }

/* showcase rows */
.show-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 6vw, 80px); max-width: 1080px; margin: 0 auto clamp(50px, 8vw, 100px); }
.show-row:last-child { margin-bottom: 0; }
.show-row:nth-child(even) .show-phone { order: 2; }
.show-txt .n { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.2em; color: var(--gold); }
.show-txt h3 { font-family: var(--f-display); font-weight: 700; font-size: clamp(26px, 3.2vw, 40px); color: var(--starlight); margin: 10px 0 14px; line-height: 1.1; }
.show-txt p { color: var(--ink-soft); font-size: 17px; line-height: 1.6; max-width: 46ch; }
.show-phone { display: flex; justify-content: center; }

/* requirements band */
.req-band { text-align: center; }
.req-chips { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.req-chip { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(237,231,214,0.03); min-width: 150px; }
.req-chip .big { font-family: var(--f-display); font-weight: 700; font-size: 26px; color: var(--gold); }
.req-chip .sm { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }

/* waitlist */
.waitlist { text-align: center; }
.wl-card { max-width: 560px; margin: 36px auto 0; padding: clamp(28px, 4vw, 44px); border-radius: 20px; background: linear-gradient(160deg, rgba(232,116,59,0.1), var(--panel-2)); border: 1px solid var(--line-warm); }
.wl-form { display: flex; flex-direction: column; gap: 12px; }
.wl-form input { width: 100%; padding: 16px 18px; background: rgba(0,0,0,0.32); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-family: var(--f-body); font-size: 16px; text-align: center; }
.wl-form input:focus { outline: none; border-color: var(--gold); }
.wl-form .btn { width: 100%; }
.wl-msg { font-family: var(--f-serif); font-style: italic; font-size: 17px; margin-top: 14px; min-height: 1.3em; }
.wl-msg.ok { color: var(--sap); } .wl-msg.no { color: var(--clay); }
.wl-fine { font-family: var(--f-mono); font-size: 11px; color: var(--ink-faint); margin-top: 14px; letter-spacing: 0.04em; }

/* faq */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; margin-bottom: 12px; background: rgba(237,231,214,0.02); }
.faq details[open] { border-color: var(--line-warm); }
.faq summary { font-family: var(--f-display); font-weight: 700; font-size: 18px; color: var(--starlight); padding: 16px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 22px; font-family: var(--f-mono); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); font-size: 16px; line-height: 1.6; margin: 0 0 18px; }

/* footer */
.lp-foot { padding: 70px clamp(20px,5vw,72px) 56px; border-top: 1px solid var(--line); text-align: center; background: linear-gradient(180deg, transparent, rgba(6,8,18,0.9)); }
.lp-foot .glyph { font-family: var(--f-display); font-size: 40px; color: var(--gold); filter: drop-shadow(0 0 18px rgba(242,179,61,0.5)); }
.lp-foot p { font-family: var(--f-serif); font-style: italic; font-size: 19px; color: var(--ink-soft); margin: 18px auto 8px; max-width: 42ch; }
.lp-foot a.home-link { color: var(--gold); border-bottom: 1px solid var(--line-warm); }
.lp-foot .fine { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-faint); margin-top: 22px; }

@media (max-width: 900px) {
  .lp-hero { grid-template-columns: 1fr; text-align: center; padding-top: 110px; }
  .lp-hero .lp-ctas, .lp-hero .lp-trust { justify-content: center; }
  .lp-sub { margin-left: auto; margin-right: auto; }
  .hero-phone { margin-top: 20px; }
  .vp-grid { grid-template-columns: 1fr; max-width: 460px; }
  .show-row { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .show-row:nth-child(even) .show-phone { order: 0; }
  .show-txt p { margin-left: auto; margin-right: auto; }
}
