/* ==========================================================
   NUCTAW WEBSITE STYLES
   One stylesheet shared by every page of the website.

   HOW TO CHANGE THE COLOURS:
   Edit the values in the ":root" block below. Every page uses
   these names, so one change updates the whole website.

   Colours are taken from the blue, red and black used in the
   logo on NUCTAW's profile letterhead.
   ========================================================== */

:root {
  --navy: #14234F;         /* header bar, hero and footer */
  --blue: #3F5AB5;         /* main brand blue (from the letterhead logo) */
  --blue-dark: #2E4590;    /* blue for hover */
  --blue-light: #EEF1FA;   /* light blue section background */
  --red: #C00000;          /* accent red (from the letterhead logo) */
  --red-dark: #9A0000;
  --text: #15171C;         /* main text colour */
  --text-muted: #4A5060;   /* softer text */
  --white: #FFFFFF;
  --border: #D5DAE8;
  --warning-bg: #FFF5E0;
  --warning-border: #D98E04;
  --warning-text: #6B4500;
  --whatsapp: #128C4A;     /* darker WhatsApp green so white text is readable */

  --radius: 8px;
  --max-width: 1120px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 0.75rem;
}
h2 { font-size: 1.65rem; color: var(--navy); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1rem; }

a { color: var(--blue); }
a:hover { color: var(--blue-dark); }

/* Clear outline when moving through the page with the keyboard */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

/* Centres content and keeps a 16px gap at the screen edges */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* Hidden link that appears when keyboard users press Tab */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--red);
  color: var(--white);
  padding: 8px 16px;
  z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; color: var(--white); }

/* ==========================================================
   HEADER AND MENU
   ========================================================== */
.site-header {
  background: var(--white);
  border-bottom: 4px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
}

/* Logo size. Change 52px to make the logo bigger or smaller. */
.logo-img {
  height: 57px;
  width: auto;
  flex: none;
}

.brand-text strong {
  display: block;
  font-family: "Arial Black", "Arial Bold", Gadget, Arial, sans-serif; /* NUCTAW wordmark font */
  font-weight: 900;
  font-size: 1.35rem;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.brand-text small {
  display: block;
  font-size: 0.72rem;
  line-height: 1.3;
  color: var(--text-muted);
}

/* Hamburger button (phones and tablets) */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

/* The three lines of the hamburger icon */
.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  position: relative;
  transition: transform 0.2s;
}
.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-icon::before { top: -6px; }
.menu-icon::after  { top: 6px; }

/* Hamburger becomes an X when the menu is open */
.menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after  { transform: translateY(-6px) rotate(-45deg); }

/* Phone menu: hidden until the button is pressed */
.main-nav {
  display: none;
  width: 100%;
}
.main-nav.is-open { display: block; }

.main-nav ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}
.main-nav a {
  display: block;
  padding: 12px 8px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  border-top: 1px solid var(--border);
}
.main-nav a:hover { color: var(--blue); background: var(--blue-light); }

/* The page you are on (set by script.js) */
.main-nav a.active {
  color: var(--blue);
  box-shadow: inset 4px 0 0 var(--red);
}

/* ==========================================================
   BUTTONS AND LINKS
   ========================================================== */
.btn {
  display: inline-block;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); color: var(--white); }

.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-dark); color: var(--white); }

.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue-light); }

.btn-outline-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }

.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--blue-light); color: var(--navy); }

.btn-whatsapp { background: var(--whatsapp); color: var(--white); }
.btn-whatsapp:hover { background: #0E6E3A; color: var(--white); }

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.25rem;
}

.text-link { font-weight: 700; }
.center { text-align: center; margin-top: 2rem; }

/* ==========================================================
   HERO
   Background photo: save a Canva image as images/hero.jpg
   If the file is missing, only the navy colour shows.
   ========================================================== */
.hero {
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(20, 35, 79, 0.9), rgba(20, 35, 79, 0.9)),
    url("images/hero.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 56px 0 64px;
  border-bottom: 6px solid var(--red);
}

.eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #C9D3F5;
}

.hero h1 {
  font-size: 2rem;
  max-width: 22ch;
}
.hero h1 .accent { color: #FF8A8A; }

.hero-text {
  font-size: 1.08rem;
  max-width: 62ch;
  color: #E3E8F7;
}

/* ==========================================================
   SECTIONS
   ========================================================== */
.section { padding: 56px 0; }
.section-tint { background: var(--blue-light); }

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.4rem;
}

.section-intro {
  color: var(--text-muted);
  max-width: 65ch;
}

/* About */
.about-split {
  display: grid;
  gap: 32px;
}

.section-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 0.5rem 0 1rem;
}

