:root {
  --navy: #1b365d;
  --navy-dark: #142844;
  --gray: #6b7280;
  --muted: #555555;
  --body: #222222;
  --light: #eef2f7;
  --bg: #ffffff;
  --border: #e5e7eb;
  --max: 960px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Calibri, Arial, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
}

a {
  color: var(--navy);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 0;
}

.logo img {
  width: 200px;
  height: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  align-items: center;
}

.nav a {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--navy-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Hero */
.hero {
  padding: 3.25rem 0 2.75rem;
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  color: var(--navy);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.hero .subhead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 38rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--navy);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7rem 1.2rem;
  border-radius: 4px;
  text-decoration: none !important;
  border: 1px solid var(--navy);
}

.btn:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--navy) !important;
}

.btn-secondary:hover {
  background: var(--light);
}

.link-plain {
  color: var(--navy);
  font-weight: 600;
}

/* Sections */
main section {
  padding: 2.5rem 0;
}

main section + section {
  border-top: 1px solid var(--border);
}

h2 {
  color: var(--navy);
  font-size: 1.45rem;
  margin-bottom: 1rem;
}

h3 {
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.lead {
  font-size: 1.05rem;
  max-width: 40rem;
  margin-bottom: 1.25rem;
}

.muted {
  color: var(--muted);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.25rem 1.15rem;
}

.card p {
  color: var(--muted);
  font-size: 0.98rem;
}

.limits {
  margin-top: 1.75rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--navy);
  background: #fafbfc;
}

.limits p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* Lists */
.steps {
  list-style: none;
  counter-reset: step;
  max-width: 40rem;
}

.steps li {
  counter-increment: step;
  padding: 0.65rem 0 0.65rem 2.5rem;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.steps li:last-child {
  border-bottom: none;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stack > * + * {
  margin-top: 1.25rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.contact-details p {
  margin-bottom: 0.35rem;
}

.form {
  display: grid;
  gap: 0.85rem;
}

.form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.form input,
.form select,
.form textarea {
  font: inherit;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--body);
  background: #fff;
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.form .note {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 400;
}

.about-ids {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.about-ids p {
  margin-bottom: 0.2rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: #f7f9fc;
  padding: 1.75rem 0;
  margin-top: 1rem;
}

.site-footer p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.site-footer strong {
  color: var(--navy);
}

/* Responsive */
@media (max-width: 800px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .hero {
    padding: 2.25rem 0 2rem;
  }

  .logo img {
    width: 170px;
  }
}
