@font-face {
  font-family: "Asap";
  src: local("Asap"), local("Asap Regular"), url("../fonts/Asap-Regular.ttf") format("ttf");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Asap";
  src: local("Asap Italic"), local("Asap-Italic"), url("../fonts/Asap-Italic.ttf") format("ttf");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Asap";
  src: local("Asap Bold"), local("Asap-Bold"), url("../fonts/Asap-Bold.ttf") format("ttf");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #f3f3f2;
  --primary: #1d598e;
  --ink: #122840;
  --accent: #dbc192;
  --green: #678b2d;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(18, 40, 64, 0.10);
  --radius: 24px;
  --radius-small: 16px;
  --max-width: 860px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Asap", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(219, 193, 146, 0.45), transparent 28%),
    radial-gradient(circle at top right, rgba(103, 139, 45, 0.18), transparent 22%),
    linear-gradient(180deg, #f8f8f7 0%, var(--bg) 100%);
  color: var(--ink);
  line-height: 1.6;
}

a { color: var(--primary); text-decoration-thickness: 1.5px; text-underline-offset: 0.18em; }
a:hover { text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.page-shell { min-height: 100vh; }
.hero {
  padding: 3.5rem 0 1.5rem;
}
.hero__inner,
.section-card,
.subpage-header {
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(29, 89, 142, 0.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero__inner {
  text-align: center;
  padding: clamp(2rem, 5vw, 4.25rem) clamp(1.25rem, 4vw, 4rem);
}

.hero__logo {
  width: min(600px, 62vw);
  aspect-ratio: 1;
  object-fit: contain;
  margin: 0 auto 1.75rem;
  border-radius: 28px;
}

.hero__eyebrow,
.section-kicker {
  margin: 0 0 0.4rem;
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 2.2rem;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 3.6vw, 2.3rem);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: 0.35rem;
}

.hero__text,
.hero__subtext,
.section-card > p,
.legal-card p,
label,
input,
textarea,
button {
  font-size: 1.08rem;
}

.hero__text {
  max-width: 680px;
  margin: 0 auto 1rem;
}

.hero__subtext {
  max-width: 580px;
  margin: 0 auto;
  color: rgba(18, 40, 64, 0.82);
}

.social-section,
.contact-section,
.subpage-main {
  padding: 1rem 0 0;
}

.section-card,
.legal-card {
  padding: clamp(1.4rem, 4vw, 2.3rem);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1.2rem;
  margin-top: 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.social-link:hover { transform: translateY(-1px); }
.social-link__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.social-link__icon svg { width: 1.35rem; fill: currentColor; }

.contact-form { margin-top: 1.25rem; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.form-field { margin-bottom: 1rem; }
.form-field label,
.checkbox-field label { display: block; font-weight: 700; }
input,
textarea {
  width: 100%;
  border: 1px solid rgba(18, 40, 64, 0.18);
  border-radius: var(--radius-small);
  padding: 0.95rem 1rem;
  background: rgba(243, 243, 242, 0.82);
  color: var(--ink);
  font: inherit;
}
textarea { resize: vertical; min-height: 160px; }
input:focus,
textarea:focus,
button:focus,
a:focus {
  outline: 3px solid rgba(29, 89, 142, 0.22);
  outline-offset: 2px;
}
.checkbox-field {
  display: grid;
  grid-template-columns: 1.2rem 1fr;
  gap: 0.8rem;
  align-items: start;
  margin-bottom: 1.2rem;
}
.checkbox-field input {
  margin-top: 0.35rem;
  padding: 0;
  min-height: 1.1rem;
}
.honeypot { position: absolute; left: -9999px; }
.button {
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.4rem;
  background: linear-gradient(135deg, var(--primary), var(--ink));
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
}
.button:hover { transform: translateY(-1px); }

.notice {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-small);
  margin-top: 1.1rem;
  font-weight: 700;
}
.notice--success {
  background: rgba(103, 139, 45, 0.14);
  color: #426000;
}
.notice--error {
  background: rgba(219, 193, 146, 0.36);
  color: var(--ink);
}

.site-footer {
  padding: 2rem 0 2.5rem;
}
.footer__inner {
  display: flex;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 1.3rem 0 0;
  font-size: 0.98rem;
}
.footer__inner p { margin: 0; }
.footer__inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.page-shell--subpage { padding-top: 1.5rem; }
.subpage-header {
  text-align: center;
  padding: 1.5rem 1.25rem 2rem;
}
.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  font-weight: 700;
}
.subpage-logo {
  width: 130px;
  margin: 0 auto 1rem;
  border-radius: 18px;
}
.legal-card ul { padding-left: 1.25rem; }

@media (max-width: 700px) {
  .hero { padding-top: 1.25rem; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__inner { align-items: flex-start; }
}
