/* ==========================================================================
   KaucjaGo — marketing site stylesheet
   Mech palette (matches app src/shared/constants/colors.ts PALETTES.mech).
   Hand-authored static site. No framework, no build step.
   ========================================================================== */

/* --- Self-hosted DM Sans (variable, weights 400–800) --------------------- */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Mech palette tokens -------------------------------------------------- */
:root {
  --kc-bg:         #f1eee5;
  --kc-surface:    #ffffff;
  --kc-surfaceAlt: #faf8f1;
  --kc-primary:    #2d5641;
  --kc-primaryFg:  #fbfaf5;
  --kc-accent:     #d8e2c8;
  --kc-accentFg:   #2d5641;
  --kc-text:       #1a2820;
  --kc-textMuted:  #6a7269;
  --kc-border:     rgba(26, 40, 32, 0.08);
  --kc-divider:    rgba(26, 40, 32, 0.06);
  --kc-danger:     #b85f2b;
  --kc-dangerSoft: #f3dfc7;
  --kc-warning:    #c47a2e;
  --kc-warningSoft:#f6e6c8;
  --kc-success:    #3f7556;
  --kc-successSoft:#dde8d6;

  --kc-wrap: 1140px;
}

/* --- Reset & base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--kc-bg);
  color: var(--kc-text);
  line-height: 1.4;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3, p, ul { margin: 0; }
ul { list-style: none; padding: 0; }

.lp-wrap { max-width: var(--kc-wrap); margin: 0 auto; padding: 0 20px; }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--kc-primary); text-transform: uppercase; margin: 0 0 16px;
}
.section { padding: 96px 0; }
.section-alt { background: var(--kc-surfaceAlt); }

/* --- Animations (guarded by prefers-reduced-motion) ---------------------- */
@keyframes lp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes lp-rise  { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.lp-float { animation: lp-float 6s ease-in-out infinite; }
.lp-rise  { animation: lp-rise 0.7s ease-out both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(241, 238, 229, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--kc-divider);
}
.site-header .lp-wrap {
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo svg, .logo-mark { width: 34px; height: 34px; display: block; }
.logo-text { font-size: 21px; font-weight: 800; letter-spacing: -0.6px; color: var(--kc-primary); line-height: 1; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--kc-text); opacity: 0.75; }
.nav-links a:hover { opacity: 1; }
.badge-soon {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--kc-warningSoft); color: var(--kc-warning);
  font-size: 12px; font-weight: 700; letter-spacing: 0.3px; white-space: nowrap;
}
.badge-soon .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--kc-warning); }

/* ==========================================================================
   Store badges (disabled / pre-launch)
   ========================================================================== */
.store-badges { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #cbc7bb; color: #7d7a70;
  padding: 12px 22px; border-radius: 14px;
  min-height: 60px; min-width: 200px;
  cursor: not-allowed; user-select: none; opacity: 0.55;
}
.store-badge .sb-icon { flex-shrink: 0; }
.store-badge .sb-top { font-size: 10.5px; font-weight: 500; letter-spacing: 0.3px; opacity: 0.85; margin-bottom: 1px; text-transform: uppercase; }
.store-badge .sb-name { font-size: 18px; font-weight: 700; letter-spacing: -0.4px; line-height: 1.1; }
.coming-soon-line {
  margin-top: 18px; font-size: 13.5px; color: var(--kc-textMuted); font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding: 84px 0 96px; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px; align-items: center;
}
.hero h1 {
  font-size: clamp(44px, 8vw, 76px); font-weight: 700; letter-spacing: -0.032em;
  line-height: 0.98; color: var(--kc-text); margin: 0 0 22px; text-wrap: pretty;
}
.hero h1 .accent { color: var(--kc-primary); }
.hero-sub {
  font-size: clamp(17px, 2.2vw, 20px); color: var(--kc-textMuted); line-height: 1.5;
  font-weight: 500; margin: 0 0 36px; max-width: 480px; text-wrap: pretty;
}
.trust-strip {
  margin-top: 44px; display: flex; gap: 28px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid var(--kc-divider);
}
.trust-item .n { font-size: 18px; font-weight: 700; color: var(--kc-text); letter-spacing: -0.4px; }
.trust-item .l { font-size: 12.5px; color: var(--kc-textMuted); font-weight: 500; margin-top: 2px; }

