/* Kashicare landing — static HTML/CSS port of "Kashicare Landing.dc.html" */

:root {
  --ink: #1A1D23;
  --ink-2: #3D444F;
  --body: #4A515C;
  --muted: #5A6270;
  --faint: #8A919C;
  --line: #EEF0F4;
  --brand: #445beb;
  --brand-dark: #3446c9;
  --brand-tint: #EEF1FE;
  --soft: #F5F6FA;
  --green: #1F7A45;
  --green-tint: #E7F5EC;
  --night: #0F1433;
  --night-text: #C3C9E8;
  --night-accent: #9AA8FF;

  --gutter: clamp(16px, 4vw, 24px);
  --nav-h: 64px;
  --section-y: clamp(64px, 10vw, 110px);

  /* Fluid type scale: min at 360px viewport → max at 1280px */
  --fs-hero:     clamp(2.125rem,  1.15rem + 4.35vw, 4.75rem);   /* 34 → 76 */
  --fs-h2:       clamp(1.75rem,   1.26rem + 2.17vw, 3.125rem);  /* 28 → 50 */
  --fs-h2-cta:   clamp(1.75rem,   1.21rem + 2.39vw, 3.25rem);   /* 28 → 52 */
  --fs-h2-sm:    clamp(1.625rem,  1.28rem + 1.52vw, 2.625rem);  /* 26 → 42 */
  --fs-h3:       clamp(1.5rem,    1.16rem + 1.52vw, 2.5rem);    /* 24 → 40 */
  --fs-price:    clamp(2rem,      1.86rem + 0.65vw, 2.5rem);    /* 32 → 40 */
  --fs-hero-sub: clamp(1.0625rem, 0.99rem + 0.33vw, 1.25rem);   /* 17 → 20 */
  --fs-lead:     clamp(1rem,      0.95rem + 0.22vw, 1.125rem);  /* 16 → 18 */
  --fs-card:     clamp(1.125rem,  1.08rem + 0.22vw, 1.25rem);   /* 18 → 20 */
  --fs-title:    clamp(1.0625rem, 1.04rem + 0.11vw, 1.125rem);  /* 17 → 18 */
  --fs-body:     clamp(0.9375rem, 0.92rem + 0.07vw, 0.96875rem); /* 15 → 15.5 */
  --fs-small:    clamp(0.8125rem, 0.79rem + 0.11vw, 0.875rem);  /* 13 → 14 */
  --fs-eyebrow:  clamp(0.75rem,   0.73rem + 0.11vw, 0.8125rem); /* 12 → 13 */
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 8px);
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
}
body {
  margin: 0;
  background: #FFFFFF;
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}
body.menu-open { overflow: hidden; }
a { color: var(--brand); text-decoration: none; }
a, button { touch-action: manipulation; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.page { min-height: 100vh; overflow-x: hidden; overflow-x: clip; }
.wrap {
  max-width: 1200px; margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}
.display { font-family: 'Poppins', sans-serif; font-weight: 600; margin: 0; }
.eyebrow { font-size: var(--fs-eyebrow); font-weight: 800; letter-spacing: 0.12em; color: var(--brand); }
.h2 { font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
.lead { margin: 0; font-size: var(--fs-lead); line-height: 1.55; color: var(--body); font-weight: 500; text-wrap: pretty; }
.center-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }

/* ---------- Animations ---------- */
@keyframes kcFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes kcPulse {
  0%, 100% { box-shadow: 0 18px 36px -14px rgba(20, 28, 90, 0.35); }
  50% { box-shadow: 0 18px 36px -14px rgba(31, 122, 69, 0.55); }
}
@keyframes kcIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
[data-reveal].kc-on { opacity: 1; transform: none; }
[data-hero] { animation: kcIn .9s cubic-bezier(.2,.7,.2,1) both; }
[data-float] { animation: kcFloat 6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal], [data-hero], [data-float], .toast { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* ---------- Logo ---------- */
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); flex-shrink: 0; }
.logo svg { display: block; flex-shrink: 0; }
.wordmark { font-family: 'Poppins', sans-serif; font-size: 1.3125rem; font-weight: 600; letter-spacing: -0.02em; }
.wordmark span { color: var(--brand); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-right { display: flex; align-items: center; gap: 28px; font-size: 0.90625rem; font-weight: 600; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--body); }
.btn-dark {
  display: inline-flex; align-items: center; min-height: 40px;
  background: var(--ink); color: #FFFFFF; border-radius: 10px; padding: 0 16px; white-space: nowrap;
  transition: background-color .15s ease, transform .1s ease;
}

