/* ==========================================================================
   Launchpad — shared stylesheet
   Ported from Shopify Liquid sections. Tokens below match the original
   theme settings (accent #38bdf8 / #0284c7, bg #fafafa, text #0f172a).
   ========================================================================== */

:root {
  --bg-white: #fafafa;
  --text-black: #0f172a;
  --text-muted: #64748b;
  --baby-blue: #38bdf8;
  --baby-blue-dark: #0284c7;
  --baby-blue-glow: #38bdf873;

  --glass-bg: rgba(255, 255, 255, 0.68);
  --glass-border: rgba(15, 23, 42, 0.08);
  --glass-border-hover: #38bdf88c;
  --glass-shadow: 0 20px 45px rgba(15, 23, 42, 0.05), inset 0 1px 2px rgba(255, 255, 255, 0.9);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-white);
  color: var(--text-black);
  font-family: 'Archivo', sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

a { color: inherit; text-decoration: none; }
.lp-mono { font-family: 'Space Mono', monospace; }

.lp-grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: 0.035; mix-blend-mode: multiply; background-repeat: repeat;
}

[data-hero] { opacity: 1; transform: none; }
body.js [data-hero] { opacity: 0; transform: translateY(28px); }
.lp-reveal { opacity: 1; transform: none; }
body.js .lp-reveal { opacity: 0; transform: translateY(36px); }

@media (prefers-reduced-motion: reduce) {
  body.js [data-hero],
  body.js .lp-reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Top navigation ---------- */
.lp-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem clamp(1.5rem, 5vw, 3rem);
  background: rgba(250, 250, 250, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glass-border);
}
.lp-nav-logo {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 600; font-size: 1.25rem;
  color: var(--text-black); display: inline-flex; align-items: center; gap: 6px;
}
.lp-nav-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--baby-blue);
  box-shadow: 0 0 10px var(--baby-blue); display: inline-block;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.lp-nav-logo:hover .lp-nav-dot { transform: scale(1.8); }

.lp-nav-links {
  display: flex; gap: 0.5rem; align-items: center;
  font-family: 'Space Mono', monospace; font-size: 0.85rem;
}
.lp-nav-links a {
  padding: 0.5rem 0.9rem; border-radius: 999px; color: var(--text-muted);
  transition: color 0.25s ease, background 0.25s ease;
}
.lp-nav-links a:hover { color: var(--text-black); background: rgba(56, 189, 248, 0.1); }
.lp-nav-links a.is-current { color: var(--baby-blue-dark); background: rgba(56, 189, 248, 0.14); font-weight: 700; }

.lp-nav-toggle {
  display: none; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  border: 1px solid var(--glass-border); background: rgba(255,255,255,0.85);
  align-items: center; justify-content: center; cursor: pointer;
}
@media (max-width: 640px) {
  .lp-nav-links {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    align-items: stretch; background: rgba(250, 250, 250, 0.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--glass-border); padding: 0.5rem clamp(1.5rem, 5vw, 3rem) 1rem;
    display: none;
  }
  .lp-nav-links.is-open { display: flex; }
  .lp-nav-links a { padding: 0.75rem 0.5rem; text-align: left; }
  .lp-nav-toggle { display: inline-flex; }
}

/* ---------- Section shell ---------- */
.lp-section {
  padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 5vw, 3rem);
  position: relative; z-index: 2; scroll-margin-top: 5rem;
}
.lp-container-narrow { max-width: 46rem; margin: 0 auto; text-align: center; position: relative; }
.lp-container-wide { max-width: 72rem; margin: 0 auto; position: relative; }

.lp-eyebrow {
  font-family: 'Space Mono', monospace; font-size: 0.8rem; color: var(--baby-blue-dark);
  text-transform: lowercase; display: inline-block; margin-bottom: 1.5rem; letter-spacing: 0.08em;
  background: rgba(56, 189, 248, 0.12); padding: 0.35rem 0.85rem; border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.3); backdrop-filter: blur(8px);
}

.lp-section-heading {
  font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(1.75rem, 3vw + 1rem, 3rem);
  line-height: 1.15; max-width: 44rem; color: var(--text-black);
}
.lp-container-narrow .lp-section-heading, .lp-container-wide.center .lp-section-heading { margin: 0 auto; }
.lp-section-sub { margin-top: 1rem; color: var(--text-muted); font-size: 1.05rem; max-width: 34rem; }
.lp-container-narrow .lp-section-sub, .lp-container-wide.center .lp-section-sub { margin-left: auto; margin-right: auto; }

