:root {
  color-scheme: light dark;
  --bg: #eeeae2;
  --surface: #f8f5ee;
  --surface-alt: #e5e0d7;
  --ink: #152127;
  --muted: #55656c;
  --line: #cbc4b8;
  --teal: #087f78;
  --teal-strong: #05645f;
  --red: #a82121;
  --amber: #a85c00;
  --hero-bg: #111a1f;
  --hero-ink: #f3f8f9;
  --hero-muted: #c4d0d4;
  --code-bg: #10181c;
  --code-ink: #d8f8ed;
  --shadow: 0 18px 55px rgba(26, 42, 49, 0.18);
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 9px 12px;
  background: var(--surface);
  color: var(--ink);
  border: 2px solid var(--teal);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 64px;
  background: rgba(17, 26, 31, 0.96);
  color: #eef5f6;
  border-bottom: 1px solid #304047;
}

.nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav-links a,
.footer-links a,
.install-links a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.nav-links a {
  color: #c5d1d5;
  text-decoration: none;
  font-size: 0.92rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #ffffff;
}

.nav-action {
  padding: 8px 12px;
  border: 1px solid #4a5a61;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.88rem;
  white-space: nowrap;
}

.nav-action:hover,
.nav-action:focus-visible {
  border-color: #6bd8cc;
  color: #7ee7db;
}

.hero {
  position: relative;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--hero-bg);
  color: var(--hero-ink);
  isolation: isolate;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  background-image: url("assets/hero-chat.png");
  background-repeat: no-repeat;
  background-position: center 16%;
  background-size: cover;
  opacity: 0.43;
  filter: blur(1.6px);
  transform: translate3d(0, var(--hero-scroll-offset, 0), 0) scale(1.008);
  transform-origin: center top;
  will-change: transform;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: rgba(9, 15, 18, 0.54);
}

.hero-content {
  width: min(calc(100% - 80px), 1460px);
  padding-top: 34px;
  padding-bottom: 24px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero .eyebrow,
.workflow-band .eyebrow,
.providers-band .eyebrow,
.install-band .eyebrow {
  color: #72ddd1;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 1200px;
  margin-right: auto;
  margin-bottom: 14px;
  margin-left: auto;
  font-size: 4.65rem;
  font-weight: 820;
}

h2 {
  margin-bottom: 18px;
  font-size: 3.25rem;
  font-weight: 780;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.hero-copy {
  max-width: 800px;
  margin: 0 auto 20px;
  color: var(--hero-muted);
  font-size: 1.24rem;
}

.hero-actions,
.install-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  justify-content: center;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-weight: 760;
  text-decoration: none;
}

.button-primary {
  background: #68d5ca;
  color: #09211f;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #8be9df;
}

.button-secondary {
  border-color: #708087;
  background: rgba(17, 26, 31, 0.76);
  color: #f1f6f7;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: #8be9df;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 18px 0 0;
  padding: 0;
  color: #c7d3d6;
  list-style: none;
  font-size: 0.88rem;
  justify-content: center;
}

.hero-meta li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #e87845;
}

.hero-signal {
  width: min(calc(100% - 80px), 1460px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #536067;
}

.hero-signal div {
  min-height: 72px;
  padding: 12px 20px 13px 0;
  border-right: 1px solid #536067;
}

.hero-signal div + div {
  padding-left: 20px;
}

.hero-signal div:last-child {
  border-right: 0;
}

.hero-signal strong,
.hero-signal span {
  display: block;
}

.hero-signal strong {
  font-size: 1rem;
}

.hero-signal span {
  color: #9eb0b6;
  font-size: 0.78rem;
}

.preview-band,
.video-band,
.workflow-band,
.providers-band,
.install-band,
.closing-band {
  color: #eef5f6;
  background: #152128;
}

.preview-band {
  padding: 58px 0 72px;
  border-bottom: 1px solid #314048;
}

.video-band {
  padding: 68px 0;
  border-bottom: 1px solid #314048;
  background: #0f191e;
}

.video-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(440px, 1.32fr);
  gap: clamp(36px, 7vw, 86px);
  align-items: center;
}

.video-copy h2 {
  font-size: 2.55rem;
}

.video-copy > p:not(.eyebrow) {
  color: #afbec3;
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  color: #78ded4;
  font-weight: 750;
  text-underline-offset: 4px;
}

.text-link:hover,
.text-link:focus-visible {
  color: #a5f0e8;
}

.video-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid #465861;
  border-radius: 6px;
  background: #05090b;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-launch {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #05090b;
  color: #ffffff;
  cursor: pointer;
}

.video-launch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 48px;
  border-radius: 7px;
  background: #ff0033;
  transform: translate(-50%, -50%);
}

.video-play::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 28px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid #ffffff;
}

.video-launch-label {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 4px;
  background: rgba(5, 9, 11, 0.88);
  font-weight: 750;
}

.video-launch:hover .video-play,
.video-launch:focus-visible .video-play {
  background: #ff3158;
}