.phone-wrap { display: flex; justify-content: center; position: relative; }
.phone-halo {
  position: absolute; width: 480px; height: 480px; max-width: 120%; border-radius: 50%;
  background: radial-gradient(circle, var(--kc-accent) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: 0.7; pointer-events: none;
}
.phone-stack { position: relative; }
.annotation {
  position: absolute; z-index: 5;
  padding: 10px 14px; border-radius: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: -0.1px;
  display: flex; align-items: center; gap: 8px;
}
.annotation .a-icon {
  width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.annotation .a-title { font-weight: 700; }
.annotation .a-sub { font-size: 11px; font-weight: 500; }
.annotation.top {
  top: 96px; right: -56px; max-width: 180px;
  background: var(--kc-surface); color: var(--kc-text); border: 1px solid var(--kc-border);
  box-shadow: 0 12px 28px rgba(20, 40, 30, 0.12);
}
.annotation.top .a-icon { background: var(--kc-warningSoft); color: var(--kc-warning); }
.annotation.top .a-sub { color: var(--kc-textMuted); }
.annotation.bottom {
  bottom: 80px; left: -64px; max-width: 200px;
  background: var(--kc-primary); color: var(--kc-primaryFg);
  box-shadow: 0 12px 28px rgba(20, 40, 30, 0.18);
}
.annotation.bottom .a-icon { background: rgba(255, 255, 255, 0.16); }
.annotation.bottom .a-sub { opacity: 0.78; }

/* ==========================================================================
   Phone mock (CSS bezel; screen is a raster screenshot)
   ========================================================================== */
.phone-mock {
  position: relative; width: 320px; max-width: calc(100vw - 56px);
  aspect-ratio: 402 / 874;
  border-radius: 48px;
  background: var(--kc-bg);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.07), 0 0 0 8px #16271c, 0 0 0 9px rgba(0,0,0,0.25);
  filter: drop-shadow(0 30px 50px rgba(20, 40, 30, 0.18));
}
.phone-mock.tilt-left  { transform: rotate(-2deg); }
.phone-mock.tilt-right { transform: rotate(2deg); }
.phone-mock .screen {
  position: absolute; inset: 0; border-radius: inherit; overflow: hidden;
  background: var(--kc-bg);
}
.phone-mock .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-mock .island {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 30%; max-width: 126px; height: 37px; border-radius: 24px; background: #000; z-index: 50;
}
.phone-mock .home-indicator {
  position: absolute; bottom: 9px; left: 50%; transform: translateX(-50%);
  width: 35%; max-width: 139px; height: 5px; border-radius: 100px;
  background: rgba(0, 0, 0, 0.25); z-index: 60;
}

/* ==========================================================================
   Problem
   ========================================================================== */
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 {
  font-size: clamp(32px, 5.4vw, 52px); font-weight: 700; letter-spacing: -0.03em;
  line-height: 1.05; color: var(--kc-text); margin: 0 0 18px; text-wrap: balance;
}
.section-head .lead { font-size: 17px; color: var(--kc-textMuted); line-height: 1.55; font-weight: 500; margin: 0; }

.scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scenario-card {
  background: var(--kc-surface); border-radius: 24px; padding: 28px 28px 30px;
  border: 1px solid var(--kc-border);
  display: flex; flex-direction: column; gap: 18px; min-height: 240px;
}
.scenario-top { display: flex; align-items: center; justify-content: space-between; }
.scenario-n { font-size: 13px; font-weight: 800; color: var(--kc-primary); letter-spacing: 1px; font-variant-numeric: tabular-nums; }
.scenario-hint {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase;
  color: var(--kc-warning); background: var(--kc-warningSoft); padding: 4px 10px; border-radius: 999px;
}
.scenario-body { flex: 1; }
.scenario-title { font-size: 22px; font-weight: 700; letter-spacing: -0.6px; line-height: 1.2; color: var(--kc-text); margin-bottom: 10px; text-wrap: pretty; }
.scenario-text { font-size: 15px; color: var(--kc-textMuted); line-height: 1.5; font-weight: 500; }
.receipt-strip {
  height: 8px; border-radius: 4px;
  background: repeating-linear-gradient(135deg, var(--kc-surfaceAlt) 0 6px, var(--kc-bg) 6px 12px);
}

/* ==========================================================================
   Solution
   ========================================================================== */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.feature-card {
  background: var(--kc-surface); border-radius: 28px; overflow: hidden;
  border: 1px solid var(--kc-border);
  display: flex; flex-direction: column; min-height: 440px;
}
.feature-visual {
  height: 220px; position: relative; overflow: hidden;
  background: var(--kc-surfaceAlt); border-bottom: 1px solid var(--kc-divider);
}
.feature-body { padding: 28px 32px 32px; }
.feature-n { font-size: 13px; font-weight: 800; color: var(--kc-primary); letter-spacing: 1px; margin-bottom: 12px; }
.feature-title { font-size: 26px; font-weight: 700; letter-spacing: -0.8px; line-height: 1.15; color: var(--kc-text); margin-bottom: 10px; text-wrap: pretty; }
.feature-text { font-size: 15.5px; color: var(--kc-textMuted); line-height: 1.5; font-weight: 500; }

/* Feature 1 visual — receipt + viewfinder */
.scan-visual { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.scan-receipt {
  position: absolute; top: 30px; left: 50%; transform: translateX(-50%) rotate(-4deg);
  width: 200px; height: 230px; background: #fbf9f3; border-radius: 6px;
  box-shadow: 0 20px 40px rgba(20, 40, 30, 0.15); padding: 18px 16px; overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), 95% 100%, 90% calc(100% - 8px), 85% 100%, 80% calc(100% - 8px), 75% 100%, 70% calc(100% - 8px), 65% 100%, 60% calc(100% - 8px), 55% 100%, 50% calc(100% - 8px), 45% 100%, 40% calc(100% - 8px), 35% 100%, 30% calc(100% - 8px), 25% 100%, 20% calc(100% - 8px), 15% 100%, 10% calc(100% - 8px), 5% 100%, 0 calc(100% - 12px));
}
.scan-receipt .r-store { font-size: 10px; font-weight: 700; color: var(--kc-text); letter-spacing: 1px; margin-bottom: 8px; }
.scan-receipt .r-addr { font-size: 8px; color: var(--kc-textMuted); line-height: 1.5; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.scan-receipt .r-div { height: 1px; background: var(--kc-divider); margin: 8px 0; }
.scan-receipt .r-label { font-size: 9px; font-weight: 700; color: var(--kc-text); margin-bottom: 4px; }
.scan-receipt .r-amount { font-size: 22px; font-weight: 700; color: var(--kc-primary); letter-spacing: -0.5px; font-variant-numeric: tabular-nums; }
.scan-receipt .r-count { font-size: 8px; color: var(--kc-textMuted); margin-top: 4px; }
.scan-receipt .r-code { font-size: 7px; color: var(--kc-textMuted); font-variant-numeric: tabular-nums; letter-spacing: 0.5px; }
.scan-frame { position: absolute; top: 40px; left: 60px; right: 60px; bottom: 40px; pointer-events: none; }
.scan-frame span { position: absolute; width: 22px; height: 22px; border: 3px solid var(--kc-primary); }
.scan-frame .tl { top: 0; left: 0; border-right: none; border-bottom: none; border-top-left-radius: 6px; }
.scan-frame .tr { top: 0; right: 0; border-left: none; border-bottom: none; border-top-right-radius: 6px; }
.scan-frame .bl { bottom: 0; left: 0; border-right: none; border-top: none; border-bottom-left-radius: 6px; }
.scan-frame .br { bottom: 0; right: 0; border-left: none; border-top: none; border-bottom-right-radius: 6px; }
.scan-chip {
  position: absolute; bottom: 16px; left: 16px;
  background: var(--kc-primary); color: var(--kc-primaryFg);
  padding: 6px 10px; border-radius: 8px; font-size: 11px; font-weight: 700; letter-spacing: -0.2px;
  display: flex; align-items: center; gap: 6px; box-shadow: 0 6px 14px rgba(20, 40, 30, 0.2);
}

/* Feature 2 visual — lockscreen notification */
.notify-visual { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.lockscreen {
  width: 240px; height: 195px; border-radius: 22px;
  background: linear-gradient(180deg, #1a2820 0%, #2d5641 100%);
  padding: 16px; position: relative; overflow: hidden;
  box-shadow: 0 18px 36px rgba(20, 40, 30, 0.25);
}
.lockscreen .ls-top { display: flex; justify-content: space-between; align-items: center; color: #fff; font-size: 11px; opacity: 0.7; margin-bottom: 24px; }
.lockscreen .ls-top .t { font-weight: 700; }
.lockscreen .ls-top .d { font-weight: 500; }
.notif-card {
  background: rgba(255, 255, 255, 0.95); border-radius: 14px; padding: 10px 12px;
  display: flex; align-items: flex-start; gap: 10px;
}
.notif-card .n-icon { width: 30px; height: 30px; border-radius: 8px; background: var(--kc-primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.notif-card .n-body { flex: 1; min-width: 0; }
.notif-card .n-meta { display: flex; justify-content: space-between; font-size: 10px; color: var(--kc-textMuted); font-weight: 600; margin-bottom: 2px; }
.notif-card .n-title { font-size: 11.5px; font-weight: 700; color: var(--kc-text); margin-bottom: 2px; letter-spacing: -0.1px; }
.notif-card .n-text { font-size: 10.5px; color: var(--kc-textMuted); font-weight: 500; line-height: 1.3; }
.notif-muted {
  margin-top: 8px; background: rgba(255, 255, 255, 0.25); border-radius: 14px; padding: 10px 12px;
  font-size: 11px; color: rgba(255, 255, 255, 0.8); font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.notif-muted .count { margin-left: auto; opacity: 0.7; }

/* Feature 3 — full-width */
.feature-wide {
  background: var(--kc-surface); border-radius: 32px; border: 1px solid var(--kc-border);
  overflow: hidden; display: grid; grid-template-columns: 1fr 380px;
  min-height: 540px; align-items: center;
}
.feature-wide .fw-copy { padding: 56px; }
.feature-wide h3 {
  font-size: clamp(28px, 4vw, 36px); font-weight: 700; letter-spacing: -1px; line-height: 1.1;
  color: var(--kc-text); margin: 0 0 16px; text-wrap: balance;
}
.feature-wide .fw-text { font-size: 16.5px; color: var(--kc-textMuted); line-height: 1.55; font-weight: 500; margin-bottom: 28px; max-width: 460px; }
.checklist { display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--kc-text); font-weight: 500; }
.checklist .check {
  width: 22px; height: 22px; border-radius: 8px; flex-shrink: 0;
  background: var(--kc-successSoft); color: var(--kc-success);
  display: inline-flex; align-items: center; justify-content: center;
}
.feature-wide .fw-phone {
  position: relative; height: 100%;
  background: linear-gradient(135deg, var(--kc-accent) 0%, var(--kc-bg) 100%);
  display: flex; justify-content: center; align-items: center; padding: 40px 0;
  border-left: 1px solid var(--kc-border);
}
.feature-wide .fw-phone .phone-mock { width: 300px; }

/* ==========================================================================
   Social proof
   ========================================================================== */
.proof-card {
  background: var(--kc-surface); border-radius: 32px; border: 1px solid var(--kc-border);
  padding: 64px 56px; text-align: center; max-width: 820px; margin: 0 auto;
}
.proof-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--kc-surfaceAlt); color: var(--kc-textMuted);
  padding: 6px 14px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; margin-bottom: 22px;
}
.proof-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--kc-textMuted); opacity: 0.5; }
.proof-quote { font-size: clamp(24px, 4vw, 34px); font-weight: 700; letter-spacing: -1px; line-height: 1.25; color: var(--kc-text); margin: 0 0 20px; text-wrap: balance; }
.proof-sub { font-size: 15px; color: var(--kc-textMuted); font-weight: 500; line-height: 1.5; max-width: 540px; margin: 0 auto; }
.proof-stars { margin-top: 28px; display: flex; justify-content: center; gap: 6px; }

/* ==========================================================================
   Eco
   ========================================================================== */
.eco-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.eco-copy .lead { font-size: 17px; color: var(--kc-textMuted); line-height: 1.55; font-weight: 500; margin: 0; max-width: 480px; }
.counter-card {
  margin-top: 36px; background: var(--kc-primary); color: var(--kc-primaryFg);
  border-radius: 24px; padding: 32px 32px 28px; position: relative; overflow: hidden; max-width: 460px;
}
.counter-card .blob { position: absolute; right: -40px; top: -40px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255, 255, 255, 0.05); }
.counter-card .c-label { font-size: 12px; font-weight: 700; letter-spacing: 1px; opacity: 0.75; text-transform: uppercase; margin-bottom: 10px; }
.counter-nums { display: flex; align-items: baseline; gap: 18px; position: relative; }
.counter-nums .big { font-size: 56px; font-weight: 700; letter-spacing: -2px; line-height: 1; font-variant-numeric: tabular-nums; }
.counter-nums .cap { font-size: 13px; font-weight: 500; opacity: 0.85; margin-top: 4px; }
.counter-nums .vsep { width: 1px; height: 56px; background: rgba(255, 255, 255, 0.2); }
.counter-foot { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 13px; font-weight: 500; opacity: 0.82; line-height: 1.45; }

.badges-title { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; color: var(--kc-textMuted); text-transform: uppercase; margin-bottom: 18px; }
.badges-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.badge-card {
  background: var(--kc-surface); border-radius: 20px; padding: 22px; border: 1px solid var(--kc-border);
  display: flex; flex-direction: column; gap: 14px;
}
.badge-card.locked { background: var(--kc-surfaceAlt); opacity: 0.6; }
.badge-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--kc-accent); color: var(--kc-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; letter-spacing: -0.5px; font-variant-numeric: tabular-nums;
}
.badge-card.locked .badge-icon { background: var(--kc-bg); color: var(--kc-textMuted); }
.badge-label { font-size: 15px; font-weight: 700; color: var(--kc-text); letter-spacing: -0.2px; }
.badge-desc { font-size: 12.5px; color: var(--kc-textMuted); font-weight: 500; margin-top: 2px; }
.badge-state {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--kc-success);
}
.badge-state .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--kc-success); }
.badge-card.locked .badge-state { color: var(--kc-textMuted); }
.badge-card.locked .badge-state .dot { opacity: 0.4; }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta { padding: 40px 0 96px; }
.cta-card {
  background: var(--kc-primary); color: var(--kc-primaryFg);
  border-radius: 32px; padding: 64px 56px; position: relative; overflow: hidden; text-align: center;
}
.cta-card .blob-a { position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); }
.cta-card .blob-b { position: absolute; left: -80px; bottom: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255, 255, 255, 0.04); }
.cta-inner { position: relative; }
.cta-logo { display: flex; justify-content: center; margin-bottom: 22px; }
.cta-card h2 { font-size: clamp(30px, 5vw, 44px); font-weight: 700; letter-spacing: -1.4px; line-height: 1.1; margin: 0 0 16px; text-wrap: balance; }
.cta-card .cta-sub { font-size: 17px; opacity: 0.85; line-height: 1.5; font-weight: 500; margin: 0 auto 32px; max-width: 520px; text-wrap: pretty; }
.cta-card .store-badges { justify-content: center; }
.cta-fine { margin-top: 18px; font-size: 13px; opacity: 0.72; font-weight: 500; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--kc-divider); padding: 56px 0; background: var(--kc-bg); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; align-items: flex-start; }
.footer-tagline { margin-top: 16px; font-size: 14px; color: var(--kc-textMuted); line-height: 1.55; font-weight: 500; max-width: 360px; }
.footer-col-title { font-size: 11.5px; font-weight: 800; letter-spacing: 1px; color: var(--kc-text); text-transform: uppercase; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: var(--kc-text); font-weight: 500; }
.footer-links a:hover { color: var(--kc-primary); }
.footer-email {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--kc-text); font-weight: 600;
  padding: 8px 14px; border-radius: 10px; background: var(--kc-surface); border: 1px solid var(--kc-border);
}
.footer-note { margin-top: 12px; font-size: 12.5px; color: var(--kc-textMuted); font-weight: 500; line-height: 1.5; }
.footer-bottom {
  max-width: var(--kc-wrap); margin: 48px auto 0; padding: 24px 20px 0;
  border-top: 1px solid var(--kc-divider);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-bottom span { font-size: 13px; color: var(--kc-textMuted); font-weight: 500; }
.footer-bottom .dom { font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Content pages (legal + support) — mirrors design content.jsx
   ========================================================================== */

/* Header back-pill (replaces nav on content pages; reuses .site-header) */
.back-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--kc-surface); border: 1px solid var(--kc-border);
  color: var(--kc-text); text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: -0.1px; white-space: nowrap;
}
.back-pill svg { width: 16px; height: 16px; }
.back-pill .bp-short { display: none; }

