/* Kinnon marketing site.
   Ground, type and accent per the site design; brand cyan matches
   constants/theme.ts (#006786 text, #0088b0 rules/fills) and the calendar
   mock uses real member inks from constants/palette.ts. */
:root {
  --bg: #f3f2f2;
  --ink: #201e1d;
  --muted: #605d5d;
  --faint: #7d7979;
  --line: #d7d3d3;
  --surface: #f8f4f4;
  --cyan-text: #006786;
  --cyan-rule: #0088b0;
  --radius: 4px;
  --pad: clamp(24px, 5vw, 72px);
  --max: 1180px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.015em; margin: 0; }
p { margin: 0; }
a { color: var(--cyan-text); }

/* Flush left with air on the right, rather than centred. */
.wrap { max-width: var(--max); margin: 0; padding-inline: var(--pad); }

.kicker {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0;
}
.rule-accent { width: 46px; height: 2px; background: var(--cyan-rule); margin-bottom: 14px; }

/* ---- header ---- */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 30px; height: 30px; border-radius: var(--radius); }
.brand span { font-weight: 600; font-size: 19px; }
nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav a:hover, nav a[aria-current="page"] { color: var(--cyan-text); }

/* ---- buttons: outlined, never filled ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--cyan-rule);
  background: transparent;
  color: var(--cyan-text);
  border-radius: var(--radius);
  padding: 11px 18px;
  text-decoration: none;
  line-height: 1.2;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn .small { display: block; font-size: 11px; letter-spacing: 0.04em; opacity: 0.85; }
.btn .big { display: block; font-size: 15px; font-weight: 600; }

/* ---- hero ---- */
.hero { padding: clamp(56px, 9vw, 104px) 0 clamp(44px, 7vw, 80px); }
.hero h1 { font-size: clamp(40px, 6.4vw, 68px); line-height: 1.04; max-width: 17ch; margin: 16px 0 20px; }
.hero .lede { color: var(--muted); max-width: 48ch; font-size: clamp(17px, 2vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 32px; }
.hero-note { color: var(--faint); font-size: 14px; max-width: 34ch; }

/* ---- feature panels ---- */
.feature { border: 1px solid var(--line); border-top: 3px solid var(--line); border-radius: var(--radius); background: var(--bg); margin-bottom: 22px; }
.feature-inner {
  display: grid; gap: clamp(24px, 4vw, 48px);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  padding: clamp(24px, 3.4vw, 40px);
}
.feature h3 { font-size: clamp(24px, 3vw, 31px); margin: 12px 0 12px; }
.feature p { color: var(--muted); max-width: 44ch; }
/* Alternates which side the caption sits on. */
.feature--flip .feature-caption { order: 2; }

/* ---- mock chrome shared by every mock ---- */
.mock { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 14px; font-size: 14px; }
.mock-title { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.mock-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* calendar */
.day-row { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: var(--radius); }
.day-row + .day-row { margin-top: 2px; }
.day-row .bar { width: 3px; align-self: stretch; border-radius: 2px; flex: none; }
.day-row .day { width: 3.5ch; color: var(--faint); font-size: 13px; flex: none; }
.day-row .what { color: var(--ink); }
.day-row .who { margin-left: auto; color: var(--faint); font-size: 13px; }
.day-row--today { background: #e9f8ff; }

/* care sheet */
.child-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.avatar { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; color: #fff; font-weight: 600; flex: none; }
.child-name { font-weight: 600; font-size: 17px; }
.care-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.care-cell { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; background: #fff; }
.care-cell dt { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.care-cell dd { margin: 4px 0 0; font-size: 14px; }

/* meals + list */
.line { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.line + .line { border-top: 1px solid var(--line); }
.line .day { width: 4.5ch; color: var(--faint); font-size: 13px; flex: none; }
.check { width: 15px; height: 15px; border: 1px solid var(--line); border-radius: 3px; flex: none; display: grid; place-items: center; }
.check--on { border-color: var(--cyan-rule); }
.check--on::after { content: ''; width: 7px; height: 4px; border-left: 2px solid var(--cyan-rule); border-bottom: 2px solid var(--cyan-rule); transform: rotate(-45deg) translate(1px, -1px); }
.struck { color: var(--faint); text-decoration: line-through; }

/* local */
.event-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; }
.event-row + .event-row { border-top: 1px solid var(--line); }
.event-row .meta { color: var(--faint); font-size: 13px; }
.mini-btn { margin-left: auto; border: 1px solid var(--cyan-rule); color: var(--cyan-text); background: transparent; border-radius: var(--radius); padding: 5px 12px; font: inherit; font-size: 13px; cursor: pointer; }

/* ---- sharing band ---- */
.band {
  background: radial-gradient(130% 120% at 8% 0%, #006786, #0a303e 62%);
  color: #eef6f9;
  padding: clamp(48px, 7vw, 88px) 0;
  margin: 40px 0;
}
.band .wrap { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: center; }
.band h2 { font-size: clamp(26px, 3.4vw, 38px); max-width: 18ch; line-height: 1.12; }
.band p { color: #bcd6df; margin-top: 14px; max-width: 42ch; }
.perm { border-top: 1px solid rgba(255,255,255,0.18); padding: 13px 0; display: flex; gap: 14px; align-items: baseline; }
.perm:last-child { border-bottom: 1px solid rgba(255,255,255,0.18); }
.perm .who { font-weight: 600; min-width: 13ch; }
.perm .what { color: #bcd6df; font-size: 14px; }

/* ---- close ---- */
.close { padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 88px); }
.close h2 { font-size: clamp(30px, 4.6vw, 48px); max-width: 20ch; line-height: 1.1; }
.close .accent { color: var(--cyan-text); }
.close-actions { margin-top: 28px; }

/* ---- content pages (privacy, support) ---- */
.page { padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 80px); }
.page h1 { font-size: clamp(32px, 5vw, 46px); margin-bottom: 6px; }
.page .updated { color: var(--faint); font-size: 14px; margin-bottom: 36px; }
.page h2 { font-size: 21px; margin: 34px 0 8px; }
.page p, .page li { max-width: 68ch; color: var(--muted); }
.faq { max-width: 68ch; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--cyan-rule); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: '\2013'; }
.faq details p { margin-top: 10px; }
.contact-box { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 22px; margin-top: 30px; max-width: 68ch; }
.contact-box h2 { margin-top: 0; }

/* ---- footer ---- */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 14px; color: var(--faint); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between; }
.site-footer a { color: var(--faint); text-decoration: none; }
.site-footer a:hover { color: var(--cyan-text); }
