/* ═══════════════════════════════════════════════════════════
   KinPass Design System
   Primary audience: families with special needs / elderly care
   Secondary: enterprise (schools, agencies, healthcare)
   Tone: Stripe clarity + Headspace warmth + enterprise trust
═══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand palette — pulled from logo */
  --coral:        #F97B5C;
  --coral-dark:   #E05A3A;
  --coral-light:  #FDDDD5;
  --orange:       #F4A24B;
  --orange-light: #FDE9C8;
  --green:        #4CBD72;
  --green-dark:   #2E9A55;
  --green-light:  #CBF0D8;
  --blue:         #6BAED6;
  --blue-dark:    #3A7EAA;
  --blue-light:   #D4EAF7;
  --purple:       #B05EA8;
  --purple-light: #EDD4EB;
  --teal:         #3CAAA0;
  --teal-light:   #C8EEEC;
  --lime:         #A8D45F;
  --lime-light:   #E5F5C7;

  /* Neutrals */
  --ink:          #1A1A2E;
  --ink-70:       rgba(26,26,46,0.7);
  --ink-40:       rgba(26,26,46,0.4);
  --ink-10:       rgba(26,26,46,0.06);
  --white:        #FFFFFF;
  --gray-50:      #F8F9FC;
  --gray-100:     #F0F2F8;
  --gray-200:     #E2E6F0;
  --gray-400:     #9AA0B4;

  /* Section accent backgrounds */
  --section-warm:  #FFFBF8;
  --section-cool:  #F5F8FF;
  --section-teal:  #F2FCFB;

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'Nunito', system-ui, sans-serif;

  /* Spacing scale */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;

  /* Radii */
  --r-sm: 8px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-full: 999px;

  /* Shadows */
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.05);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
  --shadow-coral: 0 8px 28px rgba(249,123,92,0.30);
  --shadow-blue:  0 8px 28px rgba(107,174,214,0.25);

  /* Nav height */
  --nav-h: 72px;

  /* Max content width */
  --max-w: 1180px;
  --max-w-text: 720px;
}

/* ── Base ───────────────────────────────────────────────── */
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { width: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Container ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  /* padding: 0 var(--sp-8); */
}
.container-narrow {
  max-width: var(--max-w-text);
  margin: 0 auto;
  padding: 0 var(--sp-8);
}

/* ── Typography ─────────────────────────────────────────── */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.12;
  letter-spacing: -0.5px;
  color: var(--ink);
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.3px;
  color: var(--ink);
}
.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  color: var(--ink);
}
.display-sm {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  line-height: 1.25;
  color: var(--ink);
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--coral);
  margin-bottom: var(--sp-3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  flex-shrink: 0;
}
.eyebrow.blue   { color: var(--blue-dark); }
.eyebrow.green  { color: var(--green-dark); }
.eyebrow.purple { color: var(--purple); }
.eyebrow.teal   { color: var(--teal); }
.eyebrow.no-line::before { display: none; }

.lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.75;
  color: var(--ink-70);
  font-weight: 400;
  margin-top: 20px;
}

/* ── Section spacing ────────────────────────────────────── */
.section { padding: var(--sp-20) 0; }
.section-lg { padding: var(--sp-24) 0; }
.section-sm { padding: var(--sp-12) 0; }

.section-warm  { background: var(--section-warm); }
.section-cool  { background: var(--section-cool); }
.section-teal  { background: var(--section-teal); }
.section-gray  { background: var(--gray-50); }
.section-dark  { background: var(--ink); color: var(--white); }
.section-coral { background: linear-gradient(135deg, var(--coral) 0%, var(--orange) 100%); color: var(--white); }

.section-header {
  text-align: center;
  margin-bottom: var(--sp-12);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.section-header .lead { margin-top: var(--sp-4); }

/* ── Nav ────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.2s;
}
.site-nav.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  /* padding: 0 var(--sp-8); */
}

.nav-logo img { height: 65px; width: 115px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  list-style: none;
  margin-left: var(--sp-6);
  margin-top: 8px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-70);
  padding: 6px 12px;
  border-radius: var(--r-sm);
  transition: color 0.15s, background 0.15s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a:hover { color: var(--ink); background: var(--gray-50); }
.nav-links a.active { color: var(--coral); }

.nav-dropdown { position: relative; }
/* Invisible bridge fills gap between nav trigger and dropdown — prevents close on mouse travel */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 16px;
  background: transparent;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
  z-index: 200;
  min-width: 220px;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }

.nav-spacer { flex: 1; }

