/* Calorella website. Colours and type from the app (src/theme/tokens.ts). */
:root {
  --plum: #5a1f2e;
  --rose: #d4869e;
  --rose-soft: #f8dbe1;
  --lilac: #d9b8ec;
  --lilac-soft: #efe3f7;
  --blush: #fbeff2;
  --card: #fff8fa;
  --muted: #8a6a76;
  --body: #6d4b58;
  --line: #f0d9df;
  --radius: 16px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--blush);
  color: var(--plum);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}
a { color: var(--plum); text-underline-offset: 3px; }
a:hover { color: #7a2a40; }
h1, h2, .serif { font-family: "Fraunces", Georgia, serif; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 6vw, 54px); line-height: 1.08; margin: 0 0 16px; }
h2 { font-size: 22px; line-height: 1.3; margin: 32px 0 8px; }
h3 { font-size: 17px; margin: 20px 0 4px; }
p, li { color: var(--body); }
ul { padding-left: 22px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

header.top { padding: 20px 0; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img.icon { width: 36px; height: 36px; border-radius: 9px; }
.brand img.word { height: 28px; width: auto; }
nav a { margin-left: 20px; text-decoration: none; color: var(--muted); font-size: 15px; }
nav a:hover { color: var(--plum); }

.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding: 40px 0 64px; }
.hero .lead { font-size: 20px; color: var(--body); max-width: 520px; }
.hero em { font-style: italic; color: var(--rose); }
.phone { justify-self: center; width: min(320px, 80vw); border-radius: 44px; border: 10px solid var(--plum); overflow: hidden; box-shadow: 0 30px 60px -20px rgba(90, 31, 46, 0.35); background: var(--card); }
.phone img { display: block; width: 100%; height: auto; }
.badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding: 14px 24px; border-radius: 999px; background: var(--plum); color: #fff; font-weight: 600; text-decoration: none; }
.badge span { opacity: 0.75; font-weight: 400; }
.note { font-size: 14px; color: var(--muted); margin-top: 12px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 72px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-top: 0; font-family: "Fraunces", Georgia, serif; font-size: 20px; }
.card p { margin: 0; }
.dot { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; font-size: 20px; }
.rose { background: var(--rose-soft); }
.lilac { background: var(--lilac-soft); }
.peach { background: #fde7d9; }

.doc { padding-top: 16px; padding-bottom: 72px; }
.doc .updated { color: var(--muted); font-size: 15px; }
.short { background: var(--lilac-soft); border-radius: var(--radius); padding: 18px 20px; margin: 24px 0; color: var(--plum); }
.short p { color: var(--plum); margin: 0; }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); color: var(--body); }
th { color: var(--plum); font-weight: 600; }
.table-scroll { overflow-x: auto; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer a { color: var(--muted); text-decoration: none; margin-right: 16px; }
footer a:hover { color: var(--plum); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 16px; gap: 40px; }
  .features { grid-template-columns: 1fr; }
  nav a { margin-left: 14px; }
}
@media (max-width: 420px) {
  .brand img.word { display: none; }
}