.preview-layout,
.workflow-layout,
.install-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(420px, 1.28fr);
  gap: clamp(36px, 7vw, 86px);
  align-items: center;
}

.preview-layout {
  grid-template-columns: minmax(340px, 0.9fr) minmax(480px, 1.1fr);
  align-items: start;
}

.preview-points {
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid #42535b;
  list-style: none;
}

.preview-points li {
  display: grid;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid #42535b;
}

.preview-points strong {
  color: #eef5f6;
}

.preview-points span {
  color: #9fb0b6;
  font-size: 0.88rem;
}

.section-intro p:last-child,
.workflow-copy > p,
.section-heading > p:last-child,
.install-layout > div > p {
  color: var(--muted);
}

.preview-band .section-intro p:last-child,
.workflow-copy > p,
.install-layout > div > p,
.providers-band .section-heading > p:last-child {
  color: #afbec3;
}

.shot-button {
  position: relative;
  width: 100%;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #465861;
  border-radius: 6px;
  background: #0e171c;
  box-shadow: var(--shadow);
  color: #d7e5e8;
  cursor: zoom-in;
}

.shot-button img {
  width: 100%;
  aspect-ratio: 1.476 / 1;
  object-fit: cover;
  object-position: top center;
}

.shot-button span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 8px;
  border-radius: 4px;
  background: rgba(10, 17, 21, 0.9);
  color: #dce8ea;
  font-size: 0.75rem;
}

.shot-button:hover,
.shot-button:focus-visible {
  border-color: #75ddd2;
  outline: none;
}

.section {
  padding: 104px 0;
}

.section-heading {
  max-width: 770px;
  margin-bottom: 54px;
}

.section-heading.compact {
  margin-bottom: 40px;
}

.section-heading > p:last-child {
  margin-bottom: 0;
  font-size: 1.08rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature {
  min-height: 235px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-number {
  display: block;
  margin-bottom: 34px;
  color: var(--red);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-weight: 750;
}

.feature p,
.integration-list p,
.safety-points p {
  margin-bottom: 0;
  color: var(--muted);
}

.workflow-band {
  padding: 100px 0;
  background: #111b20;
}

.workflow-layout {
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
}

.steps {
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #3a4a52;
}

.steps li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid #3a4a52;
}

.steps span {
  color: #aebdc2;
}

.shot-dark img {
  aspect-ratio: 1.51 / 1;
}

.integrations {
  width: 100%;
}

.integration-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.integration-list article {
  padding: 26px 28px 32px 0;
  border-bottom: 1px solid var(--line);
}

.integration-list article:not(:nth-child(3n + 1)) {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.showcase {
  width: 100%;
  background: var(--surface-alt);
}

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

.showcase-item {
  min-width: 0;
  margin: 0;
}

.showcase-item .shot-button img {
  aspect-ratio: 1.638 / 1;
}

.showcase-item figcaption {
  display: grid;
  gap: 5px;
  padding-top: 15px;
}

.showcase-item figcaption strong {
  color: var(--ink);
}

.showcase-item figcaption span {
  color: var(--muted);
  font-size: 0.9rem;
}

.providers-band {
  padding: 100px 0;
  background: #1b282e;
}

.provider-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid #46565d;
  border-left: 1px solid #46565d;
  list-style: none;
}

.provider-requirement {
  max-width: 900px;
  margin: 0 0 34px;
  padding: 2px 0 2px 18px;
  border-left: 3px solid #ffb764;
  color: #bac8cc;
}

.provider-requirement strong {
  display: block;
  margin-bottom: 3px;
  color: #ffffff;
}

.provider-list li {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 12px 18px;
  border-right: 1px solid #46565d;
  border-bottom: 1px solid #46565d;
  font-weight: 700;
}

.provider-list li:nth-child(3n + 1) {
  color: #75ddd2;
}

.provider-list li:nth-child(3n + 2) {
  color: #ffb764;
}

.provider-list li:nth-child(3n) {
  color: #ff8f88;
}

.transport-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 44px;
  gap: 32px;
}

.transport-notes p {
  margin: 0;
}

.transport-notes strong,
.transport-notes span {
  display: block;
}

.transport-notes span {
  margin-top: 7px;
  color: #aab9be;
  font-size: 0.92rem;
}

.safety {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(400px, 1.2fr);
  gap: clamp(50px, 9vw, 120px);
}

.safety-points {
  border-top: 1px solid var(--line);
}

.safety-points p {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.safety-points strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.install-band {
  padding: 96px 0;
  background: #111a1f;
}

.install-layout {
  grid-template-columns: minmax(300px, 1fr) minmax(390px, 0.9fr);
}

.install-links {
  margin-top: 28px;
  color: #76ddd2;
}

.terminal {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #46565d;
  border-radius: 6px;
  background: var(--code-bg);
  box-shadow: var(--shadow);
}

.terminal-bar {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 10px 6px 15px;
  border-bottom: 1px solid #37474e;
  color: #aab8bd;
  font-size: 0.82rem;
}

.terminal-bar button {
  min-height: 30px;
  padding: 4px 9px;
  border: 1px solid #53666f;
  border-radius: 4px;
  background: #213139;
  color: #e7eff1;
  cursor: pointer;
}

.terminal-bar button:hover,
.terminal-bar button:focus-visible {
  border-color: #70dcd0;
}

.terminal pre {
  margin: 0;
  padding: 28px 22px;
  overflow-x: auto;
  color: var(--code-ink);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 0.95rem;
}

#copy-status {
  min-height: 24px;
  margin: 0;
  padding: 0 22px 12px;
  color: #75ddd2;
  font-size: 0.8rem;
}

