/* Sunling Care landing page (/). Builds on app.css (colours, buttons, Sunling life). Phone first.
 * The first screen is a full-width sunrise world (drawn by landing.js at the screen's own size) with the words on top. */
.landing { color: var(--ink); background: #FBF3E8; }
.l-top { position: absolute; z-index: 5; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; align-items: center; max-width: 1240px; margin: 0 auto; padding: calc(16px + env(safe-area-inset-top)) 20px 8px; }
.l-top .brand { font-size: var(--fs-lg); }
.l-nav { display: flex; align-items: center; gap: 22px; font-weight: 800; }
.l-nav a:not(.l-signin) { display: none; color: var(--ink); text-decoration: none; }
.l-nav a:not(.l-signin):hover { text-decoration: underline; }
.l-signin { font-weight: 800; color: var(--ink); text-decoration: none; padding: 8px 16px; border-radius: 999px; background: rgba(255, 250, 242, .85); box-shadow: 0 2px 8px rgba(74, 46, 34, .12); }
.l-signin:hover, .l-signin:focus-visible { background: #fff; }
.l-main { padding: 0 0 24px; }

.l-hero { position: relative; overflow: hidden; height: 100vh; height: 100svh; min-height: 720px; max-height: 1100px; background: linear-gradient(180deg, #7EC4EE, #BFE1F4 45%, #FFE7C2 70%, #FFD9A8); }
.l-world, .l-world svg { position: absolute; inset: 0; display: block; }
.l-hero-copy { position: relative; z-index: 2; max-width: 920px; margin: 0 auto; padding: calc(78px + env(safe-area-inset-top)) 18px 0; text-align: center; }
.l-kicker { margin: 0 0 6px; font-size: var(--fs-xs); font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: #4E4470; }
.l-big { margin: 0; font-size: clamp(2.5rem, min(6vw, 9vh), 5.3rem); font-weight: 900; line-height: 1.02; letter-spacing: -.015em; color: var(--ink); paint-order: stroke fill; -webkit-text-stroke: .14em #FFF9F1; text-shadow: 0 6px 0 rgba(58, 51, 80, .12); }
.l-sub { margin: 12px auto 0; max-width: 32em; font-size: clamp(1rem, 1.6vw, 1.4rem); font-weight: 800; line-height: 1.45; color: #4E4470; text-wrap: balance; }
.l-btns { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.l-cta { max-width: 400px; }
.l-ghost { display: none; padding: 14px 24px; border-radius: 999px; background: rgba(255, 249, 241, .88); color: var(--ink); font-weight: 800; text-decoration: none; box-shadow: 0 4px 0 rgba(58, 51, 80, .12); }
.l-proof { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; padding: 0; margin: 14px 0 0; }
.l-proof li { padding: 6px 14px; border-radius: 999px; background: rgba(255, 249, 241, .85); color: #5B4C8A; font-weight: 800; font-size: var(--fs-sm); }
.l-proof li.wide { display: none; }
.l-scrollhint { position: absolute; z-index: 2; left: 0; right: 0; bottom: calc(16px + env(safe-area-inset-bottom)); text-align: center; font-weight: 800; font-size: var(--fs-sm); color: #2F5A22; text-decoration: none; }
.w-hand { font-family: var(--font-hand); font-size: 24px; font-weight: 700; fill: var(--ink); }

/* Gentle motion: the sun rises once when the page opens; then everything breathes slowly. The Sunlings use the app's
 * own "Sunling life" (app.css). Nothing loops faster than every few seconds; Reduce Motion stops all of it. */
.w-rise { animation: w-rise 2.6s cubic-bezier(.2, .8, .25, 1) both; }
.l-hero.drawn .w-rise { animation: none; }
.w-rays { animation: w-turn 90s linear infinite; }
.w-sun { animation: w-bob 6s ease-in-out infinite; }
.w-cloud { animation: w-drift ease-in-out infinite alternate; }
.w-smoke { animation: w-smoke 3.3s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.w-bubble { animation: w-pop .5s 1.6s cubic-bezier(.2, .9, .3, 1.4) both; transform-box: fill-box; transform-origin: 30% 100%; }
@keyframes w-rise { from { transform: translateY(120px); opacity: .6; } }
@keyframes w-turn { to { transform: rotate(360deg); } }
@keyframes w-bob { 50% { transform: translateY(-5px); } }
@keyframes w-drift { from { transform: translateX(-10px); } to { transform: translateX(12px); } }
@keyframes w-smoke { 0% { transform: translateY(6px) scale(.6); opacity: 0; } 30% { opacity: .8; } 100% { transform: translateY(-16px) scale(1.25); opacity: 0; } }
@keyframes w-pop { from { transform: scale(.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .w-rise, .w-rays, .w-sun, .w-cloud, .w-smoke, .w-bubble { animation: none; } }

.l-strip { text-align: center; margin: 18px auto 4px; font-size: var(--fs-sm); font-weight: 700; color: var(--ink); }
.l-block { max-width: 880px; width: calc(100% - 32px); box-sizing: border-box; margin: 18px auto; padding: 24px 22px; background: var(--paper) var(--grain); border-radius: 28px; box-shadow: var(--shadow); }
.l-block h2, .l-final h2 { font-size: var(--fs-xl); margin: 0 0 10px; letter-spacing: -.01em; }
.l-block p { line-height: 1.55; margin: 8px 0; }
.l-block a { color: var(--ink); font-weight: 800; }
.l-steps { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; counter-reset: step; }
.l-steps li { display: grid; grid-template-columns: 48px 1fr; column-gap: 12px; align-items: start; background: #fff; border-radius: 18px; padding: 14px; box-shadow: 0 3px 0 var(--line); }
.l-steps li b { grid-column: 2; font-size: var(--fs-md); }
.l-steps li span:last-child { grid-column: 2; color: var(--muted); line-height: 1.45; }
.l-step-ico { grid-row: 1 / span 2; font-size: var(--fs-2xl); line-height: 48px; text-align: center; background: var(--cream); border-radius: 14px; }
.l-rooms { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 2px 6px; scrollbar-width: none; }
.l-rooms::-webkit-scrollbar { display: none; }
.l-rooms figure { margin: 0; scroll-snap-align: center; }
.l-rooms figcaption { text-align: center; font-weight: 800; margin-top: 8px; }
.l-labels { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 10px; }
.l-labels li { line-height: 1.5; }
.l-labels .lbl { margin-right: 8px; }
/* Pricing: three plans scanned side by side (rows on phones), one highlighted, reassurance as ticks. */
.l-price h2 { text-align: center; margin-bottom: 18px; }
.l-tiers { display: grid; gap: 12px; }
.l-tier { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-areas: 'name price' 'note price' 'btn btn'; align-items: center; column-gap: 12px; background: #fff; border: 2px solid var(--line); border-radius: 20px; padding: 16px 18px; box-shadow: 0 3px 0 var(--line); }
.l-tier p { margin: 0; }
.l-tier-name { grid-area: name; font-weight: 900; font-size: var(--fs-md); }
.l-tier-note { grid-area: note; color: var(--muted); font-size: var(--fs-sm); font-weight: 600; }
.l-tier-price { grid-area: price; text-align: right; line-height: 1; }
.l-tier-price b { display: block; font-size: var(--fs-2xl); letter-spacing: -.02em; }
.l-tier-price span { font-size: var(--fs-xs); font-weight: 700; color: var(--muted); }
.l-tier-btn { grid-area: btn; width: 100%; margin-top: 12px; padding: 11px; }
.l-tier.best { border-color: #F2A33A; background: linear-gradient(180deg, #FFFDF5, #FFF1C9); box-shadow: 0 3px 0 #E4B03E; margin-top: 10px; }
.l-tier-badge { position: absolute; top: -12px; left: 18px; background: #F2A33A; color: #fff; font-size: var(--fs-2xs); font-weight: 900; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.l-ticks { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; padding: 0; margin: 18px 0 0; font-size: var(--fs-sm); font-weight: 700; }
.l-ticks li::before { content: '✓'; color: #3E7B3A; font-weight: 900; margin-right: 6px; }

/* Dress your Sunling: one simple thing each */
.l-dress { text-align: center; background: linear-gradient(180deg, #E6F2FA, #FDF3E4); }
.l-looks { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 8px; padding: 0; margin: 14px 0 0; }
.l-looks li { display: grid; justify-items: center; gap: 1px; }
.l-looks svg { width: 100%; max-width: 132px; aspect-ratio: 92 / 88; height: auto; }
.l-looks b { font-size: var(--fs-md); }
.l-looks small { color: var(--muted); font-weight: 700; font-size: var(--fs-xs); }

.l-faq details { background: #fff; border-radius: 14px; padding: 12px 16px; margin: 10px 0; box-shadow: var(--shadow); }
.l-faq summary { font-weight: 800; cursor: pointer; }
.l-faq details p { margin: 8px 0 2px; }
.l-final { text-align: center; max-width: 560px; margin: 36px auto 12px; padding: 0 8px; }
.l-final .btn { margin: 8px auto; }
.l-final .link { font-weight: 700; }
.l-foot { max-width: 880px; margin: 8px auto 0; padding: 16px 20px calc(96px + env(safe-area-inset-bottom)); text-align: center; font-size: var(--fs-sm); line-height: 1.8; }
.l-foot a { color: var(--ink); }
.l-sticky { position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 30; }
.l-sticky[hidden] { display: none; }

@media (min-width: 700px) {
  .l-tiers { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .l-tier { grid-template-columns: 1fr; grid-template-areas: 'name' 'price' 'note' 'btn'; align-content: start; text-align: center; row-gap: 6px; padding: 22px 16px 18px; }
  .l-tier-price { text-align: center; margin: 6px 0 2px; }
  .l-tier-price b { font-size: var(--fs-3xl); }
  .l-tier.best { margin-top: 0; transform: translateY(-6px); }
  .l-tier-badge { left: 50%; transform: translateX(-50%); }
  .l-tier-btn { align-self: end; }
  .l-steps { grid-template-columns: repeat(3, 1fr); }
  .l-steps li { grid-template-columns: 1fr; text-align: center; }
  .l-steps li b, .l-steps li span:last-child { grid-column: 1; }
  .l-step-ico { grid-row: auto; margin: 0 auto 8px; width: 56px; }
  .l-rooms { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; }
}
@media (min-width: 700px) {
  .l-looks { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .l-proof li.wide { display: block; }
}
@media (min-width: 900px) {
  .l-nav a:not(.l-signin) { display: inline; }
  .l-ghost { display: inline-block; }
  .l-hero { min-height: 640px; }
  .l-hero-copy { padding-top: calc(96px + env(safe-area-inset-top)); }
  .l-scrollhint { display: none; }
  .l-block { padding: 32px 36px; }
  .l-sticky { display: none; }
  .l-foot { padding-bottom: 32px; }
}