.nav-ctas { display: flex; align-items: center; gap: var(--sp-3); }
.btn-nav-ghost {
  font-size: 0.88rem; font-weight: 700;
  color: var(--ink-70); padding: 8px 16px;
  border-radius: var(--r-full); border: 1.5px solid var(--gray-200);
  transition: all 0.15s; background: transparent;
  cursor: pointer; font-family: var(--font-body);
  width: 150px;
}
.btn-nav-ghost:hover { border-color: var(--ink-40); color: var(--ink); }

.btn-nav-primary {
  font-size: 0.88rem; font-weight: 800;
  color: var(--white);
  padding: 9px 20px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--coral), var(--orange));
  border: none; cursor: pointer;
  box-shadow: var(--shadow-coral);
  transition: transform 0.15s, box-shadow 0.15s;
  font-family: var(--font-body);
  white-space: nowrap;
}
.btn-nav-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 32px rgba(249,123,92,0.4); }

/* Mobile nav toggle */
.nav-mobile-toggle {
  display: none;
  background: none; border: none;
  cursor: pointer; padding: 4px;
  color: var(--ink);
}
.nav-mobile-drawer {
  display: none;
  position: fixed;
  inset: 0; top: var(--nav-h);
  background: var(--white);
  z-index: 99;
  overflow-y: auto;
  padding: var(--sp-6) var(--sp-8);
}
.nav-mobile-drawer.open { display: block; }
.nav-mobile-drawer a {
  display: block;
  padding: 12px 0;
  font-weight: 700;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--gray-100);
  color: var(--ink);
}
.nav-mobile-drawer .mobile-section-label {
  font-size: 0.72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--ink-40); padding: 20px 0 6px;
}
.nav-mobile-ctas { display: flex; flex-direction: column; gap: var(--sp-3); margin-top: var(--sp-6); }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-family: var(--font-body);
  font-weight: 800; border: none; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  white-space: nowrap; text-decoration: none;
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-lg { font-size: 1rem; padding: 15px 30px; border-radius: var(--r-full); }
.btn-md { font-size: 0.9rem; padding: 11px 22px; border-radius: var(--r-full); }
.btn-sm { font-size: 0.82rem; padding: 8px 16px; border-radius: var(--r-full); }

.btn-primary {
  background: linear-gradient(135deg, var(--coral), var(--orange));
  color: var(--white) !important; box-shadow: var(--shadow-coral);
}
.btn-primary:hover { box-shadow: 0 12px 36px rgba(249,123,92,0.4); }

.btn-dark {
  background: var(--ink); color: var(--white);
  box-shadow: 0 4px 16px rgba(26,26,46,0.2);
}
.btn-dark:hover { box-shadow: 0 8px 28px rgba(26,26,46,0.3); }

.btn-outline {
  background: transparent; color: var(--ink);
  border: 2px solid var(--gray-200);
}
.btn-outline:hover { border-color: var(--ink-40); background: var(--gray-50); }

.btn-ghost { background: transparent; color: var(--ink-70); }
.btn-ghost:hover { color: var(--ink); }

.btn-white {
  background: var(--white); color: var(--ink);
  box-shadow: var(--shadow-md);
}
.btn-white-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-white-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }

/* ── Cards ──────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--r-xl);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card-pad { padding: var(--sp-8); }
.card-pad-lg { padding: var(--sp-10); }
.card:hover { box-shadow: var(--shadow-md); }

/* ── Hero page top padding ──────────────────────────────── */
.page-top { padding-top: var(--nav-h); }

/* ── Hero section ───────────────────────────────────────── */
.hero-section {
  padding: var(--sp-20) 0 var(--sp-24);
  position: relative;
  overflow: hidden;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--coral-light); color: var(--coral-dark);
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.5px;
  padding: 6px 14px; border-radius: var(--r-full);
  margin-bottom: var(--sp-5);
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--coral);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 0 rgba(249,123,92,0.5); }
  50%      { box-shadow: 0 0 0 5px rgba(249,123,92,0); }
}

/* ── Trust logos strip ──────────────────────────────────── */
.trust-strip {
  display: flex; align-items: center;
  gap: var(--sp-6); flex-wrap: wrap;
  margin-top: var(--sp-8);
}
.trust-strip-label {
  font-size: 0.75rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--ink-40); white-space: nowrap;
}
.trust-logo {
  height: 28px; opacity: 0.35; filter: grayscale(1);
  transition: opacity 0.2s, filter 0.2s;
}
.trust-logo:hover { opacity: 0.6; filter: grayscale(0.5); }

