.disclaimer summary {
  cursor: pointer;
  list-style: none;
}
.disclaimer[open] {
  margin-top: 1.2rem;
}
/* Layout grid for main sections */
.layout-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.left-col, .right-col {
  width: 100%;
}
.right-col {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
@media (min-width: 900px) {
  .layout-grid {
    flex-direction: row;
    gap: 2.2rem;
    align-items: flex-start;
  }
  .left-col {
    flex: 1 1 55%;
    max-width: 56%;
  }
  .right-col {
    flex: 1 1 45%;
    max-width: 44%;
  }
}

/* Scale section: prominent priority indicator */
.scale-section {
  background: var(--accent-subtle, rgba(242,140,40,0.08));
  border: 2px solid var(--accent);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.6rem;
  box-shadow: 0 2px 10px rgba(242,140,40,0.13);
}
.scale-section .section-title {
  font-size: 1rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* Scale row: label and select inline */
.scale-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.5rem;
}
.scale-row label {
  margin-bottom: 0;
  font-size: 1rem;
  flex: 0 0 auto;
}
.scale-row select {
  flex: 1 1 auto;
  min-width: 160px;
  max-width: 100%;
  font-size: 1.05rem;
  font-weight: 600;
}
.scale-selection {
  margin-bottom: 1.1rem;
}
/* Pain details styling */
.pain-details {
  margin-top: 0.7rem;
  margin-bottom: 0.7rem;
}

.pain-details .field-group {
  margin-bottom: 0.5rem;
}

#pain-location {
  width: 100%;
  border-radius: 999px;
  border: 1.5px solid var(--accent);
  background: var(--card);
  color: var(--text);
  padding: 0.45rem 0.9rem;
  font-size: 1rem;
  margin-top: 0.15rem;
  margin-bottom: 0.1rem;
  outline: none;
  transition: border-color 0.2s;
}
#pain-location:focus {
  border-color: #f28c28;
  box-shadow: 0 0 0 1px rgba(242,140,40,0.28);
}

.pain-character-row {
  display: flex;
  gap: clamp(0.35rem, 1vw, 0.6rem);
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  margin-top: 0.15rem;
}

.pain-location-base-row,
.pain-location-modifier-row {
  display: flex;
  gap: clamp(0.35rem, 1vw, 0.6rem);
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
}
.pain-location-base-row {
  margin-top: 0.15rem;
}
.pain-location-modifier-row {
  margin-top: 0.35rem;
}

.pain-character-pill, .pain-location-pill, .radio-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  min-height: 2.3rem;
  border-radius: 999px;
  border: 2.5px solid var(--accent);
  background: #2f1c0f;
  text-align: center;
  padding: 0.35rem 1.1rem;
  font-size: 1rem;
  cursor: pointer;
  color: var(--text);
  font-weight: 600;
  margin: 0;
  box-shadow: 0 1px 4px rgba(242,140,40,0.12);
  transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s;
  outline: none;
}
.pain-character-pill.active, .pain-location-pill.active, .radio-pill.active {
  background: var(--accent);
  border-color: #a3540d;
  color: #1a1008;
  box-shadow: 0 0 0 2px rgba(242,140,40,0.34);
  z-index: 1;
}
.pain-character-pill:focus, .pain-location-pill:focus, .radio-pill:focus {
  border-color: #f28c28;
  box-shadow: 0 0 0 2px rgba(242,140,40,0.34);
}
.field-helper {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
  margin-top: -0.2rem;
}
a.disclaimer {
  background: var(--card);
  border-radius: var(--radius);
  border: 2px solid var(--accent);
  color: var(--muted);
  font-style: italic;
  font-size: 0.95em;
  margin-top: 2em;
  padding: 1.1em 1.2em 1.1em 1.2em;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  text-align: left;
}
.disclaimer strong {
  color: var(--accent);
  font-style: normal;
  font-size: 1.08em;
  display: block;
  margin-bottom: 0.5em;
}
.disclaimer ul {
  margin: 0.5em 0 0.5em 1.5em;
  padding-left: 1.2em;
}
.disclaimer li {
  margin-bottom: 0.3em;
  font-style: italic;
}
:root {
  --brand-navy: #11243a;
  --brand-teal: #f28c28;
  --brand-green: #c96b12;
  --bg: #1b130a;
  --card: #1f1308;
  --accent: var(--brand-teal);
  --accent-soft: rgba(242,140,40,0.18);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --danger: #f97373;
  --border: #8b5a2b;
  --radius: 0.75rem;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 1rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  justify-content: center;
}
.logo {
  display: block;
  margin: 0 auto 0.5rem auto;
  max-width: 150px;
}
.logo-small {
  max-width: 140px;
}
.app {
  width: 100%;
  max-width: 720px;
}
h1 {
  margin: 0.5rem 0 0.4rem 0;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}
