/* Serena: a calm two-column opener (promise beside a real morning exchange), plain sections, a legal footer. */
:root {
  --bg: #f4f6f4;
  --surface: #e6ece8;
  --ink: #1a2421;
  --muted: #55625d;
  --accent: #2c6a5c;
  --bubble-in: #ffffff;
  --bubble-out: #d9e8e1;
  --line: #cfd8d3;
  --display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111715; --surface: #1a2320; --ink: #e5ece8; --muted: #9aa8a2; --accent: #86c2b2;
    --bubble-in: #1f2a26; --bubble-out: #24433b; --line: #2c3833; color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
a { color: var(--accent); }
.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 20px; }
header.top { display: flex; justify-content: space-between; align-items: center; padding-block: 22px; }
.mark { font-family: var(--display); font-size: 26px; font-style: italic; letter-spacing: 0.01em; color: var(--ink); text-decoration: none; }
.invite { font-size: 14px; color: var(--muted); }
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; padding-block: 40px 72px; }
.hero > * { min-width: 0; }
h1 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6vw, 68px); line-height: 1.04; margin: 0 0 22px; text-wrap: balance; }
h1 em { color: var(--accent); }
.lede { color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.cta { display: inline-flex; gap: 10px; align-items: center; border: 1px solid var(--ink); border-radius: 999px; padding: 12px 22px; color: var(--ink); text-decoration: none; font-weight: 500; }
.cta:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.chat { background: var(--surface); border-radius: 22px; padding: 22px 18px; display: flex; flex-direction: column; gap: 10px; }
.chat-head { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); padding-inline: 4px; }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.45; }
.msg.in { background: var(--bubble-in); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.out { background: var(--bubble-out); align-self: flex-end; border-bottom-right-radius: 4px; }
.msg time { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; text-align: right; font-variant-numeric: tabular-nums; }
.voice { display: flex; gap: 8px; align-items: center; }
.voice span { display: inline-block; width: 3px; background: var(--accent); border-radius: 2px; }
section { padding-block: 56px; border-top: 1px solid var(--line); }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.6vw, 38px); margin: 0 0 28px; text-wrap: balance; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; }
.item h3 { font-size: 17px; font-weight: 600; margin: 0 0 6px; }
.item p { margin: 0; color: var(--muted); }
.day { display: grid; grid-template-columns: 76px 1fr; gap: 14px 20px; max-width: 46em; margin: 0; }
.day dt { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--accent); }
.day dd { margin: 0; color: var(--muted); }
.promise { max-width: 40em; color: var(--muted); }
.promise strong { color: var(--ink); font-weight: 600; }
footer { border-top: 1px solid var(--line); padding-block: 28px 40px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
footer nav { display: flex; gap: 20px; }
footer a { color: var(--muted); }
.legal { max-width: 46em; padding-block: 24px 64px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); }
.legal h2 { font-size: 24px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--ink); }
.updated { font-size: 14px; color: var(--muted); }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-block: 16px 48px; }
  .grid { grid-template-columns: 1fr; }
  .day { grid-template-columns: 64px 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .msg { animation: rise 0.5s ease both; }
  .msg:nth-child(3) { animation-delay: 0.15s; } .msg:nth-child(4) { animation-delay: 0.3s; } .msg:nth-child(5) { animation-delay: 0.45s; }
  @keyframes rise { from { transform: translateY(6px); } to { transform: none; } }
}
