:root {
  --ink: #172426;
  --muted: #526064;
  --line: #d8e0dc;
  --line-strong: #c4d1cc;
  --surface: #f7faf8;
  --paper: #ffffff;
  --teal: #287a79;
  --teal-dark: #12343b;
  --green: #2f855a;
  --amber: #b7791f;
  --amber-soft: #fff7e8;
  --shadow: 0 18px 46px rgba(18, 52, 59, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fbfdfb 0, var(--surface) 420px, #f2f7f4 100%);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

a {
  color: var(--teal);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 6px 9px;
  border-radius: 6px;
}

.nav a:hover,
.nav a:focus-visible {
  background: #e9f4f1;
  color: var(--teal-dark);
}

.hero {
  min-height: min(720px, 82vh);
  display: grid;
  align-items: end;
  background-image:
    linear-gradient(90deg, rgba(247, 250, 248, 0.97) 0%, rgba(247, 250, 248, 0.88) 38%, rgba(247, 250, 248, 0.2) 72%),
    url("assets/hero-workflow-v2.jpg");
  background-size: cover;
  background-position: center;
  padding: 88px clamp(20px, 6vw, 92px) 64px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
}

h1,
h2,
h3 {
  color: var(--teal-dark);
  line-height: 1.25;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 58px);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(24px, 3vw, 34px);
}

h3 {
  margin: 28px 0 8px;
  font-size: 20px;
}

.lead {
  max-width: 680px;
  margin: 0;
  color: #263c40;
  font-size: 19px;
}

.band {
  padding: 64px clamp(20px, 6vw, 92px);
}

.band.alt {
  background: #eef6f4;
}

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

.article {
  max-width: 860px;
  margin: 0 auto;
}

.article-hero {
  padding: 58px clamp(20px, 6vw, 92px) 42px;
  background:
    radial-gradient(circle at 16% 18%, rgba(183, 121, 31, 0.12), transparent 32%),
    linear-gradient(135deg, #edf7f3 0%, #f9fbf8 64%);
  border-bottom: 1px solid var(--line);
}

.article-hero .content {
  max-width: 900px;
}

.disclosure {
  margin: 24px 0;
  padding: 16px 18px;
  background: var(--amber-soft);
  border: 1px solid #ead6a4;
  border-radius: 8px;
  color: #4d3a15;
}

.affiliate-cta {
  margin: 30px 0;
  padding: 20px 22px;
  border: 1px solid #c9d9d4;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #ffffff 0%, #f0f8f5 100%);
  box-shadow: var(--shadow);
}

.affiliate-cta .label {
  margin: 0 0 8px;
  color: #7d3217;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.affiliate-cta p {
  margin: 0 0 12px;
}

.affiliate-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.summary-box {
  margin: 24px 0 30px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(18, 52, 59, 0.06);
}

.summary-box h2 {
  margin-bottom: 10px;
}

.summary-box p:last-child {
  margin-bottom: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(18, 52, 59, 0.07);
}

.card:hover {
  border-color: var(--line-strong);
}

.card-media-link {
  display: block;
  width: calc(100% + 44px);
  height: 148px;
  margin: -22px -22px 18px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.card-media {
  display: block;
  width: calc(100% + 44px);
  height: 148px;
  margin: -22px -22px 18px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.card-media-link .card-media {
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  transition: transform 180ms ease;
}

.card-media-link:hover .card-media,
.card-media-link:focus-visible .card-media {
  transform: scale(1.035);
}

.card h3 {
  margin-top: 0;
}

.card-title-link {
  display: block;
  color: var(--teal-dark);
  text-decoration: none;
}

.card-title-link:hover,
.card-title-link:focus-visible {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 4px;
  padding: 7px 12px;
  border: 1px solid rgba(40, 122, 121, 0.28);
  border-radius: 6px;
  background: #eef8f5;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.card-cta:hover,
.card-cta:focus-visible {
  background: var(--teal);
  color: #fff;
}

.metric {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 3px 10px;
  border-radius: 6px;
  background: #e6fffa;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 700;
}

.comparison {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: var(--paper);
  font-size: 15px;
  box-shadow: 0 10px 26px rgba(18, 52, 59, 0.06);
}

.comparison th,
.comparison td {
  padding: 13px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison th {
  background: #e6fffa;
  color: var(--teal-dark);
}

.service-link {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.service-link:hover,
.service-link:focus-visible {
  color: var(--teal);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--teal);
  border-radius: 6px;
  background: var(--teal);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--teal-dark);
}

.button:hover,
.button:focus-visible {
  filter: brightness(0.97);
}

.hero-badges,
.path-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
}

.hero-badges span,
.path-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 11px;
  border: 1px solid rgba(40, 122, 121, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 700;
}

.article-visual {
  margin: 28px 0 34px;
}

.article-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.article-visual figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.source-list {
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
}

.check-list,
.action-list {
  padding-left: 22px;
}

.check-list li,
.action-list li {
  margin: 8px 0;
}

.next-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
}

.contact-form {
  display: grid;
  gap: 18px;
  margin: 24px 0 34px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--teal-dark);
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form .button {
  justify-self: start;
  cursor: pointer;
}

.form-hidden {
  display: none;
}

.site-footer {
  padding: 34px clamp(18px, 5vw, 72px);
  background: var(--teal-dark);
  color: #d7e5e2;
}

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

.site-footer a + a {
  margin-left: 16px;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 560px;
    padding-top: 58px;
    background-position: 68% center;
  }

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

  .comparison {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .card-media {
    height: 170px;
  }

  .card-media-link {
    height: 170px;
  }

  .article-visual img {
    aspect-ratio: 4 / 3;
  }
}
