/* Marcen Health brand stylesheet. Palette and type decided Nov 9, 2026. */
@font-face { font-family: "Space Grotesk"; font-weight: 500; font-display: swap; src: url("fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap; src: url("fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-display: swap; src: url("fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }

:root {
  --espresso: #2B2522;
  --rose: #C08A84;
  --clay: #7A4A45;
  --blush: #E9D5CF;
  --stone: #F4EFEA;
  --paper: #FBF8F5;
  --muted: #6B5E58;
  --rule: #DCCFC8;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mark: "Cormorant Garamond", Georgia, serif;
  --measure: 66ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--stone); color: var(--espresso); font: 400 17px/1.6 var(--body); }
img { max-width: 100%; display: block; }
a { color: var(--clay); text-underline-offset: 3px; }
a:hover { color: var(--espresso); }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--espresso); color: var(--stone); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(36px, 5.2vw, 60px); }
h2 { font-size: clamp(28px, 3.4vw, 38px); }
h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: var(--measure); }

.wrap { width: min(1120px, 100% - 44px); margin-inline: auto; }

/* Header */
.site-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--espresso); }
.brand img { width: 38px; height: 38px; }
.brand span { font: 600 19px/1 var(--mark); letter-spacing: 0.16em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.site-nav a { color: var(--espresso); text-decoration: none; }
.site-nav a:hover { color: var(--clay); text-decoration: underline; }
@media (max-width: 760px) { .site-nav a:not(.btn) { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--espresso); color: var(--stone) !important; text-decoration: none !important; font: 600 16px/1 var(--body);
  border: 2px solid var(--espresso); cursor: pointer; }
.btn:hover { background: var(--clay); border-color: var(--clay); }
.btn.quiet { background: transparent; color: var(--espresso) !important; }
.btn.quiet:hover { background: var(--blush); }
.btn.on-dark { background: var(--rose); border-color: var(--rose); color: var(--espresso) !important; }
.btn.on-dark:hover { background: var(--blush); border-color: var(--blush); }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.site-nav .btn { min-height: 40px; padding: 0 18px; font-size: 15px; }

section { padding: 88px 0; }
.intro { font-size: 19px; color: var(--muted); }

/* Forms (shared by the landing page and the audit page) */
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--rule);
  background: var(--paper); color: var(--espresso); font: inherit; font-size: 16px; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--rose); outline-offset: 1px; border-color: var(--clay); }
.hint { font-size: 14px; color: var(--muted); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.6em; margin: 14px 0 0; font-weight: 600; }
.form-status[data-state="ok"] { color: #2F6B4A; }
.form-status[data-state="error"] { color: #9E3B2E; }

/* Footer */
.site-foot { border-top: 1px solid var(--rule); padding: 34px 0 48px; font-size: 14px; color: var(--muted); }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.site-foot p { margin: 0; }
.site-foot nav { display: flex; gap: 20px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
