:root {
  --primary: #FFB4B4;
  --primary-variant: #FF8FA3;
  --primary-deep: #E85F8A;
  --accent: #B5C9FF;
  --surface: #FFFAF8;
  --background: #FBF5F2;
  --glass-dark: #2D1F2EB8;
  --ink: #2D1F2E;
  --ink-soft: #5B4A5A;
  --ink-muted: #8E7E8E;
  --line: #F1E2DD;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --font-serif: 'Playfair Display', 'New York', Georgia, serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-card: 0 10px 30px rgba(232, 95, 138, 0.08);
  --shadow-soft: 0 4px 16px rgba(45, 31, 46, 0.06);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--background);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary-deep); }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 245, 242, 0.85);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid rgba(45, 31, 46, 0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.2px;
}
.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff 0%, var(--primary) 55%, var(--primary-variant) 100%);
  box-shadow: inset 0 -2px 4px rgba(232, 95, 138, 0.4), 0 2px 6px rgba(232, 95, 138, 0.25);
  position: relative;
}
.brand-mark::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(255,255,255,0.7), transparent 60%);
}
.brand-name { font-family: var(--font-serif); font-weight: 500; font-size: 22px; }
.site-nav {
  display: flex;
  gap: 28px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.site-nav a { transition: color .15s ease; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-variant) 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(232, 95, 138, 0.28);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(232, 95, 138, 0.34); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(45, 31, 46, 0.18);
}
.btn-ghost:hover { background: rgba(255, 180, 180, 0.12); color: var(--ink); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
  background:
    radial-gradient(60% 60% at 85% 10%, rgba(255, 180, 180, 0.35) 0%, transparent 60%),
    radial-gradient(50% 50% at 10% 90%, rgba(181, 201, 255, 0.25) 0%, transparent 60%),
    var(--background);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-deep);
  margin: 0 0 14px;
  font-weight: 600;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  margin: 0 0 22px;
  letter-spacing: -0.5px;
}
.lede {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 0 32px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.hero-meta {
  color: var(--ink-muted);
  font-size: 13.5px;
  margin: 0;
}

/* Hero art (phone mockup) */
.hero-art {
  position: relative;
  height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone {
  width: 300px;
  height: 540px;
  background: linear-gradient(180deg, #FFE3E3 0%, #FFD1DE 100%);
  border-radius: 44px;
  padding: 18px;
  box-shadow:
    0 30px 60px rgba(232, 95, 138, 0.25),
    inset 0 0 0 2px rgba(255,255,255,0.4);
  position: relative;
  z-index: 2;
}
.phone-screen {
  background: var(--surface);
  border-radius: 30px;
  height: 100%;
  padding: 28px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.phone-screen::before {
  content: '';
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 22px;
  background: var(--ink);
  border-radius: 999px;
  opacity: 0.08;
}
.phone-bubble {
  max-width: 78%;
  padding: 10px 14px;
  font-size: 13.5px;
  line-height: 1.45;
  border-radius: 16px;
  margin-top: 8px;
}
.phone-bubble.char {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}
.phone-bubble.user {
  align-self: flex-end;
  background: linear-gradient(180deg, var(--primary), var(--primary-variant));
  color: #fff;
}
.phone-letter {
  margin-top: auto;
  background: #FFF7EE;
  border: 1px solid #F1E2C8;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6);
}
.phone-letter-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-deep);
  font-weight: 600;
}
.phone-letter-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink);
}

.petal {
  position: absolute;
  width: 28px;
  height: 28px;
  background: radial-gradient(circle at 30% 30%, #fff, var(--primary) 60%, var(--primary-variant) 100%);
  border-radius: 60% 0 60% 0;
  opacity: 0.85;
  filter: drop-shadow(0 4px 8px rgba(232, 95, 138, 0.25));
}
.petal-1 { top: 40px; left: 30px; transform: rotate(15deg); }
.petal-2 { bottom: 80px; right: 20px; transform: rotate(-20deg); width: 22px; height: 22px; }
.petal-3 { top: 60%; left: 10%; transform: rotate(40deg); width: 18px; height: 18px; opacity: 0.7; }

/* Sections */
.section {
  padding: 96px 0;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -0.3px;
}
.section-lede {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 0 56px;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow-soft);
  transition: transform .15s ease, box-shadow .15s ease;
}
.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.feature h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  margin: 16px 0 8px;
}
.feature p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 180, 180, 0.35), rgba(181, 201, 255, 0.35));
  display: grid;
  place-items: center;
  position: relative;
}
.feature-icon::after {
  content: '';
  width: 18px;
  height: 18px;
  background: var(--primary-deep);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}
