:root {
  color-scheme: light;
  --ink: #111315;
  --muted: #5f666d;
  --line: #dfe3e7;
  --soft-line: #eceef0;
  --surface: #ffffff;
  --surface-alt: #f4f6f7;
  --black: #08090a;
  --blue: #2580bb;
  --green: #2d9b67;
  --orange: #e88628;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body {
  cursor: default;
}

a,
button {
  cursor: pointer;
}

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

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

button {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--black);
  color: white;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(223, 227, 231, 0.8);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}

.nav-shell {
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a:not(.nav-download) {
  color: #41474d;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.nav-download {
  padding: 8px 14px;
  border-radius: 7px;
  background: var(--black);
  color: white;
}

.nav-download:hover {
  background: #292c2f;
}

.menu-button {
  display: none;
  width: 36px;
  height: 36px;
  padding: 8px;
  border: 0;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 0;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(37, 128, 187, 0.08), transparent 25%, transparent 75%, rgba(45, 155, 103, 0.07)),
    var(--surface-alt);
}

.hero-copy {
  width: min(calc(100% - 40px), 780px);
  margin: 0 auto;
}

.hero-icon {
  margin: 0 auto 20px;
  border-radius: 24px;
  box-shadow: 0 18px 36px rgba(17, 19, 21, 0.15);
}

.eyebrow {
  margin: 0 0 10px;
  color: #4e555c;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(58px, 8vw, 92px);
  line-height: 0.96;
  font-weight: 760;
}

.hero-lede {
  margin: 22px 0 8px;
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.12;
  font-weight: 700;
}

.hero-detail {
  max-width: 670px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

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

.button:active {
  transform: translateY(1px) scale(0.99);
}

.button-primary {
  background: var(--black);
  color: white;
  box-shadow: 0 8px 20px rgba(17, 19, 21, 0.15);
}

.button-primary:hover {
  background: #292c2f;
}

.button-secondary {
  border-color: #cfd4d8;
  background: rgba(255, 255, 255, 0.76);
}

.button-secondary:hover {
  border-color: #aeb5bb;
  background: white;
}

.hero-meta {
  margin: 15px 0 0;
  color: #747b82;
  font-size: 12px;
  font-weight: 600;
}

.hero-visual {
  width: min(96%, 1500px);
  margin: 54px auto -1px;
}

.hero-visual img {
  width: 100%;
  height: auto;
}

.proof-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: white;
}

.proof-grid {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-grid p {
  margin: 0;
  padding: 25px 22px;
  border-right: 1px solid var(--line);
}

.proof-grid p:first-child {
  border-left: 1px solid var(--line);
}

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

.proof-grid strong {
  font-size: 15px;
}

.proof-grid span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.section {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 110px 0;
}

.section-intro {
  max-width: 700px;
  margin-bottom: 48px;
}

h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.04;
  font-weight: 740;
}

.section-intro > p:last-child,
.showcase-copy > p,
.requirements > div > p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.feature-card {
  min-height: 230px;
  display: flex;
  gap: 24px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: white;
  transition: background 180ms ease;
}

.feature-card:hover {
  background: var(--surface-alt);
}

.feature-mark {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: white;
  font-size: 20px;
  font-weight: 800;
}

.feature-mark.blue { background: var(--blue); }
.feature-mark.green { background: var(--green); }
.feature-mark.orange { background: var(--orange); }

.feature-card h3,
.principle-grid h3 {
  margin: 2px 0 9px;
  font-size: 21px;
  line-height: 1.2;
}

.feature-card p,
.principle-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.showcase {
  padding: 100px max(20px, calc((100vw - var(--max-width)) / 2));
  overflow: hidden;
  background: var(--black);
  color: white;
}

.showcase-copy {
  max-width: 720px;
}

.showcase .eyebrow,
.showcase-copy > p {
  color: #aeb4ba;
}

.segmented-control {
  display: inline-flex;
  gap: 3px;
  margin-top: 28px;
  padding: 3px;
  border: 1px solid #34383c;
  border-radius: 8px;
  background: #181a1c;
}

.preview-tab {
  min-height: 34px;
  padding: 0 13px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #aeb4ba;
  font-size: 13px;
  font-weight: 700;
}

.preview-tab:hover {
  color: white;
}

.preview-tab.active {
  background: white;
  color: var(--ink);
}

