:root {
  color-scheme: light;
  --ink: #171a22;
  --muted: #656b78;
  --line: #dde0e7;
  --surface: #ffffff;
  --canvas: #f7f8fc;
  --accent: #3867ed;
  --accent-strong: #244cc8;
  --accent-soft: #e8efff;
  --warm: #ff5d3a;
  --hero-tint: #edf2ff;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

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

button {
  font: inherit;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 max(24px, calc((100vw - var(--max-width)) / 2));
  border-bottom: 1px solid rgba(23, 26, 34, 0.1);
  background: rgba(247, 248, 252, 0.94);
  backdrop-filter: blur(16px);
}

.wordmark,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  text-decoration: none;
}

.wordmark-mark {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border: 6px solid var(--accent);
  border-radius: 50%;
}

.wordmark-mark::after {
  position: absolute;
  right: -8px;
  bottom: -5px;
  width: 10px;
  height: 6px;
  border-radius: 1px;
  background: var(--warm);
  content: "";
  transform: rotate(-42deg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-actions a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.header-actions a:hover {
  color: var(--ink);
}

.header-actions .header-download {
  padding: 9px 16px;
  border: 1px solid var(--ink);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--hero-tint);
}

.hero-backdrop {
  position: absolute;
  inset: auto -8% 0 auto;
  width: 62%;
  height: 72%;
  border-top: 1px solid rgba(23, 26, 34, 0.08);
  background: var(--surface);
  transform: skewX(-8deg);
  transform-origin: bottom right;
}

.hero-inner {
  position: relative;
  width: min(var(--max-width), calc(100% - 48px));
  min-height: 760px;
  margin: 0 auto;
  padding-top: 42px;
}

.product-switcher-wrap {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 18px;
}

.switcher-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.product-switcher {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 4px;
  border: 1px solid rgba(23, 26, 34, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.62);
}

.product-tab {
  min-height: 38px;
  padding: 7px 16px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.product-tab.is-active {
  background: var(--ink);
  color: #fff;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(590px, 55%);
  min-width: 0;
  padding-top: 116px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(48px, 6.4vw, 84px);
  font-weight: 780;
  line-height: 0.98;
  overflow-wrap: break-word;
}

.hero-tagline {
  margin: 24px 0 8px;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.3;
}

.hero-description {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.primary-button:hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  transform: translateY(-2px);
}

.text-link {
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.hero-facts {
  display: flex;
  gap: 34px;
  margin: 38px 0 0;
}

.hero-facts div {
  padding-left: 12px;
  border-left: 2px solid var(--accent);
}

.hero-facts dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 1px 0 0;
  font-size: 14px;
  font-weight: 750;
}

.hero-media {
  position: absolute;
  right: 24px;
  bottom: 18px;
  z-index: 2;
  width: min(35vw, 390px);
  filter: drop-shadow(0 28px 30px rgba(23, 26, 34, 0.18));
  transform: rotate(1deg);
}

.hero-media img {
  width: 100%;
}

.feature-section,
.gallery-section {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 112px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.65fr);
  gap: 70px;
  align-items: end;
}

.section-heading .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -52px;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 760;
  line-height: 1.08;
}

.section-heading > p:last-child,
.workflow-copy > p,
.download-section > p,
.note-copy {
  color: var(--muted);
}

.section-heading > p:last-child {
  margin: 0;
  font-size: 17px;
}

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

.feature-item {
  min-height: 260px;
  padding: 32px 28px 36px;
  border-right: 1px solid var(--line);
}

.feature-item:last-child {
  border-right: 0;
}