/* Hamburger (shown ≤ 820px) */
.menu-btn {
  display: none; position: relative; width: 40px; height: 40px; margin-right: -8px; flex-shrink: 0;
  border: 0; border-radius: 10px; background: transparent; cursor: pointer; color: var(--ink);
}
.menu-btn span {
  position: absolute; left: 11px; width: 18px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.menu-btn span:nth-child(1) { top: 13px; }
.menu-btn span:nth-child(2) { top: 19px; }
.menu-btn span:nth-child(3) { top: 25px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* The nav's backdrop-filter makes it the containing block for fixed children,
   so the sheet is placed from the nav's bottom edge and sized to the viewport. */
.mobile-menu {
  position: fixed; left: 0; right: 0; top: 100%; z-index: 49;
  height: calc(100vh - var(--nav-h)); height: calc(100dvh - var(--nav-h));
  background: #FFFFFF; overflow-y: auto; overscroll-behavior: contain;
  border-top: 1px solid var(--line);
  animation: menuIn .18s ease-out;
}
.mobile-menu[hidden] { display: none; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mobile-menu-inner {
  display: flex; flex-direction: column;
  padding-top: 8px; padding-bottom: max(24px, env(safe-area-inset-bottom));
}
.mobile-menu-inner > a {
  display: flex; align-items: center; min-height: 56px;
  font-size: 1.0625rem; font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-menu-ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.mobile-menu-ctas .cta { flex: none; width: 100%; font-size: 1rem; font-weight: 700; }

/* ---------- Hero ---------- */
/* overflow clips the phone-size screenshot bleed at the screen edge, so the page never pans sideways */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #F3F5FF 0%, #FFFFFF 78%); }
.hero-copy {
  padding-top: clamp(40px, 8vw, 72px); padding-bottom: clamp(28px, 4vw, 40px);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(16px, 2.2vw, 22px);
}
.pill {
  display: flex; align-items: center; gap: 8px; max-width: 100%;
  background: #FFFFFF; border: 1px solid #E1E5F7; border-radius: 999px;
  padding: 6px 14px 6px 8px; font-size: var(--fs-small); font-weight: 700; color: var(--ink-2); text-align: left;
}
.pill b { background: var(--brand); color: #FFFFFF; border-radius: 999px; padding: 2px 8px; font-size: 0.71875rem; font-weight: 700; flex-shrink: 0; }
.hero h1 {
  font-size: var(--fs-hero); line-height: 1.05; letter-spacing: -0.035em;
  max-width: 920px; text-wrap: balance;
}
.hero h1 .accent { color: var(--brand); font-variant-numeric: tabular-nums; }
.hero-sub { margin: 0; font-size: var(--fs-hero-sub); line-height: 1.5; color: var(--body); font-weight: 500; max-width: 600px; text-wrap: pretty; }

.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; width: 100%; max-width: 820px; }
.cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 12px; min-height: 54px; padding: 0 16px;
  transition: background-color .15s ease, border-color .15s ease, transform .1s ease;
}
.cta-primary {
  gap: 8px; background: var(--brand); color: #FFFFFF; padding: 0 22px;
  font-size: 1rem; font-weight: 700; flex: 1.3 1 240px;
  box-shadow: 0 12px 26px -10px rgba(68, 91, 235, 0.7);
}
.cta-light { background: #FFFFFF; color: var(--ink); border: 1px solid #DDE1E9; flex: 1 1 180px; }
.cta-black { background: var(--ink); color: #FFFFFF; border: 1px solid var(--ink); flex: 1 1 180px; }
.cta-stack { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; min-width: 0; }
.cta-stack small { font-size: 0.6875rem; font-weight: 600; color: var(--muted); }
.cta-black .cta-stack small { color: #C9CED8; }
.cta-stack strong { font-size: 0.9375rem; font-weight: 700; white-space: nowrap; }
.cta svg { flex-shrink: 0; }

.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: var(--fs-small); font-weight: 600; color: var(--muted); }
.trust div { display: flex; align-items: center; gap: 7px; }
.trust svg { flex-shrink: 0; }

/* Device stage */
.stage-wrap { padding-top: 12px; }
.stage { animation-delay: .5s; animation-duration: 1.2s; position: relative; width: 100%; }

/* Wide: fixed 1100×660 composition scaled to fit (--hs set by script.js) */
.stage-wide { position: relative; width: 100%; height: calc(660px * var(--hs, 1)); }
.stage-canvas {
  position: absolute; left: 50%; top: 0; width: 1100px; height: 660px; margin-left: -550px;
  transform: scale(var(--hs, 1)); transform-origin: top center;
}
.screen-desktop {
  position: absolute; left: 0; top: 0; width: 900px; border-radius: 12px; overflow: hidden;
  box-shadow: 0 50px 100px -40px rgba(20, 28, 90, 0.45), 0 0 0 1px rgba(20, 28, 70, 0.1);
  background: #F7F8FA;
}
.screen-desktop img, .shot img { display: block; width: 100%; height: auto; }
.stage-phone { position: absolute; right: 0; top: 70px; width: 424px; height: 896px; transform: scale(0.66); transform-origin: top right; }
.toast {
  animation: kcPulse 2.4s ease-in-out infinite, kcFloat 5s ease-in-out infinite;
  position: absolute; left: -28px; top: 420px;
  display: flex; align-items: center; gap: 10px;
  background: #FFFFFF; border-radius: 14px; padding: 10px 14px 10px 10px;
  box-shadow: 0 18px 36px -14px rgba(20, 28, 90, 0.35); text-align: left;
}
.toast-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--green-tint); display: flex; align-items: center; justify-content: center; }
.toast-title { font-size: 14px; font-weight: 800; }
.toast-sub { font-size: 12px; font-weight: 600; color: var(--faint); }

/* Narrow (tablet + phone): desktop shot with overlapping phone.
   --dw, --ns, --ntop, --nh are set by script.js per device class. */
.stage-narrow { display: none; position: relative; width: 100%; height: var(--nh, 420px); }
.stage-narrow .screen-desktop {
  width: var(--dw, 88%); border-radius: 10px;
  box-shadow: 0 30px 60px -30px rgba(20, 28, 90, 0.45), 0 0 0 1px rgba(20, 28, 70, 0.1);
}
.stage-narrow .stage-phone { top: var(--ntop, 60px); transform: scale(var(--ns, 0.4)); }

/* ---------- Phone frame (424×896) ---------- */
.phone { position: relative; width: 424px; height: 896px; }
.phone-btn { position: absolute; width: 4px; background: #2B2C33; }
.phone-btn.l { left: -3px; border-radius: 2px 0 0 2px; }
.phone-btn.r { right: -3px; border-radius: 0 2px 2px 0; }
.phone-btn.b1 { top: 170px; height: 34px; }
.phone-btn.b2 { top: 232px; height: 64px; }
.phone-btn.b3 { top: 310px; height: 64px; }
.phone-btn.b4 { top: 260px; height: 100px; }
.phone-body {
  position: absolute; inset: 0; border-radius: 66px; background: #0E0F13; padding: 11px;
  box-shadow: inset 0 0 0 1.5px #4A4C55, inset 0 0 0 4px #1B1C21, 0 60px 100px -40px rgba(10, 16, 60, 0.6);
}
.phone-screen { position: relative; width: 402px; height: 874px; border-radius: 55px; overflow: hidden; background: #F7F8FA; }
.phone-screen img { position: absolute; left: 0; top: 0; width: 402px; height: 874px; display: block; max-width: none; }

/* ---------- Two screens ---------- */
.features { padding-top: var(--section-y); padding-bottom: 40px; }
.features-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.duo { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 2vw, 20px); margin-top: clamp(32px, 5vw, 48px); }
.duo-card { border-radius: clamp(18px, 2.4vw, 24px); padding: clamp(22px, 3.4vw, 34px); display: flex; flex-direction: column; gap: 22px; }
.duo-card.light { background: var(--soft); }
.duo-card.blue {
  transition-delay: .12s; color: #FFFFFF;
  background: #1E2A8A linear-gradient(150deg, #4A5FEA 0%, #2F3FC4 55%, #1E2A8A 100%);
}
.duo-head { display: flex; align-items: center; gap: 12px; }
.duo-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.light .duo-icon { background: #FFFFFF; border: 1px solid #E4E7EE; }
.blue .duo-icon { background: rgba(255, 255, 255, 0.14); }
.duo-title { font-size: var(--fs-card); font-weight: 800; letter-spacing: -0.01em; }
.duo-sub { font-size: var(--fs-small); font-weight: 600; color: var(--faint); line-height: 1.4; }
.blue .duo-sub { color: #D5DBFF; }

.points { display: flex; flex-direction: column; gap: 14px; }
.point { display: flex; gap: 12px; align-items: flex-start; }
.point svg { flex-shrink: 0; margin-top: 2px; }
.point-t { font-size: 1rem; font-weight: 700; line-height: 1.4; }
.point-d { font-size: var(--fs-body); font-weight: 500; color: var(--muted); line-height: 1.5; margin-top: 2px; }
.blue .point-d { color: #E4E8FF; }
.night .point-d { color: var(--night-text); }

/* ---------- Feature grid ---------- */
.grid-section { padding-top: 40px; padding-bottom: clamp(64px, 9vw, 100px); }
.feat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: #E9ECF1; border: 1px solid #E9ECF1; border-radius: 20px; overflow: hidden;
}
.feat { background: #FFFFFF; padding: clamp(22px, 2.6vw, 30px); display: flex; flex-direction: column; gap: 10px; transition: background-color .15s ease; }
.feat-icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 11px; background: var(--brand-tint); display: flex; align-items: center; justify-content: center; }
.feat-t { font-size: var(--fs-title); font-weight: 800; letter-spacing: -0.01em; margin-top: 6px; }
.feat-b { font-size: var(--fs-body); font-weight: 500; color: var(--muted); line-height: 1.55; text-wrap: pretty; }

/* ---------- Screens (dark) ---------- */
.night { background: var(--night); color: #FFFFFF; overflow: hidden; }
.night-inner {
  padding-top: clamp(64px, 9vw, 100px); padding-bottom: clamp(64px, 9vw, 100px);
  display: flex; flex-direction: column; gap: clamp(36px, 6vw, 64px);
}
.night .center-head { max-width: 700px; margin: 0 auto; }
.night .eyebrow { color: var(--night-accent); }
.night .lead { color: var(--night-text); }
.shot {
  border-radius: clamp(8px, 1.2vw, 14px); overflow: hidden; background: #F7F8FA;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.callouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 24px); }
.callout { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid rgba(255, 255, 255, 0.16); padding-top: 18px; }
.callout-k { font-size: var(--fs-eyebrow); font-weight: 800; color: var(--night-accent); }
.callout-t { font-size: var(--fs-title); font-weight: 800; }
.callout-b { font-size: var(--fs-body); font-weight: 500; color: var(--night-text); line-height: 1.55; }

.on-phone { display: flex; align-items: center; justify-content: center; gap: clamp(32px, 6vw, 80px); margin-top: clamp(16px, 4vw, 40px); }
.on-phone-device { --ps: 0.698; width: calc(424px * var(--ps)); height: calc(896px * var(--ps)); position: relative; flex-shrink: 0; }
.on-phone-device > div { position: absolute; left: 0; top: 0; width: 424px; height: 896px; transform: scale(var(--ps)); transform-origin: top left; }
.on-phone-copy { transition-delay: .15s; display: flex; flex-direction: column; gap: 22px; flex: 1 1 300px; max-width: 440px; }
.on-phone-copy h3 { font-size: var(--fs-h3); line-height: 1.12; letter-spacing: -0.03em; text-wrap: balance; }

/* ---------- Pricing ---------- */
.pricing { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.pricing .lead { line-height: 1.5; max-width: 560px; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(36px, 5vw, 52px); align-items: stretch; }
.plan {
  position: relative; border-radius: 20px; padding: 28px 24px; display: flex; flex-direction: column; gap: 6px;
  background: #FFFFFF; color: var(--ink); border: 1px solid #E6E9EF;
}
.plan-badge {
  position: absolute; top: 18px; right: 18px; font-size: 0.71875rem; font-weight: 800; letter-spacing: 0.04em;
  border-radius: 999px; padding: 4px 10px; background: var(--brand-tint); color: var(--brand);
}
.plan-name { font-size: 1rem; font-weight: 800; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 6px; margin-top: 14px; }
.plan-price .amt { font-family: 'Poppins', sans-serif; font-size: var(--fs-price); font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; }
.plan-price .per, .plan-note { font-size: var(--fs-small); font-weight: 600; color: var(--faint); }
.plan-note { min-height: 20px; line-height: 1.45; }
.plan-spacer { flex: 1; min-height: 18px; }
.plan-btn {
  display: flex; align-items: center; justify-content: center; min-height: 48px;
  text-align: center; border-radius: 11px; padding: 0 13px; font-size: 0.9375rem; font-weight: 700;
  background: #FFFFFF; color: var(--ink); border: 1px solid #DDE1E9;
  transition: background-color .15s ease, border-color .15s ease, transform .1s ease;
}

.plan.featured { background: var(--ink); color: #FFFFFF; border-color: var(--ink); box-shadow: 0 30px 60px -24px rgba(20, 28, 90, 0.5); }
.plan.featured .per, .plan.featured .plan-note { color: #B9BFCC; }
.plan.featured .plan-badge { background: var(--brand); color: #FFFFFF; }
.plan.featured .plan-btn { background: var(--brand); color: #FFFFFF; border-color: var(--brand); }

.pay-notes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 26px; font-size: var(--fs-small); font-weight: 600; color: var(--muted); }
.pay-notes .dot { color: #C0C6D0; }

/* ---------- FAQ ---------- */
.faq { background: var(--soft); }
.faq-inner { max-width: 820px; padding-top: clamp(64px, 9vw, 100px); padding-bottom: clamp(64px, 9vw, 100px); }
.faq h2 { margin: 0 0 clamp(24px, 3.5vw, 32px); font-size: var(--fs-h2-sm); line-height: 1.15; letter-spacing: -0.03em; text-wrap: balance; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #FFFFFF; border: 1px solid #E6E9EF; border-radius: 16px; overflow: hidden; }
.faq-q {
  width: 100%; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border: none; background: none; padding: clamp(16px, 2.2vw, 20px) clamp(18px, 2.4vw, 22px);
  font-family: inherit; font-size: clamp(1rem, 0.97rem + 0.11vw, 1.0625rem); line-height: 1.4;
  font-weight: 700; color: var(--ink); text-align: left; cursor: pointer;
}
.faq-sign {
  display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 999px;
  background: var(--brand-tint); font-size: 1.125rem; line-height: 1; font-weight: 600; color: var(--brand); flex-shrink: 0;
}
.faq-a { padding: 0 clamp(18px, 2.4vw, 22px) clamp(18px, 2.4vw, 22px); font-size: clamp(0.9375rem, 0.92rem + 0.11vw, 0.96875rem); line-height: 1.6; color: var(--body); font-weight: 500; }
.faq-item:not(.open) .faq-a { display: none; }

/* ---------- Final CTA ---------- */
.final { padding-top: clamp(64px, 9vw, 100px); padding-bottom: clamp(64px, 9vw, 100px); }
.final-card {
  position: relative; overflow: hidden; border-radius: clamp(20px, 3vw, 28px);
  background: linear-gradient(140deg, #5A6EF2 0%, #3B4FDC 50%, #2433A6 100%);
  padding: clamp(28px, 6vw, 64px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: clamp(28px, 4vw, 40px); color: #FFFFFF;
}
.final-mark { position: absolute; right: -120px; bottom: -140px; opacity: 0.12; pointer-events: none; }
.final-copy { position: relative; display: flex; flex-direction: column; gap: 16px; max-width: 560px; }
.final-copy h2 { font-size: var(--fs-h2-cta); line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
.final-copy p { margin: 0; font-size: var(--fs-lead); line-height: 1.5; color: #E4E8FF; font-weight: 500; text-wrap: pretty; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.store {
  display: flex; align-items: center; gap: 10px; border-radius: 12px; padding: 10px 18px 10px 14px; min-height: 52px;
  transition: background-color .15s ease, transform .1s ease;
}
.store-play { background: #000000; color: #FFFFFF; border: 1px solid rgba(255, 255, 255, 0.25); }
.store-win { background: #FFFFFF; color: var(--ink); }
.store-text { display: flex; flex-direction: column; line-height: 1; }
.store-text small { font-size: 0.5625rem; font-weight: 600; letter-spacing: 0.06em; }
.store-win .store-text small { font-weight: 700; color: var(--muted); }
.store-text strong { font-size: 1.0625rem; font-weight: 700; margin-top: 3px; }
.qr-card { position: relative; display: flex; align-items: center; gap: 18px; background: #FFFFFF; border-radius: 20px; padding: 16px 22px 16px 16px; color: var(--ink); }
.qr-card img { display: block; flex-shrink: 0; }
.qr-text { display: flex; flex-direction: column; gap: 6px; }
.qr-eyebrow { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; color: var(--brand); }
.qr-line { font-size: 0.9375rem; font-weight: 700; }
.qr-phone { font-size: 1rem; font-weight: 800; white-space: nowrap; }

/* WhatsApp row replaces the QR on phones (you can't scan your own screen) */
.wa-link {
  display: none; position: relative; align-items: center; gap: 12px; width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 20px; color: #FFFFFF;
}
.wa-link span { display: flex; flex-direction: column; gap: 2px; }
.wa-link small { font-size: 0.8125rem; font-weight: 600; color: #D5DBFF; }
.wa-link strong { font-size: 1.0625rem; font-weight: 800; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); }
.footer-inner {
  padding-top: 28px; padding-bottom: max(28px, env(safe-area-inset-bottom));
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  font-size: var(--fs-small); font-weight: 600; color: var(--faint);
}
.footer-brand { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.footer-brand .wordmark { font-size: 1rem; letter-spacing: normal; color: var(--ink); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--muted); }

/* ---------- Hover (pointer devices only, so taps don't leave sticky states) ---------- */
@media (hover: hover) {
  a:hover { color: var(--brand-dark); }
  .logo:hover { color: var(--ink); }
  .nav-links a:hover { color: var(--ink); }
  .btn-dark:hover { background: #000000; color: #FFFFFF; }
  .menu-btn:hover { background: var(--soft); }
  .mobile-menu-inner > a:hover { color: var(--brand); }
  .cta-primary:hover { background: var(--brand-dark); color: #FFFFFF; }
  .cta-light:hover { border-color: var(--brand); color: var(--ink); }
  .cta-black:hover { background: #000000; color: #FFFFFF; }
  .feat:hover { background: #F8F9FF; }
  .plan-btn:hover { color: var(--ink); border-color: var(--brand); }
  .plan.featured .plan-btn:hover { color: #FFFFFF; background: var(--brand-dark); border-color: var(--brand-dark); }
  .store-play:hover { color: #FFFFFF; background: #111111; }
  .store-win:hover { color: var(--ink); background: var(--brand-tint); }
  .wa-link:hover { color: #FFFFFF; }
  .footer-links a:hover { color: var(--ink); }
}
/* Press feedback for touch */
.cta:active, .btn-dark:active, .plan-btn:active, .store:active { transform: scale(0.98); }
.faq-q:active, .mobile-menu-inner > a:active { background: var(--soft); }

/* =========================================================
   Responsive
   ========================================================= */

/* Laptop / tablet landscape (≤ 1099) */
@media (max-width: 1099px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .nav-right { gap: 22px; }
  .nav-links { gap: 22px; }
}

/* Tablet portrait and below (≤ 820) */
@media (max-width: 820px) {
  :root { --nav-h: 60px; }
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .nav-right { gap: 12px; }

  .stage-wide { display: none; }
  .stage-narrow { display: block; }

  .feat-grid { grid-template-columns: repeat(2, 1fr); }

  .on-phone { gap: 40px; }
  .on-phone-device { --ps: 0.6; }

  .final-card { flex-direction: column; align-items: flex-start; }
  .final-copy { max-width: 600px; }
}
@media (min-width: 821px) {
  .mobile-menu { display: none !important; }
}

/* Small tablet / large phone (≤ 680) */
@media (max-width: 680px) {
  .duo { grid-template-columns: 1fr; }
  .callouts { grid-template-columns: 1fr; gap: 0; }
  .callout { padding: 18px 0 20px; }
  .on-phone { flex-direction: column; align-items: stretch; }
  .on-phone-device { align-self: center; }
  .on-phone-copy { max-width: none; flex: none; }
}

/* Phone (≤ 560) */
@media (max-width: 560px) {
  :root {
    --nav-h: 56px; --section-y: 64px;

    /* Phone type scale: min at 360px → max at 560px */
    --fs-hero:     clamp(1.8125rem,  1.025rem + 3.5vw,  2.25rem);   /* 29 → 36 */
    --fs-h2:       clamp(1.5rem,     0.825rem + 3vw,    1.875rem);  /* 24 → 30 */
    --fs-h2-cta:   clamp(1.5rem,     0.825rem + 3vw,    1.875rem);  /* 24 → 30 */
    --fs-h2-sm:    clamp(1.375rem,   0.925rem + 2vw,    1.625rem);  /* 22 → 26 */
    --fs-h3:       clamp(1.375rem,   0.925rem + 2vw,    1.625rem);  /* 22 → 26 */
    --fs-price:    clamp(1.75rem,    1.3rem + 2vw,      2rem);      /* 28 → 32 */
    --fs-hero-sub: clamp(0.96875rem, 0.856rem + 0.5vw,  1.03125rem);/* 15.5 → 16.5 */
    --fs-lead:     clamp(0.9375rem,  0.825rem + 0.5vw,  1rem);      /* 15 → 16 */
    --fs-card:     clamp(1.03125rem, 0.919rem + 0.5vw,  1.09375rem);/* 16.5 → 17.5 */
    --fs-title:    clamp(0.96875rem, 0.856rem + 0.5vw,  1.03125rem);/* 15.5 → 16.5 */
    --fs-body:     clamp(0.875rem,   0.819rem + 0.25vw, 0.90625rem);/* 14 → 14.5 */
    --fs-small:    clamp(0.78125rem, 0.725rem + 0.25vw, 0.8125rem); /* 12.5 → 13 */
    --fs-eyebrow:  clamp(0.6875rem,  0.575rem + 0.5vw,  0.75rem);   /* 11 → 12 */
  }
  .point-t, .plan-name { font-size: 0.9375rem; }
  .faq-q { font-size: 0.9375rem; }
  .faq-a { font-size: 0.875rem; }
  .cta-primary, .mobile-menu-ctas .cta { font-size: 0.9375rem; }
  .plan-btn { font-size: 0.875rem; }
  .mobile-menu-inner > a { font-size: 1rem; }
  .store-text strong, .wa-link strong { font-size: 1rem; }
  .duo-icon { width: 40px; height: 40px; }
  .feat-icon { width: 36px; height: 36px; border-radius: 10px; }
  .logo { gap: 8px; }
  .logo svg { width: 30px; height: 30px; }
  .wordmark { font-size: 1.1875rem; }
  .btn-dark { min-height: 36px; padding: 0 12px; font-size: 0.8125rem; border-radius: 9px; }

  [data-reveal] { transform: translateY(16px); }

  /* Hero */
  .hero-copy { padding-top: 32px; padding-bottom: 28px; gap: 16px; }
  .pill { font-size: 0.75rem; padding: 5px 12px 5px 6px; }
  .pill b { font-size: 0.6875rem; }
  .pill-more { display: none; }
  .hero h1 { line-height: 1.1; letter-spacing: -0.025em; }
  .hero-sub { max-width: 34ch; }
  .hero-ctas { gap: 8px; margin-top: 4px; }
  .cta { min-height: 50px; }
  .cta-primary { flex: 1 1 100%; font-size: 1rem; }
  .cta-light, .cta-black { flex: 1 1 0; min-width: 0; padding: 0 10px; gap: 8px; }
  .cta-light svg, .cta-black svg { width: 18px; height: 18px; }
  .cta-stack strong { font-size: 0.8125rem; }
  .cta-stack small { font-size: 0.625rem; }
  .trust { gap: 6px 14px; font-size: 0.78125rem; }
  .stage-wrap { padding-top: 4px; }
  .stage-narrow .screen-desktop { border-radius: 8px; }

  /* Section heads */
  .features-head, .center-head { gap: 12px; }
  .duo { margin-top: 28px; }
  .duo-card { padding: 22px 20px; gap: 20px; }
  .points { gap: 16px; }

  /* Feature list: icon + title on one row, copy beneath */
  .grid-section { padding-top: 24px; padding-bottom: 64px; }
  .feat-grid { grid-template-columns: 1fr; border-radius: 16px; }
  .feat { display: grid; grid-template-columns: 36px 1fr; column-gap: 12px; row-gap: 8px; align-items: center; padding: 20px; }
  .feat-t { margin-top: 0; }
  .feat-b { grid-column: 1 / -1; }

  /* Dark screens: let the desktop shot bleed off the right edge so it stays legible */
  .night-inner { gap: 40px; }
  .shot { width: 165%; max-width: none; border-radius: 10px; }
  .on-phone-device { --ps: 0.55; }

  /* Pricing */
  .plans { grid-template-columns: 1fr; gap: 12px; }
  .plan { padding: 22px 20px 20px; gap: 4px; }
  .plan-badge { top: 20px; right: 20px; }
  .plan-price { margin-top: 10px; }
  .plan-spacer { min-height: 14px; flex: none; }
  .pay-notes { flex-direction: column; align-items: center; gap: 6px; margin-top: 22px; }
  .pay-notes .dot { display: none; }

  /* FAQ */
  .faq-item { border-radius: 14px; }
  .faq-q { padding: 16px 16px 16px 18px; }
  .faq-a { padding: 0 18px 18px; }

  /* Final CTA */
  .final { padding-top: 48px; padding-bottom: 48px; }
  .final-card { padding: 28px 22px; gap: 24px; }
  .stores { flex-direction: column; gap: 10px; }
  .store { width: 100%; justify-content: center; min-height: 52px; }
  .qr-card { display: none; }
  .wa-link { display: flex; }
  .final-mark { right: -180px; bottom: -200px; }

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; gap: 10px; padding-top: 24px; }
  .footer-brand { justify-content: center; }
  .footer-brand > span:last-child { flex-basis: 100%; }
  .footer-brand .sep { display: none; }
  .footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Small phones (≤ 360) */
@media (max-width: 360px) {
  .wordmark { font-size: 1.0625rem; }
  .btn-dark { padding: 0 10px; font-size: 0.8125rem; }
  .cta-light, .cta-black { flex: 1 1 100%; }
  .on-phone-device { --ps: 0.5; }
}