.lp-btn {
  display: inline-flex; align-items: center; gap: 0.5rem; font-family: 'Archivo', sans-serif;
  font-weight: 600; font-size: 0.9rem; padding: 0.9rem 1.75rem; border-radius: 999px;
  background: var(--text-black); color: #ffffff; text-decoration: none;
  border: 1px solid rgba(56, 189, 248, 0.4); cursor: pointer;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.2), 0 0 15px var(--baby-blue-glow);
  backdrop-filter: blur(12px);
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.3s ease, box-shadow 0.3s ease;
  position: relative; overflow: hidden;
}
.lp-btn:hover { background: #1e293b; box-shadow: 0 18px 35px -5px var(--baby-blue-glow); }
.lp-btn:disabled { opacity: 0.7; cursor: not-allowed; }

/* ---------- Hero ---------- */
#fx-zone { position: relative; }
#fx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

.lp-hero {
  position: relative; min-height: 88vh; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 4rem 1.5rem; overflow: hidden;
}
.lp-hero-inner { position: relative; z-index: 2; max-width: 52rem; }
.lp-hero-heading {
  font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(2.3rem, 5vw + 1rem, 5.2rem);
  line-height: 1.1; letter-spacing: -0.01em; color: var(--text-black);
}
.lp-hero-heading-accent {
  display: block; font-style: italic; font-weight: 400;
  background: linear-gradient(135deg, var(--text-black), var(--baby-blue-dark));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.lp-hero-sub { margin: 1.5rem auto 0; color: var(--text-muted); font-size: clamp(1rem, 1.5vw, 1.15rem); max-width: 30rem; }
.lp-hero-inner .lp-btn { margin-top: 2.25rem; }

/* ---------- About / stage cards ---------- */
.lp-about-grid { margin-top: 3rem; display: grid; gap: 1.25rem; grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) { .lp-about-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .lp-about-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .lp-about-grid-3 { grid-template-columns: repeat(3, 1fr); } }

.lp-stage-card {
  background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 1.25rem;
  padding: 2rem 1.5rem; backdrop-filter: blur(16px); box-shadow: var(--glass-shadow);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.lp-stage-card:hover { border-color: var(--glass-border-hover); transform: translateY(-6px); box-shadow: 0 25px 45px rgba(56, 189, 248, 0.12); }
.lp-stage-card .lp-stage-num { font-size: 0.75rem; color: var(--baby-blue-dark); letter-spacing: 0.06em; }
.lp-stage-card .lp-stage-title { font-family: 'Fraunces', serif; font-size: 1.3rem; font-weight: 500; margin-top: 0.5rem; }
.lp-stage-card .lp-stage-desc { margin-top: 0.6rem; color: var(--text-muted); font-size: 0.9rem; }

/* ---------- Timeline ---------- */
.lp-dates-grid { margin-top: 3rem; display: grid; gap: 1.25rem; grid-template-columns: repeat(1, 1fr); }
@media (min-width: 768px) { .lp-dates-grid { grid-template-columns: repeat(3, 1fr); } }

.lp-date-card {
  background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 1.25rem;
  padding: 2.25rem 1.75rem; backdrop-filter: blur(16px); box-shadow: var(--glass-shadow);
  text-align: center; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.lp-date-card:hover { border-color: var(--glass-border-hover); transform: translateY(-6px); box-shadow: 0 25px 45px rgba(56, 189, 248, 0.12); }
.lp-date-card .lp-phase { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.lp-date-card .lp-tba-badge {
  display: inline-block; margin-top: 1rem; padding: 0.5rem 1.25rem; background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4); border-radius: 999px; color: var(--baby-blue-dark); font-weight: 700;
}

/* ---------- Signup / countdown / contact card shell ---------- */
.lp-signup-card {
  background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 2rem;
  padding: clamp(2.5rem, 5vw, 4.5rem); backdrop-filter: blur(20px); box-shadow: var(--glass-shadow); text-align: center;
}
.lp-countdown-display { display: flex; justify-content: center; gap: 1rem; margin: 2rem 0; flex-wrap: wrap; }
.lp-timer-box {
  background: rgba(255, 255, 255, 0.9); border: 1px solid var(--glass-border); border-radius: 1rem;
  padding: 1rem 1.25rem; min-width: 4.5rem; box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04); transition: transform 0.3s ease;
}
.lp-timer-box:hover { transform: translateY(-3px); border-color: var(--baby-blue); }
.lp-timer-box .lp-digit { font-size: 2rem; font-weight: 700; color: var(--text-black); }
.lp-timer-box .lp-label { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; }

.lp-waitlist-form { display: flex; flex-direction: column; gap: 0.75rem; max-width: 26rem; margin: 2rem auto 0; }
@media (min-width: 480px) { .lp-waitlist-form { flex-direction: row; } }
.lp-waitlist-input {
  flex: 1; padding: 0.85rem 1.25rem; border-radius: 999px; border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.85); outline: none; font-size: 0.9rem; color: var(--text-black);
  backdrop-filter: blur(10px); transition: all 0.3s ease; font-family: inherit;
}
.lp-waitlist-input:focus { border-color: var(--baby-blue); box-shadow: 0 0 12px var(--baby-blue-glow); }
.lp-contact-form { display: flex; flex-direction: column; gap: 0.75rem; max-width: 26rem; margin: 2rem auto 0; }
.lp-contact-textarea { border-radius: 1.25rem; resize: vertical; font-family: 'Archivo', sans-serif; }
.lp-form-note { margin-top: 0.85rem; font-size: 0.8rem; color: var(--text-muted); }

/* ---------- Founders ---------- */
#lp-founders { padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 5vw, 3rem); }
.lpf-wrap { max-width: 72rem; margin: 0 auto; text-align: center; }

.lpf-stage { margin-top: 3.5rem; display: grid; grid-template-areas: "slide"; position: relative; }
.lpf-slide {
  grid-area: slide;
  display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center;
  background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem); backdrop-filter: blur(18px); box-shadow: var(--glass-shadow);
  text-align: left;
  opacity: 0; transform: translateX(48px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.lpf-slide.is-active { opacity: 1; transform: translateX(0) scale(1); pointer-events: auto; position: relative; z-index: 2; }
.lpf-slide.is-leaving-left { transform: translateX(-48px) scale(0.98); }
.lpf-slide.is-leaving-right { transform: translateX(48px) scale(0.98); }
@media (min-width: 860px) { .lpf-slide { grid-template-columns: minmax(220px, 380px) 1fr; text-align: left; } }

.lpf-media {
  position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: 1.5rem; overflow: hidden;
  background: linear-gradient(135deg, var(--text-black), var(--baby-blue-dark));
  box-shadow: 0 20px 45px var(--baby-blue-glow);
}
.lpf-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lpf-media .lpf-initial {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: 'Fraunces', serif; font-size: 5rem; font-weight: 600;
}

.lpf-copy { display: flex; flex-direction: column; gap: 0.75rem; }
.lpf-index { font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0.08em; }
.lpf-name { font-family: 'Fraunces', serif; font-size: clamp(1.75rem, 2vw + 1.2rem, 2.75rem); font-weight: 500; }
.lpf-role { font-size: 0.85rem; color: var(--baby-blue-dark); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.lpf-bio { color: var(--text-muted); font-size: 1.05rem; line-height: 1.65; margin-top: 0.25rem; max-width: 38rem; }

.lpf-controls { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 2.25rem; }
.lpf-arrow {
  width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.85); cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--text-black); transition: all 0.3s ease; flex-shrink: 0;
}
.lpf-arrow:hover { border-color: var(--baby-blue); box-shadow: 0 0 15px var(--baby-blue-glow); transform: translateY(-2px); }

.lpf-dots { display: flex; gap: 0.5rem; }
.lpf-dot {
  width: 0.6rem; height: 0.6rem; border-radius: 50%; border: none; background: rgba(15, 23, 42, 0.18);
  cursor: pointer; transition: all 0.3s ease; padding: 0;
}
.lpf-dot.is-active { background: var(--baby-blue); width: 1.6rem; border-radius: 999px; }

/* ---------- Sponsors ---------- */
#lp-sponsors { padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 5vw, 3rem); }
.lps-wrap { max-width: 72rem; margin: 0 auto; text-align: center; }

.lps-grid { margin-top: 3rem; display: grid; gap: 1.25rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .lps-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .lps-grid { grid-template-columns: repeat(4, 1fr); } }

.lps-card {
  background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 1.25rem;
  padding: 1.75rem 1.25rem; backdrop-filter: blur(16px); box-shadow: var(--glass-shadow);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem;
  min-height: 9rem; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
a.lps-card { cursor: pointer; }
.lps-card:hover { border-color: rgba(56, 189, 248, 0.55); transform: translateY(-6px); box-shadow: 0 25px 45px rgba(56, 189, 248, 0.12); }
.lps-card img { max-width: 100%; max-height: 3.25rem; object-fit: contain; filter: grayscale(100%); opacity: 0.75; transition: filter 0.4s ease, opacity 0.4s ease; }
.lps-card:hover img { filter: grayscale(0%); opacity: 1; }
.lps-card .lps-fallback { font-family: 'Fraunces', serif; font-size: 1.1rem; font-weight: 500; color: var(--text-black); }
.lps-tier { font-size: 0.7rem; color: var(--baby-blue-dark); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }

.lps-cta { margin-top: 2.5rem; }

/* ---------- Info Booklet ---------- */
.lp-booklet-cover {
  min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 5rem 1.5rem 3rem; background: var(--text-black); color: #fff; border-radius: 0 0 2rem 2rem;
}
.lp-booklet-cover img { width: 88px; height: 88px; margin-bottom: 1.5rem; border-radius: 1.1rem; }
.lp-booklet-cover h1 { font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(2rem, 4vw + 1rem, 3.5rem); }
.lp-booklet-cover p { margin-top: 0.75rem; color: rgba(255,255,255,0.7); font-size: 1.05rem; }

.lp-booklet-nav { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-top: 2rem; }
.lp-booklet-nav a {
  font-family: 'Space Mono', monospace; font-size: 0.78rem; color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  padding: 0.45rem 0.95rem; border-radius: 999px; transition: all 0.25s ease;
}
.lp-booklet-nav a:hover { background: rgba(56,189,248,0.25); border-color: var(--baby-blue); }

.lp-rules-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; text-align: left; }
.lp-rule-item {
  background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 1.25rem;
  padding: 1.75rem 2rem; backdrop-filter: blur(16px); box-shadow: var(--glass-shadow);
}
.lp-rule-item h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 1.2rem; margin-bottom: 0.5rem; }
.lp-rule-item p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

.lp-criteria-table { margin-top: 2.5rem; width: 100%; border-collapse: collapse; text-align: left;
  background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 1.25rem; overflow: hidden;
  box-shadow: var(--glass-shadow); }
.lp-criteria-table th, .lp-criteria-table td { padding: 1rem 1.25rem; border-bottom: 1px solid var(--glass-border); font-size: 0.92rem; }
.lp-criteria-table th { font-family: 'Space Mono', monospace; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--baby-blue-dark); }
.lp-criteria-table td:nth-child(2) { font-weight: 700; white-space: nowrap; }
.lp-criteria-table tr:last-child td { border-bottom: none; }

