/* === GLOBAL BASE STYLES & TYPOGRAPHY OVERRIDES === */

@font-face {
  font-family: "Silvara";
  src: url("../fonts/Silvara_regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Silvara";
  src: url("../fonts/Silvara_bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html,
body {
  height: 100%;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  font-family:
    "Silvara",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

body.is-menu-open {
  overflow: hidden;
}

/* Tailwind font utility overrides */
body,
.font-sans,
.font-serif,
.font-serif-accent {
  font-family:
    "Silvara",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

/* Headings & brand text */
h1,
h2,
h3,
h4,
h5,
h6,
.brand-logo,
.brand-text,
.footer-logo-text,
.footer-heading,
.mobile-link,
.nav-link {
  font-family:
    "Silvara",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-weight: 700;
}

main {
  max-width: 1600px;
  margin-inline: auto;
  width: 100%;
}

section {
  width: 100%;
}

/* --- SVG icons (local sprite) --- */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  display: inline-block;
  vertical-align: middle;
  flex: 0 0 auto;
}

/* === THANK YOU PAGE LAYOUT === */

body.thanks-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.thanks-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  min-height: calc(100vh - 200px);
}

.thanks-page .site-footer {
  margin-top: auto;
}

.thanks-card {
  width: 100%;
  max-width: 520px;
  background-color: #fff;
  border-radius: 4px;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-soft);
  padding: 2.75rem 2.25rem;
  text-align: center;
}

.thanks-card h1 {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  color: var(--c-sage-dark);
  margin-bottom: 0.75rem;
}

.thanks-card p {
  font-size: 0.98rem;
  color: var(--c-text);
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.thanks-card p:last-of-type {
  margin-bottom: 0;
}

.thanks-card .thanks-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.75rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  background-color: var(--c-sage-dark);
  color: #fff;
  border: none;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.15s ease;
}

.thanks-card .thanks-btn:hover {
  background-color: var(--c-sage);
  box-shadow: 0 10px 30px rgba(58, 74, 68, 0.25);
  transform: translateY(-1px);
}

.thanks-card .thanks-btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-soft);
}
