/* ============================================================
   Checkpoint — marketing site
   Palette drawn from the app logo + Material theme:
   navy ink, cream pages, forest green, teal, warm sun orange
   ============================================================ */
:root {
  --ink:        #16242F;   /* deep navy from the logo background */
  --ink-2:      #1B2A3A;
  --ink-soft:   #2A3B4A;
  --cream:      #FBF7EE;   /* book-page cream */
  --cream-2:    #F4EEE0;
  --paper:      #FFFFFF;
  --green:      #3E6837;   /* app primary */
  --green-deep: #285021;
  --green-soft: #BFEFB1;
  --teal:       #386569;
  --teal-soft:  #A0CFD2;
  --sun:        #EE9B3A;   /* the orange sun */
  --sun-soft:   #F6C77E;
  --mountain:   #5B7186;
  --text:       #1F2A33;
  --text-soft:  #55636E;
  --line:       rgba(22, 36, 47, 0.10);
  --shadow-sm:  0 2px 8px rgba(22, 36, 47, 0.06);
  --shadow-md:  0 12px 32px rgba(22, 36, 47, 0.12);
  --shadow-lg:  0 28px 70px rgba(22, 36, 47, 0.22);
  --radius:     18px;
  --radius-lg:  28px;
  --maxw:       1160px;
  --ff-sans:    'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --ff-display: 'Fraunces', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--ff-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}
.container--narrow { max-width: 760px; }

h1, h2, h3 { font-family: var(--ff-display); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--green);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--ff-sans); font-weight: 600; font-size: 0.98rem;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 8px 22px rgba(62,104,55,.32); }
.btn--primary:hover { background: var(--green-deep); box-shadow: 0 12px 28px rgba(62,104,55,.40); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: rgba(22,36,47,.05); transform: translateY(-2px); }
.btn--lg { padding: 15px 28px; font-size: 1.04rem; }
.btn--small { padding: 9px 16px; font-size: .9rem; }
.btn--block { width: 100%; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  color: var(--green-deep); background: var(--green-soft);
  padding: 7px 14px; border-radius: 999px;
}
.eyebrow {
  display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
.eyebrow--light { color: var(--teal-soft); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(150%) blur(12px);
  background: rgba(251,247,238,.72);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.nav.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark { border-radius: 9px; box-shadow: var(--shadow-sm); }
.brand__name { font-family: var(--ff-display); font-weight: 700; font-size: 1.3rem; color: var(--ink); letter-spacing: -.01em; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-weight: 500; color: var(--ink-soft); font-size: .96rem; transition: color .15s; }
.nav__links a:hover { color: var(--green); }
.nav__links a.btn { color: #fff; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 9vw, 96px) 0 clamp(60px, 10vw, 120px); overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 60% at 85% 0%, rgba(238,155,58,.16), transparent 60%),
    radial-gradient(50% 50% at 5% 20%, rgba(56,101,105,.14), transparent 60%),
    linear-gradient(180deg, var(--cream), var(--cream));
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero__inner > * { min-width: 0; }
.hero__title { font-size: clamp(2rem, 5.5vw, 4rem); color: var(--ink); margin: 18px 0; overflow-wrap: break-word; }
.hero__title .accent { color: var(--green); }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-soft); max-width: 540px; margin: 0 0 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; }
.hero__trust li { position: relative; padding-left: 22px; font-weight: 500; color: var(--text-soft); font-size: .95rem; }
.hero__trust li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }

.hero__art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 520px; }

/* ---------- Phone frame ---------- */
.phone {
  position: relative; width: 280px; aspect-ratio: 9 / 19.5;
  background: #0e1820; border-radius: 38px; padding: 10px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.06);
}
.phone__screen { width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: var(--cream); position: relative; }
.phone__notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 96px; height: 22px; background: #0e1820; border-radius: 0 0 14px 14px; z-index: 6; }
.phone__screen svg { width: 100%; height: 100%; display: block; }
.phone--hero { z-index: 3; animation: rise 1s cubic-bezier(.2,.8,.2,1) both; }
.phone--behind {
  position: absolute; right: 4%; top: 14%; width: 210px; z-index: 2;
  transform: rotate(7deg); opacity: .96; filter: saturate(1.02);
  animation: rise 1s .12s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(26px) scale(.97); } to { opacity: 1; } }
.phone--behind { animation-name: riseTilt; }
@keyframes riseTilt { from { opacity: 0; transform: rotate(7deg) translateY(26px); } to { opacity: .96; transform: rotate(7deg) translateY(0); } }

/* ---------- Value strip ---------- */
.strip { padding: clamp(40px, 6vw, 72px) 0; background: var(--ink); color: #E8EDF1; }
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 36px); }
.strip__item h3 { color: #fff; font-size: 1.18rem; margin: 14px 0 6px; }
.strip__item p { color: #A9B7C2; font-size: .96rem; margin: 0; }
.strip__icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(160,207,210,.13); color: var(--teal-soft); }
.strip__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 9vw, 120px) 0; }
.section--alt { background: linear-gradient(180deg, var(--cream-2), var(--cream)); }
.section__head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); color: var(--ink); }
.section__lead { color: var(--text-soft); font-size: 1.1rem; margin: 16px 0 0; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 26px); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card__emoji { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--green-soft); color: var(--green-deep); margin-bottom: 16px; }
.card__emoji svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.22rem; color: var(--ink); margin-bottom: 8px; }
.card p { color: var(--text-soft); margin: 0; font-size: .98rem; }

