/* =============================================================
   OneDayWebsites — Design tokens, resets, base typography
   Tokens mirror the Claude Design source of truth.
   ============================================================= */

:root {
  /* ---- Color ---- */
  --c-forest:        #2D4A3E;
  --c-forest-hover:  #213830;
  --c-forest-soft:   #E1E9E2;
  --c-clay:          #C8633F;
  --c-clay-hover:    #B0532F;
  --c-clay-soft:     #F4DDD0;

  --c-cream:         #F5F1EA;
  --c-paper:         #FBF9F5;
  --c-white:         #FFFFFF;

  --c-ink:           #1A1F1C;
  --c-slate:         #4A524C;
  --c-muted:         #8B8F87;
  --c-line:          #E5E0D5;
  --c-line-strong:   #D6CFBE;

  --c-success:       #5A8A5D;
  --c-warning:       #C9A24A;

  /* ---- Type ---- */
  --f-display: 'Instrument Serif', 'Source Serif 4', Georgia, serif;
  --f-sans:    'Geist', 'Söhne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --f-mono:    'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Desktop type scale */
  --t-d-h1: 64px;
  --t-d-h2: 56px;
  --t-d-h3: 24px;
  --t-d-body: 17px;
  --t-d-small: 14px;
  --t-d-label: 13px;

  /* Mobile type scale (overridden via @media below where used) */
  --t-m-h1: 40px;
  --t-m-h2: 32px;
  --t-m-h3: 20px;
  --t-m-body: 16px;
  --t-m-small: 14px;
  --t-m-label: 12px;

  /* ---- Spacing (8-pt base) ---- */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* ---- Radius / shadow ---- */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 18px;
  --r-pill: 999px;

  --shadow-1: 0 1px 2px rgba(26, 31, 28, .05), 0 1px 0 rgba(26, 31, 28, .03);
  --shadow-2: 0 4px 14px rgba(26, 31, 28, .06), 0 1px 2px rgba(26, 31, 28, .04);
  --shadow-3: 0 14px 40px rgba(26, 31, 28, .10), 0 2px 6px rgba(26, 31, 28, .04);

  /* ---- Layout ---- */
  --container: 1200px;
}

/* =============================================================
   Resets
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--c-cream);
  color: var(--c-ink);
  font-family: var(--f-sans);
  font-size: var(--t-d-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote {
  margin: 0;
  padding: 0;
  font-weight: inherit;
}

ul, ol { list-style: none; }

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

img, svg { display: block; max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--c-forest);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Screen-reader-only utility */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* =============================================================
   Layout primitives
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--s-5);
  padding-right: var(--s-5);
}

@media (min-width: 768px) {
  .container { padding-left: var(--s-7); padding-right: var(--s-7); }
}

/* =============================================================
   Type helpers
   ============================================================= */
.eyebrow {
  font: 500 12px/1 var(--f-sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-clay);
  font-weight: 500;
}

.muted { color: var(--c-muted); }

.serif {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
}

.display {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--c-ink);
}

.mono {
  font-family: var(--f-mono);
}
