/* andAndrea — andandrea.com landing page (Mighty landing replica).
 * Phone-first (~390px); wording and photo positions mirror the original. */

:root {
  --l-radius: 16px;
  --l-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
  --l-hairline: rgba(127, 127, 127, 0.25);
}

html:has(body.landing-body) { height: auto; }
body.landing-body { height: auto; min-height: 100dvh; }

/* ---------- Top bar ---------- */
.landing-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: env(safe-area-inset-top) 1rem 0;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--l-hairline);
}
.landing-bar .avatar-sm { width: 30px; height: 30px; border-radius: 9px; object-fit: cover; }
.landing-bar .bar-name { font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em; }
.landing-bar .bar-signin {
  margin-left: auto;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--magenta);
  text-decoration: none;
  padding: 0.4rem 0;
}

/* ---------- Body column ---------- */
.landing {
  max-width: 640px;
  margin: 0 auto;
  padding: 0.5rem 1.25rem calc(2rem + env(safe-area-inset-bottom));
}
.landing section { margin-top: 2rem; }

.l-hero { text-align: center; }
.l-hero h1 {
  font-size: clamp(1.9rem, 8vw, 2.5rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 1.6rem 0 0.4rem;
}
.l-hero .l-sub {
  font-size: 1.15rem;
  color: var(--magenta);
  margin: 0 0 0.6rem;
}
.l-hero p { font-size: 1.05rem; }

.landing h3 {
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  margin: 0 0 0.6rem;
}
.landing h3::before {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  border-radius: 2px;
  background: var(--magenta);
  margin-bottom: 0.55rem;
}
.landing p { line-height: 1.65; margin: 0.65rem 0; }
.landing ol { padding-left: 1.3rem; margin: 0.65rem 0; }
.landing li { line-height: 1.6; margin: 0.55rem 0; }
.landing a { color: var(--magenta); font-weight: 600; }
.l-alpha { list-style-type: lower-alpha; }
.l-footnote { font-size: 0.92rem; color: var(--muted); }
.l-note { text-align: center; letter-spacing: 0.02em; }

/* ---------- Photo rows (original positions) ---------- */
.l-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 2rem;
}
.l-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  border-radius: var(--l-radius);
  box-shadow: var(--l-shadow);
}
.l-photos-single { grid-template-columns: 1fr; }
.l-photos-single img { aspect-ratio: auto; }

/* ---------- Choose a Plan ---------- */
.l-plans-title {
  text-align: center;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  margin: 0 0 1.2rem;
}
.plan-card {
  background: var(--paper);
  border: 1px solid var(--l-hairline);
  border-radius: var(--l-radius);
  overflow: hidden;
  box-shadow: var(--l-shadow);
  display: flex;
  flex-direction: column;
}
.plan-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.plan-card .plan-body { padding: 0.9rem 1rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.plan-card h4 { margin: 0 0 0.3rem; font-size: 1.08rem; letter-spacing: -0.01em; }
.plan-card .plan-teaser {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 0.7rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.plan-card .plan-price { margin: auto 0 0.6rem; font-weight: 700; font-size: 1.05rem; }
.plan-card .plan-price .cur { font-size: 0.78rem; color: var(--muted); font-weight: 600; margin-left: 0.3rem; }
.plan-card .btn { min-height: 46px; font-size: 0.95rem; }

.plan-grid { display: grid; gap: 1.1rem; }
@media (min-width: 600px) { .plan-grid { grid-template-columns: 1fr 1fr; } }

/* Featured membership card */
.plan-card.membership { border: 2px solid var(--magenta); margin-bottom: 1.2rem; }
.plan-card.membership .plan-badge {
  display: inline-block;
  align-self: flex-start;
  background: rgba(218, 24, 132, 0.1);
  color: var(--magenta);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.24rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}
.plan-card.membership .plan-price s { color: var(--muted); font-weight: 400; margin-right: 0.35rem; }
.plan-card.membership .plan-price .now { color: var(--magenta); font-size: 1.3rem; }

.landing-foot {
  text-align: center;
  padding: 1.5rem 1rem calc(2.5rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--l-hairline);
}
.landing-foot a { color: var(--magenta); font-weight: 600; text-decoration: none; font-size: 0.92rem; }

.loading { text-align: center; color: var(--muted); padding: 2rem 1rem; }
