/* whensbest.app's landing page, on top of styles.css. A file of its own so the legal pages stay plain. */
.landing { --action: #1F7F48; --on-action: #FFFFFF; --action-top: #2E9E5B; --action-lip: #155C33; --action-shadow: rgba(31, 127, 72, 0.35);
  --blue: #2451BB; --wash-a: rgba(36, 81, 187, 0.14); --wash-b: rgba(31, 127, 72, 0.12); --phone: #FFFFFF;
  --phone-shadow: rgba(20, 34, 74, 0.2); }
@media (prefers-color-scheme: dark) {
  .landing { --action: #52C985; --on-action: #0B1830; --action-top: #86E2AD; --action-lip: #2B8F58; --action-shadow: rgba(82, 201, 133, 0.25);
    --blue: #9DB8F5; --wash-a: rgba(157, 184, 245, 0.12); --wash-b: rgba(82, 201, 133, 0.1); --phone: #272B35;
    --phone-shadow: rgba(0, 0, 0, 0.45); }
}
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hero-wash { background:
  radial-gradient(640px 520px at 92% -6%, var(--wash-a), transparent 72%),
  radial-gradient(520px 480px at -6% 62%, var(--wash-b), transparent 72%); overflow: hidden; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 1.15rem;
  text-decoration: none; }
.logo img { border-radius: 10px; }
.btn { display: inline-block; padding: 13px 28px 12px; border-radius: 12px; background: var(--action); color: var(--on-action);
  font-weight: 800; text-decoration: none; border: 1px solid var(--action); border-top-color: var(--action-top);
  border-bottom: 3px solid var(--action-lip); box-shadow: 0 6px 16px var(--action-shadow); }
.btn::after { content: "\2192"; margin-left: 8px; }
.btn.ghost { background: var(--surface); color: var(--text); border: 1px solid #7C8496; border-bottom-width: 3px;
  box-shadow: none; padding: 9px 18px 8px; font-size: 0.95rem; }
.btn.ghost::after { content: none; }
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: translateY(2px); border-bottom-color: var(--action); box-shadow: none; }
.btn.ghost:active { border-bottom-color: #7C8496; }
@media (prefers-reduced-motion: reduce) { .btn:active { transform: none; filter: brightness(0.9); } }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; align-items: center;
  padding-top: 32px; padding-bottom: 72px; }
.pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 6px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-weight: 500; font-size: 0.9rem; }
.pill .tick { display: inline-block; width: 18px; height: 18px; line-height: 18px; text-align: center; border-radius: 5px;
  background: var(--best); color: var(--on-best); font-size: 0.7rem; font-weight: 800; }
h1 { margin: 0; font-size: clamp(2.6rem, 5.2vw, 4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; }
h1 em { display: block; font-style: normal; color: var(--blue); }
.hero .lead { margin: 20px 0 26px; color: var(--muted); font-size: 1.2rem; line-height: 1.5; max-width: 34em; }
.soon { margin: 14px 0 0; color: var(--muted); font-size: 0.95rem; }
.phones { display: flex; justify-content: center; align-items: center; min-width: 0; }
.phone { margin: 0; flex: 0 0 auto; width: 248px; border: 8px solid var(--phone); border-radius: 36px; overflow: hidden;
  background: var(--page); box-shadow: 0 24px 60px var(--phone-shadow); }
.phone img { width: 100%; height: auto; }
.phone.mid { z-index: 2; position: relative; }
.phone.left { transform: rotate(-6deg) scale(0.88) translateY(26px); margin-right: -92px; }
.phone.right { transform: rotate(6deg) scale(0.88) translateY(26px); margin-left: -92px; }
main.wrap { padding-bottom: 8px; }
section { margin: 0 0 56px; }
.landing h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 20px; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.cards h3 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 700; }
.cards p { margin: 0; color: var(--muted); }
.three h3 { margin-top: 14px; font-size: 1.15rem; }
.tile { display: inline-block; width: 40px; height: 40px; line-height: 40px; text-align: center; border-radius: 8px;
  background: var(--best); color: var(--on-best); font-weight: 800; font-size: 1.1rem; }
.final { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 44px 24px; text-align: center; }
.final img { margin: 0 auto 14px; border-radius: 16px; }
.final h2 { margin: 0 0 6px; }
.final p { color: var(--muted); margin: 0 auto 20px; max-width: 34em; }
.foot.wide { max-width: 1200px; margin-top: 8px; }
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 16px; }
  .phones { padding-top: 16px; }
  .phone.left, .phone.right { display: none; }
  .phone { width: 248px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .nav .btn { display: none; }
  .cta-row .btn { display: block; text-align: center; }
  .wrap { padding: 0 16px; }
}
