@font-face {
  font-family: 'PP Agrandir';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/pp-agrandir-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'PP Agrandir';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/pp-agrandir-medium.woff2') format('woff2');
}

@font-face {
  font-family: 'PP Agrandir Wide';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/pp-agrandir-wide-medium.woff2') format('woff2');
}

:root {
  --font-body:
    'PP Agrandir', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial,
    sans-serif;
  --font-display: 'PP Agrandir Wide', var(--font-body);

  --brand-cream: #f4f3ee;
  --brand-white: #fff;
  --brand-surface: #fafafa;
  --brand-ink: #313130;
  --brand-ink-strong: #242323;
  --brand-muted: #6f6e6b;
  --brand-grey: #92928f;
  --brand-orange: #f17208;
  --brand-purple: #9934fe;
  --brand-green: #49a084;
  --brand-green-bright: #5ac38b;
  --brand-green-soft: rgba(73, 160, 132, 0.25);
  --band-dark: #18352c;
  --band-teal: #264a43;
  --brand-forest: #334e54;
  --brand-slate: #324158;
  --panel-bg: rgba(232, 230, 230, 0.47);
  --placeholder: linear-gradient(135deg, #eceae1, #dcd9cd);
  --shadow-card: 0 12px 28px rgba(49, 49, 48, 0.12);
  --scrim: rgba(0, 0, 0, 0.3);

  --container-width: 980px;
  --band-padding: 1.5rem;
  --radius-card: 10px;
  --radius-input: 5px;
  --radius-pill: 999px;
  --transition: 0.2s ease;
  --focus-ring: 3px solid var(--brand-purple);
  --focus-offset: 2px;

  --accent: var(--brand-cream);
}

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

html {
  scrollbar-color: var(--brand-grey) var(--brand-surface);
  scrollbar-width: thin;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--brand-cream);
  color: var(--brand-ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.content {
  flex: 1;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
}

img {
  max-width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--band-padding);
}

:where(a, button, select, [tabindex]):focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}
