/* Habitmatch homepage. Shared header, footer, fonts and tokens come from
   styles.css (.landing-page); everything here is scoped to body.home so the
   guide pages keep their current look. */

.home {
  --sea: #2d6f73;
  --sea-deep: #1f5457;
  --mint: #8edcd5;
  --mint-soft: #dff3f0;
  --mist: #f3f8f7;
  --ink: #282e3d;
  --muted: #5f6b6e;
  --line: #dce8e6;
  --night: #121a1d;
  --night-2: #1a2427;
  --night-line: #2a3739;
  --night-muted: #9fb0b2;
  --lilac: #8b7fd6;
  --good: #3a9e5c;
  --warn: #d9473f;
  --shell: 1180px;
}

.home h1, .home h2, .home h3 { margin: 0; letter-spacing: -.035em; line-height: 1.04; }
.home h2 { font-size: clamp(36px, 4.4vw, 58px); }
.home h3 { font-size: clamp(22px, 2vw, 27px); letter-spacing: -.02em; line-height: 1.2; }
.home p { margin: 0; }
.home .eyebrow { margin: 0 0 16px; }
.home section { scroll-margin-top: 20px; }

.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }

/* ---------- App Store badge (swap for Apple's official SVG when available) ---------- */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 20px 0 16px;
  border-radius: 13px;
  background: #000;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(16, 30, 34, .18);
  transition: transform .15s ease, box-shadow .15s ease;
}
.store-badge:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(16, 30, 34, .24); }
.store-badge svg { width: 26px; height: 31px; flex: none; fill: currentColor; margin-top: -3px; }
.store-badge span { display: grid; line-height: 1; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif; }
.store-badge small { font-size: 11.5px; font-weight: 500; letter-spacing: .01em; }
.store-badge strong { font-size: 23px; font-weight: 600; letter-spacing: -.02em; margin-top: 2px; }
.store-badge.light { background: #fff; color: #000 !important; }

/* 3D phone renders (transparent PNG/WebP with their own frame) */
.render { display: block; height: auto; max-width: none; filter: drop-shadow(0 30px 40px rgba(22, 48, 52, .18)); }

/* ---------- Hero ---------- */
.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
  gap: 40px;
  padding-block: 40px 96px;
}
.home-hero h1 { font-size: clamp(46px, 5vw, 66px); letter-spacing: -.045em; line-height: 1; }
.home-hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--sea) 10%, #3f9c97 60%, #5fbab2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.home-hero .lede { margin: 28px 0 0; max-width: 530px; color: var(--muted); font-size: 20px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; color: #7d888a; font-size: 14px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }

.hero-art { position: relative; height: 680px; }

.hero-art::before {
  content: "";
  position: absolute;
  inset: 4% -10% 0 0;
  background:
    radial-gradient(closest-side at 55% 45%, rgba(142, 220, 213, .55), rgba(142, 220, 213, 0) 72%),
    radial-gradient(closest-side at 30% 75%, rgba(139, 127, 214, .16), rgba(139, 127, 214, 0) 70%);
  filter: blur(6px);
}
.hero-art .render { position: absolute; height: auto; filter: drop-shadow(0 40px 50px rgba(22, 48, 52, .22)); }
.hero-art .r-back { width: 290px; top: 70px; left: 2%; transform: rotate(-5deg); }
.hero-art .r-front { width: 400px; top: 10px; left: 30%; }