/* Title band (hero) */
.title-band { background: var(--kc-surfaceAlt); border-bottom: 1px solid var(--kc-divider); }
.title-band .lp-wrap { max-width: 820px; padding-top: clamp(40px, 7vw, 72px); padding-bottom: clamp(32px, 5vw, 52px); }
.title-band .eyebrow { margin-bottom: 14px; }
.title-band h1 {
  font-size: clamp(32px, 6vw, 56px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.04;
  color: var(--kc-text); margin: 0 0 20px; text-wrap: balance;
}
.title-band .intro {
  font-size: clamp(16px, 2.3vw, 19px); color: var(--kc-textMuted); line-height: 1.55; font-weight: 500;
  margin: 0 0 24px; max-width: 640px; text-wrap: pretty;
}
.updated-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--kc-textMuted); font-weight: 600;
  background: var(--kc-surface); border: 1px solid var(--kc-border);
  padding: 7px 13px; border-radius: 999px;
}
.updated-pill svg { width: 14px; height: 14px; }

/* Legal layout: sticky TOC + prose */
.doc-layout { padding: clamp(40px, 6vw, 64px) 0 clamp(48px, 7vw, 80px); }
.doc-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; }
.doc-toc { position: sticky; top: 96px; }
.doc-toc-title { font-size: 11.5px; font-weight: 800; letter-spacing: 1px; color: var(--kc-textMuted); text-transform: uppercase; margin-bottom: 14px; }
.doc-toc ol { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.doc-toc a {
  display: flex; gap: 10px; align-items: baseline;
  font-size: 13.5px; font-weight: 500; color: var(--kc-textMuted); text-decoration: none;
  padding: 6px 0; line-height: 1.35;
}
.doc-toc a:hover { color: var(--kc-text); }
.toc-num { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--kc-primary); font-size: 12px; }

