/* Rememberli landing pages — shared styles.
   Brand palette sampled from the existing marketing video and app bundle. */

:root {
  --ink:        #17352E;
  --ink-soft:   #4A6660;
  --teal:       #229C88;
  --teal-dark:  #17796A;
  --teal-pale:  #E8F5F1;
  --orange:     #EF6C2E;
  --orange-dk:  #D4551A;
  --bg:         #FFFFFF;
  --bg-alt:     #F6FBF9;
  --line:       #DCEAE5;
  --radius:     16px;
  --wrap:       1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Hanken Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

h1, h2, h3 { font-family: 'Manrope', 'Hanken Grotesk', sans-serif; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; margin-bottom: .75rem; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .4rem; }

p { color: var(--ink-soft); }
a { color: var(--teal-dark); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
section { padding: clamp(48px, 8vw, 88px) 0; }
.alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.center { text-align: center; }
.lede { font-size: clamp(1.05rem, 2.4vw, 1.3rem); max-width: 46ch; }
.center .lede { margin-inline: auto; }

/* ---- Header ---- */
header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--ink); text-decoration: none; }

/* ---- Hero ---- */
.hero { padding-top: clamp(40px, 7vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--teal-dark);
  background: var(--teal-pale); padding: 6px 14px; border-radius: 100px; margin-bottom: 20px;
}
.hero h1 { margin-bottom: 18px; }
.hero .lede { margin-bottom: 28px; }
.hero video, .hero img {
  width: 100%; border-radius: 22px; display: block;
  box-shadow: 0 18px 50px rgba(23,53,46,.14);
}

/* ---- Buttons ---- */
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.center .cta-row { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 100px; font-weight: 700; font-size: 1rem;
  text-decoration: none; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dk); }
.btn-secondary { background: var(--teal-pale); color: var(--teal-dark); border: 1px solid var(--line); }
.microcopy { font-size: .88rem; color: var(--ink-soft); margin-top: 14px; }

/* ---- Feature grid ---- */
.grid { display: grid; gap: 24px; margin-top: 40px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.alt .card { background: #fff; }
.card .ico {
  width: 40px; height: 40px; border-radius: 11px; background: var(--teal-pale);
  display: grid; place-items: center; margin-bottom: 14px; font-size: 1.2rem;
}

/* ---- Steps ---- */
.steps { counter-reset: s; display: grid; gap: 20px; margin-top: 36px; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; }
.step::before {
  counter-increment: s; content: counter(s);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--teal); color: #fff; font-weight: 800;
  display: grid; place-items: center; font-family: 'Manrope', sans-serif;
}

/* ---- Pricing ---- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.price { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; text-align: center; }
.price.featured { border: 2px solid var(--teal); position: relative; }
.price.featured::after {
  content: 'Best value'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--teal); color: #fff; font-size: .72rem; font-weight: 700;
  padding: 4px 14px; border-radius: 100px; letter-spacing: .04em;
}
.price .amt { font-family: 'Manrope', sans-serif; font-size: 2.1rem; font-weight: 800; color: var(--ink); }
.price .per { font-size: .9rem; color: var(--ink-soft); }

/* ---- FAQ ---- */
details {
  border-bottom: 1px solid var(--line); padding: 18px 0;
}
summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--teal); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: '−'; }
details p { margin-top: 10px; }

/* ---- Trust strip ---- */
.trust { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; font-size: .9rem; color: var(--ink-soft); }
.trust span { display: inline-flex; align-items: center; gap: 7px; }

/* ---- Footer ---- */
footer { background: var(--ink); color: #A9C4BC; padding: 48px 0; font-size: .9rem; }
footer a { color: #D6E8E3; text-decoration: none; margin-right: 18px; }
footer a:hover { text-decoration: underline; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .g3, .g2, .price-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
}

/* ================= BLOG / ARTICLES ================= */
.article { max-width: 720px; margin: 0 auto; padding: 56px 24px 88px; }
.article .kicker { font-size: .82rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--teal-dark); }
.article h1 { font-size: clamp(2rem, 5vw, 2.9rem); margin: 14px 0 18px; }
.article .meta { font-size: .92rem; color: var(--ink-soft); border-bottom: 1px solid var(--line); padding-bottom: 22px; margin-bottom: 34px; }
.article h2 { font-size: 1.6rem; margin: 44px 0 12px; }
.article h3 { font-size: 1.18rem; margin: 30px 0 8px; }
.article p { margin-bottom: 18px; font-size: 1.06rem; }
.article ul, .article ol { margin: 0 0 20px 22px; color: var(--ink-soft); }
.article li { margin-bottom: 9px; font-size: 1.04rem; }
.article blockquote {
  border-left: 4px solid var(--teal); background: var(--bg-alt);
  padding: 18px 24px; margin: 26px 0; border-radius: 0 12px 12px 0;
}
.article blockquote p { margin: 0; font-style: italic; color: var(--ink); }
.article .callout {
  background: var(--teal-pale); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; margin: 34px 0;
}
.article .callout h3 { margin-top: 0; }
.article .callout p:last-child { margin-bottom: 0; }
.toc { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 36px; }
.toc h3 { margin: 0 0 10px; font-size: 1rem; }
.toc ol { margin: 0 0 0 18px; }
.toc li { font-size: .98rem; margin-bottom: 5px; }

/* Post list */
.posts { display: grid; gap: 18px; margin-top: 36px; }
.post-item {
  display: block; text-decoration: none; color: inherit;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px;
  transition: border-color .15s ease, transform .15s ease;
}
.post-item:hover { border-color: var(--teal); transform: translateY(-2px); }
.post-item h3 { margin-bottom: 6px; color: var(--ink); }
.post-item p { margin: 0; font-size: .98rem; }
.tag { display:inline-block; font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  color: var(--teal-dark); background: var(--teal-pale); padding: 3px 10px; border-radius: 100px; margin-bottom: 10px; }

/* ── Mobile install bar ──────────────────────────────────────────────────────
   Slim, dismissible-by-scroll-past bottom bar shown only on phones. Kept well
   under the height that Google treats as an intrusive interstitial, and never
   rendered on desktop where a store link cannot be acted on. */
.install-bar { display: none; }

@media (max-width: 720px) {
  .install-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: flex; align-items: center; gap: 10px;
    padding: 9px 14px calc(9px + env(safe-area-inset-bottom)) 14px;
    background: var(--ink); color: #fff; text-decoration: none;
    box-shadow: 0 -2px 14px rgba(23, 53, 46, .22);
  }
  .install-bar img { border-radius: 7px; flex: none; }
  .install-bar-text { display: flex; flex-direction: column; line-height: 1.25;
    font-size: .74rem; color: #A9C4BC; min-width: 0; }
  .install-bar-text strong { font-size: .88rem; color: #fff; font-weight: 700; }
  .install-bar-cta { margin-left: auto; flex: none;
    background: var(--orange); color: #fff; font-weight: 700; font-size: .82rem;
    padding: 9px 15px; border-radius: 100px; white-space: nowrap; }

  /* Stop the bar from covering the last line of the footer. */
  body { padding-bottom: 62px; }
}
