/* Find Caraline website. Same palette as the app. */
:root {
  --bg: #faf8f5; --surface: #ffffff; --ink: #1e1a17; --body: #5a524b; --line: #e8e2da;
  --red: #e8424a; --red-ink: #c8303a; --pink: #fde8e9; --sand: #f2ede6;
  --green: #2e7d5b; --green-soft: #e3f2ea; --amber: #a86a12; --amber-soft: #fdf3e1;
  --gold: #8a6a1f; --gold-soft: #f6eccf;
  --display: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
main { max-width: 460px; margin: 0 auto; padding-block: 32px 64px; display: flex; flex-direction: column; gap: 16px; }
header img { width: 132px; height: auto; display: block; }
h1 { font-family: var(--display); font-weight: 600; font-size: 34px; line-height: 1.1; margin: 8px 0 0; text-wrap: balance; }
p { margin: 0; }
.muted { color: var(--body); }
.small { font-size: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
label { font-size: 14px; font-weight: 600; color: var(--body); }
input { font: inherit; width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); min-height: 48px; }
input:focus { outline: none; border-color: var(--red); }
input.memberno { font-size: 22px; letter-spacing: .06em; text-transform: uppercase; }
button { font: inherit; cursor: pointer; }
.btn { border: 0; border-radius: 14px; padding: 14px 16px; font-weight: 600; background: var(--red); color: #fff; width: 100%; min-height: 50px; }
.btn.ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn.gold { background: var(--gold); color: #fff; }
.btn:disabled { opacity: .6; cursor: progress; }
.link { background: none; border: 0; color: var(--red-ink); text-decoration: underline; padding: 0; }
.code { font-family: var(--display); font-size: 84px; font-weight: 700; color: var(--red-ink); text-align: center; line-height: 1; font-variant-numeric: tabular-nums; }
.pill { display: inline-block; font-size: 13px; font-weight: 700; border-radius: 20px; padding: 3px 10px; background: var(--sand); color: var(--body); }
.pill.green { background: var(--green-soft); color: var(--green); }
.pill.gold { background: var(--gold-soft); color: var(--gold); }
.pill.red { background: var(--pink); color: var(--red-ink); }
.notice { background: var(--amber-soft); border-radius: 14px; padding: 14px; font-size: 15px; }
.ok { background: var(--green-soft); border-radius: 14px; padding: 14px; font-size: 15px; }
.err { color: var(--red-ink); font-size: 14px; min-height: 1em; }
.row { display: flex; align-items: center; gap: 10px; }
.row .grow { flex: 1; min-width: 0; }
ul { margin: 0; padding-left: 20px; color: var(--body); }
footer { text-align: center; color: var(--body); font-size: 13px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

[hidden] { display: none !important; }

/* Long-form legal pages */
main.doc { max-width: 720px; gap: 12px; }
.doc h1 { font-size: 40px; }
.doc h2 { font-family: var(--display); font-weight: 700; font-size: 26px; margin: 22px 0 2px; }
.doc h3 { font-size: 17px; margin: 14px 0 0; }
.doc p, .doc li { color: var(--ink); }
.doc ul { color: var(--ink); display: flex; flex-direction: column; gap: 6px; }
.doc .summary { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.doc a { color: var(--red-ink); }
.doc nav.top { display: flex; justify-content: space-between; align-items: center; }
.doc nav.top a { font-size: 14px; }
