/* ChefLab web — same bench as the iOS app: SF Rounded, warm black, copper. */
:root {
  --brass: #c7661f;
  --brass-dim: rgba(199, 102, 31, 0.16);
  --ink: #ebe8e0;
  --bg: #040403;
  --bg-elevated: #0e0d0b;
  --text: rgba(255, 255, 255, 0.94);
  --text-secondary: rgba(255, 255, 255, 0.78);
  --text-tertiary: rgba(255, 255, 255, 0.52);
  --hairline: rgba(255, 255, 255, 0.1);
  --glass: rgba(255, 255, 255, 0.04);
  --radius: 14px;
  --max: 40rem;
  --font: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", -apple-system,
    BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

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

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent 42%),
    radial-gradient(900px 420px at 50% -12%, rgba(199, 102, 31, 0.12), transparent 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brass);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.25rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--hairline);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.52rem;
  display: block;
  object-fit: cover;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.brand-name {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.nav {
  display: flex;
  gap: 1.1rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

.nav a {
  color: var(--text-tertiary);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--brass);
  text-decoration: none;
}

.hero {
  margin-bottom: 1.75rem;
}

.hero h1,
article h1 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}

.lede {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.45;
  max-width: 34rem;
}

.lede em {
  color: var(--ink);
  font-style: normal;
  font-weight: 500;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.25rem 0 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brass);
  background: var(--brass-dim);
  padding: 0.32rem 0.6rem 0.32rem 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(199, 102, 31, 0.22);
}

.pill-icon {
  width: 0.85rem;
  height: 0.85rem;
  flex-shrink: 0;
  color: var(--brass);
}

.pill-plain {
  padding-inline: 0.6rem;
}

.section-label {
  margin: 2rem 0 0.65rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.card {
  background: linear-gradient(180deg, var(--bg-elevated), rgba(14, 13, 11, 0.82));
  border: 0.75px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin: 0 0 0.75rem;
}

.card h2 {
  margin: 0 0 0.3rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.feature-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.feature-head h2 {
  margin: 0;
  flex: 1;
  min-width: 0;
}

.lab-glyph {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 0.74rem;
  background: var(--brass-dim);
  border: 1px solid rgba(199, 102, 31, 0.35);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  color: var(--brass);
}

.lab-glyph svg,
.pill-icon {
  display: block;
}

.lab-glyph svg {
  width: 1rem;
  height: 1rem;
}

.card a.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  padding: 0.7rem 1.05rem;
  min-height: 2.75rem;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--brass), rgba(199, 102, 31, 0.82));
  color: var(--bg);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.45);
}

.card a.action:hover {
  filter: brightness(1.06);
  text-decoration: none;
}

.card a.secondary {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

.feature .aside {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  font-style: normal;
}

.note {
  margin: 1.5rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  border: 1px dashed rgba(199, 102, 31, 0.35);
  background: var(--brass-dim);
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.note strong {
  color: var(--ink);
  font-weight: 600;
}

.meta {
  color: var(--text-tertiary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0 0 1.5rem;
}

article h2 {
  margin: 2rem 0 0.55rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}

article p,
article li {
  color: var(--text-secondary);
}

article ul {
  padding-left: 1.2rem;
  margin: 0.4rem 0 0;
}

article li {
  margin: 0.35rem 0;
}

.site-footer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline);
  color: var(--text-tertiary);
  font-size: 0.75rem;
}

.site-footer p {
  margin: 0.35rem 0;
}