.fact-box {
  background: var(--blue-light);
  border: 1px solid var(--border);
  border-top: 5px solid var(--blue);
  border-radius: var(--radius);
  padding: 22px;
}
.fact-box dl { margin: 0; }
.fact-box dt {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.fact-box dd { margin: 0 0 12px; font-weight: 600; }
.fact-box dd:last-child { margin-bottom: 0; }

/* Service cards */
.card-grid {
  display: grid;
  gap: 16px;
  margin-top: 1.5rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.card p { margin: 0; color: var(--text-muted); }

.card-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue);
  margin-bottom: 12px;
}
.card-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* How the union is organised (governance structure) */
.structure-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 12px;
  counter-reset: level;
}
.structure-list li {
  counter-increment: level;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.structure-list li::before {
  content: counter(level);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
}
.structure-list h3 { margin-bottom: 4px; font-size: 1.05rem; }
.structure-list p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

/* Worker rights preview */
.rights-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 1rem;
  border-top: 2px solid var(--navy);
}
.rights-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.rights-list .law {
  display: block;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 4px;
}
.rights-list p { margin: 0; color: var(--text-muted); }

.small-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Vacancy cards */
.vacancy-grid {
  display: grid;
  gap: 16px;
  margin: 1.5rem 0 12px;
}
.vacancy-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 20px;
}
.vacancy-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Notices */
.notice {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
}
.notice p { margin: 0; }
.notice-warning {
  background: var(--warning-bg);
  border-color: var(--warning-border);
}

/* Label for details NUCTAW still needs to confirm */
.confirm {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.5;
  background: var(--warning-bg);
  color: var(--warning-text);
  border: 1px solid var(--warning-border);
  border-radius: 4px;
  padding: 0 6px;
  margin-left: 4px;
  vertical-align: middle;
}

/* Membership band (dark) */
.cta-band {
  display: grid;
  gap: 20px;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  border-left: 6px solid var(--red);
  padding: 32px 24px;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #E3E8F7; }
.cta-points {
  margin: 0;
  padding-left: 20px;
  color: #E3E8F7;
}
.cta-points li { margin-bottom: 6px; }

/* Application band */
.apply-band {
  display: grid;
  gap: 16px;
  align-items: center;
}
.apply-band p { color: var(--text-muted); max-width: 60ch; margin-bottom: 0; }

/* Contact */
.contact-grid {
  display: grid;
  gap: 16px;
  margin-top: 1rem;
}
.contact-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.contact-item h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-item p { margin: 0; font-weight: 600; word-break: break-word; }

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
  background: var(--navy);
  color: #DCE2F5;
  padding-top: 48px;
  border-top: 6px solid var(--red);
}
.footer-grid {
  display: grid;
  gap: 28px;
}
.footer-title {
  font-size: 1.05rem;
  color: var(--white);
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li { margin-bottom: 6px; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: #C9D3F5; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 32px;
  padding-top: 20px;
  padding-bottom: 90px; /* space for the floating WhatsApp button */
  font-size: 0.9rem;
}
.privacy { max-width: 75ch; }

/* ==========================================================
   FLOATING WHATSAPP BUTTON
   ========================================================== */
.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 60;
}
.whatsapp-float svg { width: 30px; height: 30px; fill: var(--white); }
.whatsapp-float:hover { background: #0E6E3A; }

/* ==========================================================
   TABLETS (768px and wider)
   ========================================================== */
@media (min-width: 768px) {
  .hero { padding: 80px 0 88px; }
  .hero h1 { font-size: 2.6rem; }

  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .structure-list { grid-template-columns: repeat(2, 1fr); }
  .vacancy-grid { grid-template-columns: repeat(2, 1fr); }
  .vacancy-grid .notice { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr; }
  .about-split { grid-template-columns: 3fr 2fr; align-items: start; }
  .cta-band { grid-template-columns: 1fr auto; padding: 40px; }
  .apply-band { grid-template-columns: 1fr auto; }
}

/* ==========================================================
   COMPUTERS (1024px and wider)
   Full menu in a row; hamburger hidden.
   ========================================================== */
@media (min-width: 1024px) {
  .menu-toggle { display: none; }

  .main-nav {
    display: block;
    width: auto;
  }
  .main-nav ul {
    display: flex;
    gap: 2px;
    margin: 0;
  }
  .main-nav a {
    border-top: none;
    padding: 8px 8px;
    font-size: 0.9rem;
    border-radius: 6px;
  }
  .main-nav a.active { box-shadow: inset 0 -3px 0 var(--red); }

  .hero h1 { font-size: 3rem; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .structure-list { grid-template-columns: repeat(5, 1fr); }
  .structure-list li { grid-template-columns: 1fr; }
  .vacancy-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Less motion for people who ask for it in their device settings */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ==========================================================
   INNER PAGES (About, Objectives, Services, Membership, Rights...)
   ========================================================== */

/* Smaller navy banner at the top of each inner page */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 44px 0 48px;
  border-bottom: 6px solid var(--red);
}
.page-hero h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.page-hero p { color: #E3E8F7; max-width: 62ch; margin: 0; }

/* "Home / About" trail above the page title */
.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  color: #C9D3F5;
}
.breadcrumb a { color: var(--white); }

/* Comfortable reading width for long text */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }

/* Page layout: main text plus a side box on large screens */
.page-split {
  display: grid;
  gap: 32px;
}

/* Numbered objectives */
.objectives-list {
  list-style: none;
  counter-reset: obj;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 12px;
}
.objectives-list li {
  counter-increment: obj;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.objectives-list li::before {
  content: counter(obj);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
}
.objectives-list p { margin: 0; padding-top: 9px; }

/* Mission statement box */
.mission {
  border-left: 6px solid var(--red);
  background: var(--blue-light);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  max-width: 70ch;
}
.mission p { margin: 0; }

/* Joining steps */
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 16px;
}
.steps li {
  counter-increment: step;
  border-top: 4px solid var(--blue);
  padding-top: 12px;
}
.steps li::before {
  content: "Step " counter(step);
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 4px;
}
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; color: var(--text-muted); }