.icon-memory::after { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M4 5h16v2H4zm0 6h16v2H4zm0 6h10v2H4z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M4 5h16v2H4zm0 6h16v2H4zm0 6h10v2H4z'/></svg>"); }
.icon-mode::after { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M7 4h10v4H7zm0 6h10v4H7zm0 6h10v4H7z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M7 4h10v4H7zm0 6h10v4H7zm0 6h10v4H7z'/></svg>"); }
.icon-events::after { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M5 4h14v16H5zm2 4v10h10V8zm2 2h6v2H9z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M5 4h14v16H5zm2 4v10h10V8zm2 2h6v2H9z'/></svg>"); }
.icon-intimacy::after { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 21s-7-4.5-9-9c-1-2 0-5 3-6 2-1 4 0 6 2 2-2 4-3 6-2 3 1 4 4 3 6-2 4.5-9 9-9 9z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 21s-7-4.5-9-9c-1-2 0-5 3-6 2-1 4 0 6 2 2-2 4-3 6-2 3 1 4 4 3 6-2 4.5-9 9-9 9z'/></svg>"); }

/* Letters section */
.section-letters {
  background: linear-gradient(180deg, #FFF7F2 0%, #FFEFE6 100%);
  border-top: 1px solid #F5E2D6;
  border-bottom: 1px solid #F5E2D6;
}
.letters-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.letters-copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  margin: 0 0 18px;
}
.letters-copy p {
  color: var(--ink-soft);
  font-size: 17px;
  margin: 0 0 14px;
}
.letter-card {
  background: #FFFDF8;
  border-radius: 20px;
  padding: 32px 32px 28px;
  box-shadow:
    0 1px 0 #fff inset,
    0 30px 60px rgba(232, 95, 138, 0.10),
    0 4px 14px rgba(45, 31, 46, 0.06);
  position: relative;
  font-family: var(--font-serif);
  color: var(--ink);
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 28px, rgba(232,95,138,0.06) 28px, rgba(232,95,138,0.06) 29px);
}
.letter-card header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.letter-from { color: var(--primary-deep); font-weight: 600; }
.letter-card p {
  font-size: 17px;
  line-height: 1.75;
  margin: 0 0 14px;
  font-style: italic;
}
.letter-sign {
  text-align: right;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 15px;
  font-style: italic;
}

/* Character grid */
.character-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.character-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.character-portrait {
  aspect-ratio: 1 / 1.25;
  width: 100%;
  background: linear-gradient(160deg, #FFD9D9 0%, #FFB4B4 60%, #FF8FA3 100%);
  position: relative;
}
.character-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 50% 35%, rgba(255,255,255,0.45), transparent 70%);
  mix-blend-mode: screen;
}
.portrait-1 { background: linear-gradient(160deg, #FFE3D9, #FFB4B4 60%, #FF8FA3); }
.portrait-2 { background: linear-gradient(160deg, #E1E7FF, #B5C9FF 60%, #8FA9FF); }
.portrait-3 { background: linear-gradient(160deg, #FFE9D2, #FFC9A0 60%, #F19F73); }
.portrait-4 { background: linear-gradient(160deg, #E8DCFF, #CBB5FF 60%, #A88FFF); }
.character-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  margin: 18px 18px 6px;
}
.character-card p {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 0 18px 20px;
}

/* FAQ */
.section-faq { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 22px 4px;
}
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  list-style: none;
  position: relative;
  padding-right: 36px;
  color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-deep);
  font-size: 22px;
  line-height: 1;
  font-weight: 400;
}
.faq-list details[open] summary::after { content: '–'; }
.faq-list p { color: var(--ink-soft); margin: 14px 0 0; font-size: 15.5px; }

/* Waitlist */
.section-waitlist {
  background: linear-gradient(180deg, #FFF1ED 0%, #FFD9DE 100%);
  text-align: center;
}
.waitlist-inner { max-width: 560px; margin: 0 auto; }
.waitlist-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 44px);
  margin: 0 0 14px;
}
.waitlist-inner p { color: var(--ink-soft); font-size: 17px; }
.waitlist-form {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  background: #fff;
  border-radius: 999px;
  padding: 6px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
}
.waitlist-form input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 18px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
}
.waitlist-form input::placeholder { color: var(--ink-muted); }
.waitlist-form button { height: 48px; padding: 0 22px; }
.waitlist-note { margin-top: 16px; font-size: 13px; color: var(--ink-muted); }

/* Footer */
.site-footer {
  background: var(--background);
  border-top: 1px solid var(--line);
  padding: 40px 0 48px;
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-serif); font-size: 18px; }
.footer-nav { display: flex; gap: 24px; justify-content: center; color: var(--ink-soft); font-size: 14px; }
.footer-copy { color: var(--ink-muted); font-size: 13px; text-align: right; margin: 0; }

/* Legal pages */
.legal {
  padding: 64px 0 96px;
  background: var(--surface);
}
.legal-inner {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 56px 56px 64px;
  box-shadow: var(--shadow-soft);
}
.legal-inner .eyebrow { margin-bottom: 8px; }
.legal-inner h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 44px);
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}
.legal-meta { color: var(--ink-muted); font-size: 14px; margin: 0 0 36px; }
.legal-inner h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  margin: 36px 0 12px;
}
.legal-inner h3 {
  font-size: 16px;
  margin: 22px 0 8px;
  color: var(--ink);
}
.legal-inner p, .legal-inner li {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.7;
}
.legal-inner p { margin: 0 0 14px; }
.legal-inner ul { padding-left: 20px; margin: 0 0 18px; }
.legal-inner li { margin-bottom: 6px; }
.legal-inner a { color: var(--primary-deep); }
.legal-toc {
  background: var(--background);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 32px;
}
.legal-toc h2 { margin: 0 0 10px; font-size: 16px; font-family: var(--font-sans); font-weight: 600; }
.legal-toc ol { margin: 0; padding-left: 18px; color: var(--ink-soft); font-size: 14.5px; }
.legal-toc a { color: var(--ink-soft); }
.legal-toc a:hover { color: var(--primary-deep); }

/* Responsive */
@media (max-width: 900px) {
  .hero { padding: 56px 0 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { height: 480px; }
  .section { padding: 72px 0; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .character-grid { grid-template-columns: repeat(2, 1fr); }
  .letters-inner { grid-template-columns: 1fr; gap: 36px; }
  .site-nav { display: none; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-nav { justify-content: center; }
  .footer-copy { text-align: center; }
  .legal-inner { padding: 36px 24px 44px; }
}
@media (max-width: 520px) {
  .feature-grid { grid-template-columns: 1fr; }
  .character-grid { grid-template-columns: repeat(2, 1fr); }
  .waitlist-form { flex-direction: column; border-radius: 16px; padding: 12px; }
  .waitlist-form input { padding: 12px 8px; }
  .waitlist-form button { width: 100%; }
}