/* ---------- Feature rows ---------- */
.feature-row { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: center; margin-bottom: clamp(56px, 9vw, 110px); }
.feature-row:last-child { margin-bottom: 0; }
.feature-row > *, .privacy__inner > * { min-width: 0; }
.feature-row--rev .feature-row__art { order: 2; }
.feature-row__art { display: flex; justify-content: center; }
.feature-row__copy h3 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); color: var(--ink); margin-bottom: 14px; }
.feature-row__copy > p { color: var(--text-soft); font-size: 1.08rem; margin: 0 0 18px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--text); font-weight: 500; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-soft); color: var(--green-deep); font-size: .72rem; font-weight: 800;
  display: grid; place-items: center;
}
.feature-row .phone { width: 252px; }

/* ---------- Privacy ---------- */
.privacy { background: radial-gradient(120% 120% at 100% 0%, #21344a, var(--ink) 55%); color: #DCE6EE; }
.privacy__inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(30px, 6vw, 70px); align-items: center; }
.privacy h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.privacy p { color: #AEBECB; font-size: 1.06rem; }
.privacy__note { font-size: .9rem !important; color: #8497a4 !important; margin-top: 22px !important; }

.privacy__art { display: flex; justify-content: center; }
.vault { position: relative; width: 240px; height: 240px; display: grid; place-items: center; }
.vault__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed rgba(160,207,210,.4); animation: spin 24s linear infinite; }
.vault__ring--2 { inset: 32px; border-style: solid; border-color: rgba(238,155,58,.3); animation-duration: 16s; animation-direction: reverse; }
.vault__logo { width: 130px; height: 130px; border-radius: 28px; box-shadow: var(--shadow-lg); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Pricing ---------- */
.pricing__card {
  max-width: 460px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 40px 34px; box-shadow: var(--shadow-md); text-align: center; position: relative;
}
.pricing__badge { display: inline-block; background: var(--green-soft); color: var(--green-deep); font-weight: 700; font-size: .8rem; letter-spacing: .04em; padding: 6px 14px; border-radius: 999px; text-transform: uppercase; }
.pricing__price { font-family: var(--ff-display); font-size: 3.4rem; color: var(--ink); margin: 16px 0 8px; font-weight: 600; }
.pricing__price span { font-family: var(--ff-sans); font-size: 1rem; color: var(--text-soft); font-weight: 500; }
.pricing__list { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 12px; text-align: left; }
.pricing__list li { position: relative; padding-left: 30px; color: var(--text); }
.pricing__list li::before { content: "✓"; position: absolute; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
.pricing__tip { font-size: .9rem; color: var(--text-soft); margin: 18px 0 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; box-shadow: var(--shadow-sm); }
.faq__item summary { cursor: pointer; font-weight: 600; color: var(--ink); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--ff-display); font-size: 1.08rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.5rem; color: var(--green); transition: transform .2s; font-family: var(--ff-sans); line-height: 1; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--text-soft); margin: 0 0 18px; }

/* ---------- CTA ---------- */
.cta { padding: clamp(60px, 9vw, 110px) 0; background: linear-gradient(135deg, var(--green-deep), var(--green) 60%, var(--teal)); color: #fff; text-align: center; }
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta__logo { border-radius: 22px; box-shadow: var(--shadow-lg); margin-bottom: 22px; }
.cta h2 { font-size: clamp(2rem, 4vw, 3rem); color: #fff; }
.cta p { color: rgba(255,255,255,.85); font-size: 1.15rem; margin: 14px 0 28px; }
.cta__buttons .btn--primary { background: #fff; color: var(--green-deep); box-shadow: var(--shadow-md); }
.cta__buttons .btn--primary:hover { background: var(--cream); }
.cta__hint { font-size: .9rem; color: rgba(255,255,255,.7); margin-top: 18px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #9FB0BC; padding: 50px 0 40px; }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { border-radius: 9px; }
.footer__brand strong { display: block; color: #fff; font-family: var(--ff-display); font-size: 1.15rem; }
.footer__brand span { font-size: .9rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__links a { color: #B9C7D1; font-size: .94rem; transition: color .15s; }
.footer__links a:hover { color: var(--sun-soft); }
.footer__legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; font-size: .85rem; margin: 6px 0 0; }
.footer__legal a { color: #B9C7D1; transition: color .15s; }
.footer__legal a:hover { color: var(--sun-soft); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .hero__sub { margin-inline: auto; }
  .hero__trust { justify-content: center; }
  .hero__art { min-height: 480px; margin-top: 20px; }
  .strip__grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .feature-row, .feature-row--rev { grid-template-columns: 1fr; text-align: center; }
  .feature-row--rev .feature-row__art { order: 0; }
  .feature-row__copy { display: flex; flex-direction: column; align-items: center; }
  .ticks { text-align: left; }
  .privacy__inner { grid-template-columns: 1fr; text-align: center; }
  .privacy__copy { display: flex; flex-direction: column; align-items: center; }
}

@media (max-width: 680px) {
  .nav__links {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 4px;
    background: var(--cream); padding: 16px 24px 24px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-130%); transition: transform .3s cubic-bezier(.2,.8,.2,1); align-items: stretch;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { padding: 12px 6px; border-radius: 10px; font-size: 1.02rem; }
  .nav__links a:hover { background: rgba(22,36,47,.05); }
  .nav__links a.btn { margin-top: 6px; text-align: center; justify-content: center; }
  .nav__toggle { display: flex; }
  .strip__grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .hero__cta { width: 100%; flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .hero__title { font-size: clamp(1.7rem, 8vw, 2.5rem); }
  .hero__title br { display: none; }
  .hero__sub { font-size: 1rem; }
}

@media (max-width: 380px) {
  .phone { width: 240px; }
  .phone--behind { display: none; }
}