.closing-band {
  padding: 50px 0;
  background: #a92727;
}

.closing-content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}

.closing-content img {
  border-radius: 8px;
}

.closing-content h2 {
  margin-bottom: 5px;
  font-size: 2.35rem;
}

.closing-content p {
  margin: 0;
  color: #ffe8e6;
}

.site-footer {
  padding: 48px 0;
  background: #0d1519;
  color: #dce5e7;
}

.footer-layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.footer-layout p {
  margin: 12px 0 0;
  color: #91a2a8;
  font-size: 0.84rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 24px;
  color: #b8c7cb;
  font-size: 0.88rem;
}

.lightbox {
  width: min(94vw, 1400px);
  max-width: none;
  padding: 46px 10px 10px;
  border: 1px solid #53656d;
  border-radius: 6px;
  background: #0c1418;
  color: #ffffff;
}

.lightbox::backdrop {
  background: rgba(4, 8, 10, 0.86);
}

.lightbox img {
  width: 100%;
  max-height: 84vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 8px;
  right: 10px;
  min-height: 30px;
  padding: 4px 9px;
  border: 1px solid #60727a;
  border-radius: 4px;
  background: #1b292f;
  color: #ffffff;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid #f3b15e;
  outline-offset: 3px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11191e;
    --surface: #182329;
    --surface-alt: #1e2b31;
    --ink: #e8eff1;
    --muted: #a5b4b9;
    --line: #34444b;
    --teal: #65d7cb;
    --teal-strong: #84e7dc;
    --red: #ff8179;
    --amber: #ffc064;
    --shadow: 0 18px 55px rgba(0, 0, 0, 0.32);
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-action {
    margin-left: auto;
  }

  .hero {
    min-height: 0;
  }

  .hero-content {
    width: min(calc(100% - 40px), var(--shell));
    padding-top: 40px;
    padding-bottom: 26px;
  }

  .hero-signal {
    width: min(calc(100% - 40px), var(--shell));
  }

  h1 {
    font-size: 4.35rem;
  }

  h2 {
    font-size: 2.7rem;
  }

  .hero-signal,
  .feature-grid,
  .integration-list,
  .provider-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-signal div:nth-child(2) {
    border-right: 0;
  }

  .hero-signal div:nth-child(n + 3) {
    border-top: 1px solid #536067;
  }

  .preview-layout,
  .video-layout,
  .workflow-layout,
  .install-layout,
  .safety,
  .showcase-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .integration-list article:not(:nth-child(3n + 1)) {
    padding-left: 0;
    border-left: 0;
  }

  .integration-list article:nth-child(even) {
    padding-left: 24px;
    border-left: 1px solid var(--line);
  }

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

@media (max-width: 600px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .site-header,
  .nav {
    min-height: 58px;
  }

  .brand span {
    font-size: 0.92rem;
  }

  .nav-action {
    padding: 7px 9px;
    font-size: 0.76rem;
  }

  .hero {
    min-height: 0;
  }

  .hero-content {
    width: min(calc(100% - 28px), var(--shell));
    padding-top: 38px;
    padding-bottom: 26px;
  }

  .hero-signal {
    width: min(calc(100% - 28px), var(--shell));
  }

  h1 {
    font-size: 2.72rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .video-copy h2 {
    font-size: 2.1rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-actions .button {
    padding-inline: 10px;
    font-size: 0.82rem;
  }

  .feature-grid,
  .integration-list,
  .provider-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-signal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-signal div:nth-child(n + 3) {
    display: none;
  }

  .hero-signal div,
  .hero-signal div + div {
    min-height: 64px;
    padding: 11px 10px 11px 0;
    border-right: 0;
    border-top: 0;
  }

  .hero-signal div + div {
    padding-left: 10px;
    border-left: 1px solid #536067;
  }

  .section,
  .preview-band,
  .video-band,
  .workflow-band,
  .providers-band,
  .install-band {
    padding: 72px 0;
  }

  .feature {
    min-height: 0;
  }

  .integration-list article,
  .integration-list article:nth-child(even) {
    padding: 23px 0;
    border-left: 0;
  }

  .steps li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .closing-content {
    grid-template-columns: 72px 1fr;
  }

  .closing-content h2 {
    font-size: 1.7rem;
  }

  .closing-content img {
    width: 72px;
    height: 72px;
  }

  .closing-content .button {
    grid-column: 1 / -1;
  }

  .footer-layout {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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

}
