@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Work+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --cream: #f9f3ea;
  --stone: #f1ebe3;
  --deep: #0f2a2e;
  --teal: #1f6b63;
  --teal-dark: #184f48;
  --peach: #f2c7a1;
  --sand: #ead9c8;
  --ink: #0b1718;
  --white: #ffffff;
  --shadow: 0 24px 40px rgba(15, 42, 46, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Work Sans', sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #fffaf3 0%, var(--cream) 35%, var(--stone) 100%);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

header {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(15, 42, 46, 0.08);
  position: sticky;
  top: 0;
  z-index: 10;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 18px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand strong {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem;
  color: var(--deep);
}

.brand span {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(15, 42, 46, 0.18);
  background: var(--white);
  color: var(--deep);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  z-index: 2;
  touch-action: manipulation;
}

.nav-links a {
  font-weight: 500;
  color: var(--deep);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.nav-links a.active,
.nav-links a:hover {
  border-bottom-color: var(--teal);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  box-shadow: 0 10px 25px rgba(31, 107, 99, 0.2);
}

.button:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

.button.outline {
  background: transparent;
  color: var(--teal-dark);
  border-color: var(--teal-dark);
  box-shadow: none;
}

.hero {
  padding: 64px 0 48px;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: stretch;
}

.hero-card {
  background: var(--white);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
  height: 100%;
}

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  margin: 0 0 12px;
  color: var(--deep);
}

.hero p {
  margin: 0 0 24px;
  color: #2f3f3f;
}

.hero-rail {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--sand);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--teal-dark);
  font-weight: 600;
}

.section {
  padding: 60px 0;
}

.section h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  margin-bottom: 18px;
  color: var(--deep);
}

.card-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--white);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 35px rgba(15, 42, 46, 0.12);
  border: 1px solid rgba(15, 42, 46, 0.06);
  display: flex;
  flex-direction: column;
}

.card h3 {
  margin-top: 0;
  color: var(--teal-dark);
}

.card p {
  margin: 0 0 12px;
}

.callout {
  background: linear-gradient(120deg, rgba(31, 107, 99, 0.1), rgba(242, 199, 161, 0.35));
  border-radius: 24px;
  padding: 32px;
  display: grid;
  gap: 16px;
}

.callout h3 {
  margin: 0;
  font-family: 'DM Serif Display', serif;
  color: var(--deep);
}

.split {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

footer {
  background: var(--deep);
  color: var(--white);
  padding: 40px 0;
}

footer a {
  color: var(--peach);
}

.footer .small,
footer .small {
  color: rgba(255, 255, 255, 0.85);
}

.small {
  font-size: 0.9rem;
  color: #4a5c5c;
}

form {
  display: grid;
  gap: 16px;
}

input, textarea {
  font-family: inherit;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(15, 42, 46, 0.2);
  background: var(--white);
}

.notice {
  border-left: 4px solid var(--teal);
  background: rgba(31, 107, 99, 0.08);
  padding: 16px 20px;
  border-radius: 12px;
}

.page-hero {
  padding: 60px 0 20px;
}

.page-hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.list {
  display: grid;
  gap: 10px;
  padding-left: 0;
}

.list li {
  list-style: none;
  padding: 12px 16px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(15, 42, 46, 0.08);
}

.compact-list {
  margin: 4px 0 12px;
  padding-left: 18px;
  color: #2f3f3f;
}

.compact-list li {
  margin-bottom: 8px;
}

@media (max-width: 700px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    display: none;
    padding-top: 6px;
    gap: 8px;
    position: relative;
    z-index: 1;
  }

  .nav-links a {
    width: 100%;
    padding: 4px 0;
  }

  .nav-links .button {
    width: 100%;
    justify-content: center;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.98);
    position: static;
  }

  .hero {
    padding: 48px 0 36px;
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .section h2 {
    font-size: 1.85rem;
  }

  .hero-card {
    padding: 24px;
  }

  .section {
    padding: 48px 0;
  }

  .card {
    padding: 20px;
  }

  .card-grid,
  .split,
  .hero-rail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .brand strong {
    font-size: 1.4rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .page-hero h1 {
    font-size: 2rem;
  }
}
