/* Home page only. Sits on top of style.css. Mobile first: most visitors arrive on a phone. */
main { display: block; }
.hw { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.home section { padding: 38px 0; }
@media (min-width: 880px) { .home section { padding: 76px 0; } }
.alt { background: var(--cloud); }
.kicker { display: block; margin-bottom: 10px; color: var(--splash-600); font-weight: 600; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; }
.sh { max-width: 680px; margin: 0 auto 26px; text-align: center; }
@media (min-width: 880px) { .sh { margin-bottom: 40px; } }
.sh h2 { margin: 0; font-size: clamp(27px, 4.4vw, 40px); }
.sh p { margin: 14px 0 0; color: var(--muted); font-size: 17px; }

/* ---- hero ---- */
.home .hero { background: radial-gradient(1200px 600px at 75% -10%, #16467a 0%, var(--pool) 55%); color: #fff; padding: 0; overflow: hidden; }
.hero .hw { display: grid; gap: 0 48px; grid-template-columns: 1fr; grid-template-areas: "copy" "device" "trust"; text-align: center; padding-top: 36px; padding-bottom: 44px; }
.hero .copy { grid-area: copy; }
.hero .device { grid-area: device; width: 100%; max-width: 560px; margin: 24px auto 0; }
.hero .trust { grid-area: trust; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; color: #B9D2EA; }
.hero .trust b { color: #fff; font-weight: 600; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 100px; background: var(--cloud); color: var(--splash-600); font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.hero h1 { margin: 16px 0; font-size: clamp(34px, 8.6vw, 62px); font-weight: 700; }
.hero h1 .hl { color: var(--amber); }
.nb { white-space: nowrap; }
.hero .sub { margin: 0 auto; max-width: 36ch; font-size: clamp(17px, 4.4vw, 20px); color: #B9D2EA; }
.cta { margin-top: 26px; }
.cta .btn { width: 100%; max-width: 360px; font-size: 17px; }
.micro { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin-top: 12px; font-size: 13.5px; color: #9DB8D4; }
.ipad { position: relative; background: #0c1016; padding: 2.2%; border-radius: 22px; border: 1px solid rgba(255,255,255,.10); box-shadow: 0 28px 70px rgba(0,0,0,.55); }
.ipad video { display: block; width: 100%; height: auto; border-radius: 10px; }
.vidplay { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; padding: 0; border: 2px solid rgba(255,255,255,.85); border-radius: 50%; background: rgba(10,36,64,.72); cursor: pointer; backdrop-filter: blur(4px); }
.vidplay::after { content: ''; position: absolute; left: 30px; top: 22px; border-style: solid; border-width: 15px 0 15px 25px; border-color: transparent transparent transparent #fff; }
.ipad[data-state="playing"] .vidplay { display: none; }
.vidtoggle { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin: 6px auto 0; padding: 0 16px; border: 0; background: none; color: #9DB8D4; font: 500 14px var(--sans); cursor: pointer; }
.vidtoggle:hover { color: #fff; }
.vidtoggle .ic { display: block; width: 12px; height: 12px; background: linear-gradient(90deg, currentColor 0 36%, transparent 36% 64%, currentColor 64% 100%); }
.vidtoggle[data-state="paused"] .ic { background: currentColor; clip-path: polygon(15% 0, 100% 50%, 15% 100%); }
@media (min-width: 880px) {
  .hero .hw { grid-template-columns: 1.1fr .9fr; grid-template-areas: "copy device" "trust device"; align-content: center; align-items: center; text-align: left; padding-top: 64px; padding-bottom: 72px; }
  .hero .device { margin: 0; max-width: none; justify-self: center; }
  .hero .sub { margin: 0; }
  .micro, .hero .trust { justify-content: flex-start; }
  .cta .btn { width: auto; }
}

/* ---- how it works ---- */
.steps { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 880px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
@media (min-width: 880px) { .card { padding: 26px; } }
.card .n { width: 36px; height: 36px; margin-bottom: 10px; border-radius: 12px; background: var(--cloud); color: var(--splash-600); font-family: var(--display); font-weight: 700; font-size: 19px; display: flex; align-items: center; justify-content: center; }
.card h3 { margin: 0 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 879px) {        /* phones: number beside the heading, text under both */
  .card { display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; align-items: center; }
  .card .n { margin: 0; }
  .card h3 { margin: 0; }
  .card p { grid-column: 1 / -1; margin-top: 10px; }
}

/* ---- the honest part ---- */
.honest { max-width: 760px; margin: 0 auto; padding: 18px; border-radius: var(--radius); background: #FFF6E6; border-left: 6px solid var(--amber); }
.honest h2 { margin: 0 0 8px; font-size: 24px; }
.honest p { margin: 0; font-size: 17px; }

/* ---- pricing ---- */
.plans { display: grid; gap: 22px 18px; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); max-width: 980px; margin: 0 auto; }
.plan { position: relative; padding: 24px 20px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--cloud); }
.plan.feature { background: #fff; border: 2px solid var(--splash); }
.plan .badge { position: absolute; top: -12px; left: 20px; padding: 3px 10px; border-radius: 99px; background: var(--amber); color: var(--amber-ink); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.plan .badge.team { background: var(--pool-700); color: #fff; }
.plan h3 { margin: 0; font-size: 18px; }
.plan .price { margin: 4px 0 8px; font-family: var(--display); font-weight: 700; font-size: 32px; }
.plan .price small { font-family: var(--sans); font-weight: 500; font-size: 15px; color: var(--muted); }
.plan p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 879px) {        /* phones: name and price on one line */
  .plan { display: grid; grid-template-columns: 1fr auto; align-items: baseline; column-gap: 12px; }
  .plan h3, .plan .price { margin: 0 0 8px; }
  .plan p { grid-column: 1 / -1; }
}
.plan p b { color: var(--ink); }
.after-plans { text-align: center; margin-top: 30px; }
.after-plans .fine { margin: 12px auto 0; max-width: 560px; color: var(--muted); font-size: 14px; }

/* ---- privacy ---- */
.dark { background: var(--pool); color: #fff; }
.dark .sh p { color: #B9D2EA; }
.points { display: grid; gap: 14px; grid-template-columns: 1fr; max-width: 980px; margin: 0 auto; }
@media (min-width: 720px) { .points { grid-template-columns: repeat(2, 1fr); } }
.point { padding: 14px 18px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.point h3 { margin: 0 0 4px; font-size: 17px; }
.point p { margin: 0; color: #B9D2EA; font-size: 15px; }
.point a { color: #fff; }

/* ---- who is behind it ---- */
.behind { max-width: 720px; margin: 0 auto; text-align: center; }
.behind blockquote { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(21px, 3vw, 27px); line-height: 1.4; letter-spacing: -0.01em; color: var(--pool); }
.behind .who { margin: 18px 0 0; color: var(--muted); font-size: 15px; }
.behind .who b { color: var(--ink); }

/* ---- questions ---- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 4px; font-family: var(--display); font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex: none; color: var(--splash-600); font-size: 26px; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary .chev { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 4px 20px; color: var(--muted); font-size: 16px; }
@media (prefers-reduced-motion: reduce) { .faq summary .chev { transition: none; } }

/* ---- shortcuts ---- */
.shortcuts { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.shortcuts p { margin: 0; padding: 14px 18px; border-radius: 14px; background: var(--cloud); }
.shortcuts b { color: var(--ink); }
.shortcuts a { font-weight: 600; }

/* ---- closing call to action ---- */
.final { text-align: center; color: #fff; background: radial-gradient(900px 500px at 50% -20%, #16467a, var(--pool)); }
.final h2 { margin: 0 auto 14px; max-width: 16ch; font-size: clamp(30px, 6vw, 46px); }
.final p { margin: 0 0 26px; color: #B9D2EA; font-size: 18px; }
.final .micro { justify-content: center; }

/* ---- phone install bar: appears once the hero button has scrolled away ---- */
.sticky-cta { display: none; }
@media (max-width: 879px) {
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(10,36,64,.95); backdrop-filter: blur(10px); border-top: 1px solid rgba(255,255,255,.12); transform: translateY(110%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
  .sticky-cta.show { transform: none; visibility: visible; }
  .sticky-cta .btn { width: 100%; padding: 14px 16px; }
}
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }
