
:root {
  --ink: #20242a;
  --muted: #65707d;
  --line: #dce3e7;
  --paper: #ffffff;
  --soft: #f4f7f7;
  --brand: #0b8f7b;
  --brand-dark: #273039;
  --accent: #d95c3b;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(11, 143, 123, 0.12), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, #f7faf9 48%, #ffffff 100%);
  line-height: 1.65;
}

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--brand-dark);
  color: #fff;
  border-bottom: 4px solid var(--brand);
  box-shadow: 0 8px 24px rgba(15, 23, 28, 0.18);
}

.header-inner,
.footer-inner,
.section,
.page-wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--brand), #37b6a1);
  font-weight: 800;
  box-shadow: inset 0 -10px 18px rgba(0, 0, 0, 0.12);
}

.brand small {
  display: block;
  color: #cfd8dc;
  font-size: 0.78rem;
  line-height: 1.2;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.site-nav li {
  position: relative;
}

.site-nav a {
  color: #ecf2f3;
  display: block;
  padding: 10px 11px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.2;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.site-nav li ul {
  min-width: 220px;
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 16px 35px rgba(20, 30, 35, 0.16);
}

.site-nav li:hover ul,
.site-nav li:focus-within ul {
  display: block;
}

.site-nav li ul a {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: clamp(430px, 52vw, 620px);
  margin: 0;
  overflow: hidden;
  background: #111820;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 14, 18, 0.9) 0%, rgba(9, 14, 18, 0.72) 38%, rgba(9, 14, 18, 0.16) 72%, rgba(9, 14, 18, 0.02) 100%),
    linear-gradient(0deg, rgba(9, 14, 18, 0.35), rgba(9, 14, 18, 0.08));
}

.hero-copy {
  width: min(var(--max), calc(100% - 32px));
  min-height: inherit;
  margin: 0 auto;
  padding: clamp(42px, 8vw, 92px) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  animation: hero-rise 700ms ease both;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0;
  color: #fff;
}

.hero p {
  max-width: 620px;
  font-size: 1.18rem;
  color: #edf4f2;
}

.hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #111820;
  transform: scale(1.03);
  animation: hero-image 1400ms ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding: 58px 0;
}

.section-head {
  margin-bottom: 22px;
  max-width: 720px;
}

.section h2,
.article h1 {
  margin: 0 0 14px;
  line-height: 1.12;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-head p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.card {
  --card-accent: var(--brand);
  min-height: 214px;
  display: block;
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9)),
    var(--soft);
  box-shadow: 0 8px 22px rgba(20, 30, 35, 0.06);
  overflow: hidden;
  animation: card-rise 520ms ease both;
  animation-delay: calc(var(--i) * 45ms);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
}

.card:hover,
.card:focus {
  border-color: var(--brand);
  box-shadow: 0 16px 38px rgba(20, 30, 35, 0.14);
  transform: translateY(-4px);
}

.card h3 {
  margin: 14px 0 10px;
  color: var(--brand-dark);
  line-height: 1.2;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--brand);
  background: rgba(11, 143, 123, 0.1);
  box-shadow: inset 0 0 0 1px rgba(11, 143, 123, 0.14);
}

.card-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 38px;
  border-top: 1px solid var(--line);
}

.button {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 5px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(11, 143, 123, 0.24);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus {
  background: #0a7c6b;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(11, 143, 123, 0.28);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.button.secondary:hover,
.button.secondary:focus {
  background: rgba(255, 255, 255, 0.2);
}

.updates {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 34px rgba(20, 30, 35, 0.08);
}

.updates ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.updates li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.updates li:last-child {
  border-bottom: 0;
}

.updates span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.page-wrap {
  padding: 48px 0 64px;
}

.article {
  max-width: 860px;
}

.article h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}

.article-meta {
  color: var(--muted);
  margin-top: -4px;
}

.content {
  margin-top: 28px;
  font-size: 1.04rem;
}

.content p {
  margin: 0 0 1.2rem;
}

.content p[style*="center"] {
  margin-top: 2rem;
  color: var(--brand-dark);
  font-size: 1.2rem;
}

.content blockquote {
  margin: 1.8rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--brand);
  background: var(--soft);
}

.content figure {
  margin: 2rem 0;
}

.content img {
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(20, 30, 35, 0.1);
}

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 2rem 0;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-link {
  margin-top: -1.35rem;
  font-size: 0.92rem;
}

.list {
  display: grid;
  gap: 22px;
}

.list-item {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.list-item h2 {
  margin: 0 0 8px;
}

.site-footer {
  background: var(--brand-dark);
  color: #dce5e8;
}

.footer-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-image {
  from {
    opacity: 0.72;
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1.03);
  }
}

@keyframes card-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .header-inner,
  .footer-inner,
  .two-column {
    display: block;
  }

  .header-inner {
    padding: 14px 0;
  }

  .site-nav {
    margin-top: 14px;
  }

  .site-nav ul {
    align-items: stretch;
  }

  .site-nav li ul {
    position: static;
    display: block;
    width: 100%;
    margin-left: 12px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .site-nav li ul a {
    color: #ecf2f3;
  }

  .hero img {
    object-position: 56% center;
  }

  .hero-actions {
    display: block;
  }

  .hero-actions .button {
    margin-right: 8px;
  }

  .footer-inner {
    padding: 22px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
