:root {
  --blue-deep: #050a30;
  --blue-accent: #233dff;
  --bg-light: #f4f6fc;
  --text: #1e1e1e;
  --white: #ffffff;
  --border: #d6dce8;
  --button-hover: #1b31d6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--text);
  background: var(--bg-light);
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

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

ul, ol {
  color: var(--text);
}

li {
  margin-bottom: 6px;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--blue-accent);
  color: var(--white);
  padding: 8px 12px;
  z-index: 9999;
}

.skip-link:focus {
  top: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--blue-deep);
}

.brand img {
  height: 32px;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle-label span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--blue-deep);
  position: relative;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--blue-deep);
}

.nav-toggle-label span::before {
  top: -6px;
}

.nav-toggle-label span::after {
  top: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: var(--blue-deep);
  font-weight: 500;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  background: var(--blue-accent);
  color: var(--white);
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 600;
  min-width: 160px;
}

.button:hover {
  background: var(--button-hover);
  text-decoration: none;
}

.button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.button.secondary {
  background: transparent;
  border: 1px solid var(--blue-accent);
  color: var(--blue-accent);
}

.button.secondary:hover {
  background: var(--blue-accent);
  color: var(--white);
}

main {
  padding: 56px 0 72px;
}

.hero {
  padding: 40px 0 32px;
}

.hero h1 {
  font-size: clamp(2rem, 2.2rem + 1vw, 3rem);
  color: var(--blue-deep);
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.1rem;
  max-width: 640px;
  margin-bottom: 24px;
}

.button-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.section {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.section h2 {
  color: var(--blue-deep);
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.grid-3 {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 4px rgba(5, 10, 48, 0.08);
}

.card h3 {
  color: var(--blue-deep);
  margin-top: 0;
}

.steps {
  margin: 0;
  padding-left: 18px;
  font-weight: 500;
}

.steps li {
  padding: 8px 0;
}

.section-image {
  margin: 24px 0 0 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 1px 4px rgba(5, 10, 48, 0.08);
}

.section-image img {
  width: 100%;
  height: auto;
  display: block;
}

.highlight {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.highlight p {
  margin: 0;
  font-weight: 500;
}

.form-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(5, 10, 48, 0.08);
}

.form-instructions {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

form {
  display: grid;
  gap: 16px;
}

form > div:last-of-type {
  margin-bottom: 8px;
}

form > button {
  margin-top: 8px;
}

label {
  font-weight: 600;
  color: var(--blue-deep);
}

input,
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.checkbox-item input {
  width: auto;
}

form .button {
  width: fit-content;
}

.recaptcha-wrapper {
  margin: 16px 0;
  display: flex;
  justify-content: flex-start;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 24px;
  color: #5b5b5b;
  font-size: 0.95rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-bottom: 24px;
}

.footer-section h3 {
  color: var(--blue-deep);
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.footer-section h4 {
  color: var(--blue-deep);
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 600;
}

.footer-section p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section a {
  color: var(--blue-accent);
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .nav-toggle-label {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    right: 4vw;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
    display: none;
    flex-direction: column;
    gap: 14px;
    min-width: 200px;
  }

  .nav-toggle:checked + .nav-toggle-label + .nav-links {
    display: flex;
  }

  .button-group {
    flex-direction: column;
  }

  .button,
  form .button {
    width: 100%;
  }

  .checkbox-group {
    grid-template-columns: 1fr;
  }

  .recaptcha-wrapper {
    overflow-x: auto;
  }
}
