:root {
  --ink: #102d75;
  --blue: #102d75;
  --sun: #f5a623;
  --paper: #fff;
  --mist: rgba(16, 45, 117, 0.06);
  --line: rgba(16, 45, 117, 0.16);
  --muted: rgba(16, 45, 117, 0.72);
  --shadow: 0 16px 42px rgba(16, 45, 117, 0.09);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Nunito Sans", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

.container {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  padding: 28px 0 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
}

.brand {
  --logo-size: 90px;
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  text-decoration: none;
}
.brand img {
  display: block;
  width: var(--logo-size);
  height: auto;
}
.brand .tm {
  flex-shrink: 0;
  margin-left: calc(var(--logo-size) * -0.02);
  margin-top: calc(var(--logo-size) * 0.70);
  font-size: 0.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}

.nav-link {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-link:hover { color: var(--ink); }

.hero {
  padding: 42px 0 36px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 3px;
  content: "";
  border-radius: 2px;
  background: var(--sun);
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 5vw, 2.85rem);
  line-height: 1.08;
}

.lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.08rem;
}

.content {
  padding-bottom: 48px;
}

.content h2 {
  margin: 36px 0 12px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.content p, .content li {
  color: var(--muted);
}

.content ul, .content ol {
  margin: 0 0 18px;
  padding-left: 1.25rem;
}

.content li + li { margin-top: 8px; }

.tip {
  padding: 18px 20px;
  border-left: 3px solid var(--sun);
  border-radius: 0 4px 4px 0;
  background: var(--mist);
}

.tip p:last-child { margin-bottom: 0; }

.faq {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.faq h2 { margin-top: 0; }

.faq details {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  font-weight: 700;
  cursor: pointer;
}

.faq details p {
  margin: 10px 0 0;
  font-size: 0.96rem;
}

.help-form-section {
  margin: 48px 0 72px;
  padding: 36px 0;
  background: var(--mist);
}

.help-form-section .container {
  width: min(760px, calc(100% - 48px));
}

.help-form-section h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  line-height: 1.1;
}

.form-intro {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.02rem;
}

.help-form {
  padding: 28px;
  border: 1px solid rgba(16, 45, 117, 0.1);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field { display: grid; gap: 7px; }
.field--wide { grid-column: 1 / -1; }

label {
  color: var(--ink);
  font-size: 0.83rem;
  font-weight: 800;
}

input, select, textarea {
  width: 100%;
  padding: 0 13px;
  border: 1px solid rgba(16, 45, 117, 0.32);
  border-radius: 4px;
  color: var(--ink);
  background: #fff;
}

input, select { min-height: 48px; }

textarea {
  min-height: 120px;
  padding: 12px 13px;
  resize: vertical;
}

input::placeholder, textarea::placeholder {
  color: rgba(16, 45, 117, 0.5);
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 17px) 20px, calc(100% - 12px) 20px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.checkbox-group input {
  width: auto;
  min-height: 0;
  margin: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 8px 18px rgba(16, 45, 117, 0.17);
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--blue);
}

.form-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
}

.form-note {
  max-width: 280px;
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.4;
}

.form-note a { text-decoration: underline; text-underline-offset: 2px; }

.related {
  padding: 0 0 56px;
}

.related h2 {
  margin: 0 0 16px;
  font-size: 1.1rem;
}

.related ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.related li + li { margin-top: 10px; }

.related a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

.footer-inner .brand { --logo-size: 76px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}

.footer-links a {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover { color: var(--blue); text-decoration: underline; }

.footer-meta {
  flex: 1 1 200px;
  max-width: 380px;
  margin: 0 0 0 auto;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
  text-align: right;
}

.footer-meta a { text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 600px) {
  .container, .nav { width: calc(100% - 32px); }
  .form-grid { grid-template-columns: 1fr; }
  .field--wide { grid-column: auto; }
  .help-form { padding: 20px 16px; }
  .form-action { flex-direction: column-reverse; align-items: stretch; }
  .form-note { max-width: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { margin-left: 0; max-width: none; text-align: left; }
}
