:root {
  --color-fog: #f2f5f4;
  --color-sage: #94a89e;
  --color-sage-dark: #5c6e66;
  --color-charcoal: #2a3330;
  --color-white: #ffffff;
  --color-border: #d8e0dd;
  --radius-lg: 24px;
  --spacing-base: 10px;
  --font-main:
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow-elevation: 0 10px 30px -10px rgba(42, 51, 48, 0.1);
  --max-width: 1390px;
  --dl-color-bg: #ffffff;
  --dl-color-fog: #f3f5f4;
  --dl-color-sage: #7c9488;
  --dl-color-sage-dark: #5a6e64;
  --dl-color-text: #2f3833;
  --dl-color-text-light: #5c6660;
  --dl-color-border: #e0e5e2;

  /* Typography: Editorial (System Serif Accent) */
  --dl-font-heading: "Times New Roman", Times, serif;
  --dl-font-body: system-ui, -apple-system, sans-serif;

  /* Design DNA */
  --dl-radius: 8px;
  --dl-spacing: 20px;
  --dl-max-width: 1390px;
  --dl-header-height: 80px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background-color: var(--color-fog);
  color: var(--color-charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  display: block;
}

/* Common Classes */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 calc(var(--spacing-base) * 2);
  width: 100%;
}

/* Header */
.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: calc(var(--spacing-base) * 2) 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-base);
  text-decoration: none;
  color: var(--color-charcoal);
}

.brand-name {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.main-nav {
  display: none;
}

@media (min-width: 768px) {
  .main-nav {
    display: block;
  }
}

.nav-list {
  display: flex;
  gap: calc(var(--spacing-base) * 4);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  color: var(--color-charcoal);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 4px;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-sage);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: right;
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

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

.nav-link.activ_link::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Mobile Menu */
.mobile-toggle {
  display: block;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  color: var(--color-charcoal);
}

@media (min-width: 768px) {
  .mobile-toggle {
    display: none;
  }
}

.icon-menu,
.icon-close {
  width: 24px;
  height: 24px;
  display: block;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: var(--color-white);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(var(--spacing-base) * 2);
  border-bottom: 1px solid var(--color-border);
}

.mobile-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-charcoal);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: calc(var(--spacing-base) * 3);
  gap: calc(var(--spacing-base) * 2);
}

.mobile-link {
  font-size: 1.5rem;
  text-decoration: none;
  color: var(--color-charcoal);
  font-weight: 600;
}

.mobile-link.activ_link {
  color: var(--color-sage-dark);
  font-weight: 700;
}

/* Footer */
.site-footer {
  background-color: var(--color-sage-dark);
  color: var(--color-white);

  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.footer-deco-band {
  height: 10px;
  background: repeating-linear-gradient(
    45deg,
    var(--color-sage),
    var(--color-sage) 10px,
    var(--color-sage-dark) 10px,
    var(--color-sage-dark) 20px
  );
  width: 100%;
}

.footer-content {
  padding-top: calc(var(--spacing-base) * 6);
  padding-bottom: calc(var(--spacing-base) * 4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: calc(var(--spacing-base) * 4);
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand-col {
  max-width: 400px;
}

.brand-name-lg {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: calc(var(--spacing-base) * 2);
}

.footer-tagline {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: var(--spacing-base);
  opacity: 0.9;
}

.footer-summary {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: calc(var(--spacing-base) * 3);
}

.footer-heading {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: calc(var(--spacing-base) * 2);
  opacity: 0.7;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--spacing-base);
}

.footer-links a {
  color: var(--color-white);
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-base);
  margin-bottom: var(--spacing-base);
}

.icon-sm {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.contact-link {
  color: var(--color-white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.contact-link:hover {
  border-color: var(--color-white);
}

.footer-bottom {
  margin-top: calc(var(--spacing-base) * 6);
  padding-top: calc(var(--spacing-base) * 3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  opacity: 0.6;
  text-align: left;
}

@media (max-width: 767px) {
  .footer-bottom {
    text-align: left;
  }
}
/* 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;
}
/* Thanks page styles */
.thank-you-hero {
  padding: 80px 0;
  text-align: center;
}

.thank-you-title {
  font-family: var(--dl-font-heading);
  font-size: 3rem;
  font-weight: normal;
  color: var(--dl-color-text);
  margin-bottom: 16px;
}

.thank-you-subtitle {
  font-size: 1.25rem;
  color: var(--dl-color-text-light);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.thank-you-message {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
}

.thank-you-message p {
  margin-bottom: 20px;
}

.next-steps {
  padding: 80px 0;
  background-color: var(--dl-color-fog);
}

.section-heading {
  font-family: var(--dl-font-heading);
  font-size: 2.5rem;
  font-weight: normal;
  color: var(--dl-color-text);
  text-align: center;
  margin-bottom: 60px;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

.step-card {
  background: white;
  padding: 40px 30px;
  border-radius: var(--dl-radius);
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--dl-color-sage);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: bold;
  margin: 0 auto 20px;
}

.step-title {
  font-family: var(--dl-font-heading);
  font-size: 1.25rem;
  color: var(--dl-color-text);
  margin-bottom: 16px;
}

.step-description {
  color: var(--dl-color-text-light);
  line-height: 1.6;
}

.contact-support {
  padding: 80px 0;
}

.contact-description {
  text-align: center;
  font-size: 1.1rem;
  color: var(--dl-color-text-light);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.contact-options {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-button {
  display: inline-block;
  padding: 16px 32px;
  background-color: var(--dl-color-sage);
  color: white;
  border-radius: var(--dl-radius);
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.contact-button:hover {
  background-color: var(--dl-color-sage-dark);
}

.contact-button.secondary {
  background-color: transparent;
  color: var(--dl-color-sage);
  border: 2px solid var(--dl-color-sage);
}

.contact-button.secondary:hover {
  background-color: var(--dl-color-sage);
  color: white;
}

@media (max-width: 640px) {
  .contact-options {
    flex-direction: column;
    align-items: center;
  }

  .contact-button {
    width: 200px;
    text-align: center;
  }
}