.tagline {
  margin: 0 0 0.7rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.subheading {
  font-size: 1.01rem;
  color: var(--muted);
  margin-bottom: 0.7rem;
  margin-top: 0.1rem;
  font-weight: 500;
}
.helper-text {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 1.2rem 0 0.2rem 0;
  text-align: center;
}
.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 2px solid var(--accent);
  padding: 1rem;
  box-shadow: 0 18px 40px rgba(0,0,0,0.06);
  backdrop-filter: blur(12px);
}
.section-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
label {
  display: block;
  font-size: 1.08rem;
  margin-bottom: 0.25rem;
}
select, input[type="number"], button, textarea {
  font-family: inherit;
  font-size: 1.2rem;
}
select, input[type="number"] {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  color: var(--text);
  outline: none;
}
select:focus, input[type="number"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(242,140,40,0.44);
}
.scale-fields {
  margin-top: 0.75rem;
  border-radius: 0.75rem;
  border: 2px solid var(--accent);
  background: var(--card);
  padding: 0.85rem;
}
.scale-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.4rem;
  gap: 0.5rem;
}
.scale-name {
  font-size: 0.95rem;
  font-weight: 600;
}
.scale-hint {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.35;
}

.scale-hint .hint-link-row {
  display: block;
  margin-bottom: 0.28rem;
  text-align: center;
}

.scale-hint .hint-link-pill {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: rgba(242,140,40,0.18);
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.scale-hint .hint-link-pill:hover,
.scale-hint .hint-link-pill:focus {
  background: rgba(242,140,40,0.26);
  color: #1a1008;
}

.scale-hint .hint-population {
  display: block;
  font-style: italic;
  margin-bottom: 0.3rem;
  opacity: 0.75;
}
.scale-hint .hint-detail {
  display: block;
}
.grid {
  display: grid;
  gap: 0.5rem;
}
.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.field-group {
  background: var(--card);
  border-radius: 0.6rem;
  border: 2px solid var(--accent);
  padding: 0.5rem 0.55rem 0.55rem;
}
.field-label {
  font-size: 1rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.nrs-slider-wrap {
  display: flex;
  align-items: center;
  gap: 0.7em;
}

.nrs-score-input {
  flex: 1;
  accent-color: var(--accent);
}

.nrs-slider-marks {
  display: flex;
  justify-content: space-between;
  margin-top: 0.25rem;
  font-size: 0.92rem;
  color: var(--muted);
  padding: 0 0.2rem;
}

.nrs-score-value {
  margin: 0.45rem auto 0.1rem;
  min-width: 3rem;
  width: fit-content;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: #1a1008;
  background: var(--accent);
  border: 2px solid #a3540d;
  border-radius: 999px;
  padding: 0.16rem 0.7rem;
  box-shadow: 0 0 0 2px rgba(242,140,40,0.2);
}

body.day .nrs-score-value {
  color: #1a1008;
}

.nrs-score-input::-webkit-slider-runnable-track {
  height: 0.34rem;
  border-radius: 999px;
  background: rgba(242,140,40,0.3);
}

.nrs-score-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  margin-top: -0.34rem;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: var(--accent);
  border: 2px solid #a3540d;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.nrs-score-input::-moz-range-track {
  height: 0.34rem;
  border-radius: 999px;
  background: rgba(242,140,40,0.3);
}

.nrs-score-input::-moz-range-thumb {
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: var(--accent);
  border: 2px solid #a3540d;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.faces-row {
  display: flex;
  gap: clamp(0.35rem, 1vw, 0.6rem);
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
}
.face-option {
  flex: 1 1 120px;
  min-width: 120px;
  min-height: 3.1rem;
  border-radius: 999px;
  padding: 0.4rem 0.48rem;
  border: 2px solid var(--accent);
  background: #201307;
  font-size: 0.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.14rem;
  cursor: pointer;
  color: var(--text);
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(242,140,40,0.12);
  transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.face-option strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.05;
}
.face-option span {
  display: block;
  font-size: 0.72rem;
  line-height: 1.2;
}
.face-option.active {
  background: var(--accent);
  border-color: #a3540d;
  color: #1a1008;
  box-shadow: 0 0 0 2px rgba(242,140,40,0.34);
}
.face-option.active strong {
  color: #1a1008;
}
.radio-row {
  display: flex;
  gap: clamp(0.35rem, 1vw, 0.55rem);
  margin-top: 0.25rem;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  align-content: center;
}
.radio-pill {
  flex: 1 1 120px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  background: #201307;
  text-align: center;
  padding: 0.25rem 0.2rem;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--text);
  font-weight: 600;
}