/* ── Feature grid ───────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-6);
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: var(--sp-5);
}
.feature-card h3 {
  font-size: 1.05rem; font-weight: 800; color: var(--ink);
  margin-bottom: var(--sp-2);
}
.feature-card p { font-size: 0.9rem; color: var(--ink-70); line-height: 1.65; }

/* ── Audience cards (solutions) ─────────────────────────── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--sp-4);
}
.audience-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-5);
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: var(--ink);
}
.audience-card:hover {
  border-color: var(--coral);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(249,123,92,0.12);
  color: var(--ink);
}
.audience-card .ac-icon { font-size: 2rem; margin-bottom: var(--sp-3); }
.audience-card .ac-label { font-weight: 800; font-size: 0.9rem; }
.audience-card .ac-sub { font-size: 0.78rem; color: var(--ink-40); margin-top: 4px; }

/* ── Stat grid ──────────────────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--sp-6);
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 3rem; color: var(--coral);
  line-height: 1;
}
.stat-label { font-size: 0.88rem; color: var(--ink-70); margin-top: 6px; font-weight: 600; }

/* ── Steps (how it works) ───────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-8);
  position: relative;
}
.step { text-align: center; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  color: var(--white); font-weight: 900; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--sp-5);
  box-shadow: var(--shadow-coral);
}
.step h3 { font-size: 1rem; font-weight: 800; margin-bottom: var(--sp-2); }
.step p { font-size: 0.88rem; color: var(--ink-70); line-height: 1.65; }

/* ── Phone mockup ───────────────────────────────────────── */
.phone-mockup {
  width: 260px; height: 520px;
  background: var(--ink);
  border-radius: 40px;
  border: 4px solid #2a2a4a;
  box-shadow: 0 32px 80px rgba(26,26,46,0.4), 0 8px 24px rgba(26,26,46,0.2);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 6px;
  background: #3a3a5a; border-radius: 3px; z-index: 2;
}
.phone-screen {
  position: absolute;
  top: 30px; left: 0; right: 0; bottom: 0;
  background: var(--gray-50);
  overflow: hidden;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ── Testimonial card ───────────────────────────────────── */
.testimonial-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  border: 1px solid var(--gray-200);
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: 1.1rem; line-height: 1.5;
  color: var(--ink); margin-bottom: var(--sp-5);
}
.testimonial-author { display: flex; align-items: center; gap: var(--sp-3); }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--coral-light);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.9rem; color: var(--coral);
}
.testimonial-name { font-weight: 800; font-size: 0.9rem; }
.testimonial-role { font-size: 0.78rem; color: var(--ink-40); }

/* ── Form ───────────────────────────────────────────────── */
.form-group { margin-bottom: var(--sp-4); }
.form-label { font-size: 0.85rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; display: block; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-md);
  font-family: var(--font-body); font-size: 0.95rem;
  color: var(--ink); background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(249,123,92,0.12);
}
.form-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.form-honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* ── Security badges ────────────────────────────────────── */
.security-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--r-full); padding: 8px 16px;
  font-size: 0.82rem; font-weight: 700; color: var(--ink-70);
}
.security-badge svg { flex-shrink: 0; }

/* ── Tag pills ──────────────────────────────────────────── */
.tag-pill {
  display: inline-block;
  padding: 5px 14px; border-radius: var(--r-full);
  font-size: 0.8rem; font-weight: 700;
}
.tag-coral  { background: var(--coral-light);  color: var(--coral-dark); }
.tag-orange { background: var(--orange-light); color: #b06a10; }
.tag-green  { background: var(--green-light);  color: var(--green-dark); }
.tag-blue   { background: var(--blue-light);   color: var(--blue-dark); }
.tag-purple { background: var(--purple-light); color: #7a3a72; }
.tag-teal   { background: var(--teal-light);   color: var(--teal); }

/* ── AI highlight ───────────────────────────────────────── */
.ai-glow {
  background: linear-gradient(135deg, #f0e6ff 0%, #ffe8f0 50%, #fff0e6 100%);
  border: 1.5px solid rgba(176,94,168,0.2);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  position: relative; overflow: hidden;
}
.ai-glow::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top left, rgba(176,94,168,0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* ── Two-column layout ──────────────────────────────────── */
.split { display: flex; align-items: center; gap: var(--sp-16); }
.split-reverse { flex-direction: row-reverse; }
.split-col { flex: 1; }
.split-col-media { flex: 0 0 auto; }

/* ── CTA band ───────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--coral) 0%, var(--orange) 60%, var(--green) 100%);
  border-radius: var(--r-xl);
  padding: var(--sp-16) var(--sp-12);
  text-align: center; color: var(--white);
  position: relative; overflow: hidden;
}
.cta-band h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: var(--sp-4); }
.cta-band p { font-size: 1.05rem; opacity: 0.9; margin-bottom: var(--sp-8); max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-band-btns { display: flex; align-items: center; justify-content: center; gap: var(--sp-4); flex-wrap: wrap; }

/* ── Hex decoration ─────────────────────────────────────── */
.hex-shape {
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  display: inline-block;
}

/* ── Divider ────────────────────────────────────────────── */
.divider { height: 1px; background: var(--gray-200); margin: var(--sp-12) 0; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: var(--sp-16) 0 var(--sp-10);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}
.footer-brand .footer-logo { height: 75px; margin-bottom: var(--sp-5); }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.5); max-width: 240px; }
.footer-col h4 {
  font-size: 0.78rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: rgba(255,255,255,0.9); margin-bottom: var(--sp-4);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a {
  font-size: 0.88rem; color: rgba(255,255,255,0.5);
  transition: color 0.15s;
}
.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--sp-6);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--sp-4);
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.footer-social { display: flex; gap: var(--sp-4); }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); font-size: 0.9rem;
  transition: all 0.15s;
}
.footer-social a:hover { background: rgba(255,255,255,0.15); color: var(--white); }