.float-card {
  position: absolute;
  z-index: 3;
  padding: 14px 16px;
  border: 1px solid rgba(220, 232, 230, .9);
  border-radius: 18px;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 22px 44px -16px rgba(22, 48, 52, .28);
  font-size: 14px;
  line-height: 1.35;
}
.float-card b { display: block; font-size: 15px; }
.float-card .muted { color: var(--muted); font-size: 13px; }
.fc-match { left: -4%; bottom: 120px; width: 238px; }
.fc-match .chips { display: flex; gap: 6px; margin-top: 9px; }
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border: 1.5px solid #e9a23b; border-radius: 999px;
  color: #a86a14; background: #fff8ee; font-size: 12.5px; font-weight: 700;
}
.fc-report { right: -3%; bottom: 40px; width: 220px; }
.fc-report .row { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 13px; }
.fc-report .tick { width: 16px; height: 16px; border-radius: 50%; background: var(--good); position: relative; flex: none; }
.fc-report .tick::after { content: ""; position: absolute; left: 5px; top: 3px; width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.fc-report .tick.miss { background: #e6e9ea; }
.fc-report .tick.miss::after { display: none; }
.fc-report .delta { margin-left: auto; color: var(--good); font-weight: 700; font-size: 12.5px; }


/* Hero conversion pieces */
.hero-steps { list-style: none; display: flex; flex-wrap: nowrap; gap: 8px; margin: 30px 0 0; padding: 0; }
.hero-steps li {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 7px; white-space: nowrap;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13.5px; font-weight: 700; color: var(--ink);
}
.hero-steps li i { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--mint-soft); color: var(--sea); font-style: normal; font-size: 12.5px; }
.cta-note { display: grid; gap: 2px; color: var(--muted); font-size: 14px; line-height: 1.35; }
.cta-note b { color: var(--ink); font-size: 15px; }

/* Sticky download bar (phones only, after the hero scrolls away) */
.sticky-cta {
  position: fixed; z-index: 50; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: none; align-items: center; gap: 12px; padding: 10px 10px 10px 12px;
  border-radius: 20px; background: rgba(255, 255, 255, .94); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px -12px rgba(22, 48, 52, .35);
  transform: translateY(140%); transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.sticky-cta.show { transform: none; }
.sticky-cta img { width: 40px; height: 40px; border-radius: 10px; }
.sticky-cta span { display: grid; line-height: 1.25; font-size: 13px; color: var(--muted); }
.sticky-cta span b { color: var(--ink); font-size: 15px; }
.sticky-cta a.get { margin-left: auto; padding: 10px 18px; border-radius: 999px; background: var(--sea); color: #fff !important; font-weight: 700; font-size: 15px; text-decoration: none !important; }
@media (max-width: 700px) { .sticky-cta { display: flex; } }

/* ---------- Problem ---------- */
.why { padding-block: 40px 120px; }
.why-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; margin-bottom: 52px; }
.why-head p { color: var(--muted); font-size: 19px; line-height: 1.6; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why-card { padding: 30px 28px 32px; border: 1px solid var(--line); border-radius: 26px; background: #fff; }
.why-card .icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--mist); color: var(--sea); margin-bottom: 22px; }
.why-card .icon svg { width: 24px; height: 24px; }
.why-card h3 { margin-bottom: 10px; }
.why-card p { color: var(--muted); font-size: 16.5px; line-height: 1.6; }
.why-card.answer { border-color: transparent; background: linear-gradient(160deg, #e3f5f2, #f3fbfa 60%); }
.why-card.answer .icon { background: var(--sea); color: #fff; }

/* ---------- Steps ---------- */
.steps { padding-block: 110px 120px; background: var(--mist); }
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p:not(.eyebrow) { margin-top: 20px; color: var(--muted); font-size: 19px; line-height: 1.6; }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card {
  display: flex; flex-direction: column;
  border-radius: 30px; background: #fff; border: 1px solid var(--line);
  overflow: hidden;
}
.step-card .copy { padding: 30px 30px 0; }
.step-num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 18px;
  border-radius: 50%; background: var(--sea); color: #fff; font-weight: 700; font-size: 15px;
}
.step-card h3 { margin-bottom: 10px; }
.step-card p { color: var(--muted); font-size: 16.5px; line-height: 1.6; }
.step-card .shot {
  position: relative; margin-top: 34px; height: 400px; overflow: hidden;
  display: flex; justify-content: center;
  background: radial-gradient(closest-side at 50% 60%, var(--mint-soft), rgba(223, 243, 240, 0));
}
.step-card .shot .render { width: 270px; position: absolute; top: 18px; }
.step-card .shot::after { content: ""; position: absolute; inset: auto 0 0; height: 70px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); z-index: 1; }

/* ---------- Partner (split) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding-block: 130px; }
.split.flip .split-copy { order: 2; }
.split-copy > p:not(.eyebrow) { margin-top: 22px; color: var(--muted); font-size: 19px; line-height: 1.6; max-width: 520px; }
.checks { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 16px; }
.checks li { position: relative; padding-left: 36px; font-size: 17px; line-height: 1.5; color: var(--ink); }
.checks li span { display: block; color: var(--muted); font-size: 15.5px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d6f73' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.split-art { position: relative; display: flex; justify-content: center; min-height: 640px; align-items: center; }
.split-art::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(142, 220, 213, .5), rgba(142, 220, 213, 0));
}
.split-art .float-card { max-width: 230px; }

/* ---------- Screen Time ---------- */
.screen-time {
  background:
    radial-gradient(700px 480px at 80% 30%, rgba(142, 220, 213, .35), transparent 70%),
    linear-gradient(180deg, #f3f8f7, #fff);
  padding-block: 120px;
  overflow: hidden;
}
.screen-time .split { padding: 0; }
.lock-steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; counter-reset: lock; }
.lock-steps li {
  counter-increment: lock;
  display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; padding: 18px 0;
  border-top: 1px solid var(--line);
}
.lock-steps li::before {
  content: counter(lock);
  grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 12px; background: var(--mint-soft); color: var(--sea); font-weight: 700;
}
.lock-steps b { font-size: 18px; }
.lock-steps span { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.st-art { min-height: 660px; }
.st-art .render { position: relative; width: 310px; z-index: 1; }
.st-cost { left: 0; top: 120px; }
.st-cost .neg, .neg { color: var(--warn) !important; }
.st-report { right: 0; bottom: 90px; width: 236px; }
.st-report .row, .fc-report .row { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 13px; }
.mark { width: 17px; height: 17px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--good); color: #fff; font-style: normal; font-size: 10px; font-weight: 700; }
.mark.bad { background: var(--warn); }
.st-report .delta { margin-left: auto; color: var(--good); font-weight: 700; font-size: 12.5px; }

/* ---------- Partner card stack ---------- */
.cards-art { flex-direction: column; gap: 18px; min-height: 560px; }
.ui-card {
  position: relative; z-index: 1; width: min(400px, 100%); padding: 20px 22px; border-radius: 24px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -22px rgba(22, 48, 52, .3);
  font-size: 15px; line-height: 1.4;
}
.ui-card b { font-size: 16.5px; }
.ui-card .muted { display: block; color: var(--muted); font-size: 14px; margin-top: 3px; }
.ui-match { display: flex; gap: 16px; align-items: center; transform: translateX(-30px) rotate(-1.5deg); }
.ui-match .chips { display: flex; gap: 6px; margin-top: 10px; }
.ui-avatar { width: 64px; height: 64px; flex: none; border-radius: 50%; background: url("assets/app/avatar-ana.webp") center / cover, #8edcd5; border: 3px solid #cfe9e6; }
.ui-challenge { transform: translateX(30px) rotate(1deg); border: 1.5px solid #bcd9d6; }
.ui-row { display: flex; justify-content: space-between; align-items: center; }
.ui-info { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--sea); color: var(--sea); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.ui-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.ui-buttons span { padding: 10px; border-radius: 999px; text-align: center; font-weight: 700; font-size: 14.5px; }
.ui-accept { background: var(--sea); color: #fff; }
.ui-decline { background: #f1f3f4; color: var(--muted); }
.ui-ai { transform: translateX(-10px) rotate(-.5deg); }
.ui-ai .who { display: flex; align-items: center; gap: 8px; }
.ui-ai .dot { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #b8aef0, var(--lilac)); flex: none; }

/* ---------- Bento features ---------- */
.feature-sec { padding-block: 110px 120px; background: var(--mist); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile {
  position: relative; overflow: hidden; padding: 30px; border-radius: 28px; background: #fff; border: 1px solid var(--line);
  min-height: 230px;
}
.tile h3 { font-size: 22px; margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: 15.5px; line-height: 1.55; max-width: 360px; }
.tile.span-2 { grid-column: span 2; }
.tile.span-3 { grid-column: span 3; }
.tile.span-4 { grid-column: span 4; }
.tile.shot-tile { display: flex; flex-direction: column; height: 470px; padding-bottom: 0; }
.tile.shot-tile .render { align-self: center; width: 250px; margin-top: 22px; }
.tile.wide-shot { display: grid; grid-template-columns: 1fr 260px; gap: 26px; min-height: 470px; padding-bottom: 0; }
.tile.wide-shot .render { position: relative; width: 270px; margin-top: 4px; align-self: start; margin-bottom: -170px; }
.tile .tile-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--mint-soft); color: var(--sea); margin-bottom: 18px; }
.tile .tile-icon svg { width: 22px; height: 22px; }
.tile.lilac .tile-icon { background: #eeebfb; color: #6c5fc4; }
.mini-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.mini-list li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--ink); }
.mini-list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); flex: none; }
  display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 10px 18px 10px 12px;
  border-radius: 999px; background: #0f1416; color: #fff; font-size: 14px;
}

/* Mock UI pinned to the bottom of feature tiles */
.tile:not(.shot-tile):not(.wide-shot) { display: flex; flex-direction: column; }
.tile-mock { margin-top: auto; padding-top: 24px; display: grid; gap: 12px; }
.island { justify-self: center; display: flex; align-items: center; justify-content: space-between; gap: 40px; width: 200px; padding: 8px 14px 8px 10px; border-radius: 999px; background: #000; color: #fff; font-size: 14px; }
.live-act { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 22px; background: rgba(20, 26, 28, .92); color: #fff; }
.live-act span:not(.ring) { display: block; color: #9fb0b2; font-size: 12.5px; }
.live-act b { font-size: 15px; }
.live-act .time { font-size: 22px; font-variant-numeric: tabular-nums; color: var(--mint); }
.ring { width: 22px; height: 22px; border-radius: 50%; background: conic-gradient(var(--mint) 0 68%, #2a3437 68% 100%); position: relative; flex: none; }
.ring::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #000; }
.ring.big { width: 34px; height: 34px; }
.ring.big::after { inset: 6px; background: #1b2224; }
.chat-mock .bubble { max-width: 85%; padding: 10px 14px; border-radius: 18px; font-size: 14px; line-height: 1.4; }
.chat-mock .me { justify-self: end; background: #cfe2e0; border-bottom-right-radius: 6px; }
.chat-mock .ai { justify-self: start; background: #eeebfb; border-bottom-left-radius: 6px; }

/* ---------- Privacy ---------- */
.privacy { padding-block: 120px; }
.privacy-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  padding: 64px; border-radius: 36px; border: 1px solid var(--line);
  background: linear-gradient(140deg, #fff 30%, #eef8f6);
}
.privacy-card .split-copy > p:not(.eyebrow) { margin-top: 18px; }
.privacy-points { display: grid; gap: 14px; }
.privacy-points div { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.privacy-points svg { width: 22px; height: 22px; color: var(--sea); margin: 2px auto 0; }
.privacy-points b { display: block; font-size: 16.5px; }
.privacy-points span { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* ---------- Pricing ---------- */
.pricing { padding-block: 120px 40px; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 920px; margin-inline: auto; }
.price { padding: 38px; border-radius: 30px; border: 1px solid var(--line); background: #fff; }
.price .label { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sea); }
.price .amount { margin-top: 12px; font-size: 46px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.price .amount small { font-size: 17px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.price .sub { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.price ul { list-style: none; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.price li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.45; }
.price li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%;
  background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d6f73' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.price.supporter { border-color: #d8d2f5; background: linear-gradient(165deg, #f6f4ff, #fff 55%); }
.price.supporter .label { color: #6c5fc4; }
.price.supporter li::before { background-color: #eeebfb; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c5fc4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
.badge-pill { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; padding: 3px 10px; border-radius: 999px; background: #eeebfb; color: #6c5fc4; font-size: 12px; font-weight: 700; letter-spacing: 0; text-transform: none; vertical-align: 2px; }
.price-note { margin-top: 22px; text-align: center; color: var(--muted); font-size: 14px; }

/* ---------- FAQ ---------- */
.faq { padding-block: 110px 120px; background: var(--mist); }
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq details { border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 22px 26px; font-size: 18px; font-weight: 700; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 12px; height: 12px; flex: none; margin-top: -6px;
  border: solid var(--sea); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 6px; }
.faq details p { padding: 0 26px 24px; color: var(--muted); font-size: 16.5px; line-height: 1.65; }
.faq details a { color: var(--sea); text-decoration: underline; }

/* ---------- Founder ---------- */
.founder { padding-block: 10px 110px; }
.founder blockquote { max-width: 860px; margin: 0 auto; text-align: center; }
.founder blockquote > p { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.35; letter-spacing: -.02em; color: var(--ink); }
.founder footer { display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; text-align: left; }
.founder footer img { width: 44px; height: 40px; }
.founder footer span { color: var(--muted); font-size: 15px; line-height: 1.35; }
.founder footer b { display: block; color: var(--ink); font-size: 17px; }

/* ---------- Guides ---------- */
.home .guide-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home .guide-links { padding-block: 110px 30px; }

/* ---------- Final CTA ---------- */
.closer {
  position: relative; overflow: hidden; margin-block: 90px 100px; padding: 84px 64px 90px;
  border-radius: 40px; color: #fff; text-align: center;
  background:
    radial-gradient(700px 400px at 50% 110%, rgba(142, 220, 213, .45), transparent 70%),
    linear-gradient(160deg, #24595c, var(--sea) 45%, #377f82);
}
.closer .eyebrow { color: var(--mint) !important; }
.closer h2 { color: #fff; max-width: 760px; margin-inline: auto; }
.closer p:not(.eyebrow) { margin: 20px auto 0; max-width: 540px; color: rgba(255, 255, 255, .8); font-size: 19px; line-height: 1.55; }
.closer .store-badge { margin-top: 34px; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .js .reveal.in { opacity: 1; transform: none; }
  .float-card { animation: bob 6s ease-in-out infinite; }
  .fc-report, .st-report { animation-delay: -3s; }
  @keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-art .r-back { left: -4%; }
  .fc-report { right: -4%; }
  .tile.wide-shot { grid-template-columns: 1fr; }
  .tile.wide-shot .render { justify-self: center; }
}

@media (max-width: 900px) {
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .home-hero { grid-template-columns: 1fr; text-align: center; padding-top: 36px; gap: 20px; }
  .home-hero .lede { margin-inline: auto; }
  .hero-actions, .hero-meta, .hero-steps { justify-content: center; }
  .hero-art { height: 620px; max-width: 520px; width: 100%; margin-inline: auto; }
  .hero-art .r-back { left: 6%; }
  .hero-art .r-front { left: 32%; }
  .home .guide-grid.three { grid-template-columns: 1fr; }
  .why-head, .faq-wrap, .privacy-card { grid-template-columns: 1fr; gap: 28px; }
  .why-grid, .step-grid { grid-template-columns: 1fr; }
  .step-grid { max-width: 520px; margin-inline: auto; }
  .split, .split.flip { grid-template-columns: 1fr; gap: 50px; padding-block: 100px; }
  .split.flip .split-copy { order: 0; }
  .split-art { min-height: 0; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile.span-2, .tile.span-3, .tile.span-4 { grid-column: span 1; }
  .tile.wide-shot, .tile.shot-tile { grid-column: span 2; }
  .privacy-card { padding: 44px 32px; }
  .price-grid { grid-template-columns: 1fr; max-width: 520px; }
}

@media (max-width: 560px) {
  .home h2 { font-size: 36px; }
  .home-hero { padding-top: 20px; padding-bottom: 60px; gap: 8px; }
  .home-hero .eyebrow { margin-bottom: 12px; font-size: 11.5px; }
  .home-hero h1 { font-size: clamp(32px, 9.2vw, 38px); overflow-wrap: break-word; }
  .home-hero .lede { margin-top: 16px; font-size: 17px; line-height: 1.5; }
  .hero-actions { margin-top: 24px; gap: 14px; }
  .hero-steps { display: none; }
  .hero-actions { flex-direction: column; }
  .cta-note { text-align: center; }
  .hero-art { height: auto; padding: 8px 0 0; display: grid; justify-items: center; }
  .hero-art::before { inset: 8% 0 18%; filter: none; }
  .hero-art .r-back { display: none; }
  .hero-art .r-front { position: relative; width: min(300px, 78vw); left: auto; top: auto; }
  .founder { padding-bottom: 80px; }
  .fc-match { left: 0; bottom: 24px; width: 200px; text-align: left; padding: 12px 14px; }
  .fc-match b { font-size: 14px; }
  .fc-report { right: 0; top: auto; bottom: 120px; width: 180px; text-align: left; padding: 12px 14px; }
  .why { padding-bottom: 80px; }
  .why-card { padding: 26px 24px; }
  .steps, .feature-sec, .faq { padding-block: 80px; }
  .section-head { margin-bottom: 40px; }
  .step-card .shot { height: 360px; }
  .step-card .shot .render { width: 250px; }
  .split, .split.flip { padding-block: 80px; }
    .split-art::before { width: 360px; height: 360px; }
      .screen-time { padding-block: 80px; }
  .st-art { min-height: 560px; }
  .st-art .render { width: 260px; }
  .st-cost { top: 40px; }
  .st-report { bottom: 30px; width: 210px; }
  .ui-match, .ui-challenge, .ui-ai { transform: none; }
  .bento { grid-template-columns: 1fr; }
  .tile.wide-shot, .tile.shot-tile { grid-column: span 1; }
  .tile { padding: 26px 24px; }
  .tile.wide-shot { min-height: 440px; }
  .tile.shot-tile { height: 460px; }
  .privacy { padding-block: 80px; }
  .privacy-card { padding: 34px 22px; border-radius: 28px; }
  .price { padding: 30px 26px; }
  .faq summary { padding: 20px; font-size: 17px; }
  .faq details p { padding: 0 20px 22px; }
  .closer { width: 100%; border-radius: 0; padding: 70px 22px 80px; margin-block: 60px 0; }
}
