/* Samantha - marketing + policy site.
   Look and feel: warm cream + coral (matches the console's sand/rose palette),
   soft and intimate like the film "Her", with a clean clinical calm. */

:root {
  --sand-50: #faf7f2;
  --sand-100: #f3ece1;
  --sand-200: #e7d8c3;
  --rose-500: #e7546f;
  --rose-600: #d63d5b;
  --rose-700: #b82f49;
  --coral: #ff6a5c;
  --ink: #2c2521;
  --ink-soft: #6b6259;
  --ink-faint: #a39a8f;
  --night: #1d1614;
  --night-2: #2a201c;
  --radius: 1.25rem;
  --heart-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z' fill='black'/%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--sand-50);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .wordmark {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 550;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

a { color: var(--rose-600); text-decoration: none; }
a:hover { color: var(--rose-700); }

.container { max-width: 1040px; margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 760px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sand-200);
}
.nav-inner {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.9rem 1.5rem; max-width: 1040px; margin: 0 auto;
}
.wordmark {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.35rem; color: var(--ink);
}
.wordmark .dot {
  width: 1.6rem; height: 1.6rem;
  background: radial-gradient(circle at 35% 35%, var(--coral), var(--rose-600) 70%);
  -webkit-mask-image: var(--heart-svg);
  mask-image: var(--heart-svg);
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  animation: dot-pulse 4.5s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 4px rgba(231, 84, 111, 0.3)); }
  50% { transform: scale(1.217); filter: drop-shadow(0 0 16px rgba(231, 84, 111, 0.9)); }
}
.nav-links { margin-left: auto; display: flex; gap: 1.4rem; font-size: 0.92rem; }
.nav-links a { color: var(--ink-soft); }
.nav-links a:hover { color: var(--rose-600); }

.nav-toggle-checkbox { display: none; }
.nav-toggle-btn {
  display: none; margin-left: auto; cursor: pointer;
  font-size: 1.5rem; line-height: 1; color: var(--ink-soft); padding: 0.2rem 0.3rem;
}
@media (max-width: 640px) {
  .nav-toggle-btn { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff;
    border-bottom: 1px solid var(--sand-200);
    box-shadow: 0 12px 24px rgba(44, 37, 33, 0.08);
    padding: 0.3rem 1.5rem 0.8rem;
  }
  .nav-links a { padding: 0.8rem 0; border-top: 1px solid var(--sand-100); }
  .nav-links a:first-child { border-top: none; }
  .nav-toggle-checkbox:checked ~ .nav-links { display: flex; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 6.5rem 0 5.5rem; text-align: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 420px at 50% -10%, rgba(255, 106, 92, 0.16), transparent 70%),
    radial-gradient(500px 380px at 85% 100%, rgba(231, 84, 111, 0.08), transparent 70%);
  pointer-events: none;
}
.orb {
  width: 128px; height: 128px;
  margin: 0 auto 2.25rem; position: relative;
  background: radial-gradient(circle at 35% 30%, #ffb3a0, var(--coral) 45%, var(--rose-700) 100%);
  -webkit-mask-image: var(--heart-svg);
  mask-image: var(--heart-svg);
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  animation: orb-pulse 4.5s ease-in-out infinite;
}
.orb::after {
  content: ""; position: absolute; inset: -22px; z-index: -1;
  background: radial-gradient(circle at 35% 30%, #ffb3a0, var(--coral) 45%, var(--rose-700) 100%);
  -webkit-mask-image: var(--heart-svg);
  mask-image: var(--heart-svg);
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  filter: blur(22px);
  animation: orb-aura-pulse 4.5s ease-in-out infinite;
}
@keyframes orb-pulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 18px rgba(255, 106, 92, 0.3)); }
  50% { transform: scale(1.217); filter: drop-shadow(0 0 60px rgba(255, 106, 92, 0.9)); }
}
@keyframes orb-aura-pulse {
  0%, 100% { transform: scale(0.9416); opacity: 0.35; }
  50% { transform: scale(1.1584); opacity: 0.75; }
}

.hero h1 { font-size: clamp(2.3rem, 5.5vw, 3.6rem); max-width: 21ch; margin: 0 auto 1.1rem; }
.hero .lede {
  color: var(--ink-soft); font-size: 1.15rem;
  max-width: 54ch; margin: 0 auto 2.4rem;
}
.hero .accent { color: var(--rose-600); font-style: italic; }

.cta-row { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 0.8rem 1.7rem; border-radius: 999px;
  font-weight: 600; font-size: 0.98rem; transition: all 0.2s ease;
}
.btn-primary {
  background: var(--rose-600); color: #fff;
  box-shadow: 0 6px 22px rgba(214, 61, 91, 0.35);
}
.btn-primary:hover { background: var(--rose-700); color: #fff; transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--sand-200); color: var(--ink-soft); background: #fff; }
.btn-ghost:hover { border-color: var(--rose-500); color: var(--rose-600); }

/* ---------- sections ---------- */
section { padding: 4.5rem 0; }
.kicker {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem;
  font-weight: 700; color: var(--rose-600); margin-bottom: 0.7rem;
}
.section-title { font-size: clamp(1.7rem, 3.5vw, 2.3rem); margin-bottom: 0.8rem; }
.section-sub { color: var(--ink-soft); max-width: 62ch; }

.grid {
  display: grid; gap: 1.25rem; margin-top: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  background: #fff; border: 1px solid var(--sand-200);
  border-radius: var(--radius); padding: 1.7rem;
  box-shadow: 0 1px 2px rgba(44, 37, 33, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(44, 37, 33, 0.07); }
.card .icon {
  width: 2.6rem; height: 2.6rem; border-radius: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--rose-500), var(--rose-700));
  color: #fff; font-size: 1.15rem; margin-bottom: 1rem;
}
.card h3 { font-size: 1.12rem; margin-bottom: 0.45rem; }
.card p { color: var(--ink-soft); font-size: 0.94rem; }