/* ── Obfuscated email (bot protection) ──────────────────── */
.obf-email { unicode-bidi: bidi-override; direction: rtl; }

/* ── Scroll animations ──────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-badge .dot { animation: none; }
  * { animation-duration: 0.01ms !important; }
}

/* ── Page-specific hero variants ────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + var(--sp-16)) 0 var(--sp-16);
  text-align: center;
}
.page-hero .eyebrow { justify-content: center; }
.page-hero .lead { max-width: 600px; margin: var(--sp-4) auto 0; }

/* ── Breadcrumb ─────────────────────────────────────────── */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: var(--ink-40); font-weight: 600;
  margin-bottom: var(--sp-5);
}
.breadcrumb a { color: var(--ink-40); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { color: var(--ink-40); }

/* ── Support / KB layout ────────────────────────────────── */
.kb-grid { display: grid; grid-template-columns: 280px 1fr; gap: var(--sp-10); align-items: start; }
.kb-sidebar {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--r-xl); padding: var(--sp-6); position: sticky; top: calc(var(--nav-h) + 20px);
}
.kb-sidebar-section { margin-bottom: var(--sp-5); }
.kb-sidebar-section h4 { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: var(--ink-40); margin-bottom: var(--sp-2); }
.kb-sidebar-section ul { list-style: none; }
.kb-sidebar-section li a {
  display: block; padding: 7px 10px; border-radius: var(--r-md);
  font-size: 0.88rem; font-weight: 600; color: var(--ink-70);
  transition: all 0.15s;
}
.kb-sidebar-section li a:hover { background: var(--gray-50); color: var(--ink); }
.kb-sidebar-section li a.active { background: var(--coral-light); color: var(--coral-dark); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .split { gap: var(--sp-10); }
  .kb-grid { grid-template-columns: 1fr; }
  .kb-sidebar { position: static; }
}
@media (max-width: 768px) {
  :root { --max-w: 100%; }
  .container, .container-narrow { padding: 0 var(--sp-5); }
  .nav-links, .nav-ctas { display: none; }
  .nav-mobile-toggle { display: flex; margin-left: auto; }
  .split { flex-direction: column !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-section { padding: var(--sp-12) 0 var(--sp-16); }
  .section { padding: var(--sp-12) 0; }
  .section-lg { padding: var(--sp-16) 0; }
  .cta-band { padding: var(--sp-10) var(--sp-6); border-radius: var(--r-lg); }
  .cta-band-btns { flex-direction: column; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .phone-mockup { width: 200px; height: 400px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   Mobile layout stabilization
   Fixes fixed-header offset, clipped phone mockups, overlapping
   bento cards, and undersized side-by-side CTA cards.
═══════════════════════════════════════════════════════════ */

/* Keep the fixed header inside the viewport and give its content breathing room. */
.site-nav {
  width: 100%;
  max-width: 100vw;
}
.nav-inner {
  min-width: 0;
  padding-left: max(var(--sp-5), env(safe-area-inset-left));
  padding-right: max(var(--sp-5), env(safe-area-inset-right));
}
.nav-logo,
.nav-logo img {
  flex-shrink: 0;
}

/* The hero uses padding shorthand, so page-top alone was being overwritten. */
.hero-section.page-top {
  padding-top: calc(var(--nav-h) + var(--sp-16));
}

@media (max-width: 900px) {
  /* Reset explicit desktop grid rows; otherwise cards share rows and overlap. */
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-grid .bc {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    min-width: 0;
  }
}

@media (max-width: 768px) {
  :root { --nav-h: 76px; }

  .site-nav {
    height: var(--nav-h);
  }
  .nav-inner {
    height: 100%;
    gap: var(--sp-4);
  }
  .nav-logo img {
    width: auto;
    height: 58px;
    max-width: 148px;
    object-fit: contain;
  }
  .nav-mobile-toggle {
    flex: 0 0 auto;
  }

  .hero-section.page-top {
    padding-top: calc(var(--nav-h) + var(--sp-8));
    padding-bottom: var(--sp-12);
  }
  .hero-layout {
    gap: var(--sp-10) !important;
  }
  .hero-copy {
    width: 100%;
    max-width: none !important;
  }
  .hero-badge {
    margin-bottom: var(--sp-4);
  }
  .hero-copy .display-xl {
    font-size: clamp(2.25rem, 10.5vw, 3.1rem);
    line-height: 1.08;
  }
  .hero-copy .display-xl br {
    display: none;
  }
  .hero-copy .lead {
    max-width: none !important;
    font-size: 1rem;
    line-height: 1.65;
  }
  .hero-actions {
    width: 100%;
    margin-bottom: var(--sp-8) !important;
  }
  .hero-actions .btn {
    flex: 1 1 180px;
    min-width: 0;
  }
  .hero-proof {
    width: 100%;
    align-items: flex-start !important;
    gap: var(--sp-4) !important;
  }
  .hero-proof-audience {
    width: 100%;
  }
  .hero-proof-audience > span {
    width: auto !important;
    min-width: 0;
  }
  .hero-security-badges {
    width: 100%;
    flex-wrap: wrap !important;
  }

  /* Show the full primary app screen while retaining small side-screen context. */
  .hero-phones {
    position: relative;
    width: 100%;
    max-width: 430px;
    height: 510px;
    margin: 0 auto;
    gap: 0 !important;
    overflow: hidden;
    align-items: center !important;
  }
  .hero-phones .phone-mockup {
    position: absolute;
    width: 170px !important;
    height: 340px !important;
    top: 88px;
    opacity: 0.92;
  }
  .hero-phones .phone-mockup:first-child {
    left: -82px;
    transform: rotate(-4deg) !important;
  }
  .hero-phones .phone-mockup:nth-child(2) {
    z-index: 2;
    left: 50%;
    top: 0;
    width: 250px !important;
    height: 500px !important;
    transform: translateX(-50%) !important;
    opacity: 1;
  }
  .hero-phones .phone-mockup:last-child {
    right: -82px;
    transform: rotate(4deg) !important;
  }
  .hero-phones .phone-screen img {
    object-fit: contain;
    object-position: top center;
  }

  .bc {
    padding: var(--sp-6);
  }
  .bc-stat {
    font-size: clamp(2.7rem, 13vw, 3.5rem);
  }
  .bc-title,
  .bc-desc,
  .bc-tag {
    position: relative;
    z-index: 1;
  }

  /* These need room to read; two narrow columns create clipped buttons and text. */
  .enterprise-cta-grid {
    grid-template-columns: 1fr !important;
    gap: var(--sp-5) !important;
  }
  .enterprise-cta-card {
    padding: var(--sp-8) var(--sp-6) !important;
    min-width: 0;
  }
  .enterprise-cta-card .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container,
  .container-narrow {
    padding-left: var(--sp-4);
    padding-right: var(--sp-4);
  }
  .hero-section.page-top {
    padding-top: calc(var(--nav-h) + var(--sp-6));
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
    flex-basis: auto;
  }
  .hero-phones {
    height: 470px;
  }
  .hero-phones .phone-mockup:nth-child(2) {
    width: 230px !important;
    height: 460px !important;
  }
  .hero-phones .phone-mockup:first-child,
  .hero-phones .phone-mockup:last-child {
    width: 145px !important;
    height: 290px !important;
    top: 100px;
  }
  .hero-phones .phone-mockup:first-child { left: -72px; }
  .hero-phones .phone-mockup:last-child  { right: -72px; }

  .bc {
    padding: var(--sp-5);
  }
  .bc > div[style*="display:flex"][style*="gap:8px"] {
    flex-wrap: wrap;
  }
  .bc > div[style*="display:flex"][style*="gap:8px"] > div {
    min-width: 68px;
  }
}

/* Mobile CTA Buttons */

@media (max-width: 768px) {
    .nav-mobile-ctas {
        display: flex;
        flex-direction: column;
        gap: 18px;
        margin-top: 36px;
        /* padding: 0 24px 40px; */
    }
    .nav-mobile-ctas .btn,
    .nav-mobile-ctas .btn-nav-primary,
    .nav-mobile-ctas .btn-nav-ghost {
        width: 100%;
        justify-content: center;
        min-height: 58px;
        font-size: 1.05rem;
        font-weight: 800;
        border-radius: 999px;
        padding: 20px;
        border: 1px solid var(--gray-100) !important;
    }
    /* Schedule Demo */
    .nav-mobile-ctas .btn-nav-ghost {
        background: #fff;
        border: 2px solid var(--gray-200);
        color: var(--ink);
    }
    /* Get Early Access */
    .nav-mobile-ctas .btn-nav-primary {
        background: linear-gradient(135deg, var(--coral), var(--orange));
        color: #fff;
        box-shadow: 0 12px 30px rgba(249,123,92,.30);
    }
}

.nav-mobile-drawer {
    padding-bottom: 40px;
}
.nav-mobile-drawer a:last-of-type {
    margin-bottom: 28px;
}

/* =========================================================
   KinPass About Page
========================================================= */

.kp-about {
  overflow: hidden;
}

.kp-about .container {
  padding-left: var(--sp-8);
  padding-right: var(--sp-8);
}

/* Hero */

.kp-about-hero {
  position: relative;
  overflow: hidden;
  padding: var(--sp-20) 0 var(--sp-24);
  background:
    radial-gradient(
      circle at 8% 15%,
      rgba(249, 123, 92, 0.12),
      transparent 28%
    ),
    radial-gradient(
      circle at 88% 14%,
      rgba(107, 174, 214, 0.14),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      #fffbf8 0%,
      #f8f7ff 52%,
      #f3f9ff 100%
    );
}

.kp-about-hero-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(340px, 0.75fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
  position: relative;
  z-index: 2;
}

.kp-about-hero-copy {
  max-width: 720px;
}

.kp-about-hero-copy h1 {
  max-width: 760px;
  margin-bottom: var(--sp-6);
}

.kp-about-hero-lead {
  max-width: 690px;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.65;
  color: var(--ink);
  font-weight: 700;
}

.kp-about-hero-support {
  max-width: 650px;
  margin-top: var(--sp-5);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-70);
}

/* Hero question card */

.kp-about-question-card {
  position: relative;
  padding: clamp(32px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 26px 80px rgba(26, 26, 46, 0.13);
}

.kp-about-question-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(249, 123, 92, 0.14);
  border-radius: 25px;
  pointer-events: none;
}

.kp-about-question-icon,
.kp-about-promise-mark {
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-6);
  color: var(--white);
  background: linear-gradient(
    135deg,
    var(--coral),
    var(--orange)
  );
  clip-path: polygon(
    50% 0%,
    93% 25%,
    93% 75%,
    50% 100%,
    7% 75%,
    7% 25%
  );
}

.kp-about-question-icon i,
.kp-about-promise-mark i {
  width: 27px;
  height: 27px;
}

.kp-about-card-kicker {
  display: block;
  margin-bottom: var(--sp-3);
  color: var(--coral-dark);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.8px;
}

.kp-about-question-card blockquote {
  position: relative;
  z-index: 1;
  margin-bottom: var(--sp-5);
  font-family: var(--font-display);
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.12;
}

.kp-about-question-card p {
  position: relative;
  z-index: 1;
  color: var(--ink-70);
  font-size: 0.98rem;
  line-height: 1.75;
}

/* Hero decorative hexagons */

.kp-about-hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.kp-about-shape {
  position: absolute;
  opacity: 0.08;
}

.kp-about-shape polygon {
  fill: currentColor;
}

.kp-about-shape-coral {
  width: 300px;
  top: -110px;
  left: -80px;
  color: var(--coral);
  transform: rotate(14deg);
}

.kp-about-shape-purple {
  width: 240px;
  right: -55px;
  top: 40px;
  color: var(--purple);
  transform: rotate(-9deg);
}

.kp-about-shape-blue {
  width: 170px;
  left: 45%;
  bottom: -80px;
  color: var(--blue);
  transform: rotate(18deg);
}

/* Section headings */

.kp-about-section-heading {
  max-width: 780px;
  margin-bottom: var(--sp-12);
}

.kp-about-section-heading h2 {
  margin-bottom: var(--sp-5);
}

.kp-about-section-heading-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.kp-about-section-heading-center .eyebrow {
  justify-content: center;
}

/* Origin cards */

.kp-about-origin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-6);
}