.doc-prose { max-width: 720px; }
.doc-section { scroll-margin-top: 90px; }
.doc-section + .doc-section { padding-top: 36px; margin-top: 36px; border-top: 1px solid var(--kc-divider); }
.doc-section h2 {
  font-size: clamp(22px, 3vw, 28px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2;
  color: var(--kc-text); margin: 0 0 16px; display: flex; gap: 12px; align-items: baseline;
}
.sec-num { font-size: 14px; font-weight: 800; color: var(--kc-primary); font-variant-numeric: tabular-nums; }
.doc-section p { font-size: 16px; line-height: 1.7; color: var(--kc-text); margin: 0 0 16px; font-weight: 450; text-wrap: pretty; }
.doc-section h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.3px; color: var(--kc-text); margin: 24px 0 10px; }
.doc-section a { color: var(--kc-primary); font-weight: 600; text-decoration: underline; }

/* Check-badge list */
.check-list { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 11px; }
.check-list li { display: flex; gap: 12px; font-size: 16px; line-height: 1.6; color: var(--kc-text); font-weight: 450; }
.check-badge {
  width: 22px; height: 22px; border-radius: 7px; flex-shrink: 0; margin-top: 1px;
  background: var(--kc-successSoft); color: var(--kc-success);
  display: inline-flex; align-items: center; justify-content: center;
}
.check-badge svg { width: 13px; height: 13px; }