.feature-number {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.feature-item h3 {
  margin: 44px 0 12px;
  font-size: 23px;
  line-height: 1.2;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.workflow-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(420px, 1fr);
  min-height: 680px;
  background: var(--ink);
  color: #fff;
}

.workflow-copy {
  align-self: center;
  padding: 80px max(50px, calc((100vw - var(--max-width)) / 2));
  padding-right: 60px;
}

.workflow-copy .section-kicker {
  color: var(--warm);
}

.workflow-copy > p {
  max-width: 480px;
  margin: 24px 0 0;
  color: #b9bec9;
}

.workflow-list {
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.workflow-list li {
  position: relative;
  max-width: 480px;
  padding: 15px 0 15px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #eef0f5;
  font-size: 14px;
}

.workflow-list li::before {
  position: absolute;
  top: 20px;
  left: 3px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  content: "";
}

.workflow-image-button {
  position: relative;
  display: flex;
  min-height: 680px;
  align-items: center;
  justify-content: center;
  padding: 32px;
  overflow: hidden;
  border: 0;
  background: var(--hero-tint);
  cursor: zoom-in;
}

.workflow-image-button img {
  width: auto;
  height: auto;
  max-width: min(100%, 380px);
  max-height: 616px;
  object-fit: contain;
  transition: transform 300ms ease;
}

.workflow-image-button:hover img {
  transform: scale(1.02);
}

.image-action {
  position: absolute;
  right: 22px;
  bottom: 22px;
  padding: 8px 12px;
  border-radius: 3px;
  background: rgba(23, 26, 34, 0.85);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.gallery-section {
  padding-bottom: 130px;
}

.gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 52px;
}

.gallery-controls {
  display: flex;
  gap: 8px;
}

.icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-size: 20px;
}

.icon-button:hover {
  border-color: var(--ink);
}

.gallery-track {
  display: grid;
  grid-auto-columns: minmax(250px, 31%);
  grid-auto-flow: column;
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px 2px 22px;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-color: var(--accent) var(--line);
  scrollbar-width: thin;
}

.gallery-item {
  position: relative;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  cursor: zoom-in;
  scroll-snap-align: start;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  transition: transform 250ms ease;
}

.gallery-item:hover img {
  transform: scale(1.015);
}

.gallery-item span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 6px 10px;
  border-radius: 3px;
  background: rgba(23, 26, 34, 0.84);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.note-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: 80px;
  padding: 92px max(24px, calc((100vw - var(--max-width)) / 2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.note-copy p {
  margin: 0 0 16px;
}

.note-copy p:last-child {
  margin-bottom: 0;
}

.download-section {
  padding: 120px 24px 130px;
  text-align: center;
}

.download-section h2 {
  max-width: 700px;
  margin: 0 auto;
}

.download-section > p:not(.section-kicker) {
  max-width: 620px;
  margin: 20px auto 30px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 36px;
  min-height: 96px;
  padding: 20px max(24px, calc((100vw - var(--max-width)) / 2));
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--ink);
  font-weight: 650;
}

.lightbox {
  width: min(940px, calc(100% - 32px));
  height: min(920px, calc(100% - 32px));
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: #111319;
  color: #fff;
}

.lightbox::backdrop {
  background: rgba(10, 11, 15, 0.86);
  backdrop-filter: blur(8px);
}

.lightbox figure {
  display: grid;
  width: 100%;
  height: 100%;
  margin: 0;
  place-items: center;
}

.lightbox figure img {
  max-width: 100%;
  max-height: calc(100% - 52px);
  object-fit: contain;
}

.lightbox figcaption {
  position: absolute;
  bottom: 14px;
  left: 50%;
  font-size: 12px;
  font-weight: 650;
  transform: translateX(-50%);
}

.lightbox-close,
.lightbox-arrow {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(17, 19, 25, 0.74);
  color: #fff;
  cursor: pointer;
  font-size: 21px;
}

.lightbox-close {
  top: 14px;
  right: 14px;
}

.lightbox-arrow {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 14px;
}

.lightbox-next {
  right: 14px;
}

body.is-switching main {
  opacity: 0.72;
}

main {
  transition: opacity 120ms ease;
}

@media (max-width: 900px) {
  .header-actions > a:not(.header-download) {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: 900px;
  }

  .hero-copy {
    width: 67%;
    padding-top: 90px;
  }

  .hero-media {
    right: -18px;
    bottom: 18px;
    width: min(34vw, 300px);
    opacity: 1;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-heading .section-kicker {
    margin-bottom: 0;
  }

  .workflow-section {
    grid-template-columns: 1fr 1fr;
    min-height: 620px;
  }

  .workflow-copy {
    padding: 70px 34px;
  }

  .workflow-image-button {
    min-height: 620px;
    padding: 28px;
  }

  .workflow-image-button img {
    max-width: min(100%, 330px);
    max-height: 564px;
  }

  .gallery-track {
    grid-auto-columns: 42%;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 62px;
    padding-inline: 18px;
  }

  .wordmark {
    font-size: 14px;
  }

  .header-actions .header-download {
    padding: 7px 11px;
    font-size: 12px;
  }

  .hero {
    min-height: 0;
  }

  .hero-inner {
    width: min(calc(100% - 32px), var(--max-width));
    min-height: 0;
    padding: 22px 0 52px;
  }

  .product-switcher-wrap {
    position: sticky;
    top: 68px;
    z-index: 20;
    display: block;
  }

  .switcher-label {
    display: none;
  }

  .product-switcher {
    width: 100%;
    background: rgba(255, 255, 255, 0.93);
    box-shadow: 0 8px 20px rgba(23, 26, 34, 0.08);
  }

  .product-tab {
    min-width: 0;
    min-height: 46px;
    padding: 6px 8px;
    font-size: 11px;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .hero-copy {
    width: 100%;
    padding-top: 74px;
  }

  h1 {
    max-width: 100%;
    font-size: 44px;
    line-height: 1.02;
  }

  .hero-tagline {
    max-width: 330px;
    font-size: 20px;
  }

  .hero-description {
    max-width: 350px;
    font-size: 15px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    margin-top: 24px;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    margin-top: 26px;
  }

  .hero-facts div {
    min-width: 0;
  }

  .hero-facts dd {
    overflow-wrap: anywhere;
  }

  .hero-media {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(62vw, 250px);
    margin: 42px auto 0;
    opacity: 1;
    filter: none;
    transform: none;
  }

  .hero-backdrop {
    width: 80%;
    height: 52%;
  }

  .feature-section,
  .gallery-section {
    width: min(100% - 32px, var(--max-width));
    padding: 82px 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    margin-top: 44px;
  }

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

  .feature-item:last-child {
    border-bottom: 0;
  }

  .feature-item h3 {
    margin-top: 24px;
  }

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

  .workflow-copy {
    padding: 72px 24px;
  }

  .workflow-image-button {
    min-height: 0;
    padding: 30px 24px 42px;
  }

  .workflow-image-button img {
    max-width: min(100%, 270px);
    max-height: none;
  }

  .gallery-heading {
    align-items: center;
    margin-bottom: 36px;
  }

  .gallery-track {
    grid-auto-columns: 82%;
    gap: 14px;
  }

  .note-section {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 72px;
  }

  .download-section {
    padding-block: 90px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-block: 28px;
  }

  .lightbox-arrow {
    top: auto;
    bottom: 12px;
    transform: none;
  }

  .lightbox figcaption {
    bottom: 25px;
  }
}

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

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