.scale-fields .pain-character-pill,
.scale-fields .pain-location-pill,
.scale-fields .radio-pill {
  margin: 0;
}

.pain-character-freeform {
  flex: 2 1 190px;
  min-width: 160px;
  border-radius: 999px;
  border: 1.5px solid var(--accent);
  background: var(--card);
  color: var(--text);
  padding: 0.45rem 0.9rem;
  font-size: 1rem;
  outline: none;
}

.pain-character-freeform:focus {
  border-color: #f28c28;
  box-shadow: 0 0 0 1px rgba(242,140,40,0.28);
}

.scale-fields .field-group > .radio-row {
  justify-content: center;
}
.radio-pill span {
  display: block;
  font-size: 0.75rem;
}
.radio-pill.active {
  background: var(--accent);
  border-color: #a3540d;
  color: #1a1008;
}
.radio-pill strong {
  display: block;
  font-size: 0.85rem;
}

/* Scoring pills (FLACC/PAINAD): separate score from description for readability */
.radio-pill[data-field] {
  min-height: 3.1rem;
  padding: 0.4rem 0.48rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.14rem;
  line-height: 1.2;
}

.radio-pill[data-field] strong {
  font-size: 0.92rem;
  line-height: 1.05;
  margin-bottom: 0;
  letter-spacing: 0.01em;
}

.radio-pill[data-field] span {
  font-size: 0.72rem;
  line-height: 1.2;
}
.score-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0.75rem;
  padding-top: 0.55rem;
  border-top: 2px solid var(--accent);
  gap: 0.5rem;
  flex-wrap: wrap;
  text-align: center;
}
.score-main {
  font-size: 1.1rem;
  font-weight: 700;
}
.score-band {
  font-size: 1rem;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  border: 2px solid var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}
