/* Callie — Dusk palette, hand-rolled. No frameworks, no JS. */

:root {
  --bg: #14101C;
  --surface: #1E1828;
  --surface2: #282038;
  --text: #F4EFFA;
  --dim: #9C92AD;
  --faint: #6E6480;
  --lavender: #B388FF;
  --peach: #FF8E9E;
  --danger: #FF6B6B;
  --accept: #34C759;
  --bubble-her: #2A2138;
  --bubble-me: #4A2E6B;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--lavender); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */

header {
  padding: 22px 0;
  border-bottom: 1px solid rgba(179, 136, 255, 0.08);
}

header .wrap { display: flex; align-items: center; justify-content: space-between; }

.wordmark {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--lavender), var(--peach));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.wordmark:hover { text-decoration: none; }

nav { display: flex; gap: 24px; }
nav a { color: var(--dim); font-size: 15px; }
nav a:hover { color: var(--text); text-decoration: none; }

/* ---------- hero ---------- */

.hero {
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 72px 0 88px;
}

.hero-copy { flex: 1.2; }

.hero h1 {
  font-size: clamp(38px, 5.5vw, 58px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero h1 .grad {
  background: linear-gradient(135deg, var(--lavender), var(--peach));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .sub {
  margin-top: 20px;
  font-size: 19px;
  color: var(--dim);
  max-width: 460px;
}

.badge-row { margin-top: 32px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  border: 1px solid var(--surface2);
  border-radius: 12px;
  padding: 10px 20px;
  color: var(--text);
}
.store-badge:hover { text-decoration: none; border-color: var(--lavender); }
.store-badge svg { width: 26px; height: 26px; fill: var(--text); }
.store-badge .lines { display: flex; flex-direction: column; line-height: 1.25; }
.store-badge .small { font-size: 11px; color: var(--dim); }
.store-badge .big { font-size: 17px; font-weight: 600; }

.honest {
  margin-top: 18px;
  font-size: 14px;
  color: var(--faint);
}

/* ---------- phone mockup ---------- */

.hero-phone { flex: 1; display: flex; justify-content: center; }

.phone {
  width: 290px;
  height: 600px;
  border-radius: 46px;
  border: 3px solid var(--surface2);
  background: linear-gradient(180deg, #1B1430 0%, var(--bg) 70%);
  box-shadow: 0 30px 80px rgba(179, 136, 255, 0.14);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.phone .notch {
  width: 110px; height: 28px;
  background: #000;
  border-radius: 16px;
  margin-top: 12px;
}

.phone .ctime { margin-top: 40px; font-size: 17px; color: var(--dim); letter-spacing: 0.04em; }

.phone .avatar {
  margin-top: 26px;
  width: 104px; height: 104px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lavender), var(--peach));
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; font-weight: 800; color: #fff;
}

.phone .cname { margin-top: 20px; font-size: 28px; font-weight: 700; }
.phone .clabel { margin-top: 6px; font-size: 15px; color: var(--dim); }

.phone .actions {
  margin-top: auto;
  margin-bottom: 48px;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
}

.callbtn {
  width: 70px; height: 70px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.callbtn svg { width: 32px; height: 32px; fill: #fff; }
.callbtn.decline { background: var(--danger); }
.callbtn.decline svg { transform: rotate(135deg); }
.callbtn.accept { background: var(--accept); }

/* ---------- features ---------- */

.features { padding: 24px 0 64px; }

.features .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid rgba(179, 136, 255, 0.1);
  border-radius: 20px;
  padding: 28px;
}

.card .ico { font-size: 30px; }
.card h3 { margin-top: 14px; font-size: 19px; font-weight: 700; }
.card p { margin-top: 8px; font-size: 15px; color: var(--dim); }

/* ---------- FAQ ---------- */

.faq { padding: 24px 0 72px; }

.faq h2, .features h2 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.faq details {
  background: var(--surface);
  border: 1px solid rgba(179, 136, 255, 0.1);
  border-radius: 16px;
  padding: 18px 22px;
  margin-bottom: 12px;
}

.faq summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--lavender); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--dim); font-size: 15px; }

/* ---------- legal pages ---------- */

.page { padding: 56px 0 80px; max-width: 760px; }
.page h1 { font-size: 38px; font-weight: 800; letter-spacing: -0.02em; }
.page .meta { margin-top: 8px; color: var(--faint); font-size: 14px; }
.page h2 { margin-top: 40px; font-size: 22px; font-weight: 700; }
.page p, .page li { margin-top: 12px; color: var(--dim); font-size: 16px; }
.page ul { margin-top: 8px; padding-left: 22px; }
.page strong { color: var(--text); }

.notice {
  margin-top: 28px;
  background: var(--surface);
  border: 1px solid rgba(255, 107, 107, 0.35);
  border-radius: 16px;
  padding: 20px 24px;
}
.notice.calm { border-color: rgba(179, 136, 255, 0.3); }
.notice p { margin-top: 0; }
.notice p + p { margin-top: 10px; }

.hotline {
  background: var(--surface);
  border: 1px solid rgba(179, 136, 255, 0.12);
  border-radius: 16px;
  padding: 18px 22px;
  margin-top: 14px;
}
.hotline .who { font-weight: 700; color: var(--text); font-size: 17px; }
.hotline .how { color: var(--dim); font-size: 15px; margin-top: 4px; }

/* ---------- footer ---------- */

footer {
  border-top: 1px solid rgba(179, 136, 255, 0.08);
  padding: 36px 0 48px;
  color: var(--faint);
  font-size: 14px;
}
footer .links { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 14px; }
footer a { color: var(--dim); }

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .hero { flex-direction: column-reverse; padding: 44px 0 56px; text-align: center; }
  .hero .sub { margin-left: auto; margin-right: auto; }
  .badge-row { justify-content: center; }
  .features .grid { grid-template-columns: 1fr; }
  .phone { width: 260px; height: 540px; }
  nav { gap: 14px; }
}
