:root {
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Noto Sans", "Noto Sans CJK SC", sans-serif;
  color: #f7f8fa;
  background: #0b0e12;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #0b0e12;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid #65d9ff;
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  height: 70px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(11, 14, 18, 0.88);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 760;
  text-decoration: none;
}

.brand {
  justify-self: start;
}

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

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.primary-nav a,
.header-link {
  color: #b8c0ca;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.primary-nav a:hover,
.header-link:hover {
  color: #ffffff;
}

.header-actions {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 18px;
}

.language-switcher {
  display: grid;
  grid-template-columns: repeat(4, 34px);
  overflow: hidden;
  border: 1px solid #3c444f;
  border-radius: 6px;
}

.language-switcher button {
  width: 34px;
  height: 32px;
  border: 0;
  border-right: 1px solid #3c444f;
  color: #aeb6c2;
  background: #14181e;
  cursor: pointer;
}

.language-switcher button:last-child {
  border-right: 0;
}

.language-switcher button:hover,
.language-switcher button.is-active {
  color: #07130b;
  background: #4ade80;
}

.hero {
  position: relative;
  display: flex;
  min-height: 94svh;
  align-items: center;
  overflow: hidden;
  padding: 124px 40px 104px;
  background: #0b0e12;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-image {
  background-image: url("assets/recording-dark.png");
  background-position: 58% center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(5, 8, 11, 0.96) 0%, rgba(5, 8, 11, 0.81) 44%, rgba(5, 8, 11, 0.36) 100%),
    linear-gradient(0deg, rgba(5, 8, 11, 0.7), transparent 38%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  margin-left: max(0px, calc((100vw - 1200px) / 2));
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: #4ade80;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(58px, 8vw, 108px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 28px 0 0;
  color: #d8dde5;
  font-size: 22px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  transition:
    background 150ms ease,
    border-color 150ms ease,
    color 150ms ease,
    transform 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #07130b;
  background: #4ade80;
}

.button-primary:hover {
  background: #76e79e;
}

.button-secondary {
  border-color: #77818e;
  color: #ffffff;
  background: rgba(11, 14, 18, 0.72);
}

.button-secondary:hover,
.button-outline:hover {
  border-color: #65d9ff;
  color: #65d9ff;
}

.button-dark {
  color: #ffffff;
  background: #132019;
}

.button-dark:hover {
  background: #274633;
}

.button-outline {
  border-color: #315d42;
  color: #132019;
  background: transparent;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 24px;
  color: #aeb6c2;
  font-size: 13px;
  font-weight: 650;
}

.hero-meta span {
  position: relative;
}

.hero-meta span + span::before {
  position: absolute;
  left: -14px;
  color: #4ade80;
  content: "•";
}

.next-section {
  position: absolute;
  z-index: 2;
  right: 40px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #d8dde5;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.next-section span:last-child {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #697482;
  border-radius: 50%;
}

.section-inner,
.footer-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
}

.intro-band {
  padding: 78px 40px;
  color: #14201a;
  background: #a8f0c1;
}

.intro-layout {
  display: grid;
  grid-template-columns: 160px minmax(0, 1.2fr) minmax(260px, 0.7fr);
  gap: 48px;
  align-items: start;
}

.intro-layout .section-kicker {
  color: #0a6537;
}

.intro-layout h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.05;
}

.intro-layout > p:last-child {
  margin: 5px 0 0;
  color: #2c4738;
  font-size: 17px;
  line-height: 1.7;
}

.feature-band,
.workflow-band,
.showcase,
.download-band,
.open-source-band,
.final-cta {
  padding: 104px 40px;
}

.feature-band,
.download-band {
  color: #18202a;
  background: #eef2f6;
}

.workflow-band,
.final-cta {
  background: #0b0e12;
}

.showcase {
  background: #171b21;
}

.open-source-band {
  color: #132019;
  background: #a8f0c1;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 48px;
}

.section-heading h2,
.workflow-copy h2,
.download-heading h2,
.open-source-layout h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.07;
  letter-spacing: 0;
}

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

.feature-card {
  min-height: 270px;
  grid-column: span 2;
  padding: 26px;
  border: 1px solid #c9d0d9;
  border-radius: 8px;
  background: #ffffff;
}

.feature-card:nth-child(4),
.feature-card:nth-child(5) {
  grid-column: span 3;
}

.feature-index {
  display: block;
  margin-bottom: 58px;
  color: #11894c;
  font-size: 13px;
  font-weight: 850;
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
}

.feature-card p {
  margin: 0;
  color: #566170;
  font-size: 15px;
  line-height: 1.65;
}

.workflow-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 90px;
  align-items: start;
}

.workflow-copy h2,
.workflow-list strong,
.final-cta h2 {
  color: #ffffff;
}