/* ---------- voice (dark, "Her" evening) ---------- */
.voice {
  background:
    radial-gradient(700px 400px at 50% 0%, rgba(255, 106, 92, 0.14), transparent 70%),
    linear-gradient(180deg, var(--night), var(--night-2));
  color: #f5ede4; text-align: center;
  border-radius: 2.5rem; margin: 1rem 1rem;
  padding: 5rem 1.5rem;
}
.voice .quote {
  font-family: "Fraunces", Georgia, serif; font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic; max-width: 34ch; margin: 0 auto 1.2rem; line-height: 1.4;
}
.voice .attr { color: rgba(245, 237, 228, 0.55); font-size: 0.92rem; }
.wave {
  display: flex; gap: 5px; justify-content: center; align-items: center;
  height: 46px; margin: 0 auto 2.2rem;
}
.wave span {
  width: 5px; border-radius: 3px;
  background: linear-gradient(180deg, var(--coral), var(--rose-600));
  animation: wave 1.3s ease-in-out infinite;
}
.wave span:nth-child(1) { height: 30%; animation-delay: 0s; }
.wave span:nth-child(2) { height: 65%; animation-delay: 0.12s; }
.wave span:nth-child(3) { height: 100%; animation-delay: 0.24s; }
.wave span:nth-child(4) { height: 55%; animation-delay: 0.36s; }
.wave span:nth-child(5) { height: 80%; animation-delay: 0.48s; }
.wave span:nth-child(6) { height: 40%; animation-delay: 0.6s; }
.wave span:nth-child(7) { height: 70%; animation-delay: 0.72s; }
.wave.wave-paused span { animation-play-state: paused; transform: scaleY(0.4); opacity: 0.4; }
@keyframes wave {
  0%, 100% { transform: scaleY(0.55); opacity: 0.7; }
  50% { transform: scaleY(1); opacity: 1; }
}

.voice-play {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-top: 2rem; padding: 0.75rem 1.5rem; border-radius: 999px;
  background: rgba(245, 237, 228, 0.08); border: 1px solid rgba(245, 237, 228, 0.25);
  color: #f5ede4; font-family: inherit; font-size: 0.95rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s ease;
}
.voice-play:hover { background: rgba(255, 106, 92, 0.16); border-color: var(--coral); }
.voice-play.is-playing { background: var(--rose-600); border-color: var(--rose-600); }
.voice-play-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.4rem; height: 1.4rem; font-size: 0.7rem;
}

/* ---------- trust list ---------- */
.trust-list { margin-top: 2rem; display: grid; gap: 1rem; }
.trust-item {
  display: flex; gap: 0.9rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--sand-200);
  border-radius: var(--radius); padding: 1.1rem 1.4rem;
}
.trust-item .check {
  flex-shrink: 0; width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background: var(--sand-100); color: var(--rose-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700; margin-top: 0.15rem;
}
.trust-item p { color: var(--ink-soft); font-size: 0.95rem; }
.trust-item strong { color: var(--ink); }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--sand-200);
  padding: 3rem 0 3.5rem; margin-top: 3rem;
  font-size: 0.9rem; color: var(--ink-faint);
}
.footer-grid { display: flex; flex-wrap: wrap; gap: 2.5rem; justify-content: space-between; }
.footer-grid .col h4 {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-soft); margin-bottom: 0.7rem;
}
.footer-grid .col a { display: block; color: var(--ink-faint); margin-bottom: 0.4rem; }
.footer-grid .col a:hover { color: var(--rose-600); }
.fineprint { margin-top: 2.5rem; font-size: 0.82rem; max-width: 72ch; }

/* ---------- policy pages ---------- */
.policy { padding: 4rem 0 5rem; }
.policy h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); margin-bottom: 0.5rem; }
.policy .updated { color: var(--ink-faint); font-size: 0.9rem; margin-bottom: 2.5rem; }
.policy h2 {
  font-size: 1.35rem; margin: 2.4rem 0 0.7rem;
  padding-top: 1.6rem; border-top: 1px solid var(--sand-200);
}
.policy h2:first-of-type { border-top: none; padding-top: 0; }
.policy p, .policy li { color: var(--ink-soft); font-size: 0.98rem; }
.policy p { margin-bottom: 0.9rem; }
.policy ul { margin: 0.4rem 0 1rem 1.4rem; }
.policy li { margin-bottom: 0.45rem; }
.policy strong { color: var(--ink); }
.callout {
  background: #fff; border: 1px solid var(--sand-200); border-left: 4px solid var(--rose-600);
  border-radius: 0.9rem; padding: 1.1rem 1.4rem; margin: 1.2rem 0;
}
.callout p { margin: 0; }
