/* Pokii homepage. Other pages still use /style.css. */
:root {
  --pink: #da2e9f;
  --pink-dark: #b8237f;
  --pink-soft: #fdeef7;
  --purple: #8a3ffc;
  --green: #22a35a;
  --orange: #f07a1a;
  --blue: #2f7cf6;
  --gold: #e3a92b;

  --ink: #14121a;
  --ink-2: #4a4655;
  --ink-3: #7a7685;
  --line: #ece8f0;
  --bg: #ffffff;
  --bg-soft: #faf7fb;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(20, 18, 26, .05), 0 2px 8px rgba(20, 18, 26, .04);
  --shadow-md: 0 8px 30px rgba(20, 18, 26, .08);
  --shadow-lg: 0 24px 60px rgba(84, 24, 70, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
/* height:auto keeps the width/height HTML attributes from stretching images (they set aspect ratio only) */
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: .92rem; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { box-shadow: 0 8px 20px rgba(20, 18, 26, .25); }
.btn-primary { background: linear-gradient(135deg, var(--pink), #b42ad6); color: #fff; box-shadow: 0 8px 22px rgba(218, 46, 159, .35); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(218, 46, 159, .45); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }

/* Floating nav */
.nav-wrap { position: sticky; top: 0; z-index: 100; padding: 14px 16px 0; }
.nav {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 18px;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 999px;
  box-shadow: 0 2px 16px rgba(20, 18, 26, .06);
  transition: box-shadow .3s, background .3s;
}
.nav-wrap.scrolled .nav { background: rgba(255, 255, 255, .9); box-shadow: 0 6px 28px rgba(20, 18, 26, .1); }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; }
.nav-brand img { border-radius: 9px; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav-links a:hover { color: var(--pink); }

/* Hero */
.hero { position: relative; padding: 56px 0 72px; margin-top: -76px; padding-top: 140px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 85% 20%, rgba(218, 46, 159, .22), transparent 70%),
    radial-gradient(50% 50% at 10% 10%, rgba(138, 63, 252, .14), transparent 70%),
    radial-gradient(50% 60% at 60% 100%, rgba(255, 170, 120, .18), transparent 70%),
    linear-gradient(180deg, #fff6fb 0%, #ffffff 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .8); border: 1px solid var(--line);
  font-size: .85rem; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34, 163, 90, .18); }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); font-weight: 800; margin: 22px 0 20px; }
.grad-text {
  background: linear-gradient(100deg, var(--pink) 10%, #a535e0 60%, var(--purple));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 30px; }
.app-store { display: inline-block; transition: transform .2s var(--ease); }
.app-store:hover { transform: translateY(-2px) scale(1.02); }
.app-store img { height: 56px; width: auto; }
.rating-chip {
  display: inline-flex; flex-direction: column; gap: 1px;
  font-size: .88rem; color: var(--ink-2); line-height: 1.3;
}
.rating-chip strong { color: var(--ink); }
.stars { color: #f5b301; letter-spacing: 2px; font-size: 1rem; }
.hero-quote {
  display: grid; gap: 4px; max-width: 480px; margin-top: 26px; padding: 14px 18px;
  background: rgba(255, 255, 255, .72); border: 1px solid var(--line); border-left: 4px solid var(--pink);
  border-radius: 14px; box-shadow: var(--shadow-sm);
}
.hero-quote blockquote { font-weight: 600; font-size: 1.02rem; line-height: 1.45; color: var(--ink); }
.hero-quote figcaption { font-size: .85rem; color: var(--ink-3); font-weight: 500; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin-top: 20px; }
.trust-row li { display: inline-flex; align-items: center; gap: 7px; font-size: .92rem; color: var(--ink-2); font-weight: 500; }
.trust-row svg { width: 18px; height: 18px; fill: var(--green); }

.hero-visual { position: relative; height: 620px; }
.phone { position: absolute; width: 270px; height: auto; filter: drop-shadow(0 30px 50px rgba(84, 24, 70, .25)); }
.phone-front { left: 8%; top: 20px; z-index: 2; }
.phone-back { right: 2%; top: 70px; width: 245px; transform: rotate(6deg); opacity: .96; }
.float-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px; border-radius: 16px;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-md);
  line-height: 1.25;
}
.float-card small { display: block; font-size: .72rem; color: var(--ink-3); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.float-card strong { font-size: .95rem; }
.fc-icon { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; }
.fc-icon svg { width: 18px; height: 18px; fill: #fff; }
.fc-pink { background: var(--pink); }
.fc-img { width: 30px; height: auto; margin: 0 4px 0 4px; }
.fc-1 { left: -4%; top: 120px; }
.fc-2 { right: -2%; top: 330px; }
.fc-3 { left: 4%; bottom: 40px; }

/* Proof strip */
.proof { padding: 8px 0 40px; }
.proof-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 1132px; width: calc(100% - 32px); padding: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.proof-grid > div { padding: 22px 16px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.proof-grid > div + div { border-left: 1px solid var(--line); }
.proof-grid strong { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; }
.proof-grid .star { color: #f5b301; font-size: .8em; margin-left: 2px; }
.proof-grid span { color: var(--ink-3); font-size: .9rem; }

/* Medication marquee */
.meds { padding: 20px 0 30px; }
.meds-title { text-align: center; font-family: var(--font-body); font-size: .9rem; font-weight: 600; color: var(--ink-3); letter-spacing: 0; text-transform: uppercase; margin-bottom: 18px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 50s linear infinite; }
.marquee-track span { white-space: nowrap; padding: 10px 18px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-weight: 600; color: var(--ink-2); font-size: .95rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }

/* Sections */
.section { padding: 96px 0; }
.kicker { text-align: center; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pink); margin-bottom: 12px; }
.kicker-light { color: #ff9fd6; text-align: left; }
.section-title { text-align: center; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; max-width: 760px; margin: 0 auto; }
.section-sub { text-align: center; color: var(--ink-2); font-size: 1.1rem; max-width: 640px; margin: 18px auto 0; }
.section-title.left, .section-sub.left { text-align: left; margin-left: 0; }

/* How it works */
.how { background: var(--bg-soft); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 28px 32px; box-shadow: var(--shadow-sm); overflow: hidden; }
.step-visual {
  position: relative; height: 270px; margin: 0 -28px 24px; overflow: hidden;
  background: radial-gradient(70% 80% at 50% 0%, #fbe3f2 0%, #f8eefa 55%, #faf7fb 100%);
  border-bottom: 1px solid var(--line);
}
.step-num {
  position: absolute; top: 16px; left: 16px; z-index: 5;
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px;
  background: linear-gradient(135deg, var(--pink), var(--purple)); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem;
}
.step-visual .shot { position: absolute; height: auto; border-radius: 14px; box-shadow: 0 14px 30px rgba(40, 20, 60, .22), 0 0 0 1px rgba(40, 20, 60, .08); background: #fff; }
/* Step 1: medicine and dose card over the levels curve it produces */
.sv-plan .p-levels { right: 6%; top: 34px; width: 46%; transform: rotate(3deg); transform-origin: top right; }
.sv-plan .p-dose { left: 6%; top: 92px; width: 66%; z-index: 2; }
/* Step 2: injection site, then the check-in */
.sv-log .l-site { left: 6%; top: 30px; width: 46%; transform: rotate(-3deg); transform-origin: top left; }
.sv-log .l-check { right: 6%; top: 74px; width: 52%; z-index: 2; }
/* Step 3: levels and weight with the predicted goal day */
.sv-see .s-chart { left: 7%; right: 7%; top: 64px; width: 86%; border-radius: 14px 14px 0 0; }
.step h3 { font-size: 1.3rem; margin-bottom: 8px; }
.step p { color: var(--ink-2); }

/* Feature rows */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 96px; }
.feature-row.reverse .feature-media { order: 2; }
.feature-media { position: relative; display: flex; justify-content: center; padding: 40px 0; }
.feature-media::before {
  content: ''; position: absolute; inset: 0; margin: auto; width: 88%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(218, 46, 159, .16), rgba(138, 63, 252, .08) 50%, transparent 70%);
  z-index: -1;
}
.feature-media img { width: 300px; filter: drop-shadow(0 24px 40px rgba(84, 24, 70, .2)); }
.tag { display: inline-block; font-size: .8rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
.tag-pink { background: var(--pink-soft); color: var(--pink-dark); }
.tag-green { background: #e6f6ec; color: #17803f; }
.tag-purple { background: #f1e8ff; color: #6a26d9; }
.tag-orange { background: #fff0e3; color: #c25a06; }
.tag-blue { background: #e7f0ff; color: #1d5fd0; }
.tag-gold { background: #fff4d6; color: #9a6b00; }

/* Raw (frameless) screenshots get a CSS phone bezel */
.device {
  position: relative; width: 100%; aspect-ratio: 1170 / 2532;
  background: #000; border: 8px solid #0e0e12; border-radius: 38px; overflow: hidden;
  box-shadow: 0 0 0 1.5px #3a3a44, 0 24px 40px rgba(84, 24, 70, .22);
}
.device img { width: 100%; height: 100%; object-fit: cover; }
.device::after {
  content: ''; position: absolute; top: 7px; left: 50%; width: 27%; height: 20px;
  transform: translateX(-50%); background: #000; border-radius: 999px;
}
.duo { position: relative; min-height: 560px; }
.duo .device { position: absolute; width: 235px; }
.duo .device-back { left: 4%; top: 60px; transform: rotate(-5deg); }
.duo .device-front { right: 4%; top: 20px; transform: rotate(3deg); }
.tile-device { width: 62%; max-width: 250px; margin: 0 auto -150px; align-self: center; }
.tile-tall { overflow: hidden; }
.feature-copy h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: 16px; }
.feature-copy > p { color: var(--ink-2); font-size: 1.08rem; margin-bottom: 22px; }
.feature-link { margin-top: 20px; font-weight: 600; }
.feature-link a { text-decoration: none; }
.feature-link a:hover { text-decoration: underline; }
.checks { list-style: none; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; color: var(--ink); font-weight: 500; }
.checks li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--pink-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23da2e9f' d='M8 13.2 4.8 10l-1.3 1.3L8 15.8l8.5-8.5-1.3-1.3z'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* Bento */
.bento-section { background: var(--bg-soft); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tile h3 { font-size: 1.15rem; margin-bottom: 6px; }
.tile p { color: var(--ink-2); font-size: .95rem; }
.tile-tall { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; background: linear-gradient(160deg, #fff 0%, #fff4fa 100%); }
.tile-tall h3 { font-size: 1.6rem; }
.tile-tall p { font-size: 1.02rem; }
.tile-photo { grid-row: span 2; display: flex; flex-direction: column; gap: 20px; overflow: hidden; }
.tile-shot {
  flex: 1 0 250px; overflow: hidden; margin: -26px -26px 0; padding-top: 26px;
  background: linear-gradient(180deg, #fbeef6, #f4ecff);
  mask-image: linear-gradient(180deg, #000 75%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 75%, transparent);
}
.tile-shot img { width: 210px; margin: 0 auto; filter: drop-shadow(0 14px 24px rgba(20, 18, 26, .15)); }
/* Widgets sit in the top half of the screenshot; scale up so they fill the taller tile */
.tile-shot img[src*="widgets"] { width: 262px; margin-top: -8px; }
.tile-wide { grid-column: span 2; }
.tile-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; margin-bottom: 16px; }
.tile-icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ti-pink svg { fill: #fff; stroke: none; }
.ti-green { background: var(--green); }
.ti-pink { background: var(--pink); }
.ti-purple { background: var(--purple); }
.ti-blue { background: var(--blue); }
.ti-orange { background: var(--orange); }

/* Illustrated feature art (homepage "more" tiles) */
.tile-art { display: block; width: 60px; height: 60px; border-radius: 17px; margin-bottom: 16px; overflow: hidden; }
.tile-art svg { display: block; width: 100%; height: 100%; }
.ta-green { background: #e6f6ed; }
.ta-pink { background: var(--pink-soft); }
.ta-purple { background: #f1eaff; }
.ta-blue { background: #e8f0fe; }
.ta-orange { background: #fff0e2; }


/* Privacy */
.privacy { background: radial-gradient(80% 120% at 0% 0%, #3a1240 0%, #17111d 60%); color: #fff; }
.privacy-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.privacy h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 18px; }
.privacy-copy p:not(.kicker) { color: rgba(255, 255, 255, .78); font-size: 1.12rem; }
.privacy-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.privacy-list li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 22px; }
.privacy-list strong { display: block; font-family: var(--font-display); font-size: 1.08rem; margin-bottom: 4px; }
.privacy-list span { color: rgba(255, 255, 255, .7); font-size: .95rem; }

/* Reviews */
.rating-line { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.review-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px; }
.review h3 { font-size: 1.1rem; }
.review blockquote { color: var(--ink-2); font-size: .97rem; flex: 1; }
.review figcaption { font-size: .85rem; color: var(--ink-3); font-weight: 600; }

/* Pricing */
.pricing { background: var(--bg-soft); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 24px; margin-top: 48px; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-sm); }
.plan h3 { font-size: 1.5rem; }
.plan-price { font-family: var(--font-display); font-size: 2rem; font-weight: 800; margin-top: -10px; }
.plan-price span { font-size: 1rem; font-weight: 500; color: var(--ink-3); }
.plan-premium .plan-price { font-size: 1.05rem; font-weight: 600; color: var(--ink-2); margin-top: -6px; }
.plan .checks { flex: 1; }
.plan-premium { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--pink), var(--purple)) border-box; box-shadow: var(--shadow-lg); }
.plan-badge { position: absolute; top: -14px; left: 34px; background: linear-gradient(135deg, var(--pink), var(--purple)); color: #fff; font-size: .8rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; }
.fine-print { text-align: center; color: var(--ink-3); font-size: .88rem; margin-top: 24px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq .kicker { text-align: left; }
.faq-list { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow-md); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; font-weight: 600; font-size: 1.05rem; padding: 16px 32px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 0; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: var(--pink-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23da2e9f' stroke-width='2.2' stroke-linecap='round' d='M10 5v10M5 10h10'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 18px; }

/* Final CTA */
.final-cta { padding: 40px 0 0; }
.final-grid {
  display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 32px;
  background: linear-gradient(135deg, var(--pink) 0%, #a52bd8 60%, #6f2fe0 100%);
  border-radius: 36px; padding: 64px 64px 0; color: #fff; overflow: hidden; position: relative;
  max-width: 1132px; width: calc(100% - 32px);
}
.final-grid::before { content: ''; position: absolute; width: 520px; height: 520px; right: -120px; top: -200px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.final-copy { padding-bottom: 64px; position: relative; }
.final-copy h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; margin-bottom: 14px; }
.final-copy p { font-size: 1.15rem; color: rgba(255, 255, 255, .88); }
.rating-chip-light, .rating-chip-light strong { color: #fff; }
.final-phone { width: 260px; justify-self: center; align-self: start; margin-bottom: -250px; position: relative; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .3)); }

/* Footer */
.footer { padding: 80px 0 40px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-brand p { color: var(--ink-2); margin-top: 14px; max-width: 300px; }
.footer-brand .footer-addr { color: var(--ink-3); font-size: .9rem; margin-top: 8px; }
.footer h3 { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 14px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a:not(.nav-brand) { color: var(--ink-2); text-decoration: none; font-size: .95rem; }
.footer-grid a:not(.nav-brand):hover { color: var(--pink); }
.disclaimer { font-size: .82rem; color: var(--ink-3); margin-top: 28px; max-width: 900px; }
.copyright { font-size: .85rem; color: var(--ink-3); margin-top: 12px; }

/* Chart gallery (/charts/) */
.nav-links a[aria-current="page"] { color: var(--pink); }
.page-hero { padding-bottom: 40px; text-align: center; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; margin: 22px auto 20px; max-width: 820px; }
.page-hero .hero-lead { margin: 0 auto; }
.page-hero .trust-row { justify-content: center; }
.gallery-section { padding-top: 24px; }
.gallery { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.gallery-card {
  flex: 0 1 calc((100% - 56px) / 3); min-width: 280px;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.gallery-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery-media {
  height: 440px; overflow: hidden; padding-top: 28px;
  background: radial-gradient(80% 70% at 50% 30%, #fff 0%, transparent 70%), linear-gradient(180deg, #fbeef6, #f1e8ff);
  mask-image: linear-gradient(180deg, #000 82%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent);
}
.gallery-media img { width: 250px; margin: 0 auto; filter: drop-shadow(0 18px 30px rgba(84, 24, 70, .22)); }
.featured-charts { padding-bottom: 24px; }
.featured-charts .feature-row { margin-top: 72px; }
.feature-media .device.single { width: 270px; }
.feature-media .device img { width: 100%; filter: none; }
.feature-copy > p.feature-plan { margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .88rem; color: var(--ink-3); }
/* Raw (frameless) screenshots: CSS bezel sized to match the pre-framed phones */
.gallery-media .device { width: 244px; margin: 0 auto; }
.gallery-media .device img { width: 100%; margin: 0; filter: none; }
.gallery-copy { padding: 8px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.gallery-copy h2 { font-size: 1.35rem; font-weight: 800; margin-bottom: 8px; }
.gallery-copy p { color: var(--ink-2); font-size: .97rem; }
.gallery-copy .tag { align-self: flex-start; }
.gallery-copy .gallery-plan { margin-top: auto; padding-top: 16px; font-size: .85rem; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 8px 16px; }
.plan-opt { white-space: nowrap; }
.plan-chip { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; margin-right: 4px; vertical-align: 1px; }
.chip-free { background: #e6f6ec; color: #17803f; }
.chip-premium { background: #f1e8ff; color: #6a26d9; }
.closeup { background: var(--bg-soft); }
.closeup-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.closeup-media { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px 14px 0; box-shadow: var(--shadow-md); overflow: hidden; }
.closeup-media img { width: 100%; border-radius: 14px; }
.closeup-media figcaption { padding: 12px 6px 14px; font-size: .88rem; color: var(--ink-3); }
.closeup .kicker-left { text-align: left; }
.closeup .btn { margin-top: 26px; }
/* Show the whole chart (about the top 72% of the phone) in the closing CTA */
.final-phone.final-phone-chart { margin-bottom: -125px; }
.chart-bento .tile { grid-column: span 1; }
.chart-bento .plan-chip { margin-left: 0; }

/* Support page (/support/) */
.hero-lead a { font-weight: 600; }
.form-card {
  max-width: 560px; margin: 28px auto 96px; padding: 36px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.form-card label { display: block; font-size: .85rem; font-weight: 600; margin: 18px 0 6px; color: var(--ink); }
.form-card label:first-of-type { margin-top: 0; }
.form-card input, .form-card textarea {
  width: 100%; padding: 12px 14px; font-size: 1rem; color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px; font-family: inherit; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.form-card input:focus, .form-card textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(218, 46, 159, .15); }
.form-card textarea { min-height: 150px; resize: vertical; }
.form-card .hp { position: absolute; left: -9999px; top: -9999px; }
.form-card .btn { width: 100%; margin-top: 24px; cursor: pointer; }
.form-card .btn:disabled { opacity: .6; cursor: default; transform: none; }
.form-msg { margin-top: 16px; font-size: .95rem; }
.form-msg.error { color: #b3261e; }
.form-done { text-align: center; padding: 16px 0; }
.form-done .done-icon { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--pink-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23da2e9f' d='M8 13.2 4.8 10l-1.3 1.3L8 15.8l8.5-8.5-1.3-1.3z'/%3E%3C/svg%3E") center / 30px no-repeat; }
.form-done h2 { font-size: 1.6rem; margin-bottom: 8px; }
.form-done p { color: var(--ink-2); }
@media (max-width: 640px) {
  .form-card { padding: 26px 20px; margin-left: 16px; margin-right: 16px; }
}

/* Sticky mobile CTA */
.mobile-cta { display: none; }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .tile-photo { grid-row: span 1; }
  .gallery-card { flex-basis: calc((100% - 28px) / 2); }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { padding-top: 120px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .hero-lead { margin: 0 auto; }
  .hero-cta, .trust-row { justify-content: center; }
  .hero-quote { margin-left: auto; margin-right: auto; text-align: left; }
  .rating-chip { align-items: center; }
  .hero-visual { height: 520px; max-width: 480px; width: 100%; margin: 0 auto; }
  .phone-front { width: 230px; left: 10%; }
  .phone-back { width: 210px; }
  .fc-1 { left: 0; top: 90px; }
  .fc-2 { right: 0; top: 280px; }
  .steps { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 8px; margin-top: 72px; }
  .feature-row.reverse .feature-media { order: 0; }
  .feature-media img { width: 250px; }
  .privacy-grid, .faq-grid, .closeup-grid { grid-template-columns: 1fr; gap: 36px; }
  .final-grid { grid-template-columns: 1fr; text-align: center; padding: 48px 28px 0; }
  .final-copy { padding-bottom: 0; }
  .final-cta .hero-cta { justify-content: center; }
  .final-phone { width: 220px; margin-bottom: -200px; }
  .final-phone.final-phone-chart { margin-bottom: -105px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid > div:nth-child(3) { border-left: 0; }
  .proof-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero-visual { height: 430px; }
  .hero { padding-bottom: 32px; }
  .phone-front { width: 200px; left: 6%; }
  .phone-back { width: 180px; right: 0; }
  .float-card { padding: 8px 12px 8px 8px; }
  .float-card strong { font-size: .85rem; }
  .fc-icon { width: 30px; height: 30px; }
  .fc-3 { display: none; }
  .duo { min-height: 470px; }
  .duo .device { width: 185px; border-width: 6px; border-radius: 30px; }
  .gallery-card { flex-basis: 100%; }
  .bento, .review-grid, .privacy-list, .plans { grid-template-columns: 1fr; }
  .tile-tall, .tile-wide { grid-column: auto; }
  .tile-photo { grid-row: auto; }

  .mobile-cta {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
    display: flex; align-items: center; gap: 12px;
    padding: 10px 10px 10px 12px; border-radius: 20px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(20, 18, 26, .18);
    transform: translateY(140%); transition: transform .35s var(--ease);
  }
  .mobile-cta.show { transform: none; }
  .mobile-cta img { border-radius: 9px; }
  .mobile-cta span { display: flex; flex-direction: column; line-height: 1.2; flex: 1; }
  .mobile-cta small { color: var(--ink-3); font-size: .8rem; }
  .footer { padding-bottom: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .nav-wrap, .mobile-cta, .final-cta, .marquee { display: none; }
}
