:root {
  --color-pale-grey: #E5E7EB;
  --color-soft-blue: #BFDBFE;
  --color-sage: #A7C7A7;
  --color-charcoal: #374151;
  --color-white: #FFFFFF;
  --color-light-grey: #F3F4F6;
}

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

html, body {
  font-family: 'Avenir Light', 'Helvetica Light', sans-serif;
  background-color: var(--color-white);
  color: var(--color-charcoal);
  line-height: 2.0;
  letter-spacing: 0.3px;
}

body {
  padding-top: 70px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Crimson Text', serif;
  font-weight: 300;
  color: var(--color-charcoal);
}

h1 {
  font-size: 5.8rem;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--color-soft-blue);
  font-weight: 300;
}

h2 {
  font-size: 2.7rem;
  line-height: 1.3;
  margin-bottom: 2rem;
  margin-top: 3rem;
  font-weight: 300;
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
  font-weight: 300;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 2.0;
}

a {
  color: var(--color-charcoal);
  text-decoration: underline;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-soft-blue);
}

header {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-pale-grey);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.navbar {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.navbar-brand {
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 2px;
  text-decoration: none;
  color: var(--color-charcoal);
}

.navbar-brand:hover {
  color: var(--color-soft-blue);
}

.navbar-nav {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.navbar-nav a {
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--color-charcoal);
  transition: all 0.6s ease;
  position: relative;
}

.navbar-nav a:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-soft-blue);
  transition: width 0.6s ease;
}

.navbar-nav a:hover:after {
  width: 100%;
}

footer {
  background-color: var(--color-pale-grey);
  border-top: 1px solid #D1D5DB;
  padding: 4rem 2rem;
  margin-top: 6rem;
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-content {
  max-width: 1520px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-section h4 {
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  font-weight: 400;
}

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

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

.footer-section a {
  text-decoration: none;
  color: var(--color-charcoal);
}

.footer-section a:hover {
  color: var(--color-soft-blue);
}

.footer-bottom {
  max-width: 1520px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid #D1D5DB;
  text-align: center;
  font-size: 0.85rem;
  color: #6B7280;
}

.container-wide {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-section {
  height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 4rem 2rem;
  background: linear-gradient(180deg, rgba(229,231,235,0.15) 0%, rgba(255,255,255,0) 100%), var(--color-white);
  position: relative;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding-bottom: 4rem;
  padding-left: 4rem;
}

section {
  padding: 5rem 2rem;
}

.section-content {
  max-width: 1520px;
  margin: 0 auto;
}

.section-with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.section-image {
  max-width: 100%;
  height: auto;
  border-top: 1px solid var(--color-pale-grey);
  padding-top: 1rem;
  opacity: 0.85;
  filter: blur(2px);
}

button, .btn {
  background-color: transparent;
  border: 1px solid var(--color-charcoal);
  padding: 0.8rem 1.8rem;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.6s ease;
  color: var(--color-charcoal);
  font-weight: 300;
}

button:hover, .btn:hover {
  background-color: var(--color-soft-blue);
  border-color: var(--color-soft-blue);
  color: var(--color-white);
  transform: scale(1.02);
}

.card {
  border: none;
  border-top: 1px solid var(--color-pale-grey);
  padding: 2rem 0;
  background-color: transparent;
  transition: all 0.6s ease;
}

.card:hover {
  color: var(--color-soft-blue);
}

.card a {
  text-decoration: none;
  font-weight: 300;
}

.card h3 {
  margin-top: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
}

table th {
  border-bottom: 1px solid var(--color-pale-grey);
  padding: 1rem;
  text-align: left;
  font-weight: 400;
}

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

table tr:hover {
  background-color: var(--color-light-grey);
}

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

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

label {
  display: block;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  font-weight: 300;
}

input, textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--color-pale-grey);
  background-color: var(--color-white);
  color: var(--color-charcoal);
  font-family: 'Avenir Light', 'Helvetica Light', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  transition: all 0.3s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--color-soft-blue);
  box-shadow: 0 0 0 2px rgba(191, 219, 254, 0.2);
}

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

.faq-item {
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-pale-grey);
}

.faq-item h3 {
  margin-top: 0;
  font-size: 1.3rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-item h3:hover {
  color: var(--color-soft-blue);
}

.disclaimer {
  background-color: var(--color-pale-grey);
  border-left: 3px solid var(--color-sage);
  padding: 1.5rem;
  margin: 2rem 0;
  font-size: 0.9rem;
  line-height: 1.8;
}

.closing-note {
  text-align: center;
  padding: 3rem 2rem;
  color: #999;
  font-size: 0.95rem;
  line-height: 1.8;
}

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

.blog-card {
  border-top: 1px solid var(--color-pale-grey);
  padding-top: 1.5rem;
}

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

.blog-card a {
  text-decoration: none;
  font-weight: 300;
}

.blog-card a:hover {
  color: var(--color-soft-blue);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-charcoal);
  color: var(--color-white);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  z-index: 999;
  font-size: 0.9rem;
  line-height: 1.6;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-buttons button {
  background-color: transparent;
  border: 1px solid var(--color-white);
  color: var(--color-white);
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-buttons button:hover {
  background-color: var(--color-white);
  color: var(--color-charcoal);
}

.cookie-buttons button.primary {
  background-color: var(--color-soft-blue);
  border-color: var(--color-soft-blue);
  color: var(--color-charcoal);
}

.cookie-buttons button.primary:hover {
  background-color: var(--color-white);
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .navbar-nav {
    gap: 1.5rem;
    font-size: 0.9rem;
  }
  
  .hero-section {
    height: 60vh;
    padding: 2rem;
  }
  
  .hero-content {
    padding-bottom: 2rem;
    padding-left: 0;
  }
  
  section {
    padding: 3rem 1.5rem;
  }
  
  .section-with-image {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }
  
  .cookie-buttons button {
    width: 100%;
  }
}