.kp-about-story-card,
.kp-about-build-card {
  padding: var(--sp-8);
  border: 1px solid var(--gray-200);
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.kp-about-story-card h3,
.kp-about-build-card span {
  display: block;
  margin-bottom: var(--sp-3);
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.35;
}

.kp-about-story-card p,
.kp-about-build-card p {
  color: var(--ink-70);
  font-size: 0.92rem;
  line-height: 1.72;
}

/* Hexagonal icons */

.kp-about-hex-icon,
.kp-about-care-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
  clip-path: polygon(
    50% 0%,
    93% 25%,
    93% 75%,
    50% 100%,
    7% 75%,
    7% 25%
  );
}

.kp-about-hex-icon i,
.kp-about-care-icon i {
  width: 23px;
  height: 23px;
}

.kp-about-hex-coral {
  color: var(--coral-dark);
  background: var(--coral-light);
}

.kp-about-hex-orange {
  color: #b36816;
  background: var(--orange-light);
}

.kp-about-hex-purple {
  color: #7c3a75;
  background: var(--purple-light);
}

.kp-about-hex-blue {
  color: var(--blue-dark);
  background: var(--blue-light);
}

.kp-about-hex-green {
  color: var(--green-dark);
  background: var(--green-light);
}

/* Turning point */