/* Accent callout */
.callout {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--kc-accent); color: var(--kc-accentFg);
  border-radius: 14px; padding: 14px 16px; margin: 4px 0 20px;
}
.callout svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.callout span { font-size: 14.5px; line-height: 1.55; font-weight: 600; }

/* Contact card */
.contact-card {
  position: relative; overflow: hidden;
  background: var(--kc-primary); color: var(--kc-primaryFg);
  border-radius: 24px; padding: 36px 40px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.contact-card.is-compact { margin-top: 44px; }
.contact-card::before {
  content: ''; position: absolute; right: -50px; top: -50px; width: 200px; height: 200px;
  border-radius: 50%; background: rgba(255, 255, 255, 0.05);
}
.contact-card .cc-body { position: relative; max-width: 380px; }
.contact-card .cc-title { font-size: clamp(20px, 3vw, 26px); font-weight: 700; letter-spacing: -0.5px; line-height: 1.2; margin-bottom: 8px; }
.contact-card .cc-desc { font-size: 15px; opacity: 0.85; line-height: 1.55; font-weight: 500; }
.contact-card .cc-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--kc-primaryFg); color: var(--kc-primary);
  padding: 14px 22px; border-radius: 14px;
  font-size: 16px; font-weight: 700; letter-spacing: -0.2px; text-decoration: none; white-space: nowrap;
}
.contact-card .cc-btn svg { width: 18px; height: 18px; }

