:root {
  --bg: #fbf0d7;
  --paper: rgba(255, 255, 255, 0.96);
  --ink: #1f2a22;
  --muted: #667076;
  --line: #cfd6dc;
  --green: #004a60;
  --green-deep: #245c85;
  --sea: #54b4b7;
  --coral: #54b4b7;
  --gold: #fbf0d7;
  --shadow: 0 28px 64px rgba(10, 33, 42, 0.14);
  --radius: 0.55rem;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  background: #ffffff;
  color: var(--ink);
}

.site-header {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 24px rgba(34, 42, 49, 0.06);
}

.site-header__inner,
.site-header__menu-shell,
.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header__inner {
  padding: 14px 0 12px;
}

.site-header__logo {
  width: auto;
  height: 60px;
  object-fit: contain;
}

.site-header__menu-row {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--green);
  box-shadow: 0 8px 24px rgba(34, 42, 49, 0.08);
}

.site-header__menu-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.site-header__brand-text {
  color: rgba(255, 255, 255, 0.94);
  font-family: "Outfit", "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.9rem;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.site-header__menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 0;
  justify-self: end;
}

.site-header__menu-item,
.header-icon-button {
  border: 0;
  background: transparent;
  color: #1f2a22;
  font: inherit;
}

.site-header__menu-item {
  padding: 10px 14px;
  border-radius: 0.35rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.site-header__menu-item:hover,
.site-header__menu-item:focus-visible,
.header-icon-button:hover,
.header-icon-button:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  outline: none;
}

.site-header__menu-item--active {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.header-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 0.35rem;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.site-header__mobile-toggle {
  display: none;
  padding: 10px;
  flex-direction: column;
  gap: 4px;
}

.site-header__mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
}

.page-shell {
  flex: 1 0 auto;
  width: min(980px, calc(100% - 28px));
  margin: 32px auto 56px;
}

.hero-card,
.tool-card {
  background: var(--paper);
  border: 1px solid rgba(207, 214, 220, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 28px 30px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(251, 240, 215, 0.9) 72%, rgba(227, 243, 243, 0.72) 100%);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 12px;
  background: linear-gradient(180deg, #004a60 0%, #54b4b7 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: #39535d;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card h1 {
  margin: 0 0 14px;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.hero-copy {
  max-width: 50rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.tool-card {
  display: block;
  position: relative;
  overflow: hidden;
  padding: 24px 24px 22px;
  color: inherit;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 252, 0.97));
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.tool-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 12px;
  background: linear-gradient(180deg, #daff00 0%, #b8df00 100%);
}

.tool-card:hover,
.tool-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(15, 90, 112, 0.4);
  box-shadow: 0 20px 36px rgba(10, 33, 42, 0.16);
  outline: none;
}

.tool-card__kicker {
  margin: 0 0 10px;
  color: #617078;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tool-card h2 {
  margin: 0 0 10px;
  font-size: 1.95rem;
  line-height: 1;
}

.tool-card p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  margin: auto 0 0;
  padding: 10px 16px;
  background: var(--green);
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  font-family: "Outfit", "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  font-weight: 200;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .site-header__menu-shell {
    width: min(100% - 32px, 100%);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .site-header__brand-text {
    font-size: 1.35rem;
    white-space: normal;
  }

  .site-header__mobile-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-header__menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    width: 100%;
    grid-column: 1 / -1;
    padding: 12px 16px 16px;
    justify-self: stretch;
  }

  .site-header__menu--open {
    display: flex;
  }

  .site-header__menu-item {
    width: 100%;
    border-radius: 0.45rem;
    text-align: left;
  }

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

@media (max-width: 640px) {
  .site-header__inner,
  .site-header__menu-shell,
  .page-shell {
    width: min(100% - 20px, 100%);
  }

  .site-header__logo {
    height: 42px;
  }

  .hero-card {
    padding: 22px 18px;
  }

  .site-header__brand-text {
    font-size: 1.05rem;
  }

  .page-shell {
    margin: 18px auto 30px;
  }

  .tool-card {
    padding: 18px;
  }

  .tool-card h2 {
    font-size: 1.6rem;
  }
}
