:root {
  color-scheme: light;
  --paper: #fff5f9;
  --ink: #542e43;
  --rose: #a52d64;
  --muted: #79536a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.8; }
a { color: inherit; text-decoration: none; }
.site-header, main, footer { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 28px; border-bottom: 1px solid #e7ddd5; }
.wordmark { font-size: 14px; letter-spacing: .08em; font-weight: 650; }
.wordmark span { color: var(--rose); }
.nav-link { font-size: 13px; color: var(--muted); }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 60px; padding-block: 88px 96px; }
.eyebrow { font-size: 12px; letter-spacing: .2em; color: var(--rose); margin: 0 0 24px; }
h1 { font-family: "Songti SC", "Noto Serif CJK SC", SimSun, serif; font-size: clamp(58px, 7.5vw, 94px); font-weight: 500; letter-spacing: -.045em; line-height: 1.2; margin: 0 0 30px; }
.title-dot, .accent { color: var(--rose); }
.intro { color: var(--muted); font-size: 16px; margin: 0 0 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 48px; padding: 12px 23px; border: 1px solid var(--rose); border-radius: 999px; background: var(--rose); color: #fff; font: inherit; font-size: 14px; cursor: pointer; transition: background .2s, transform .2s; }
.button:hover { background: #852d3e; transform: translateY(-2px); }
a:focus-visible, button:focus-visible { outline: 3px solid #6554ad; outline-offset: 5px; }
.small-note { font-size: 11px; color: var(--muted); margin-top: 20px; }
.art { position: relative; display: grid; place-items: center; min-height: 460px; background: radial-gradient(ellipse, #f1d9d4 0%, #f6eae2 50%, transparent 72%); }
.orbit { position: absolute; width: 90%; aspect-ratio: 1; border: 1px solid #d9b7ac; border-radius: 50%; transform: rotate(-25deg) scaleX(.85); }
.love-note { position: relative; width: min(290px, 80%); padding: 28px 30px; background: #fffcf7; border: 1px solid #eaded2; box-shadow: 10px 20px 40px #734b3520; transform: rotate(-7deg); }
.note-number { font-size: 9px; color: var(--muted); letter-spacing: .15em; }
.heart { display: block; text-align: center; font-size: 100px; line-height: 1.5; color: var(--rose); }
.love-note p { font-family: "Songti SC", SimSun, serif; font-size: 23px; line-height: 1.6; }
.note-signature { display: block; text-align: right; color: var(--muted); font-size: 11px; }
.art-caption { position: absolute; bottom: 0; font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.letter { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; border-top: 1px solid #e7ddd5; padding-block: 60px; }
h2 { font-family: "Songti SC", SimSun, serif; font-size: clamp(24px, 3vw, 32px); font-weight: 500; line-height: 1.5; margin: 0; }
.letter-body { color: var(--muted); font-size: 15px; }
.letter-body p:first-child { margin-top: 0; }
.surprise { margin-top: 12px; background: transparent; color: var(--rose); }
.surprise:hover { color: #fff; }
[hidden] { display: none !important; }
.message { min-height: 3.6em; margin-bottom: 0; color: var(--rose); }
footer { padding-block: 24px; border-top: 1px solid #e7ddd5; color: var(--muted); font-size: 11px; text-align: center; }
footer span { padding-inline: 10px; }
@media (max-width: 700px) {
  .site-header, main, footer { width: calc(100% - 40px); }
  .site-header { padding-block: 20px; flex-wrap: wrap; gap: 8px 20px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-block: 48px; }
  h1 { font-size: clamp(52px, 14vw, 82px); }
  .art { min-height: 400px; }
  .letter { grid-template-columns: 1fr; gap: 24px; padding-block: 40px 24px; }
  .eyebrow { margin-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button:hover { transform: none; }
}

/* Princess stationery, with no external fonts or tracking assets. */
body { background: radial-gradient(ellipse at 0 0, #ffdcebbb, transparent 45%), radial-gradient(ellipse at 100% 30%, #f5dcff88, transparent 45%), var(--paper); padding-bottom: env(safe-area-inset-bottom); }
.site-header { border-color: #efccdd; }
.sky { position: absolute; inset: 110px 0 auto; height: 550px; pointer-events: none; overflow: hidden; color: #bb5780; }
.sky span { position: absolute; left: 4%; top: 10%; font-size: 27px; animation: float 6s ease-in-out infinite; }
.sky span:nth-child(2) { left: 91%; top: 40%; animation-delay: -2s; }
.sky span:nth-child(3) { left: 50%; top: 3%; animation-delay: -4s; }
.sky span:nth-child(4) { left: 8%; top: 84%; animation-delay: -3s; }
.hero { position: relative; }
.eyebrow { font-weight: 650; }
.button { background: linear-gradient(135deg, #ae346b, #913257); border-color: #a52d64; box-shadow: 0 5px 14px #a52d6418; gap: 12px; }
.art { background: radial-gradient(ellipse, #f8cde2 0%, #ffe7f1 50%, transparent 72%); }
.orbit { border-color: #dba4c1; border-style: dashed; }
.love-note { border-radius: 14px; background: #fffafd; border: 1px solid #efc9dc; box-shadow: 10px 20px 50px #b7487825; }
.bow { position: absolute; top: -57px; left: 50%; transform: translateX(-50%); color: #af3971; font-size: 76px; line-height: 1; }
.heart { color: #c34a81; text-shadow: 0 5px 0 #f7d1e2; animation: glow 5s ease-in-out infinite; }
.letter { border-color: #efccdd; }
.music-card, .chat-card { background: #fffafddd; border: 1px solid #efc9dc; border-radius: 26px; padding: 32px; margin-bottom: 32px; box-shadow: 0 12px 36px #8f3b6610; }
.music-card { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.record { display: grid; place-items: center; width: 70px; height: 70px; flex: 0 0 70px; border-radius: 50%; background: repeating-radial-gradient(#f9d5e5 0 4px, #fce4ee 5px 8px); color: #a52d64; font-size: 30px; }
.music-copy { flex: 1 1 270px; min-width: 0; }
.music-copy .eyebrow, .chat-heading .eyebrow { margin-bottom: 6px; }
.music-copy h2 { font-size: 22px; }
.music-copy p { font-size: 13px; color: var(--muted); margin-block: 8px; }
.music-credit a { text-decoration: underline; text-underline-offset: 3px; }
.music-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; flex: 0 1 235px; }
.music-controls span { flex-basis: 100%; color: var(--muted); font-size: 12px; }
.secondary { background: #fff; color: var(--rose); }
.secondary:hover { color: white; }
.chat-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.demo-badge { color: #85395c; background: #fbe1ed; border: 1px solid #ebbad1; border-radius: 30px; padding: 5px 13px; font-size: 12px; white-space: nowrap; }
.chat-disclaimer, .chat-hint { color: var(--muted); font-size: 13px; }
.chat-log { height: 260px; overflow-y: auto; overscroll-behavior: contain; padding: 16px; border-radius: 18px; background: #fff0f6; margin-block: 20px; }
.bubble { width: fit-content; max-width: 88%; padding: 12px 16px; border-radius: 18px 18px 18px 4px; background: white; border: 1px solid #f0cddd; font-size: 14px; overflow-wrap: anywhere; white-space: pre-wrap; }
.bubble.user { margin-left: auto; background: #f8d4e5; border-radius: 18px 18px 4px 18px; }
label { display: block; font-size: 13px; margin-bottom: 8px; }
.compose { display: flex; gap: 10px; }
input { width: 100%; min-width: 0; min-height: 48px; border: 1px solid #d9a2bc; border-radius: 18px; background: #fff; color: var(--ink); padding: 12px 16px; font: inherit; font-size: 16px; }
input:focus-visible { outline: 3px solid #a84e7c; outline-offset: 3px; }
button:disabled { opacity: .55; cursor: default; }
.compose .button { flex-shrink: 0; }
footer { border-color: #efccdd; }
@keyframes float { 50% { transform: translateY(-12px) rotate(8deg); } }
@keyframes glow { 50% { transform: scale(1.035); } }
@media (max-width: 700px) {
  .site-header, main, footer { width: calc(100% - 36px); }
  .site-header { padding-top: max(20px, env(safe-area-inset-top)); }
  .hero { padding-block: 42px; }
  .art { min-height: 390px; }
  .music-card, .chat-card { padding: 22px 18px; border-radius: 22px; }
  .music-card { gap: 16px; }
  .music-copy { flex-basis: calc(100% - 86px); }
  .music-copy h2 { font-size: 18px; }
  .music-controls { flex-basis: 100%; }
  .bubble { max-width: 94%; }
  .chat-heading h2 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.surprise { background: transparent; color: var(--rose); }
.surprise:hover { background: var(--rose); color: #fff; }
.bow { top: -17px; width: 22px; height: 24px; border-radius: 7px; background: #c45a8b; z-index: 1; }
.bow::before, .bow::after { content: ""; position: absolute; top: -12px; width: 48px; height: 42px; background: #f5bad5; border: 3px solid #c45a8b; z-index: -1; }
.bow::before { right: 16px; border-radius: 12px 30px 7px 16px; transform: rotate(12deg); }
.bow::after { left: 16px; border-radius: 30px 12px 16px 7px; transform: rotate(-12deg); }
.art-caption { bottom: -22px; }
