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

:root {
  --color-mid-gray: #5F677A;
  --color-seafoam: #98C1A9;
  --color-oat-milk: #F8F4EA;
  --color-teal: #4A8A8C;
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-light-gray: #E8E8E8;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Serif Pro', serif;
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--color-mid-gray);
  background-color: var(--color-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Work Sans', sans-serif;
  color: var(--color-mid-gray);
}

h1 {
  font-size: 4.125rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-align: left;
}

h2 {
  font-size: 2.625rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  margin-top: 3.5rem;
  letter-spacing: -0.5px;
}

h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--color-mid-gray);
}

em {
  font-style: italic;
  color: var(--color-seafoam);
  font-weight: 600;
}

a {
  color: var(--color-teal);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  border-bottom: 2px solid var(--color-teal);
  padding-bottom: 2px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-light-gray);
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

header .navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1460px;
  margin: 0 auto;
  padding: 0 5vw;
}

header .logo {
  font-family: 'Work Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-mid-gray);
  cursor: pointer;
  transition: color 0.3s ease;
}

header .logo:hover {
  color: var(--color-seafoam);
  border-bottom: none;
  padding-bottom: 0;
}

header .nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

header .nav-links a {
  font-size: 1rem;
  color: var(--color-mid-gray);
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  transition: border-color 0.3s ease;
}

header .nav-links a:hover {
  border-bottom-color: var(--color-teal);
  padding-bottom: 4px;
}

main {
  margin-top: 80px;
  padding: 0;
}

section {
  padding: 110px 5vw;
}

section.full-bleed {
  padding: 0;
  background-color: var(--color-oat-milk);
}

section.full-bleed img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 500px;
}

section.content-max {
  max-width: 1100px;
  margin: 0 auto;
  padding: 110px 5vw;
}

section.content-wide {
  max-width: 1460px;
  margin: 0 auto;
  padding: 110px 5vw;
}

.hero-section {
  background: linear-gradient(135deg, var(--color-oat-milk) 0%, var(--color-white) 100%);
}

.hero-section img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
}

.divider {
  width: 60px;
  height: 2px;
  background-color: var(--color-seafoam);
  margin: 2rem 0;
}

.container-narrow {
  max-width: 1100px;
  margin: 0 auto;
}

.container-wide {
  max-width: 1460px;
  margin: 0 auto;
  padding: 0 5vw;
}

.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.grid-2-col.reverse {
  direction: rtl;
}

.grid-2-col.reverse > * {
  direction: ltr;
}

@media (max-width: 768px) {
  .grid-2-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  h1 {
    font-size: 2.5rem;
    letter-spacing: -0.5px;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  header .nav-links {
    gap: 1rem;
  }

  header .nav-links a {
    font-size: 0.9rem;
  }

  section {
    padding: 60px 5vw;
  }

  section.content-max {
    padding: 60px 5vw;
  }

  section.content-wide {
    padding: 60px 5vw;
  }
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background-color: var(--color-white);
}

table th {
  background-color: var(--color-seafoam);
  color: var(--color-white);
  padding: 1rem;
  text-align: left;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
}

table td {
  padding: 1rem;
  border-bottom: 1px solid var(--color-light-gray);
}

table tr:hover {
  background-color: rgba(152, 193, 169, 0.15);
  transform: scale(1.015);
  transition: all 0.2s ease;
}

.card {
  background-color: var(--color-oat-milk);
  padding: 2rem;
  border-left: 4px solid var(--color-teal);
  margin: 1.5rem 0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.card:hover {
  background-color: rgba(74, 138, 140, 0.1);
  transform: translateY(-4px);
}

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

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.card-item {
  background-color: var(--color-oat-milk);
  padding: 2rem;
  border: 1px solid var(--color-light-gray);
  transition: all 0.3s ease;
  text-align: center;
}

.card-item:hover {
  border-color: var(--color-teal);
  transform: scale(1.02);
  box-shadow: 0 8px 16px rgba(74, 138, 140, 0.15);
}

.card-item h3 {
  margin-top: 0;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border: 2px solid var(--color-teal);
  color: var(--color-teal);
  background-color: transparent;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border-radius: 4px;
}

.btn:hover {
  background-color: var(--color-teal);
  color: var(--color-white);
  border-bottom: none;
  padding-bottom: 0.75rem;
}

.btn:active {
  transform: scale(0.98);
}

footer {
  background-color: var(--color-mid-gray);
  color: var(--color-white);
  padding: 4rem 5vw 2rem;
  margin-top: 6rem;
  font-size: 0.95rem;
}

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

footer a:hover {
  border-bottom-color: var(--color-seafoam);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1460px;
  margin: 0 auto 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h4 {
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-seafoam);
}

.footer-section p {
  margin-bottom: 0.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.disclaimer {
  background-color: var(--color-oat-milk);
  padding: 1.5rem 2rem;
  border-left: 4px solid var(--color-teal);
  margin: 2rem 0;
  font-size: 0.95rem;
}

.disclaimer strong {
  color: var(--color-mid-gray);
}

form {
  max-width: 600px;
  margin: 2rem 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  color: var(--color-mid-gray);
}

input[type="email"],
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-light-gray);
  border-radius: 4px;
  font-family: 'Source Serif Pro', serif;
  font-size: 1rem;
  color: var(--color-mid-gray);
  transition: border-color 0.3s ease;
}

input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(74, 138, 140, 0.1);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-submit {
  background-color: var(--color-teal);
  color: var(--color-white);
  padding: 0.75rem 2rem;
  border: 2px solid var(--color-teal);
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  transition: all 0.3s ease;
}

.form-submit:hover {
  background-color: var(--color-mid-gray);
  border-color: var(--color-mid-gray);
}

.fade-in {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-mid-gray);
  color: var(--color-white);
  padding: 1.5rem;
  z-index: 9999;
  display: none;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

.cookie-banner.show {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.95rem;
}

.cookie-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-actions button {
  padding: 0.5rem 1.5rem;
  border: 2px solid var(--color-seafoam);
  background-color: transparent;
  color: var(--color-seafoam);
  cursor: pointer;
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.cookie-actions button.accept {
  background-color: var(--color-seafoam);
  color: var(--color-white);
}

.cookie-actions button:hover {
  background-color: var(--color-seafoam);
  color: var(--color-white);
}

.cookie-actions a {
  color: var(--color-seafoam);
  padding: 0.5rem 1.5rem;
  border: 2px solid var(--color-seafoam);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.cookie-actions a:hover {
  background-color: var(--color-seafoam);
  color: var(--color-white);
}

@media (max-width: 768px) {
  .cookie-banner.show {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .cookie-actions {
    flex-direction: column;
  }

  .cookie-actions button,
  .cookie-actions a {
    width: 100%;
    text-align: center;
  }
}

.section-image {
  width: 100%;
  height: auto;
  margin: 2rem 0;
  border-radius: 4px;
}

@media (max-width: 480px) {
  body {
    font-size: 1rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.15rem;
  }

  header .logo {
    font-size: 1.25rem;
  }

  header .nav-links {
    gap: 0.75rem;
  }

  header .nav-links a {
    font-size: 0.85rem;
  }
}