.kp-about-turning-point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-6);
  align-items: center;
  max-width: 940px;
  margin: var(--sp-10) auto 0;
  padding: var(--sp-8) var(--sp-10);
  border-radius: 28px;
  border: 1px solid rgba(176, 94, 168, 0.18);
  background: linear-gradient(
    135deg,
    rgba(237, 212, 235, 0.55),
    rgba(212, 234, 247, 0.55)
  );
}

.kp-about-turning-icon {
  width: 68px;
  height: 68px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--purple);
  box-shadow: var(--shadow-sm);
}

.kp-about-turning-icon i {
  width: 30px;
  height: 30px;
}

.kp-about-turning-point h3 {
  margin-bottom: var(--sp-2);
  font-size: 1.25rem;
}

.kp-about-turning-point p {
  color: var(--ink-70);
  line-height: 1.7;
}

/* Who KinPass serves */

.kp-about-who {
  background: var(--section-cool);
}

.kp-about-who-split {
  align-items: flex-start;
}

.kp-about-body-copy {
  margin-top: var(--sp-5);
  color: var(--ink-70);
  font-size: 1rem;
  line-height: 1.8;
}

.kp-about-care-list {
  display: grid;
  gap: var(--sp-4);
}

.kp-about-care-row {
  display: flex;
  gap: var(--sp-5);
  align-items: flex-start;
  padding: var(--sp-6);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 22px;
}

