/*
 * The look of amanahcycle.com: the app's own day palette (from app/src/theme/tokens.ts, `light`)
 * and its two bundled fonts, Fraunces for headings and Karla for everything else. Plain and
 * readable first: these pages are mostly policy text.
 */

@font-face { font-family: 'Fraunces'; src: url('/fonts/Fraunces.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Karla'; src: url('/fonts/Karla.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Karla'; src: url('/fonts/Karla-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }

:root {
  --app-bg: #FBF6F4;      /* light.appBg */
  --card-bg: #FFFFFF;     /* light.cardBg */
  --heading: #191818;     /* light.sectionTitle */
  --body: #2A2526;        /* light.bodyStrong */
  --muted: #5E5A5B;       /* light.bodyMuted */
  --link: #A66E88;        /* light.valueText */
  --accent: #DE8FAB;      /* light.accent */
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--app-bg);
  color: var(--body);
  font-family: 'Karla', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

.top, main, .bottom {
  max-width: 720px;
  margin: 0 auto;
  padding-inline: 24px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-block: 24px;
}

.top nav { display: flex; gap: 20px; font-weight: 600; }

main {
  background: var(--card-bg);
  border-radius: 24px;
  padding-block: 32px 40px;
}

h1, h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 400; color: var(--heading); line-height: 1.2; }
h1 { font-size: 40px; margin: 0 0 20px; }
h2 { font-size: 24px; margin: 36px 0 8px; }

.lead { font-size: 21px; }
.notice { color: var(--muted); font-style: italic; }

a { color: var(--link); text-decoration-color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--heading); }

.links { padding-left: 20px; }

.bottom { color: var(--muted); font-size: 15px; padding-block: 24px 48px; text-align: center; }
