/* Kinday site. Same tokens as the app (src/theme.ts): blush base, pink glows, one gradient. */
:root {
  --bg: #FFF3F7; --ink: #1F1320; --dim: #5E5360; --card: rgba(255, 255, 255, 0.62);
  --card-border: rgba(255, 255, 255, 0.92); --line: rgba(150, 60, 105, 0.14); --track: rgba(150, 60, 105, 0.10);
  --shadow: 0 8px 24px rgba(150, 60, 105, 0.10); --phone-shadow: 0 24px 48px rgba(150, 60, 105, 0.22);
  --accent-text: #BE185D; --ok-bg: #D8F3E7; --ok: #0B6B4F;
  --gradient: linear-gradient(90deg, #DB2777 0%, #A21CAF 100%);
  --glows: radial-gradient(64% 34% at 8% 2%, #FBC4DD, transparent 72%),
    radial-gradient(56% 30% at 104% 26%, rgba(249, 168, 212, 0.55), transparent 72%),
    radial-gradient(72% 34% at -6% 66%, rgba(251, 196, 221, 0.75), transparent 72%),
    radial-gradient(64% 30% at 102% 98%, rgba(244, 170, 208, 0.58), transparent 72%);
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s6: 24px; --s8: 32px; --s12: 48px; --s16: 64px; --s24: 96px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #170D13; --ink: #FCF1F6; --dim: #D9C6D0; --card: rgba(255, 255, 255, 0.08);
    --card-border: rgba(255, 255, 255, 0.16); --line: rgba(255, 255, 255, 0.12); --track: rgba(255, 255, 255, 0.12);
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.24); --phone-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
    --accent-text: #F9A8D4; --ok-bg: rgba(134, 227, 188, 0.18); --ok: #86E3BC;
    --glows: radial-gradient(64% 34% at 8% 2%, rgba(219, 39, 119, 0.50), transparent 72%),
      radial-gradient(56% 30% at 104% 26%, rgba(190, 24, 93, 0.36), transparent 72%),
      radial-gradient(72% 34% at -6% 66%, rgba(162, 28, 175, 0.30), transparent 72%),
      radial-gradient(64% 30% at 102% 98%, rgba(219, 39, 119, 0.36), transparent 72%);
  }
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, sans-serif; font-size: 16px; line-height: 24px;
  color: var(--ink); background: var(--glows), var(--bg); background-attachment: fixed;
}
a { color: var(--accent-text); }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.icon { flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Shell */
.wrap { max-width: 1120px; margin: 0 auto; padding: var(--s6) var(--s6) var(--s12); }
.wrap.text { max-width: 720px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); }
.brand { display: flex; align-items: center; gap: var(--s3); font-size: 20px; line-height: 28px; font-weight: 700; color: var(--ink); text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.top nav { display: flex; gap: var(--s6); font-size: 14px; line-height: 20px; font-weight: 500; }
.top nav a { color: var(--dim); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; transition: color 0.15s; }
.top nav a:hover { color: var(--ink); }
footer { margin-top: var(--s24); padding-top: var(--s6); border-top: 1px solid var(--line); font-size: 14px; line-height: 20px; color: var(--dim); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s6); }
footer span { margin-right: auto; }
footer a { color: var(--dim); min-height: 44px; display: inline-flex; align-items: center; }
footer a:hover { color: var(--ink); }

/* Type */
h1 { font-size: 56px; line-height: 64px; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: 32px; line-height: 40px; font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }
h3 { font-size: 16px; line-height: 20px; font-weight: 600; }
p, li { color: var(--dim); }
.lead { font-size: 20px; line-height: 28px; margin-top: var(--s4); max-width: 30em; }
.meta { font-size: 14px; line-height: 20px; }