/* Support: FAQ cards + doc links */
.support-body { padding: clamp(40px, 6vw, 64px) 0 clamp(48px, 7vw, 80px); }
.support-body .lp-wrap { max-width: 760px; }
.faq-head { font-size: clamp(24px, 3.5vw, 32px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; color: var(--kc-text); margin: 48px 0 8px; text-wrap: balance; }
.faq-sub { font-size: 16px; color: var(--kc-textMuted); line-height: 1.6; font-weight: 500; margin: 0 0 28px; }
.faq-cards { display: flex; flex-direction: column; gap: 14px; }
.faq-card { background: var(--kc-surface); border: 1px solid var(--kc-border); border-radius: 18px; padding: clamp(20px, 3vw, 26px); }
.faq-card .faq-q { font-size: clamp(16px, 2.2vw, 18px); font-weight: 700; letter-spacing: -0.2px; color: var(--kc-text); margin: 0 0 8px; text-wrap: pretty; }
.faq-card .faq-a { font-size: 15.5px; line-height: 1.6; color: var(--kc-textMuted); font-weight: 450; margin: 0; text-wrap: pretty; }

.doc-links { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.doc-link {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--kc-surface); border: 1px solid var(--kc-border);
  border-radius: 12px; padding: 11px 16px;
  font-size: 14px; font-weight: 600; color: var(--kc-text); text-decoration: none;
}
.doc-link svg { width: 16px; height: 16px; }
.doc-link .dl-icon { color: var(--kc-primary); }
.doc-link .dl-arrow { margin-left: 2px; color: var(--kc-textMuted); }

/* Content-page responsive: collapse TOC below 900px, tighten cards on phone */
@media (max-width: 899px) {
  .doc-grid { grid-template-columns: 1fr; gap: 28px; }
  .doc-toc { display: none; }
  .doc-prose { max-width: 720px; margin: 0 auto; }
}
@media (max-width: 639px) {
  .contact-card { padding: 28px 24px; }
  .back-pill .bp-full { display: none; }
  .back-pill .bp-short { display: inline; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .phone-wrap { order: -1; }
  .eco-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-wide { grid-template-columns: 1fr; }
  .feature-wide .fw-phone { border-left: none; border-top: 1px solid var(--kc-border); }
}

@media (max-width: 767px) {
  .annotation { display: none; }
}

@media (max-width: 639px) {
  .section { padding: 72px 0; }
  .hero { padding: 56px 0 72px; }
  .nav-links { display: none; }
  .scenario-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-wide .fw-copy { padding: 40px 28px; }
  .proof-card { padding: 48px 24px; }
  .cta-card { padding: 48px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .store-badge { min-width: 0; flex: 1 1 100%; }
}