.lp-prize-grid { margin-top: 2.5rem; display: grid; gap: 1.25rem; grid-template-columns: repeat(1, 1fr); }
@media (min-width: 700px) { .lp-prize-grid { grid-template-columns: repeat(2, 1fr); } }
.lp-prize-card {
  background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 1.25rem;
  padding: 1.75rem; backdrop-filter: blur(16px); box-shadow: var(--glass-shadow); text-align: left;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.lp-prize-card:hover { border-color: var(--glass-border-hover); transform: translateY(-4px); }
.lp-prize-rank { font-family: 'Space Mono', monospace; font-size: 0.75rem; color: var(--baby-blue-dark); text-transform: uppercase; letter-spacing: 0.08em; }
.lp-prize-value { font-family: 'Fraunces', serif; font-size: 2rem; font-weight: 500; margin: 0.35rem 0; }
.lp-prize-title { font-weight: 700; font-size: 0.95rem; }
.lp-prize-desc { color: var(--text-muted); font-size: 0.88rem; margin-top: 0.4rem; }

.lp-faq-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.85rem; text-align: left; }
.lp-faq-item {
  background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 1.1rem;
  backdrop-filter: blur(16px); box-shadow: var(--glass-shadow); overflow: hidden;
}
.lp-faq-question {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 1.25rem 1.5rem; display: flex; justify-content: space-between; align-items: center;
  font-family: 'Archivo', sans-serif; font-weight: 600; font-size: 0.98rem; color: var(--text-black);
}
.lp-faq-icon { font-size: 1.1rem; color: var(--baby-blue-dark); transition: transform 0.3s ease; flex-shrink: 0; margin-left: 1rem; }
.lp-faq-item.is-open .lp-faq-icon { transform: rotate(45deg); }
.lp-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.lp-faq-item.is-open .lp-faq-answer { max-height: 20rem; }
.lp-faq-answer p { padding: 0 1.5rem 1.25rem; color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; }

/* ---------- Footer ---------- */
.lp-footer { padding: 3rem clamp(1.5rem, 5vw, 3rem) 2.5rem; border-top: 1px solid var(--glass-border); position: relative; z-index: 2; }
.lp-footer-inner { max-width: 72rem; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start; }
.lp-footer-tag { margin-top: 0.6rem; color: var(--text-muted); font-size: 0.85rem; max-width: 20rem; }
.lp-footer-links { display: flex; gap: 1.5rem; font-size: 0.85rem; flex-wrap: wrap; }
.lp-footer-links a { color: var(--text-muted); transition: color 0.3s ease; }
.lp-footer-links a:hover { color: var(--text-black); }
.lp-footer-meta { color: var(--text-muted); font-size: 0.75rem; }
