/* The front page (index.html, rulebyrule.com): what Rule by Rule is, his video, and the way in for students.
   Built 2026-11-16. Same paper and ink as the practice pages (css/app.css), always light, no dark theme. */

.lp-top {
  max-width: 1080px; margin: 0 auto; padding: 16px 20px; padding-top: calc(16px + env(safe-area-inset-top));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.lp-top .btn { min-height: 44px; padding: 0 16px; font-size: 0.95rem; }

main.lp { max-width: 1080px; padding: 8px 20px 0; }

/* The hero: one line of who, the idea in two lines, his video, the way in. */
.lp-hero { text-align: center; padding: 24px 0 8px; }
.lp-hero .eyebrow { margin: 0 0 14px; }
.lp-hero h1 {
  font-size: clamp(2.15rem, 6.2vw, 3.7rem); line-height: 1.06; letter-spacing: -0.022em; font-weight: 560;
  margin: 0 auto 18px; max-width: 13em; text-wrap: balance;
}
.lp-blue { color: var(--accent); display: block; }
.lp-lede { color: var(--dim); font-size: clamp(1.05rem, 2.2vw, 1.22rem); line-height: 1.5; max-width: 33em; margin: 0 auto 30px; text-wrap: pretty; }

.lp-video {
  max-width: 920px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; background: transparent;
  box-shadow: 0 2px 4px rgb(23 32 56 / 0.08), 0 20px 50px rgb(23 32 56 / 0.18);
}
/* The desk's own colour behind the poster, so no dark ring shows at the rounded corners while it loads. */
.lp-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #D9BE94; }

.lp-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 26px 0 0; }
.lp-cta .btn { min-width: 168px; }

/* How it works: three cards, his own words from the video. */
.lp-how { padding: 64px 0 8px; }
.lp-how h2, .lp-close h2 { text-align: center; font-size: clamp(1.55rem, 3.6vw, 2.15rem); margin: 0 0 22px; }
.lp-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 760px) { .lp-steps { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.lp-steps li {
  counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px 24px; box-shadow: var(--shadow);
}
.lp-steps li::before {
  content: counter(step); width: 32px; height: 32px; border-radius: 9px; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-family: var(--serif); font-weight: 650; margin-bottom: 14px;
}
.lp-steps h3 { font-family: var(--serif); font-size: 1.18rem; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 6px; }
.lp-steps p { margin: 0; color: var(--dim); }

.lp-close { text-align: center; padding: 64px 0 56px; }
.lp-close h2 { margin-bottom: 8px; }
.lp-close p { color: var(--dim); margin: 0 0 20px; }
.lp-close .lp-mail { color: var(--ink); font-size: 1.15rem; margin: 0 0 30px; }
.lp-mail a { color: var(--accent); font-weight: 600; white-space: nowrap; }

.lp-foot {
  max-width: 1080px; margin: 0 auto; padding: 20px 20px calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); text-align: center; color: var(--dim); font-size: 0.875rem;
}
.lp-foot p { margin: 0; }
.lp-foot a { color: var(--dim); }