.band-none { color: #4ade80; border-color: rgba(16,185,129,0.6); }
.band-mild { color: #a3e635; border-color: rgba(132,204,22,0.6); }
.band-moderate { color: #f97316; border-color: rgba(249,115,22,0.7); }
.band-severe { color: #fb7185; border-color: rgba(239,68,68,0.8); }
.narrative {
  margin-top: 0;
}
.narrative textarea {
  width: 100%;
  min-height: 7em;
  max-height: 18em;
  border-radius: 0.7rem;
  border: 2px solid var(--accent-soft);
  background: #26170c;
  color: var(--text);
  padding: 0.7rem 0.8rem;
  resize: vertical;
  font-size: 1.15rem;
  box-shadow: 0 2px 12px rgba(242,140,40,0.08);
  transition: border-color 0.18s, background 0.18s;
}
.narrative textarea:focus {
  border-color: var(--accent);
  background: #311d0e;
}

.pain-management-section {
  margin: 0;
  padding: 1.1rem 1.2rem 0.7rem 1.2rem;
  background: var(--card);
  border: 2px solid var(--accent-soft);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.pain-management-title {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.7rem;
}

.pm-group-spaced {
  margin-top: 0.25rem;
}

.pm-textarea {
  width: 100%;
  margin-top: 0.15rem;
  margin-bottom: 0.1rem;
  border-radius: 0.7rem;
  border: 1.5px solid var(--accent);
  background: var(--card);
  color: var(--text);
  padding: 0.55rem 0.7rem;
  font-size: 1rem;
  min-height: 3.2rem;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pm-textarea:focus {
  border-color: #f28c28;
  box-shadow: 0 0 0 1px rgba(242,140,40,0.28);
}

.pm-textarea::placeholder {
  color: var(--muted);
  opacity: 0.9;
}

/* Responsive font size for form elements */
@media (max-width: 600px) {
  label,
  select, input[type="number"], button, textarea,
  .narrative textarea {
    font-size: 1rem;
  }
}
.actions {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0.55rem;
  gap: clamp(0.45rem, 1vw, 0.7rem);
  flex-wrap: wrap;
}
.actions .status {
  flex-basis: 100%;
  text-align: center;
}
.btn {
  border-radius: 999px;
  border: none;
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg,var(--brand-teal),var(--brand-green));
  color: #1a1008;
  font-weight: 600;
}
.btn-secondary {
  background: rgba(44,27,13,0.9);
  color: var(--muted);
  border: 1px solid var(--border);
}
.btn-danger {
  background: #b91c1c;
  color: #ffffff;
  border: 1px solid #7f1d1d;
  font-weight: 700;
}
.btn-danger:hover,
.btn-danger:focus {
  background: #991b1b;
  color: #ffffff;
}
.btn-reset {
  display: block;
  margin: 0.7rem auto 0;
}
.card-reset-zone {
  margin-top: 1.4rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
}
.btn-reset-small {
  font-size: 0.8rem;
  padding: 0.38rem 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  opacity: 0.92;
}
.btn-reset-small:hover,
.btn-reset-small:focus {
  opacity: 1;
}

/* ── Custom Confirmation Modal ────────────────────────────── */
.confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}
.confirm-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.confirm-modal {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.8rem 1.5rem;
  max-width: 22rem;
  width: calc(100% - 2.4rem);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(242,140,40,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  transform: translateY(-12px) scale(0.97);
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), opacity 0.18s ease;
}
.confirm-overlay.active .confirm-modal {
  transform: translateY(0) scale(1);
}
.confirm-modal-icon {
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 0.15rem;
}
.confirm-modal-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin: 0;
}
.confirm-modal-message {
  font-size: 0.84rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.55;
  margin: 0 0 0.4rem;
}
.confirm-modal-actions {
  display: flex;
  gap: 0.65rem;
  width: 100%;
  margin-top: 0.2rem;
}
.confirm-modal-actions .btn {
  flex: 1;
  justify-content: center;
  font-size: 0.88rem;
}
.confirm-modal-actions a.btn {
  text-decoration: none;
}
body.day .confirm-modal {
  background: #fff;
  box-shadow: 0 20px 48px rgba(0,0,0,0.18), 0 0 0 1px rgba(242,140,40,0.18);
}
/* ─────────────────────────────────────────────────────────── */
#record-assessment-btn {
  flex-basis: 100%;
  width: fit-content;
  margin: 0.7rem auto 0;
  text-align: center;
  justify-content: center;
  position: relative;
}
.action-helper {
  flex-basis: 100%;
  margin-top: -0.1rem;
  text-align: center;
  font-size: 0.74rem;
  color: var(--muted);
}
.status {
  font-size: 0.8rem;
  color: var(--muted);
}
.status.ok {
  color: #4ade80;
}
.status.err {
  color: var(--danger);
}
footer {
  margin-top: 0.9rem;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}
.btn-toggle {
  background: #fff;
  color: #000;
  border: 1px solid #000;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  margin-left: 0.5rem;
  transition: background 0.2s, color 0.2s;
}
.control-bar {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  z-index: 20;
}
body.night .btn-toggle {
  background: #000;
  color: #fff;
  border: 1px solid #fff;
}

body.day {
  --bg: #f5f6f8;
  --card: #ffffff;
  --accent: #f28c28;
  --accent-soft: rgba(242,140,40,0.12);
  --text: #0f172a;
  --muted: #334155;
  --danger: #b91c1c;
  --border: #7c4a1f;
}
body.night {
  --bg: #1b130a;
  --card: #1f1308;
  --accent: #f28c28;
  --accent-soft: rgba(242,140,40,0.18);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --danger: #f97373;
  --border: #8b5a2b;
}

/* Day header tweaks for contrast and separation */
body.day header {
  background: #2a1808;
  color: #f9fafb;
  box-shadow: 0 3px 10px rgba(139,90,43,0.35);
}

/* Card and sections in day mode: stronger outline and spacing */
body.day .card {
  border: 2px solid #9a5c26;
  background: #ffffff;
}

body.day .scale-fields,
body.day .pain-management-section,
body.day .field-group {
  background: #ffffff;
  border: 2px solid #9a5c26;
}

/* Pills and buttons in day mode: clearer outlines */
body.day .pain-character-pill,
body.day .pain-location-pill,
body.day .radio-pill {
  background: #fff4e8;
  border: 2px solid #8a5526;
  color: #1f2937;
}

body.day .pain-character-pill.active,
body.day .pain-location-pill.active,
body.day .radio-pill.active {
  background: #f28c28;
  border-color: #a3540d;
  color: #1a1008;
}

body.day .btn-primary {
  background: linear-gradient(135deg,var(--brand-teal),var(--brand-green));
  color: #f9fafb;
  border: 2px solid #7a430f;
}

body.day .btn-secondary {
  background: #fff4e8;
  color: #422006;
  border: 2px solid #8a5526;
}

body.day .btn-toggle {
  background: #ffffff;
  color: #111827;
  border: 2px solid #374151;
}

body.day input,
body.day select,
body.day textarea {
  color: #111827;
  border-color: #8a5526;
}

/* Narrative textarea day styling */
body.day .narrative textarea {
  background: #fff8f1;
  border-color: #e0aa74;
  color: #111827;
}

/* Improve overall spacing in day view on small screens */
@media (max-width: 600px) {
  body.day .card {
    padding: 0.9rem;
  }
  body.day header {
    padding-top: 1.8rem;
    padding-bottom: 0.9rem;
  }
}

@media (max-width: 480px) {
  body { padding: 0.5rem; }
  .card { padding: 0.8rem; }
  .faces-row { gap: 0.3rem; }
  .grid-2 { grid-template-columns: 1fr; }
  h1 { font-size: 1.2rem; }
  .tagline { font-size: 0.8rem; }
}

@media (min-width: 481px) and (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; }
}

@media (min-width: 769px) {
  .app { max-width: 800px; }
}

a {
  color: var(--accent);
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--brand-green);
}

header {
  background: #2a1808;
  width: 100vw;
  margin-left: calc(-1 * ((100vw - 100%) / 2));
  padding: 2.2rem 0 1.1rem 0;
  text-align: center;
  position: relative;
  min-height: 180px;
}
header {
  color: #fff;
}
header .tagline,
header h1 {
  color: #fff;
}