.kp-about-care-row .kp-about-care-icon {
  margin-bottom: 0;
}

.kp-about-care-row h3 {
  margin-bottom: 5px;
  font-size: 1rem;
  font-weight: 900;
}

.kp-about-care-row p {
  color: var(--ink-70);
  font-size: 0.88rem;
  line-height: 1.62;
}

/* Problem section */

.kp-about-problem {
  color: var(--white);
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(249, 123, 92, 0.18),
      transparent 28%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(107, 174, 214, 0.16),
      transparent 26%
    ),
    var(--ink);
}

.kp-about-problem-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(0, 1.1fr);
  gap: clamp(48px, 8vw, 100px);
  align-items: center;
}

.kp-about-problem .display-lg {
  color: var(--white);
}

.kp-about-problem .eyebrow {
  color: var(--coral);
}

.kp-about-problem-statement {
  margin-top: var(--sp-6);
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.12rem;
  line-height: 1.72;
}

.kp-about-problem-points {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
}

.kp-about-problem-points div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: var(--sp-4);
  align-items: center;
  padding: var(--sp-5) var(--sp-6);
  background: rgba(26, 26, 46, 0.68);
}

.kp-about-problem-points i {
  width: 21px;
  height: 21px;
  color: var(--orange);
}

.kp-about-problem-points span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.93rem;
  line-height: 1.55;
}

/* What we built */

.kp-about-build-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-5);
}

.kp-about-build-card {
  position: relative;
  min-height: 255px;
  background: linear-gradient(
    180deg,
    var(--white),
    var(--gray-50)
  );
}

/* AI section */

.kp-about-ai {
  background: var(--section-warm);
}

.kp-about-ai-card {
  display: grid;
  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(320px, 0.85fr);
  gap: var(--sp-12);
  align-items: center;
  padding: clamp(36px, 6vw, 72px);
  overflow: hidden;
  border: 1px solid rgba(176, 94, 168, 0.2);
  border-radius: 34px;
  background: linear-gradient(
    135deg,
    #f1e9ff 0%,
    #fff0f4 48%,
    #fff5ea 100%
  );
}

.kp-about-ai-copy h2 {
  margin-bottom: var(--sp-5);
}

.kp-about-ai-visual {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  margin: 0 auto;
}

.kp-about-ai-visual::before,
.kp-about-ai-visual::after {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px dashed rgba(124, 58, 117, 0.28);
  border-radius: 50%;
}

.kp-about-ai-visual::after {
  inset: 30%;
}