/* Fees table */
.table-wrap { overflow-x: auto; margin-top: 1rem; }
.fee-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border);
}
.fee-table th,
.fee-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.fee-table th {
  background: var(--navy);
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.fee-table td:last-child { font-weight: 700; white-space: nowrap; }

/* Rights cards with the law reference */
.right-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 5px solid var(--blue);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.right-card .law {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}
.right-card ul { margin: 0.5rem 0 0; padding-left: 20px; color: var(--text-muted); }
.right-card p { color: var(--text-muted); margin-bottom: 0; }
.stack { display: grid; gap: 16px; margin-top: 1.5rem; }

@media (min-width: 768px) {
  .page-hero h1 { font-size: 2.5rem; }
  .objectives-list { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .page-split { grid-template-columns: 2fr 1fr; align-items: start; }
  .steps { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================
   FORMS (Apply page)
   ========================================================== */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 5px solid var(--blue);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.form-grid {
  display: grid;
  gap: 18px;
}
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 700; }
.field .hint { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.optional { font-weight: 400; color: var(--text-muted); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--white);
  border: 1px solid #9AA3BC;
  border-radius: 6px;
  padding: 11px 12px;
  min-height: 44px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input[type="file"] { padding: 9px; background: var(--blue-light); }

/* Red border on a field with a problem */
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--red); border-width: 2px; }
.error-text { color: var(--red); font-size: 0.88rem; font-weight: 600; margin: 0; min-height: 0; }

.consent {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  font-weight: 400 !important;
}
.consent input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; }

/* Hidden anti-spam field (real visitors never see it) */
.hidden-field { position: absolute; left: -9999px; }

.form-message {
  border-radius: var(--radius);
  padding: 16px 20px;
  font-weight: 600;
}
.form-message.error { background: #FDECEC; border: 1px solid var(--red); color: var(--red-dark); }
.form-message.info { background: var(--warning-bg); border: 1px solid var(--warning-border); color: var(--warning-text); }
.form-message.success { background: #E8F5EC; border: 1px solid #1F7A45; color: #145232; }

/* News cards */
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.news-date {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 6px;
}
.news-card p { color: var(--text-muted); margin-bottom: 0; }

@media (min-width: 768px) {
  .form-card { padding: 32px; }
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .field.full { grid-column: 1 / -1; }
}

/* Small phones: keep the logo, name and Menu button on one line */
@media (max-width: 479px) {
  .logo-img { height: 48px; }
  .brand-text small { display: none; }
}

/* ==========================================================
   JOIN (MEMBERSHIP) FORM
   ========================================================== */
.form-section-title {
  grid-column: 1 / -1;
  margin: 0.5rem 0 -4px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 1.05rem;
  color: var(--navy);
}
.form-section-title:first-of-type { border-top: none; padding-top: 0; }

fieldset.field {
  border: none;
  margin: 0;
  padding: 0;
}
fieldset.field legend { font-weight: 700; margin-bottom: 6px; padding: 0; }

.choice-list { display: grid; gap: 8px; }
.choice {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  font-weight: 400;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 12px;
  cursor: pointer;
}
.choice input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; }
.choice small { display: block; color: var(--text-muted); }
.field.has-error .choice { border-color: var(--red); }

.declaration {
  background: var(--blue-light);
  border-radius: var(--radius);
  padding: 16px;
}

/* Anything marked "hidden" stays hidden */
[hidden] { display: none !important; }
.field { align-content: start; }
.choice small { font-weight: 400; }

/* Longer homepage headline: keep it a comfortable size */
.hero h1 { max-width: 30ch; }
@media (min-width: 1024px) { .hero h1 { font-size: 2.6rem; } }
@media (max-width: 767px) { .hero h1 { font-size: 1.65rem; } }
