:root {
  color-scheme: light dark;
  --background: #fff9f6;
  --surface: #fff;
  --element: #f4f3f1;
  --text: #252a32;
  --muted: #6d727a;
  --accent: #c7443e;
  --on-accent: #fff;
  --tint: #fce9e5;
  --line: #e7e5e2;
  --danger: #a23435;
  --danger-tint: #fbe9e7;
  --success: #236b58;
  --success-tint: #e7f3ed;
  font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--background);
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: #151a20;
    --surface: #1b1f26;
    --element: #23272f;
    --text: #f3f2f0;
    --muted: #b0b3bc;
    --accent: #ff867b;
    --on-accent: #27171a;
    --tint: #3d292c;
    --line: #333740;
    --danger: #ffb2ac;
    --danger-tint: #492c2a;
    --success: #b4d8bc;
    --success-tint: #294331;
  }
}
* { box-sizing: border-box; }
body { margin: 0; }
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px max(24px, calc((100vw - 1200px) / 2));
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
header a { font-size: 29px; font-weight: 800; letter-spacing: -1.2px; color: var(--text); text-decoration: none; }
header span { display: block; font-size: 13px; line-height: 19px; letter-spacing: 0; font-weight: 400; color: var(--muted); }
main { max-width: 1200px; padding: 32px 24px; margin: auto; }
h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 800; letter-spacing: -1.1px; line-height: 1.2; }
h2 { font-size: 26px; line-height: 32px; letter-spacing: -.8px; }
h3 { font-size: 19px; line-height: 26px; letter-spacing: -.3px; }
p { line-height: 1.6; }
.eyebrow { font-size: 11px; line-height: 16px; letter-spacing: 1px; font-weight: 700; color: var(--accent); }
nav { display: flex; gap: 8px; flex-wrap: wrap; padding: 16px 0; }
nav a { padding: 12px 16px; background: var(--element); border-radius: 100px; text-decoration: none; font-size: 14px; font-weight: 600; }
a { color: var(--accent); }
section { padding: 32px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 20px; }
article { padding: 24px; background: var(--surface); border-left: 3px solid var(--accent); margin: 16px 0; border-radius: 0 14px 14px 0; }
form { display: flex; flex-direction: column; gap: 16px; max-width: 560px; padding: 16px 0; }
label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
input, select, textarea { font: inherit; color: inherit; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--element); width: 100%; }
input:focus, select:focus, textarea:focus { background: var(--surface); border-color: var(--accent); }
textarea { min-height: 120px; }
button { font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; background: var(--accent); color: var(--on-accent); border: 0; border-radius: 14px; min-height: 48px; padding: 12px 20px; align-self: flex-start; }
button:hover { opacity: .85; }
button:active { opacity: .7; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
td, th { text-align: left; vertical-align: top; padding: 16px 12px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); }
.scroll { overflow: auto; }
details { padding: 12px 0; }
summary { cursor: pointer; min-height: 40px; }
.columns { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.success { background: var(--success-tint); padding: 16px; color: var(--success); border-radius: 14px; }
.error { background: var(--danger-tint); padding: 16px; color: var(--danger); border-radius: 14px; }
.login { max-width: 500px; margin: 24px auto; }
.login form { padding-top: 24px; }
.password-group { display: flex; flex-direction: column; gap: 8px; }
.password-field { position: relative; }
.password-field input { min-height: 56px; padding-right: 108px; }
.password-toggle { position: absolute; right: 4px; top: 4px; bottom: 4px; min-height: 48px; min-width: 88px; padding: 8px; background: transparent; color: var(--accent); }
blockquote { margin: 12px 0; padding: 16px; background: var(--element); border-left: 2px solid var(--accent); }
svg { width: 20px; }
nav[role=navigation] { display: block; }
nav[role=navigation] span, nav[role=navigation] a { padding: 4px; }
@media (max-width: 700px) {
  .columns { grid-template-columns: 1fr; }
  main { padding: 24px 16px; }
  header { padding: 16px 20px; }
  td, th { padding: 12px 8px; }
}
