:root {
  --sp-1: 6px;
  --sp-2: 12px;
  --sp-3: 18px;
  --sp-4: 24px;
  --sp-6: 36px;
  --sp-8: 48px;
  --radius: 8px;
  --white: #ffffff;
  --grey-light: #f1f5f9;
  --grey-mid: #94a3b8;
  --grey-dark: #1e293b;
  --blue-main: #2563eb;
  --blue-dark: #1d4ed8;
  --royal-blue: #1d4ed8;
  --silver: #e2e8f0;

}

body {
  margin: 0;
  font-family: system-ui, -apple-system, sans-serif;
  background-color: var(--white);
  background-image: var(--bg-noise);
  color: var(--grey-dark);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-name,
.nav-link,
.footer-brand-name {
  font-family: "Arial Narrow", "Helvetica Condensed", system-ui, sans-serif;
  font-stretch: condensed;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-top: 0;
}

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

.border-b {
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

.border-slate-200 {
  border-color: rgb(226 232 240);
}

.bg-royal-blue {
  background-color: var(--royal-blue);
}

.text-royal-blue {
  color: var(--royal-blue);
}

.bg-silver {
  background-color: var(--silver);
}

/* Header */
.site-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--grey-light);
  position: relative;
  z-index: 100;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  text-decoration: none;
  color: var(--blue-dark);
  font-size: 1.5rem;
}

.brand-logo svg {
  width: 36px;
  height: 36px;
}

.main-nav {
  display: flex;
}

.nav-list {
  display: flex;
  gap: var(--sp-6);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  color: var(--grey-dark);
  transition: color 0.2s;
  font-size: 1.125rem;
}

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

.nav-link.activ_link {
  color: var(--blue-main);
  font-weight: 600;
}

.burger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--grey-dark);
  padding: var(--sp-1);
}

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

/* Mobile Dropdown */
@media (max-width: 768px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--grey-light);
    display: none;
    padding: var(--sp-4);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  }

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

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: var(--sp-4);
  }

  .burger-menu {
    display: block;
  }
}

/* Main Content Elements */
main {
  min-height: 70vh;
}

/* Sticky footer: body is column, main grows so footer stays at bottom */
.page-thanks {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-thanks .main-fill {
  flex: 1;
}

/* Thank you page content */
.thanks-content {
  max-width: 42rem;
  margin: 0 auto;
  padding: var(--sp-8) var(--sp-4);
  width: 100%;
}

.thanks-head {
  margin-bottom: var(--sp-8);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--grey-light);
}

.thanks-badge {
  display: inline-block;
  background-color: #dbeafe;
  color: #1e3a8a;
  padding: var(--sp-1) var(--sp-2);
  border-radius: var(--radius);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: var(--sp-3);
}

.thanks-title {
  font-size: 1.875rem;
  color: var(--blue-dark);
  margin-bottom: var(--sp-3);
  line-height: 1.2;
}

.thanks-lead {
  color: var(--grey-dark);
  font-size: 1.125rem;
  margin: 0;
  line-height: 1.6;
}

.thanks-section {
  margin-bottom: var(--sp-6);
  padding: 0;
}

.thanks-section:nth-child(even) {
  background-color: transparent;
}

.thanks-heading {
  font-size: 1.25rem;
  color: var(--blue-dark);
  margin-bottom: var(--sp-3);
  line-height: 1.3;
}

.thanks-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.thanks-step {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
}

.thanks-step-num {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background-color: var(--blue-main);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.thanks-step-text {
  margin: 0;
  color: var(--grey-dark);
  line-height: 1.6;
}

.thanks-body {
  margin: 0;
  color: var(--grey-dark);
  line-height: 1.6;
}

.thanks-link {
  color: var(--blue-main);
  text-decoration: none;
  font-weight: 500;
}

.thanks-link:hover {
  text-decoration: underline;
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--grey-light);
}

.thanks-link-secondary {
  color: var(--grey-dark);
  text-decoration: none;
  font-weight: 500;
}

.thanks-link-secondary:hover {
  color: var(--blue-main);
  text-decoration: underline;
}

section {
  padding: var(--sp-8) 0;
}

.section-pad {
  padding-top: var(--sp-8);
  padding-bottom: var(--sp-8);
}

section:nth-child(even) {
  background-color: var(--grey-light);
}

img {
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius);
  width: 100%;
  display: block;
  background-color: var(--grey-light);
}

/* Cards Grid Base */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}

.card {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: var(--sp-4);
  border: 1px solid var(--grey-light);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.card-content {
  flex-grow: 1;
}

.card-btn {
  display: inline-block;
  background-color: var(--blue-main);
  color: var(--white);
  padding: var(--sp-2) var(--sp-4);
  text-decoration: none;
  border-radius: var(--radius);
  text-transform: uppercase;
  font-family: "Arial Narrow", system-ui, sans-serif;
  font-stretch: condensed;
  text-align: center;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.card-btn:hover {
  background-color: var(--blue-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: var(--radius);
  font-family: "Arial Narrow", system-ui, sans-serif;
  font-stretch: condensed;
  font-weight: 700;
  text-align: center;
  transition: background-color 0.2s;
  border: none;
  cursor: pointer;
  padding-top: var(--sp-2);
  padding-bottom: var(--sp-2);
}

.btn-primary {
  background-color: var(--blue-main);
  color: var(--white);
}

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

.badge {
  background-color: var(--blue-dark);
  color: var(--white);
  padding: var(--sp-1) var(--sp-2);
  border-radius: var(--radius);
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Footer */
.site-footer {
  background-color: var(--grey-light);
  padding: var(--sp-8) 0 var(--sp-6);
  border-top: 1px solid var(--grey-mid);
  margin-top: auto;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-6);
  align-items: center;
}

.footer-brand-name {
  font-size: 1.5rem;
  color: var(--blue-dark);
  display: block;
  margin-bottom: var(--sp-1);
}

.tagline {
  margin: 0;
  color: var(--grey-dark);
  font-size: 1rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.contact-link {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--grey-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.contact-link:hover {
  color: var(--blue-main);
}

.contact-link svg {
  width: 20px;
  height: 20px;
}

.legal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.legal-list a {
  color: var(--grey-dark);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.legal-list a:hover {
  color: var(--blue-main);
  text-decoration: underline;
}

@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* 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;
}

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