.kp-about-ai-center,
.kp-about-ai-node {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.kp-about-ai-center {
  width: 108px;
  height: 108px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  background: linear-gradient(
    135deg,
    var(--purple),
    var(--coral)
  );
}

.kp-about-ai-center i {
  width: 44px;
  height: 44px;
}

.kp-about-ai-node {
  width: 68px;
  height: 68px;
  background: rgba(255, 255, 255, 0.92);
}

.kp-about-ai-node i {
  width: 27px;
  height: 27px;
}

.node-one {
  left: 4%;
  top: 15%;
  color: var(--coral);
}

.node-two {
  right: 4%;
  top: 15%;
  color: var(--green-dark);
}

.node-three {
  left: 4%;
  bottom: 15%;
  color: var(--blue-dark);
}

.node-four {
  right: 4%;
  bottom: 15%;
  color: var(--purple);
}

/* Mission */

.kp-about-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
}

.kp-about-mission-card {
  min-height: 340px;
  padding: clamp(36px, 5vw, 62px);
  border-radius: 32px;
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(249, 123, 92, 0.18),
      transparent 34%
    ),
    #fff1e8;
}

.kp-about-mission-card h2 {
  max-width: 600px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.2;
}

.kp-about-mission-dark {
  color: var(--white);
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(107, 174, 214, 0.18),
      transparent 34%
    ),
    var(--ink);
}

.kp-about-mission-dark .kp-about-card-kicker {
  color: var(--blue);
}

/* Final promise */

.kp-about-promise {
  text-align: center;
  background: linear-gradient(
    180deg,
    var(--white),
    var(--section-cool)
  );
}

.kp-about-promise .container-narrow {
  max-width: 860px;
}

.kp-about-promise-mark {
  margin-left: auto;
  margin-right: auto;
}

.kp-about-promise .eyebrow {
  justify-content: center;
}

.kp-about-promise h2 {
  margin: 0 auto var(--sp-5);
}

.kp-about-promise .lead {
  max-width: 760px;
  margin: 0 auto;
}

.kp-about-promise-actions {
  display: flex;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-top: var(--sp-8);
}

.kp-about-promise-actions .btn i {
  width: 18px;
  height: 18px;
}

/* Tablet */

@media (max-width: 1024px) {
  .kp-about-hero-grid,
  .kp-about-ai-card {
    grid-template-columns: 1fr;
  }

  .kp-about-question-card {
    max-width: 700px;
  }

  .kp-about-origin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kp-about-origin-grid .kp-about-story-card:last-child {
    grid-column: 1 / -1;
  }

  .kp-about-build-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kp-about-ai-visual {
    max-width: 320px;
  }
}

/* Mobile */

@media (max-width: 768px) {
  .kp-about .container {
    padding-left: var(--sp-5);
    padding-right: var(--sp-5);
  }

  .kp-about-hero {
    padding: var(--sp-12) 0 var(--sp-16);
  }

  .kp-about-hero-grid {
    gap: var(--sp-10);
  }

  .kp-about-hero-lead {
    font-size: 1.08rem;
  }

  .kp-about-question-card {
    padding: 30px 26px;
    border-radius: 26px;
  }

  .kp-about-question-card::after {
    inset: 9px;
    border-radius: 19px;
  }

  .kp-about-origin-grid,
  .kp-about-build-grid,
  .kp-about-problem-grid,
  .kp-about-mission-grid {
    grid-template-columns: 1fr;
  }

  .kp-about-origin-grid .kp-about-story-card:last-child {
    grid-column: auto;
  }

  .kp-about-story-card,
  .kp-about-build-card {
    padding: var(--sp-6);
  }

  .kp-about-build-card {
    min-height: 0;
  }

  .kp-about-turning-point {
    grid-template-columns: 1fr;
    padding: var(--sp-6);
  }

  .kp-about-care-row {
    padding: var(--sp-5);
  }

  .kp-about-problem-grid {
    gap: var(--sp-8);
  }

  .kp-about-ai-card {
    padding: 32px 24px;
    border-radius: 26px;
  }

  .kp-about-ai-visual {
    width: 280px;
  }

  .kp-about-mission-card {
    min-height: 0;
    padding: 34px 28px;
    border-radius: 26px;
  }

  .kp-about-promise-actions {
    flex-direction: column;
  }

  .kp-about-promise-actions .btn {
    width: 100%;
  }
}

/* Small mobile */

@media (max-width: 480px) {
  .kp-about-question-card blockquote {
    font-size: 2rem;
  }

  .kp-about-care-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .kp-about-ai-visual {
    width: 240px;
  }

  .kp-about-ai-center {
    width: 86px;
    height: 86px;
  }

  .kp-about-ai-node {
    width: 54px;
    height: 54px;
    border-radius: 18px;
  }

  .kp-about-ai-node i {
    width: 22px;
    height: 22px;
  }
}