:root {
  color-scheme: light;
  --ink: #142033;
  --muted: #5f6d7e;
  --soft: #eef3f7;
  --line: #dce5ed;
  --brand: #0a8f73;
  --brand-dark: #05604f;
  --accent: #2f67d8;
  --warm: #f2a341;
  --panel: #ffffff;
  --page: #f8fafc;
  --shadow: 0 22px 60px rgba(28, 42, 63, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--page);
  line-height: 1.7;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(248, 250, 252, 0.94);
  border-bottom: 1px solid rgba(220, 229, 237, 0.8);
  backdrop-filter: blur(14px);
}

.brand,
.top-nav,
.article-meta,
.nav-cta,
.article-cta {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 7px;
  font-size: 18px;
}

.top-nav {
  justify-content: center;
  gap: clamp(14px, 3vw, 32px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.top-nav a:hover {
  color: var(--brand-dark);
}

.nav-cta,
.article-cta {
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: #fff;
  background: var(--brand-dark);
  border-radius: 7px;
  font-size: 14px;
  font-weight: 800;
}

.blog-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: clamp(34px, 5vw, 68px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: 58px 0 48px;
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.25;
}

.hero-summary {
  max-width: 610px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

.article-meta {
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.article-meta span + span::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 16px;
  vertical-align: middle;
  background: var(--warm);
  border-radius: 50%;
}

.hero-media,
.image-band figure,
.two-image-grid figure {
  margin: 0;
}

.hero-media {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

figcaption {
  padding: 14px 18px 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.lead-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-bottom: 86px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.lead-grid div {
  padding: 26px;
  background: var(--panel);
}

.lead-grid strong,
.lead-grid span {
  display: block;
}

.lead-grid strong {
  margin-bottom: 6px;
  font-size: 17px;
}

.lead-grid span {
  color: var(--muted);
  font-size: 15px;
}

.article-section {
  max-width: 850px;
  margin: 0 auto;
  padding: 78px 0;
}

.article-section p {
  color: #334155;
  font-size: 18px;
}

.article-section p:last-child {
  margin-bottom: 0;
}

.image-band,
.two-image-grid {
  margin: 16px 0 64px;
}

.image-band figure,
.two-image-grid figure {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 52px;
  max-width: 1040px;
  align-items: start;
}

.callout {
  padding: 28px;
  background: #102234;
  color: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.callout h3 {
  margin-bottom: 20px;
}

.callout dl {
  margin: 0;
}

.callout div {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.callout dt {
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.callout dd {
  margin: 4px 0 0;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.two-image-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.workflow-list {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.prompt-section {
  max-width: 960px;
}

.prompt-card {
  overflow: hidden;
  margin-top: 30px;
  background: #102234;
  border: 1px solid #243b50;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.prompt-card-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  color: #dce7ee;
  background: #0b1826;
  border-bottom: 1px solid #243b50;
}

.prompt-card-head span {
  color: #8ed9c5;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.prompt-card-head strong {
  color: #fff;
  font-size: 14px;
}

.prompt-card pre {
  max-height: 620px;
  margin: 0;
  padding: 24px;
  overflow: auto;
  color: #eef7fb;
  background: #102234;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.workflow-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.workflow-item > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--brand-dark);
  background: #dff5ef;
  border-radius: 7px;
  font-weight: 900;
}

.workflow-item p {
  margin-bottom: 0;
  font-size: 16px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.capability-grid div {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.capability-grid p {
  margin-bottom: 0;
  font-size: 16px;
}

.final-section {
  padding-bottom: 96px;
}

.article-cta {
  width: max-content;
  margin-top: 24px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 42px clamp(20px, 5vw, 72px);
  color: #dce7ee;
  background: #102234;
}

.site-footer p {
  max-width: 620px;
  margin: 8px 0 0;
  color: #a8bbc8;
}

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

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .top-nav {
    display: none;
  }

  .hero,
  .split-section,
  .two-image-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .lead-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .article-section {
    padding: 58px 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 13px;
  }

  .blog-shell {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-summary,
  .article-section p {
    font-size: 17px;
  }

  .lead-grid div,
  .workflow-item,
  .capability-grid div,
  .callout {
    padding: 20px;
  }

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

  .workflow-item > span {
    width: 40px;
    height: 40px;
  }

  .site-footer {
    display: block;
  }

  .site-footer a {
    display: inline-block;
    margin-top: 22px;
  }
}

/* Editorial refinement */
:root {
  --ink: #17212b;
  --muted: #64717f;
  --line: #dce4e8;
  --brand: #07886f;
  --brand-dark: #056451;
  --brand-soft: #e4f5f0;
  --page: #f7f9fa;
  --night: #102734;
  --shadow: 0 22px 55px rgba(23, 45, 57, 0.1);
}

body { -webkit-font-smoothing: antialiased; }
::selection { color: var(--ink); background: #bfe9dd; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 14px; color: #fff; background: var(--night); border-radius: 6px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.reading-progress { position: fixed; inset: 0 0 auto; z-index: 30; height: 3px; }
.reading-progress span { display: block; width: 0; height: 100%; background: var(--brand); }

.site-header { min-height: 72px; padding-block: 12px; background: rgba(247, 249, 250, 0.9); backdrop-filter: blur(16px); }
.brand-mark { width: 36px; height: 36px; box-shadow: 0 7px 18px rgba(7, 136, 111, 0.22); }
.top-nav { font-size: 13px; }
.nav-cta, .article-cta { border-radius: 6px; box-shadow: 0 8px 20px rgba(5, 100, 81, 0.16); transition: background 160ms ease, transform 160ms ease; }
.nav-cta:hover, .article-cta:hover { background: #044d3f; transform: translateY(-1px); }

.hero { grid-template-columns: minmax(0, 0.88fr) minmax(430px, 1.12fr); min-height: min(760px, calc(100vh - 72px)); padding: 64px 0 56px; }
.hero { grid-template-columns: 1fr; gap: 42px; min-height: auto; padding-bottom: 44px; }
.hero-copy { max-width: 880px; }
.hero-labels { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.hero-labels .eyebrow { margin: 0; }
.hero-labels > span { padding-left: 12px; color: var(--muted); border-left: 1px solid var(--line); font-size: 12px; font-weight: 700; }
h1 { font-size: clamp(42px, 5vw, 66px); line-height: 1.02; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; text-wrap: balance; }
.hero-summary { font-size: 19px; }
.article-meta { font-size: 13px; }
.hero-media { transform: none; }
.hero-media img { aspect-ratio: 1672 / 941; object-fit: cover; }
.window-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; color: #7d8b96; background: #edf2f4; border-bottom: 1px solid var(--line); font-size: 10px; font-weight: 700; }
.window-bar i { width: 8px; height: 8px; background: #c4cfd4; border-radius: 50%; }
.window-bar i:first-child { background: #ed866f; }
.window-bar i:nth-child(2) { background: #e8b85c; }
.window-bar i:nth-child(3) { background: #64b991; }
.window-bar span { margin-left: auto; }
figcaption { font-size: 12px; }

.lead-grid { margin-bottom: 84px; }
.lead-grid div { position: relative; padding-inline: 28px; }
.lead-grid span { font-size: 14px; line-height: 1.55; }
.lead-grid .lead-number { position: absolute; top: 22px; right: 24px; color: #a9b5bb; font-family: "SFMono-Regular", Consolas, monospace; font-size: 11px; font-weight: 800; }
.article-section { max-width: 820px; padding-block: 76px; }
.article-section p { color: #394955; font-size: 17px; }
.article-section > p:not(.section-kicker) { max-width: 74ch; }
.image-band, .two-image-grid { margin-bottom: 66px; }
.product-view { max-width: 1040px; margin: 0 auto 30px; }
.split-section { gap: 56px; }
.callout, .prompt-card, .site-footer { background: var(--night); }

.prompt-card-head { align-items: center; padding: 15px 18px 15px 22px; }
.prompt-card-head > div { display: flex; align-items: center; gap: 16px; }
.prompt-card-head span { font-size: 11px; letter-spacing: 0.08em; }
.prompt-card-head strong { font-size: 13px; }
.copy-button { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 11px; color: #dfeaed; background: #183440; border: 1px solid #35505c; border-radius: 5px; cursor: pointer; font-size: 12px; font-weight: 800; transition: background 160ms ease, border-color 160ms ease; }
.copy-button:hover { background: #214553; border-color: #52707c; }
.copy-button.is-copied { color: #a6ead6; border-color: #398a73; }
.copy-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.copy-button span { color: inherit; letter-spacing: 0; text-transform: none; }
.prompt-card pre { max-height: 600px; padding: 26px; font-size: 12.5px; scrollbar-color: #45616d transparent; }

.workflow-list { gap: 14px; margin-top: 36px; }
.workflow-item { border-radius: 8px; transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.workflow-item:hover { border-color: #bfd2d8; box-shadow: 0 12px 30px rgba(23,45,57,0.07); transform: translateY(-2px); }
.workflow-item > span { background: var(--brand-soft); border-radius: 6px; font-size: 13px; }
.workflow-item p, .capability-grid p { font-size: 15.5px; }
.capability-grid { gap: 14px; }
.capability-grid div { border-top: 3px solid var(--brand); border-radius: 3px 3px 7px 7px; }
.capability-grid div:nth-child(2) { border-top-color: var(--accent); }
.capability-grid div:nth-child(3) { border-top-color: var(--warm); }
.capability-grid div:nth-child(4) { border-top-color: #7d6fb2; }
:focus-visible { outline: 3px solid rgba(56,105,201,0.38); outline-offset: 3px; }

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

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 52px; }
  .hero-copy { max-width: 760px; }
  .hero-media { transform: none; }
  .article-section { padding-block: 58px; }
}

@media (max-width: 640px) {
  .site-header { min-height: 62px; padding-block: 10px; }
  .hero { gap: 34px; padding: 36px 0 40px; }
  h1 { font-size: 39px; }
  h2 { font-size: 29px; }
  .hero-summary, .article-section p { font-size: 16px; }
  .article-meta { display: grid; gap: 4px; }
  .article-meta span + span::before { display: none; }
  .hero-media figcaption { display: none; }
  .lead-grid { margin-bottom: 54px; }
  .prompt-card-head { align-items: flex-start; }
  .prompt-card-head > div { display: grid; gap: 2px; }
  .prompt-card-head strong { max-width: 170px; }
  .prompt-card pre { max-height: 520px; padding: 20px; font-size: 11.5px; }
}
