:root {
  --kc-ground: #FFFCF7;
  --kc-primary: #A8552F;
  --kc-primary-active: #77391E;
  --kc-on-primary: #FFFFFF;
  --kc-secondary: #16213F;
  --kc-ink: #16213F;
  --kc-muted: #5A6580;
  --kc-disabled-bg: #EFE9DF;
  --kc-disabled-text: #8D8579;

  --kc-radius: 14px;
  --kc-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; }

html, body { height: 100%; }

body {
  background: var(--kc-ground);
  color: var(--kc-ink);
  font-family: var(--kc-font);
}

.page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 32px 16px;
  text-align: center;
}

.logo {
  font-size: clamp(2.25rem, 9vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo__kitchen { color: var(--kc-secondary); }
.logo__control { color: var(--kc-primary); }

.downloads {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 320px;
}

.download { display: flex; flex-direction: column; gap: 8px; }

.download__meta {
  font-size: 0.8125rem;
  color: var(--kc-muted);
  min-height: 1.2em;
}
.download__meta a { color: inherit; }

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 20px;
  border-radius: var(--kc-radius);
  color: var(--kc-on-primary);
  font: 600 16px/1 var(--kc-font);
  text-decoration: none;
  transition: transform 0.1s ease, background-color 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn:focus-visible {
  outline: 3px solid var(--kc-ink);
  outline-offset: 3px;
}

.btn--primary          { background: var(--kc-primary); }
.btn--primary:active   { background: var(--kc-primary-active); }
.btn--secondary        { background: var(--kc-secondary); }

.btn[aria-disabled="true"] {
  background: var(--kc-disabled-bg);
  color: var(--kc-disabled-text);
  pointer-events: none;
}

.note {
  max-width: 320px;
  font-size: 0.8125rem;
  color: var(--kc-muted);
}