/* The landing page (welcome/). Plain HTML and CSS, no scripts, like the legal pages. */
:root {
  --bg: #f6f7f9; --card: #ffffff; --text: #1c2430; --muted: #5b6676; --line: #e3e7ec;
  --accent: #0b7a56; --accent-2: #0e7490; --tint: #e8f5ef;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #12161c; --card: #1a2029; --text: #e6eaf0; --muted: #9aa5b4; --line: #2a323e; --accent: #34d399; --accent-2: #22d3ee; --tint: #16261f; }
}
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
img { max-width: 100%; height: auto; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
a { color: var(--accent); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
header.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.top nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; }
.top nav a.signin { color: var(--accent); font-weight: 600; }

.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 40px 0 56px; }
.hero h1 { font-size: clamp(34px, 6vw, 54px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 16px; }
.hero p.lead { font-size: 19px; color: var(--muted); margin: 0 0 26px; max-width: 34em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-block; padding: 13px 20px; border-radius: 12px; font-weight: 650; text-decoration: none; font-size: 16px; }
.btn.primary { background: var(--accent); color: #fff; }
@media (prefers-color-scheme: dark) { .btn.primary { color: #0d1a14; } }
.btn.store { background: var(--text); color: var(--bg); }
.btn.store.soon { opacity: .55; pointer-events: none; }
.fine { color: var(--muted); font-size: 14px; margin-top: 14px; }
.hero-icon { width: 100%; max-width: 300px; height: auto; margin-left: auto; display: block; border-radius: 22%; box-shadow: 0 20px 50px rgba(4, 66, 162, .25); }
.phone { width: 100%; max-width: 290px; height: auto; display: block; margin-left: auto; border-radius: 34px;
  border: 8px solid #1c2430; box-shadow: 0 24px 60px rgba(16, 24, 40, .22); background: #fff; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.shots figure { margin: 0; text-align: center; }
.shots .phone { margin: 0 auto 12px; max-width: 250px; }
.shots figcaption { color: var(--muted); font-size: 15px; }
.shot { aspect-ratio: 9 / 16; max-height: 520px; margin-left: auto; border-radius: 34px; border: 1px dashed var(--line);
  background: linear-gradient(160deg, var(--tint), var(--card)); display: grid; place-items: center; color: var(--muted);
  font-size: 14px; text-align: center; padding: 20px; width: 100%; max-width: 290px; }

section { padding: 48px 0; }
section h2 { font-size: clamp(26px, 4vw, 34px); letter-spacing: -0.01em; margin: 0 0 8px; text-align: center; }
section p.sub { color: var(--muted); text-align: center; margin: 0 auto 32px; max-width: 36em; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.card h3 { margin: 12px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.ic { width: 40px; height: 40px; border-radius: 11px; background: var(--tint); display: grid; place-items: center; }
.ic svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.band { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.split h2, .split p.sub { text-align: left; margin-left: 0; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding: 8px 0 8px 30px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 12px; height: 7px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; margin: 0 auto; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.plan.featured { border: 2px solid var(--accent); }
.plan .price { font-size: 30px; font-weight: 700; margin: 4px 0 2px; }
.plan .price span { font-size: 15px; font-weight: 400; color: var(--muted); }
.plan p { margin: 6px 0 0; color: var(--muted); font-size: 15.5px; }
.center { text-align: center; margin-top: 22px; }

footer.bottom { color: var(--muted); font-size: 14px; padding: 32px 0 48px; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
footer.bottom a { color: var(--muted); }

@media (max-width: 820px) {
  .hero, .split { grid-template-columns: 1fr; }
  .shot { margin: 8px auto 0; max-height: 420px; }
  .hero .phone { margin: 8px auto 0; max-width: 250px; }
  .shots { grid-template-columns: 1fr; gap: 32px; }
  .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .grid, .plans { grid-template-columns: 1fr; }
  .top nav a:not(.signin) { display: none; }
  section { padding: 36px 0; }
}

/* Motion. Everything here is decoration: without it (older browsers, Reduce Motion) the page reads the same. */
.hero { position: relative; }
.hero::before {
  content: ""; position: absolute; inset: -80px -10vw auto -10vw; height: 560px; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 55% at 78% 40%, color-mix(in srgb, var(--accent-2) 22%, transparent), transparent 70%),
              radial-gradient(35% 50% at 20% 30%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%);
}
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.card, .plan, .shots .phone { transition: transform .25s ease, box-shadow .25s ease; }

@media (prefers-reduced-motion: no-preference) {
  .hero > div:first-child { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero .phone { animation: rise .9s .15s cubic-bezier(.2, .7, .2, 1) both, float 6s 1.2s ease-in-out infinite; }

  @media (hover: hover) {
    .card:hover, .plan:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(16, 24, 40, .10); }
    .shots .phone:hover { transform: translateY(-6px) scale(1.02); }
  }

  /* Fade up as each part scrolls into view, where the browser supports scroll-driven animations */
  @supports (animation-timeline: view()) {
    section h2, section p.sub, .card, .checks li, .plan, .shots figure {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 80%;
    }
    .shots figure:nth-child(2) { animation-range: entry 15% entry 95%; }
    .shots figure:nth-child(3) { animation-range: entry 30% cover 35%; }
    .grid .card:nth-child(3n + 2), .checks li:nth-child(even) { animation-range: entry 10% entry 90%; }
    .grid .card:nth-child(3n) { animation-range: entry 20% cover 30%; }
    /* Stacked on phones: each one enters on its own, so no stagger */
    @media (max-width: 820px) {
      .shots figure:nth-child(n), .grid .card:nth-child(n), .checks li:nth-child(n) { animation-range: entry 0% entry 80%; }
    }
  }
}