.workflow-copy > p:last-child {
  max-width: 620px;
  margin: 26px 0 0;
  color: #aeb6c2;
  font-size: 17px;
  line-height: 1.7;
}

.workflow-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid #363e49;
  list-style: none;
}

.workflow-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid #363e49;
}

.workflow-list li > span {
  color: #4ade80;
  font-size: 13px;
  font-weight: 800;
}

.workflow-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.workflow-list p {
  margin: 0;
  color: #929ca8;
  line-height: 1.6;
}

.showcase-heading {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 70px;
  align-items: end;
}

.showcase-heading h2 {
  color: #ffffff;
}

.showcase-heading > p {
  margin: 0 0 4px;
  color: #aeb6c2;
  font-size: 16px;
  line-height: 1.7;
}

.primary-shot,
.secondary-shots figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid #363e49;
  border-radius: 8px;
  background: #0d1014;
}

.primary-shot img,
.secondary-shots img {
  display: block;
  width: 100%;
  height: auto;
}

figcaption {
  padding: 15px 18px;
  border-top: 1px solid #363e49;
  color: #b8c0ca;
  font-size: 13px;
  font-weight: 650;
}

.secondary-shots {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
  align-items: start;
}

.download-heading {
  max-width: 790px;
}

.download-heading > p:last-child {
  margin: 24px 0 0;
  color: #566170;
  font-size: 17px;
  line-height: 1.7;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.platform-grid article {
  min-height: 270px;
  padding: 28px;
  border: 1px solid #c9d0d9;
  border-radius: 8px;
  background: #ffffff;
}

.platform-mark {
  display: inline-flex;
  height: 28px;
  align-items: center;
  padding: 0 8px;
  border: 1px solid #aeb8c4;
  border-radius: 4px;
  color: #11894c;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
}

.platform-grid h3 {
  margin: 38px 0 12px;
  font-size: 24px;
}

.platform-grid p {
  min-height: 72px;
  margin: 0;
  color: #566170;
  line-height: 1.6;
}

.text-link {
  display: inline-block;
  margin-top: 24px;
  color: #08783f;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.text-link:hover {
  color: #034c27;
}

.requirement-note {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 32px;
  margin-top: 18px;
  padding: 22px 26px;
  border: 1px solid #c9d0d9;
  border-radius: 8px;
  background: #e2e8ee;
}

.requirement-note strong {
  color: #1c2833;
}

.requirement-note p {
  margin: 0;
  color: #566170;
  line-height: 1.55;
}

.open-source-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
  gap: 72px;
  align-items: end;
}

.open-source-layout .eyebrow {
  color: #0a6537;
}

.open-source-layout p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 0;
  color: #2c4738;
  font-size: 18px;
  line-height: 1.6;
}

.open-source-actions {
  display: grid;
  gap: 12px;
}

.final-cta {
  text-align: center;
}

.final-cta .section-inner {
  max-width: 900px;
}

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

footer {
  padding: 36px 40px;
  border-top: 1px solid #2d343e;
  background: #0b0e12;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
  color: #9fa8b5;
  font-size: 13px;
  text-align: right;
}

.footer-inner a:hover {
  color: #65d9ff;
}

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

  .primary-nav {
    display: none;
  }

  .intro-layout,
  .workflow-layout,
  .showcase-heading,
  .open-source-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .intro-layout {
    gap: 24px;
  }

  .feature-card,
  .feature-card:nth-child(4),
  .feature-card:nth-child(5) {
    grid-column: span 3;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 64px;
    padding: 0 16px;
  }

  .brand span,
  .header-link {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .hero {
    min-height: 92svh;
    align-items: flex-end;
    padding: 112px 20px 82px;
  }

  .hero-image {
    background-position: 67% center;
  }

  .hero-scrim {
    background: rgba(5, 8, 11, 0.83);
  }

  h1 {
    font-size: 58px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-meta {
    display: grid;
    gap: 8px;
  }

  .hero-meta span + span::before {
    display: none;
  }

  .next-section {
    right: 20px;
    bottom: 22px;
  }

  .next-section span:first-child {
    display: none;
  }

  .intro-band,
  .feature-band,
  .workflow-band,
  .showcase,
  .download-band,
  .open-source-band,
  .final-cta {
    padding: 72px 20px;
  }

  .feature-grid,
  .secondary-shots,
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-card:nth-child(4),
  .feature-card:nth-child(5) {
    grid-column: auto;
    min-height: 230px;
  }

  .feature-index {
    margin-bottom: 38px;
  }

  .workflow-layout {
    gap: 54px;
  }

  .requirement-note {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  footer {
    padding: 30px 20px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner p {
    text-align: left;
  }
}

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

  .button {
    transition: none;
  }
}
