:root {
  --ink: #17252b;
  --muted: #5d7075;
  --paper: #f4f7f5;
  --paper-strong: #e8efec;
  --teal: #0f5b5d;
  --teal-dark: #0b3f42;
  --coral: #e56a4f;
  --yellow: #e7b92f;
  --blue: #2957c8;
  --line: #cbd8d4;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: inherit; }

.site-header {
  align-items: center;
  background: rgba(244, 247, 245, .96);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding: 17px 34px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 11px;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--teal);
  border-radius: 6px;
  color: white;
  display: inline-flex;
  font-size: 15px;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.site-nav { align-items: center; display: flex; gap: 20px; }
.site-nav a { color: var(--muted); font-size: 14px; text-decoration: none; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--teal-dark); }

.nav-button, .button {
  background: var(--teal);
  border: 1px solid var(--teal);
  color: white !important;
  display: inline-block;
  font-size: 14px;
  font-weight: 750;
  padding: 10px 16px;
  text-decoration: none;
}

.nav-button:hover, .button:hover, .nav-button:focus-visible, .button:focus-visible {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.button.secondary { background: transparent; border-color: var(--teal); color: var(--teal) !important; }
.button.secondary:hover, .button.secondary:focus-visible { background: var(--paper-strong); }

.hero {
  background-color: #eef3f1;
  background-image: url("../media/agent-skill-catalog-overview.png");
  background-position: right center;
  background-repeat: no-repeat;
  background-size: auto 100%;
  min-height: 650px;
  overflow: hidden;
  position: relative;
}

.hero-copy {
  background: rgba(244, 247, 245, .95);
  border-right: 1px solid rgba(203, 216, 212, .7);
  min-height: 650px;
  padding: 94px 54px 70px max(34px, calc((100vw - var(--max)) / 2));
  position: relative;
  width: 53%;
  z-index: 1;
}

.eyebrow {
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.12; margin: 0; }
h1 { font-size: 5rem; max-width: 620px; }
h2 { font-size: 3rem; }
h3 { font-size: 1.18rem; }

.hero-copy p {
  color: var(--muted);
  font-size: 1.18rem;
  margin: 24px 0 30px;
  max-width: 560px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.proof-line { color: var(--muted); font-size: 13px; margin-top: 28px; }

.section, .section-band { padding: 92px 34px; }
.section > *, .section-band > * { margin-left: auto; margin-right: auto; max-width: var(--max); }
.section-band { background: var(--paper-strong); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.install-strip {
  align-items: center;
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 2fr);
}
.install-strip h2 { font-size: 1.55rem; }
.command {
  background: #15282d;
  color: #eaf5f2;
  display: block;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 14px;
  overflow-wrap: anywhere;
  padding: 17px 19px;
}

.lede { color: var(--muted); font-size: 1.08rem; max-width: 720px; }
.section-heading { margin-bottom: 38px; }

.three-up {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, 1fr);
}
.three-up article {
  border-left: 1px solid var(--line);
  padding: 5px 30px 5px 24px;
}
.three-up article:first-child { border-left: 0; padding-left: 0; }
.three-up p { color: var(--muted); margin: 11px 0 0; }
.accent-teal { border-top: 5px solid var(--teal); }
.accent-coral { border-top: 5px solid var(--coral); }
.accent-yellow { border-top: 5px solid var(--yellow); }

.visual-frame {
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(23, 37, 43, .1);
  margin-top: 34px;
  padding: 10px;
}
.visual-frame img { display: block; height: auto; width: 100%; }
.visual-caption { color: var(--muted); font-size: 13px; margin: 12px 4px 2px; }

.steps {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
}
.step { border-top: 2px solid var(--teal); padding: 20px 26px 0 0; }
.step + .step { border-left: 1px solid var(--line); padding-left: 26px; }
.step-number { color: var(--coral); font-size: 14px; font-weight: 800; letter-spacing: 0; }
.step p { color: var(--muted); margin: 10px 0 0; }

.screens {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 38px;
}
.screens figure { margin: 0; }
.screens img { border: 1px solid var(--line); display: block; height: auto; width: 100%; }
.screens figcaption { color: var(--muted); font-size: 13px; margin-top: 10px; }

.faq { border-top: 1px solid var(--line); margin-top: 34px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 750; }
.faq p { color: var(--muted); margin: 13px 0 0; max-width: 820px; }

.cta {
  background: var(--teal-dark);
  color: white;
  padding: 76px 34px;
}
.cta-inner { align-items: end; display: flex; gap: 34px; justify-content: space-between; margin: 0 auto; max-width: var(--max); }
.cta p { color: #c7dcda; margin: 15px 0 0; max-width: 650px; }
.cta .button { background: var(--yellow); border-color: var(--yellow); color: var(--ink) !important; }
.cta .button:hover, .cta .button:focus-visible { background: white; border-color: white; }

footer { color: var(--muted); font-size: 13px; padding: 28px 34px 42px; }
.footer-inner { display: flex; gap: 20px; justify-content: space-between; margin: 0 auto; max-width: var(--max); }
footer a { color: var(--teal); }

@media (max-width: 980px) {
  .site-header { padding: 14px 22px; }
  .site-nav a:not(.nav-button) { display: none; }
  .hero { background-size: auto 62%; background-position: right bottom; min-height: 780px; }
  .hero-copy { min-height: 500px; padding: 70px 34px; width: 100%; }
  h1 { font-size: 3.2rem; }
  h2 { font-size: 2.3rem; }
  .three-up, .steps, .screens, .install-strip { grid-template-columns: 1fr; }
  .three-up article, .step + .step { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; }
  .three-up article:first-child { border-top: 0; padding-top: 5px; }
  .step { padding-right: 0; }
  .cta-inner, .footer-inner { align-items: start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
