:root {
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  --font-serif: Georgia, Cambria, "Times New Roman", Times, serif;
  --c-white: #ffffff;
  --c-silver: #F1F5F9;
  --c-silver-dark: #94A3B8;
  --c-blue: #1D4ED8;
  --c-blue-hover: #1E3A8A;
  --c-navy: #020617;
  --shadow-soft: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --radius-pill: 9999px;
  --radius-block: 32px;
  --space-sm: clamp(1rem, 2vw, 1.5rem);
  --space-md: clamp(2rem, 4vw, 3rem);
  --space-lg: clamp(4rem, 8vw, 6rem);
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--c-white);
  color: var(--c-navy);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* Layout helper: sticky footer (no flex-basis / no flex shorthand). */
.page-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.page-shell main {
  min-height: 0;
}

.page-shell .site-footer {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  margin-top: 0;
  line-height: 1.2;
}

.accent-font {
  font-family: var(--font-serif);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

main {
  display: block;
  min-height: 60vh;
}

/* Grid Utility Classes */
.grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 800px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Header Styles */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--c-white);
  border-bottom: 1px solid var(--c-silver);
  box-shadow: var(--shadow-soft);
  padding: 1rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.desktop-nav .nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.desktop-nav a {
  text-decoration: none;
  color: var(--c-navy);
  font-weight: 700;
  transition: color 0.2s;
}

.desktop-nav a:hover {
  color: var(--c-blue);
}

/* Active navigation/document link (set manually in HTML). */
.activ_link,
.policy_link,
.terms_link,
.thanks_link {
  color: var(--c-blue) !important;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--c-navy);
  font-weight: 700;
  font-size: 1.25rem;
  flex-direction: row-reverse;
}

.brand-link svg {
  width: 36px;
  height: 36px;
  color: var(--c-blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--c-blue);
  color: var(--c-white);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background-color: var(--c-blue-hover);
}

.burger-menu {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--c-navy);
  padding: 0.5rem;
  display: none;
}

.burger-menu svg {
  width: 28px;
  height: 28px;
}

.mobile-nav {
  display: none;
  background-color: var(--c-white);
  padding: 1rem var(--space-sm);
  border-top: 1px solid var(--c-silver);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-list a {
  text-decoration: none;
  color: var(--c-navy);
  font-weight: 700;
  display: block;
  padding: 0.5rem 0;
}

@media (max-width: 800px) {

  .desktop-nav,
  .btn-cta {
    display: none;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .burger-menu {
    display: block;
  }
}

/* Footer Styles */
.site-footer {
  background-color: var(--c-silver);
  padding: var(--space-lg) 0 var(--space-md);
  margin-top: var(--space-lg);
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 800px) {
  .footer-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer-brand svg {
  width: 28px;
  height: 28px;
  color: var(--c-blue);
}

.tagline {
  color: var(--c-silver-dark);
  font-weight: 700;
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a,
.footer-contact a {
  color: var(--c-navy);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--c-blue);
  margin-top: 0.2rem;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--c-blue);
}

/* Reusable Components */
.card {
  background-color: var(--c-white);
  border-radius: var(--radius-block);
  box-shadow: var(--shadow-soft);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.img-ar {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-block);
  width: 100%;
}

/* Form Styles */
input,
select,
textarea {
  width: 100%;
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--c-silver);
  border-radius: var(--radius-pill);
  font-family: inherit;
  transition: border-color 0.2s;
  background-color: var(--c-white);
  color: var(--c-navy);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--c-blue);
}

/* Checkboxes and radios: do not inherit full-width from generic input rules */
input[type="checkbox"],
input[type="radio"] {
  width: 1.125rem;
  height: 1.125rem;
  min-width: 1.125rem;
  min-height: 1.125rem;
  max-width: 1.125rem;
  max-height: 1.125rem;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
  vertical-align: middle;
}

input[type="checkbox"] {
  border-radius: 0.25rem;
}

input[type="radio"] {
  border-radius: 50%;
}

.form-privacy .privacy-label {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  cursor: pointer;
  font-weight: 600;
}

/* Hero Section Requirements */
.hero-section {
  min-height: 50vh;
  display: flex;
  align-items: center;
  padding: var(--space-lg) 0;
}

.hero-split {
  display: grid;
  gap: var(--space-md);
  align-items: center;
}

@media (min-width: 800px) {
  .hero-split {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content {
    order: 2;
  }

  .hero-image {
    order: 1;
  }
}

/* footer extras */
.footer__extras {
  margin-top: 16px;
}

.footer__extrasInner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.footer__social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-social {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  text-decoration: none;
}

.footer-social__icon {
  display: block;
}

.footer__poemWrap {
  max-width: 520px;
}

.footer-poem {
  opacity: 0.9;
  font-size: 0.95em;
  line-height: 1.35;
}

/* --- injected by logo step --- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px
}

.brand-logo {
  width: 28px;
  height: 28px;
  display: inline-block;
  flex: 0 0 auto
}

.brand-logo * {
  vector-effect: non-scaling-stroke
}

/* --- /injected by logo step --- */
.p-5 {
  padding: 1rem;
}
