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

:root {
  --primary: #115E59;
  --secondary: #22C1C3;
  --background: #F3F4F6;
  --card: #FFFFFF;
  --text: #0F172A;
  --muted: #6B7280;
  --accent: #F59E0B;
  --border: rgba(15, 23, 42, 0.08);
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  --radius: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Work Sans', 'Space Grotesk', system-ui, sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

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

img {
  max-width: 100%;
  width: 100%;
  display: block;
  border-radius: calc(var(--radius) - 6px);
  object-fit: cover;
}

.container {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-space {
  padding: 4rem 0;
}

@media (min-width: 900px) {
  .section-space {
    padding: 5rem 0;
  }
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Work Sans', system-ui, sans-serif;
  color: var(--text);
  font-weight: 700;
  line-height: 1.2;
}

p {
  color: var(--muted);
}

.lead {
  font-size: 1.05rem;
  margin-top: 0.75rem;
}

.eyebrow {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 0.65rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(243, 244, 246, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary);
}

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

.nav-links li a {
  display: block;
}

.nav-links a {
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  background: rgba(17, 94, 89, 0.1);
  color: var(--primary);
}

.menu-toggle {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 10px;
}

@media (max-width: 820px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    background: var(--card);
    margin: 0 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
  }

  .nav-links li {
    border-bottom: 1px solid var(--border);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .site-header.menu-open .nav-links {
    max-height: 420px;
  }
}

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.hero-actions {
  margin: 1.5rem 0 1rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
}

.image-frame {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.floating-card {
  position: absolute;
  bottom: -1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: var(--card);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.floating-card .mini-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  background: rgba(34, 193, 195, 0.15);
  color: var(--text);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--primary);
  color: #fff;
  padding: 0.8rem 1.1rem;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
  box-shadow: 0 10px 25px rgba(17, 94, 89, 0.25);
}

.btn:hover {
  transform: translateY(-1px);
  background: #0d4e4a;
}

.btn.ghost {
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(17, 94, 89, 0.2);
  box-shadow: none;
}

.btn.ghost:hover {
  background: rgba(17, 94, 89, 0.1);
}

.btn.small {
  padding: 0.65rem 0.95rem;
  font-size: 0.95rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  transition: gap 0.2s ease, color 0.2s ease;
}

.link-arrow::after {
  content: '→';
  transition: transform 0.2s ease;
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.cards-grid, .articles-list {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .cards-grid, .articles-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .cards-grid, .articles-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

@media (min-width: 900px) {
  .guides-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.guides-list {
  grid-template-columns: 1fr;
}

@media (min-width: 960px) {
  .guides-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tools-grid, .tools-list {
  grid-template-columns: 1fr;
}

@media (min-width: 780px) {
  .tools-grid, .tools-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.card-body {
  padding: 1.25rem 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.card p {
  font-size: 0.98rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(17, 94, 89, 0.1);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-direction: column;
}

.section-header > div {
  width: 100%;
}

.page-hero {
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
}

.page-hero .lead {
  max-width: 720px;
  margin: 0.7rem auto 0;
}

.narrow {
  max-width: 800px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.filter-btn {
  padding: 0.65rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
}

.filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.filter-btn:hover {
  border-color: var(--primary);
}

.card > img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.article-card h3,
.guide-card h3 {
  font-size: 1.15rem;
}

.newsletter-card {
  display: grid;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(17, 94, 89, 0.1), rgba(34, 193, 195, 0.1));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  align-items: center;
  box-shadow: var(--shadow);
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.subscribe-form input,
.subscribe-form button {
  width: 100%;
}

.subscribe-form input,
.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 1rem;
  color: var(--text);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.subscribe-form input:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(17, 94, 89, 0.15);
}

.site-footer {
  background: #0f172a;
  color: #e5e7eb;
  padding: 3rem 0 2rem;
  margin-top: 3rem;
}

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

.site-footer h3, .site-footer h4 {
  color: #fff;
}

.site-footer ul {
  list-style: none;
  margin-top: 0.8rem;
}

.site-footer li + li {
  margin-top: 0.35rem;
}

.site-footer a {
  color: #e5e7eb;
}

.site-footer a:hover {
  color: var(--secondary);
}

.footer-bottom {
  margin-top: 1.5rem;
  border-top: 1px solid rgba(229, 231, 235, 0.12);
  padding-top: 1rem;
  text-align: center;
  color: #cbd5e1;
}

.newsletter-card form,
.site-footer form {
  max-width: 520px;
}

@media (min-width: 900px) {
  .newsletter-card {
    grid-template-columns: 2fr 1.4fr;
  }

  .subscribe-form {
    flex-direction: row;
  }

  .subscribe-form input {
    width: auto;
    flex: 1;
  }

  .subscribe-form button {
    width: auto;
  }
}

.image-band {
  background-size: cover;
  background-position: center;
  padding: 3.5rem 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.image-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 94, 89, 0.9), rgba(17, 94, 89, 0.2));
}

.image-band.alt::before {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.25));
}

.image-band-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  color: #ecfeff;
}

.about-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.checklist {
  list-style: none;
  margin-top: 0.8rem;
  display: grid;
  gap: 0.4rem;
}

.checklist li::before {
  content: '•';
  color: var(--accent);
  margin-right: 0.5rem;
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  align-items: start;
}

.contact-highlight {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(34, 193, 195, 0.1);
  border: 1px solid var(--border);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-weight: 700;
  color: var(--text);
}

.required {
  color: var(--accent);
  margin-left: 0.15rem;
}

.form-message {
  margin-top: 0.75rem;
  font-weight: 700;
}

@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: 1.1fr 1fr;
  }
}

.tools-list .card-body h3 {
  margin-bottom: 0.2rem;
}

.tools-list .card {
  min-height: 180px;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-visual .image-frame img {
  height: 100%;
  display: block;
  object-fit: cover;
}

.reveal {
  opacity: 1;
  transform: none;
}

body.js-animate .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

body.js-animate .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 540px) {
  .floating-card {
    position: static;
    margin-top: 1rem;
  }
}

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

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

@media (min-width: 720px) {
  .section-header {
    flex-direction: row;
    align-items: center;
  }
}

.section-header .link-arrow {
  white-space: nowrap;
}

.is-hidden {
  display: none !important;
}
