/* Responsive caic product landing styles with accessible controls and screenshot-led sections. */
:root {
  color-scheme: dark;
  --canvas: #101b1b;
  --surface: #172525;
  --surface-raised: #1c3030;
  --text: #f3f5ec;
  --muted: #bacac4;
  --accent: #a5f0c5;
  --on-accent: #11271d;
  --border: #3d5350;
  --focus: #ffd28e;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
}
a {
  color: inherit;
  text-underline-offset: 0.25em;
}
a:hover {
  color: var(--accent);
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}
.wrap {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  top: -8rem;
  left: 1rem;
  z-index: 2;
  padding: 1rem;
  background: var(--accent);
  color: var(--on-accent);
}
.skip-link:focus {
  top: 1rem;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 30px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  font-size: 27px;
  letter-spacing: -0.04em;
  text-decoration: none;
}
.wordmark-detail {
  margin-left: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 450;
  letter-spacing: 0;
}
nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}
nav a {
  text-decoration: none;
}
.nav-install {
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 9px 18px;
}
.hero {
  padding-top: 64px;
}
.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin: 0 0 24px;
}
h1 {
  font-size: clamp(64px, 8vw, 110px);
  line-height: 1;
  letter-spacing: -0.065em;
  font-weight: 650;
  margin: 0;
}
h1 span {
  color: var(--accent);
}
.hero-copy {
  font-size: 21px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 640px;
  margin: 30px 0;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.primary {
  color: var(--on-accent);
  background: var(--accent);
}
.primary:hover {
  color: var(--on-accent);
  background: var(--text);
}
.secondary {
  border: 1px solid var(--border);
}
.hero-note {
  color: var(--muted);
  font-size: 12px;
  margin: 22px 0 48px;
}
figure {
  margin: 0;
}
figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.hero-figure {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}
.hero-figure img {
  border-radius: 0;
}
.window-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  color: var(--muted);
  font-size: 11px;
}
.window-label span:first-child {
  color: var(--accent);
  letter-spacing: 4px;
  font-size: 9px;
}
.section {
  padding-block: 90px;
}
h2 {
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.045em;
  font-weight: 600;
  margin: 0 0 24px;
}
.section-heading {
  max-width: 700px;
  margin-bottom: 42px;
}
.section p {
  color: var(--muted);
}
.section-heading > p:last-child {
  max-width: 540px;
  font-size: 18px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.feature-grid article {
  border-top: 1px solid var(--border);
  padding-top: 26px;
}
.step {
  font-size: 12px;
  color: var(--accent);
}
h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 21px;
  margin: 20px 0 12px;
}
article p {
  font-size: 15px;
}
article a,
.text-link {
  color: var(--accent);
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
}
article a:hover,
.text-link:hover {
  text-decoration: underline;
}
.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 58px;
  align-items: center;
  border-top: 1px solid var(--border);
}
.split > div > p:not(.eyebrow) {
  max-width: 430px;
  font-size: 17px;
  margin-bottom: 28px;
}
.split figure {
  min-width: 0;
}
.split img {
  border: 1px solid var(--border);
}
figcaption {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
.reverse > div {
  order: 2;
}
.reverse {
  grid-template-columns: 1.2fr 0.8fr;
}
.ecosystem {
  border-top: 1px solid var(--border);
}
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ecosystem-grid article {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.ecosystem-grid h3 {
  margin-top: 0;
}
.boundary-note {
  font-size: 13px;
  margin-top: 28px;
}
.boundary-note a {
  color: var(--accent);
}
.install-section {
  background: var(--surface);
  padding-block: 80px;
  border-block: 1px solid var(--border);
}
.install-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.install-layout > div > p:not(.eyebrow) {
  max-width: 420px;
  color: var(--muted);
}
.install-panel {
  min-width: 0;
}
.command {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
}
.command code {
  overflow-wrap: anywhere;
  font-size: 13px;
}
.command button {
  font: inherit;
  font-size: 12px;
  color: var(--accent);
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 5px;
  cursor: pointer;
  min-width: 48px;
  min-height: 44px;
}
.install-panel > p {
  font-size: 13px;
}
.copy-status {
  min-height: 1.6em;
  margin: 8px 0;
  color: var(--accent);
}
.site-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  padding-block: 40px;
}
.site-footer p {
  color: var(--muted);
  font-size: 12px;
}
.site-footer nav {
  margin-left: auto;
  font-size: 12px;
  gap: 20px;
}
@media (max-width: 850px) {
  .wordmark-detail {
    display: none;
  }
  .feature-grid {
    gap: 22px;
  }
  .split {
    gap: 28px;
  }
  .install-layout {
    gap: 28px;
  }
  .site-footer nav {
    margin-left: 0;
  }
}
@media (max-width: 600px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    padding-block: 20px;
    gap: 16px;
  }
  nav {
    gap: 16px;
    font-size: 12px;
  }
  .nav-install {
    display: none;
  }
  .hero {
    padding-top: 44px;
  }
  h1 {
    font-size: clamp(54px, 14vw, 76px);
  }
  .hero-copy {
    font-size: 18px;
  }
  .hero-figure {
    max-width: 370px;
    margin-inline: auto;
  }
  .window-label {
    padding: 10px;
    font-size: 9px;
  }
  .window-label span:first-child {
    display: none;
  }
  .section {
    padding-block: 60px;
  }
  .feature-grid,
  .ecosystem-grid,
  .split,
  .install-layout {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    gap: 34px;
  }
  .split {
    gap: 30px;
  }
  .reverse > div {
    order: 0;
  }
  .install-section {
    padding-block: 60px;
  }
  .site-footer {
    gap: 14px;
  }
  .site-footer nav {
    width: 100%;
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
