@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600;700&family=Raleway:wght@400;500;600;700&display=swap");

:root {
  --sage: #CDEBC5;
  --sage-light: #EFF8EC;
  --dark-green: #232B1E;
  --soft-text: rgba(35, 43, 30, 0.68);
  --border: rgba(35, 43, 30, 0.14);
  --white: #FFFFFF;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Raleway", sans-serif;
  color: var(--dark-green);
  background:
    radial-gradient(
      circle at top left,
      rgba(205, 235, 197, 0.55),
      transparent 35%
    ),
    #FFFFFF;
  line-height: 1.7;
}

a {
  color: inherit;
}

.site-container {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

/* Navigation */

header {
  position: sticky;
  top: 0;
  z-index: 10;

  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);

  border-bottom: 1px solid var(--border);
}

nav {
  min-height: 72px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;
}

.logo {
  font-family: "Dancing Script", cursive;
  font-size: 32px;
  font-weight: 700;

  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: var(--soft-text);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--dark-green);
}

/* Home */

.hero {
  padding: 90px 0 55px;
  text-align: center;
}

.hero-icon {
  width: 110px;
  height: 110px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0 auto 22px;
}

.hero-logo {
  width: 110px;
  height: 110px;

  object-fit: cover;

  border-radius: 25px;

  box-shadow: 0 10px 28px rgba(35, 43, 30, 0.14);
}

.hero h1 {
  margin: 0;

  font-family: "Dancing Script", cursive;
  font-size: clamp(60px, 10vw, 92px);
  line-height: 1;
}

.hero-description {
  max-width: 660px;

  margin: 22px auto 0;

  color: var(--soft-text);
  font-size: 17px;
}

.hero-pill {
  display: inline-block;

  margin-top: 20px;

  padding: 7px 14px;

  background: var(--sage-light);
  border: 1px solid var(--border);
  border-radius: 999px;

  font-size: 13px;
  font-weight: 600;
}

/* Home cards */

.home-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 18px;

  padding: 20px 0 80px;
}

.home-card {
  min-height: 230px;

  padding: 28px;

  background: #FFFFFF;

  border: 1px solid var(--border);
  border-radius: 22px;

  box-shadow: 0 12px 35px rgba(35, 43, 30, 0.08);

  text-decoration: none;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.home-card:hover {
  transform: translateY(-4px);

  box-shadow: 0 17px 45px rgba(35, 43, 30, 0.12);
}

.card-icon {
  width: 55px;
  height: 55px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 17px;

  background: var(--sage);

  font-size: 25px;

  margin-bottom: 22px;
}

.home-card h2 {
  margin: 0 0 8px;

  font-size: 20px;
}

.home-card p {
  margin: 0;

  color: var(--soft-text);
  font-size: 14px;
}

/* Interior pages */

.page-header {
  padding: 70px 0 35px;
}

.page-header h1 {
  margin: 0;

  font-family: "Dancing Script", cursive;
  font-size: clamp(52px, 8vw, 76px);

  line-height: 1;
}

.page-header p {
  color: var(--soft-text);
}

.content-card {
  background: #FFFFFF;

  padding: clamp(24px, 5vw, 44px);

  border-radius: 22px;
  border: 1px solid var(--border);

  box-shadow: 0 12px 35px rgba(35, 43, 30, 0.07);

  margin-bottom: 70px;
}

.content-card h2 {
  margin-top: 36px;
  margin-bottom: 8px;

  font-size: 21px;
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card h3 {
  margin-top: 28px;
  margin-bottom: 6px;
}

.content-card p,
.content-card li {
  color: #34402D;
}

.content-card a {
  font-weight: 600;
}

/* Support */

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 16px;

  margin-top: 24px;
}

.support-box {
  padding: 22px;

  background: var(--sage-light);

  border: 1px solid var(--border);
  border-radius: 16px;
}

.support-box h3 {
  margin-top: 0;
}

.email-button {
  display: inline-block;

  margin-top: 10px;

  padding: 12px 20px;

  background: var(--sage);

  border: 1px solid rgba(35, 43, 30, 0.25);
  border-radius: 12px;

  text-decoration: none;
  font-weight: 700;
}

/* Legal pages */

.legal-layout {
  display: grid;

  grid-template-columns: 240px 1fr;

  gap: 30px;

  align-items: start;

  margin-bottom: 70px;
}

.table-of-contents {
  position: sticky;
  top: 95px;

  padding: 20px;

  background: var(--sage-light);

  border-radius: 18px;
  border: 1px solid var(--border);
}

.table-of-contents strong {
  display: block;
  margin-bottom: 10px;
}

.table-of-contents a {
  display: block;

  padding: 4px 0;

  text-decoration: none;

  color: var(--soft-text);

  font-size: 13px;
}

.table-of-contents a:hover {
  color: var(--dark-green);
}

.legal-content {
  background: #FFFFFF;

  padding: clamp(24px, 5vw, 44px);

  border-radius: 22px;
  border: 1px solid var(--border);

  box-shadow: 0 12px 35px rgba(35, 43, 30, 0.07);
}

.legal-content h2 {
  margin-top: 42px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

/* Footer */

footer {
  border-top: 1px solid var(--border);

  padding: 30px 0;

  color: var(--soft-text);
}

.footer-content {
  display: flex;

  justify-content: space-between;
  align-items: center;

  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  text-decoration: none;
}

/* Mobile */

@media (max-width: 760px) {
  nav {
    padding: 16px 0;

    flex-direction: column;

    align-items: flex-start;
  }

  .hero {
    padding-top: 60px;
  }

  .home-cards {
    grid-template-columns: 1fr;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .table-of-contents {
    position: static;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
}