/* Controls */
.cta { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 48px; padding: 0 var(--s6); border-radius: 999px; background: var(--gradient); color: #FFFFFF; font-weight: 600; text-decoration: none; white-space: nowrap; transition: filter 0.15s; }
.cta:hover { filter: brightness(0.93); }
.pill { display: inline-flex; align-items: center; gap: var(--s2); min-height: 48px; padding: 0 var(--s6); border-radius: 999px; background: var(--card); border: 1px solid var(--card-border); box-shadow: var(--shadow); font-weight: 500; color: var(--ink); white-space: nowrap; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s8); }
.glass { background: var(--card); border: 1px solid var(--card-border); border-radius: 20px; box-shadow: var(--shadow); padding: var(--s6); }

/* Phone frame around a real screenshot */
.phone { width: 280px; border-radius: 36px; padding: 8px; background: var(--card); border: 1px solid var(--card-border); box-shadow: var(--phone-shadow); flex: none; }
.phone img { width: 100%; height: auto; border-radius: 28px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--s12); align-items: center; padding-top: var(--s16); }
.hero-phones { display: flex; justify-content: center; }
.hero-phones .phone + .phone { margin-left: -72px; margin-top: var(--s16); }
.facts { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s6); margin-top: var(--s6); padding: 0; list-style: none; font-size: 14px; line-height: 20px; }
.facts li { display: inline-flex; align-items: center; gap: var(--s2); }
.facts .icon { color: var(--ok); }

/* Sections */
section { margin-top: var(--s24); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); margin-top: var(--s8); padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; background: var(--track); color: var(--ink); font-size: 14px; font-weight: 600; margin-bottom: var(--s3); }
.steps p { font-size: 14px; line-height: 20px; margin-top: var(--s2); }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s12); align-items: center; }
.feature.flip .feature-shot { order: 2; }
.feature-shot { display: flex; justify-content: center; }
.feature p { margin-top: var(--s4); max-width: 28em; }
.feature ul { margin-top: var(--s4); padding: 0; list-style: none; display: grid; gap: var(--s3); }
.feature li { display: flex; gap: var(--s3); align-items: flex-start; font-size: 14px; line-height: 20px; }
.feature li .icon { color: var(--accent-text); margin-top: 2px; }
.private { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); margin-top: var(--s8); }
.private p { font-size: 14px; line-height: 20px; margin-top: var(--s2); }
.private .icon { color: var(--accent-text); margin-bottom: var(--s3); }
.faq { margin-top: var(--s8); display: grid; gap: var(--s3); max-width: 720px; }
.faq details { background: var(--card); border: 1px solid var(--card-border); border-radius: 20px; box-shadow: var(--shadow); padding: 0 var(--s6); }
.faq summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: var(--s4); font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--dim); border-bottom: 2px solid var(--dim); transform: rotate(45deg); transition: transform 0.15s; flex: none; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { font-size: 14px; line-height: 20px; padding-bottom: var(--s4); max-width: 60ch; }

/* Text pages */
.text main { margin-top: var(--s12); }
.text h1 { font-size: 40px; line-height: 48px; }
.text h2 { font-size: 20px; line-height: 28px; margin-top: var(--s8); }
.text p { margin-top: var(--s3); max-width: 65ch; }
.text ul { margin-top: var(--s3); padding-left: 20px; display: grid; gap: var(--s2); max-width: 65ch; }
.text footer { margin-top: var(--s16); }

@media (max-width: 860px) {
  .wrap { padding: var(--s4) var(--s4) var(--s12); }
  h1 { font-size: 40px; line-height: 48px; }
  h2 { font-size: 24px; line-height: 32px; }
  section { margin-top: var(--s16); }
  .hero { grid-template-columns: 1fr; gap: var(--s8); padding-top: var(--s8); }
  .hero-phones .phone { width: 200px; }
  .hero-phones .phone + .phone { margin-left: -48px; margin-top: var(--s12); }
  .steps, .private { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; gap: var(--s8); }
  .feature.flip .feature-shot { order: 0; }
  .feature .phone { width: 240px; }
  .top nav { gap: var(--s4); }
  footer { margin-top: var(--s16); }
  footer span { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }
