/* Tokens */
:root {
  --navy-900: #0b1b33;
  --navy-800: #12284a;
  --navy-700: #1b3a66;
  --blue-600: #1f5fa8;
  --blue-100: #e6eef8;
  --gold-500: #c9a44c;
  --gold-600: #a9862f;
  --gold-100: #f7f0dc;
  --gray-900: #1b1f24;
  --gray-700: #3d4551;
  --gray-500: #6b7380;
  --gray-300: #cfd5dd;
  --gray-100: #f1f3f6;
  --white: #ffffff;
  --red-600: #b3261e;
  --green-600: #2e7d32;

  --font-sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Merriweather", Georgia, "Times New Roman", serif;

  --radius: 6px;
  --shadow: 0 1px 2px rgba(11, 27, 51, .06), 0 4px 14px rgba(11, 27, 51, .08);
  --max: 1200px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-underline-offset: 2px; }
a:hover { color: var(--navy-800); }
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--navy-800); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold-500); color: var(--navy-900); padding: 8px 14px; z-index: 100; font-weight: 700; }
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; }

/* Brand */
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.brand img { width: auto; height: 72px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.2)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-kicker { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-500); font-weight: 600; }
.brand-name { font-family: var(--font-serif); font-weight: 900; font-size: 1.35rem; color: var(--navy-800); }
.brand-sub { font-size: .8rem; color: var(--gold-600); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

@media (max-width: 1100px) {
  .brand img { width: auto; height: 56px; }
  .brand-name { font-size: 1.1rem; }
}

/* Buttons and forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: var(--radius); font-weight: 700; font-size: .98rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2; }
.btn-gold { background: var(--gold-500); color: var(--navy-900); }
.btn-gold:hover { background: #d6b462; color: var(--navy-900); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-700); color: #fff; }
.btn-outline { border-color: currentColor; color: var(--navy-800); background: transparent; }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

select, input:not([type]), input[type="text"], input[type="email"], input[type="search"], textarea {
  font: inherit; font-size: 1rem; width: 100%; padding: 12px 14px; border: 1px solid var(--gray-300); border-radius: var(--radius); background: #fff; color: var(--gray-900);
}
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2312284a' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
select:disabled { background-color: var(--gray-100); color: var(--gray-500); }
label { font-weight: 600; }

/* Tables */
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--gray-300); vertical-align: top; }
thead th { background: var(--navy-800); color: #fff; font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
tbody tr:nth-child(even) { background: var(--gray-100); }
tbody tr:last-child td { border-bottom: 0; }

/* Pills and helpers */
.pill { display: inline-block; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; letter-spacing: .03em; }
.pill-amber { background: #fdf1d6; color: #8a6100; }
.pill-gray { background: var(--gray-100); color: var(--gray-700); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid label { display: block; margin-bottom: 6px; font-size: .92rem; color: var(--navy-800); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