.showcase-visual {
  width: min(1300px, 108vw);
  min-height: 360px;
  margin: 60px auto -40px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.showcase-visual img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 660px;
  object-fit: contain;
  transition: opacity 140ms ease, transform 180ms ease;
}

.showcase-visual img.changing {
  opacity: 0;
  transform: translateY(5px);
}

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

.workflow-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.workflow-wide {
  grid-column: 1 / -1;
}

.workflow-media {
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #08090a;
}

.workflow-media-wide {
  height: auto;
  aspect-ratio: 1324 / 480;
}

.workflow-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.workflow-media-portrait img {
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.workflow-card figcaption {
  min-height: 91px;
  padding: 20px 22px;
}

.workflow-card strong,
.workflow-card span {
  display: block;
}

.workflow-card strong {
  font-size: 17px;
}

.workflow-card span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.hud-section {
  padding: 100px 20px;
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hud-inner {
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.hud-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hud-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid #24272a;
  border-radius: 8px;
  background: var(--black);
}

.hud-grid img {
  width: 100%;
  aspect-ratio: 862 / 338;
  object-fit: contain;
}

.hud-grid figcaption {
  padding: 12px 15px;
  border-top: 1px solid #24272a;
  color: #d9dcdf;
  font-size: 13px;
  font-weight: 700;
}

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

.principle-grid article {
  padding: 32px 30px 10px 0;
  border-right: 1px solid var(--line);
}

.principle-grid article + article {
  padding-left: 30px;
}

.principle-grid article:last-child {
  border-right: 0;
}

.principle-grid article > span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
}

.requirements {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 80px;
  padding: 90px max(20px, calc((100vw - var(--max-width)) / 2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-alt);
}

.requirements ul {
  align-self: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.requirements li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
}

.requirements li span {
  display: inline-grid;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  place-items: center;
  border-radius: 50%;
  background: rgba(45, 155, 103, 0.12);
  color: var(--green);
  font-size: 12px;
}

.closing {
  padding: 110px 20px;
  text-align: center;
}

.closing img {
  margin: 0 auto 20px;
  border-radius: 20px;
  box-shadow: 0 16px 30px rgba(17, 19, 21, 0.12);
}

.closing p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.site-footer {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 34px 0 44px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  font-size: 14px;
}

.site-footer p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.site-footer p a,
.site-footer nav a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

:focus-visible {
  outline: 3px solid rgba(37, 128, 187, 0.45);
  outline-offset: 3px;
}

@media (max-width: 820px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    display: none;
    padding: 16px 20px 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.97);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 11px 8px;
  }

  .nav-download {
    margin-top: 6px;
    text-align: center;
  }

  .hero {
    padding-top: 56px;
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-grid p:nth-child(3) {
    border-left: 1px solid var(--line);
  }

  .proof-grid p:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .feature-grid,
  .principle-grid,
  .requirements,
  .hud-grid {
    grid-template-columns: 1fr;
  }

  .workflow-media {
    height: 330px;
  }

  .principle-grid article,
  .principle-grid article + article {
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .requirements {
    gap: 45px;
  }
}

@media (max-width: 560px) {
  .nav-shell,
  .proof-grid,
  .section,
  .site-footer {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .hero-copy {
    width: calc(100% - 28px);
  }

  .hero-icon {
    width: 82px;
    height: 82px;
    border-radius: 19px;
  }

  .hero-detail {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    width: 125%;
    margin-left: -12.5%;
    margin-top: 42px;
  }

  .proof-grid p {
    padding: 18px 12px;
  }

  .section,
  .showcase,
  .hud-section,
  .closing {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

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

  .workflow-wide {
    grid-column: auto;
  }

  .workflow-media,
  .workflow-media-wide {
    height: auto;
    min-height: 210px;
    aspect-ratio: 16 / 10;
  }

  .workflow-media-portrait {
    aspect-ratio: 1 / 1;
  }

  .feature-card {
    min-height: 0;
    padding: 25px 20px;
    gap: 16px;
  }

  .feature-mark {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }

  .segmented-control {
    width: 100%;
  }

  .preview-tab {
    flex: 1;
    padding: 0 7px;
    font-size: 11px;
  }

  .showcase-visual {
    width: 126%;
    min-height: 230px;
    margin-left: -13%;
    margin-top: 38px;
  }

  .requirements {
    padding-left: 20px;
    padding-right: 20px;
  }

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

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
