:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #29232e;
  background: #fff8f2;
  line-height: 1.65;
  --paper: #fff8f2;
  --ink: #29232e;
  --ember: #c94f32;
  --ember-dark: #b4432a;
  --apricot: #ffb38c;
  --muted: #6f6470;
  --line: #e6d8cf;
  --soft: #fff0e7;
}

* { box-sizing: border-box; }

body { margin: 0; background: var(--paper); }

a { color: var(--ember-dark); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.site-header,
.site-footer,
.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 176px; height: auto; }

nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
nav a { color: var(--ink); font-weight: 650; text-decoration: none; }
nav a[aria-current="page"] { color: var(--ember-dark); text-decoration: underline; }

.shell { padding-block: 56px 72px; }
.narrow { max-width: 780px; }

h1, h2, h3 { line-height: 1.16; }
h1 { max-width: 820px; margin: 10px 0 18px; font-size: clamp(2.4rem, 7vw, 5.3rem); letter-spacing: -.055em; }
h2 { margin-top: 40px; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.025em; }
h3 { font-size: 1.1rem; }
p, ul { margin-block: 12px; }
li + li { margin-top: 8px; }

.eyebrow {
  color: var(--ember-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.lede { max-width: 720px; color: #4f4651; font-size: clamp(1.1rem, 2vw, 1.35rem); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-block;
  padding: 11px 18px;
  border: 2px solid var(--ember);
  border-radius: 999px;
  background: var(--ember);
  color: white;
  font-weight: 750;
  text-decoration: none;
}
.button:hover { background: var(--ember-dark); border-color: var(--ember-dark); }
.button.secondary { background: transparent; color: var(--ink); border-color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.card { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.card h2, .card h3 { margin-top: 0; }

.note {
  margin-block: 28px;
  padding: 16px 18px;
  border-left: 4px solid var(--ember);
  background: var(--soft);
}

.meta { color: var(--muted); }
.small { font-size: .9rem; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
}
.site-footer p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }

.demo-notice {
  width: min(1120px, calc(100% - 40px));
  margin: 30px auto 0;
  padding: 16px 18px;
  border: 1px solid #e6a98d;
  border-radius: 14px;
  background: var(--soft);
}

.job-shell { width: min(760px, calc(100% - 40px)); }
.job-card { padding: clamp(24px, 5vw, 48px); border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 18px 50px rgba(41, 35, 46, .07); }
.job-card h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
.job-card h2 { font-size: 1.3rem; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--ember-dark); font-size: .75rem; font-weight: 800; letter-spacing: .09em; }

code { overflow-wrap: anywhere; }

@media (max-width: 760px) {
  .site-header, .site-footer { align-items: flex-start; flex-direction: column; }
  .grid { grid-template-columns: 1fr; }
  .shell { padding-block: 38px 56px; }
}

@media (prefers-reduced-motion: no-preference) {
  .button { transition: background-color 120ms ease, border-color 120ms ease; }
}

@media (forced-colors: active) {
  .button, .card, .job-card, .demo-notice { border: 1px solid CanvasText; }
}
