/* Landing page on top of style.css (same palette as the app). */
body.landing { --line: #3a3d33; --orange: #ffb547; overflow-x: clip; }
.landing main, .landing section, .landing header, .landing footer {
  max-width: 1080px; margin: 0 auto; padding-left: 16px; padding-right: 16px;
}
.landing h1 { font-size: clamp(2.6rem, 8vw, 4.6rem); letter-spacing: -0.02em; margin: 0.1em 0 0.25em; }
.landing h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin: 0 0 0.6em; letter-spacing: -0.01em; }
.landing h3 { font-size: 1.05rem; color: var(--ink); margin: 0 0 0.3em; }
.landing p { margin: 0 0 0.8em; }

.nav { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.15rem; text-decoration: none; }
.brand img { border-radius: 8px; }
.nav nav { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.nav nav a:hover { color: var(--ink); }

.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; padding-top: 24px; padding-bottom: 48px; }
.eyebrow { color: var(--lime); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 700; }
.sub { font-size: 1.2rem; color: var(--ink); max-width: 30em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 24px 0 10px; }
.badge { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; background: #000; color: var(--ink); border: 1.5px solid var(--line); border-radius: 12px; padding: 8px 16px 8px 12px; }
.badge:hover { border-color: var(--lime); }
.badge small { display: block; font-size: 0.7rem; color: var(--muted); line-height: 1.1; }
.badge span { font-weight: 700; line-height: 1.2; }
.button { display: inline-block; padding: 14px 22px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--lime); font-weight: 700; text-decoration: none; }
.button:hover { border-color: var(--lime); }
.button.primary { background: var(--lime); color: var(--ground); border-color: var(--lime); }
.fine { font-size: 0.85rem; }

.phone { margin: 0; border-radius: 34px; padding: 8px; background: #000; border: 1.5px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,0.55); }
.phone img { display: block; width: 100%; height: auto; border-radius: 26px; }
.hero-phones { position: relative; display: flex; justify-content: center; min-height: 420px; }
.hero-phones .phone { width: min(260px, 44vw); }
.hero-phones .front { position: relative; z-index: 2; transform: translateX(-18%) rotate(-3deg); }
.hero-phones .back { position: absolute; top: 40px; left: 50%; transform: translateX(-2%) rotate(5deg); opacity: 0.9; }

.problem { padding-top: 40px; padding-bottom: 40px; }
.problem p { font-size: clamp(1.25rem, 3vw, 1.7rem); color: var(--muted); text-align: center; max-width: 34em; margin: 0 auto; line-height: 1.4; }
.problem strong { color: var(--orange); }

.how { padding-top: 48px; padding-bottom: 48px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { background: var(--card); border-radius: 20px; padding: 22px; }
.num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--lime); color: var(--ground); font-weight: 800; margin-bottom: 14px; }

.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-top: 48px; padding-bottom: 48px; }
.screens figure { margin: 0; }
.screens .phone { max-width: 280px; margin: 0 auto 18px; }
.screens figcaption { color: var(--muted); text-align: center; max-width: 22em; margin: 0 auto; }
.screens figcaption strong { display: block; color: var(--ink); font-size: 1.1rem; margin-bottom: 4px; }

.share { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.share h2 { font-size: clamp(2.2rem, 6vw, 3.4rem); color: var(--lime); }
.story { margin: 0 auto; max-width: 300px; }
.story img { display: block; width: 100%; height: auto; border-radius: 24px; border: 1.5px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,0.55); }

.features { padding-top: 48px; padding-bottom: 48px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid > div { background: var(--card); border-radius: 20px; padding: 22px; }
.grid p { margin: 0; }

.plans { padding-top: 48px; padding-bottom: 16px; }
.split-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.price { font-size: 1.6rem; font-weight: 800; color: var(--ink); margin: 0 0 0.4em; }
.price span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.panel.pro { border: 1.5px solid var(--lime); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 32px; padding-bottom: 48px; }
.panel { background: var(--card); border-radius: 20px; padding: 26px; }
.checks { list-style: none; padding: 0; margin: 0 0 12px; }
.checks li { padding-left: 30px; position: relative; margin: 10px 0; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--lime); font-weight: 800; }

.final { text-align: center; padding-top: 56px; padding-bottom: 56px; }
.final img { border-radius: 22px; margin-bottom: 12px; }
.final p { font-size: 1.1rem; }

.foot { border-top: 1px solid var(--line); padding-top: 24px; padding-bottom: 40px; font-size: 0.9rem; }
.foot .tm { font-size: 0.75rem; color: var(--muted); opacity: 0.7; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-bottom: 24px; }
  .hero-phones { min-height: 0; margin-top: 12px; }
  .hero-phones .phone { width: min(220px, 50vw); }
  /* Keep both tilted phones inside the viewport on small screens */
  .hero-phones .front { transform: translateX(-30%) rotate(-3deg); }
  .hero-phones .back { left: auto; right: max(4%, calc(50% - 200px)); top: 28px; transform: rotate(5deg); }
  .steps, .screens, .grid, .split, .split-inner, .share { grid-template-columns: 1fr; }
  .screens { gap: 40px; }
}
@media (max-width: 480px) {
  .nav nav { gap: 12px; }
  .nav nav a[href="#how"] { display: none; }
}
