/* LStairs — warm, light, investor-ready */

:root {
  --cream: #FAF5EC;
  --cream-deep: #F3EADA;
  --paper: #FFFDF8;
  --charcoal: #2B2419;
  --ink-soft: #5C5142;
  --amber: #C27822;
  --amber-deep: #8A5217;
  --gold: #E8A33D;
  --line: rgba(138, 82, 23, 0.16);
  --radius: 14px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.container.narrow { width: min(860px, 92%); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; }

h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 1.1rem; }
h3 { font-size: 1.22rem; margin-bottom: 0.45rem; font-weight: 600; }

h1 em, h2 em { font-style: italic; color: var(--amber); }

a { color: var(--amber-deep); }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.9rem;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 245, 236, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--charcoal);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover { color: var(--amber-deep); }

.nav-cta {
  padding: 0.45rem 1.05rem;
  border: 1.5px solid var(--amber);
  border-radius: 999px;
  color: var(--amber-deep) !important;
}

.nav-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--charcoal) !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(5rem, 11vw, 9rem);
  overflow: hidden;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(232, 163, 61, 0.22), transparent 65%),
    radial-gradient(900px 420px at -10% 110%, rgba(194, 120, 34, 0.12), transparent 60%),
    var(--cream);
}

.hero .lede {
  max-width: 640px;
  margin-top: 1.4rem;
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin-top: 1.6rem;
}

.hero-badges li {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber-deep);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.95rem;
}

/* ---------- Proof strip ---------- */
.proof-strip {
  background: var(--charcoal);
  color: var(--cream);
  padding: 2.2rem 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.proof { text-align: center; }

.proof-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1.1;
}

.proof-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.86rem;
  color: rgba(250, 245, 236, 0.75);
}

/* Decorative staircase descending across the hero's lower right */
.hero-stairs {
  position: absolute;
  right: -30px;
  bottom: -18px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  opacity: 0.5;
  pointer-events: none;
}

.hero-stairs span {
  width: clamp(30px, 5vw, 60px);
  background: linear-gradient(180deg, var(--gold), var(--amber));
  border-radius: 6px 6px 0 0;
}

.hero-stairs span:nth-child(1) { height: 150px; }
.hero-stairs span:nth-child(2) { height: 120px; }
.hero-stairs span:nth-child(3) { height: 92px; }
.hero-stairs span:nth-child(4) { height: 66px; }
.hero-stairs span:nth-child(5) { height: 42px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--amber);
  color: #FFF9EF;
  box-shadow: 0 6px 18px rgba(194, 120, 34, 0.32);
}

.btn-primary:hover { background: var(--amber-deep); transform: translateY(-2px); }

.btn-ghost {
  border: 1.5px solid var(--line);
  color: var(--charcoal);
  background: var(--paper);
}

.btn-ghost:hover { border-color: var(--amber); }

.btn-lg { padding: 1rem 2.2rem; font-size: 1.1rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }

.section-tinted {
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-lede {
  max-width: 660px;
  color: var(--ink-soft);
  font-size: 1.08rem;
  margin-bottom: 2.4rem;
}

.cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem;
  margin-top: 1.6rem;
  color: var(--ink-soft);
}

/* ---------- Story steps ---------- */
.story-steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 1rem;
}

.story-step {
  display: flex;
  gap: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.3rem;
}

.story-num {
  flex: none;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--charcoal);
  font-family: var(--font-display);
  font-weight: 600;
}

.story-step p { color: var(--ink-soft); font-size: 0.95rem; }

.story-note {
  margin-top: 1.8rem;
  font-size: 1.02rem;
  color: var(--amber-deep);
  font-style: italic;
}

/* ---------- Lose / gain ---------- */
.lose-gain {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-top: 2rem;
}

.lg-col {
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  border: 1px solid var(--line);
}

.lg-lose { background: rgba(138, 82, 23, 0.06); }

.lg-gain {
  background: var(--paper);
  border-color: var(--gold);
  box-shadow: 0 10px 28px rgba(232, 163, 61, 0.14);
}

.lg-col p { color: var(--ink-soft); }

.lg-tag {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--amber-deep) !important;
}

/* ---------- Compare table ---------- */
.compare-wrap {
  overflow-x: auto;
  margin: 2rem 0 2.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 560px;
}

.compare th, .compare td {
  text-align: left;
  padding: 0.95rem 1.2rem;
  border-bottom: 1px solid var(--line);
}

.compare th {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  background: var(--cream-deep);
}

.compare tbody tr:last-child td { border-bottom: none; }

.compare td:nth-child(2) { color: var(--ink-soft); }

.compare td:last-child, .compare th:last-child {
  color: var(--amber-deep);
  font-weight: 600;
  background: rgba(232, 163, 61, 0.10);
}

/* ---------- Roles ---------- */
.roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}

.role {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  display: flex;
  flex-direction: column;
}

.role p { color: var(--ink-soft); font-size: 0.95rem; flex: 1; }

.chip {
  display: inline-block;
  align-self: flex-start;
  margin-top: 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--amber-deep);
  background: rgba(232, 163, 61, 0.16);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
}

/* ---------- Honest note ---------- */
.honest {
  margin-top: 2.2rem;
  padding: 1.2rem 1.4rem;
  border-left: 3px solid var(--amber);
  background: var(--paper);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ---------- Offer ladder ---------- */
.offer-ladder {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0 auto 2rem;
  max-width: 640px;
  text-align: left;
}

.offer {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.offer-step {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--amber-deep);
  margin-bottom: 0.3rem;
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(138, 82, 23, 0.10);
}

.card p { color: var(--ink-soft); font-size: 0.95rem; }

.card-step {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

/* ---------- Difference ---------- */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-top: 2.2rem;
}

.diff {
  border-left: 3px solid var(--gold);
  padding: 0.4rem 0 0.4rem 1.3rem;
}

.diff p { color: var(--ink-soft); }

/* ---------- Traction ---------- */
.traction {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2rem;
}

.traction-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.3rem;
}

.traction-item p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Vision ---------- */
.vision h2 { max-width: 820px; }

/* ---------- Investors ---------- */
.investors { padding-bottom: clamp(5rem, 9vw, 7.5rem); }

.invest-card {
  text-align: center;
  background:
    radial-gradient(600px 260px at 50% -20%, rgba(232, 163, 61, 0.25), transparent 70%),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.4rem, 5vw, 4rem);
  box-shadow: 0 24px 60px rgba(138, 82, 23, 0.10);
}

.invest-card p {
  max-width: 560px;
  margin: 0 auto 1.9rem;
  color: var(--ink-soft);
}

.invest-card .fineprint {
  margin: 1.1rem auto 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
  opacity: 0.75;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0;
  background: var(--cream);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.footer .brand { font-size: 1.05rem; }

/* ---------- Reveal animation (only when JS is available) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards, .roles { grid-template-columns: 1fr 1fr; }
  .proof-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem 1rem; }
}

@media (max-width: 680px) {
  .nav-links { gap: 1rem; }
  .nav-links a:not(.nav-cta) { display: none; }
  .cols-2, .diff-grid, .cards, .traction, .roles,
  .story-steps, .lose-gain, .offer-ladder { grid-template-columns: 1fr; }
  .hero-stairs { opacity: 0.28; }
}
