:root {
  --ink: #17191f;
  --muted: #666b76;
  --line: #dfe2e8;
  --paper: #f7f8fa;
  --white: #ffffff;
  --orange: #ff6425;
  --orange-dark: #d94c15;
  --shell: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "SF Pro Display", "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

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

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  background: rgba(247, 248, 250, 0.9);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(23, 25, 31, 0.09);
  background: rgba(255, 255, 255, 0.96);
}

.nav-shell, .section-shell, .footer-shell {
  width: var(--shell);
  margin: 0 auto;
}

.nav-shell {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand, .footer-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 760;
  white-space: nowrap;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #454953;
  font-size: 14px;
  font-weight: 650;
}

.site-nav a { transition: color 160ms ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--orange-dark); }

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: opacity 160ms ease, transform 160ms ease;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: 132px 24px 88px;
  overflow: hidden;
  background: #ffffff;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-copy {
  width: min(900px, 100%);
  margin: 0 auto 48px;
  text-align: center;
}

.eyebrow, .section-kicker, .showcase-index {
  margin: 0 0 14px;
  color: var(--orange-dark);
  font-size: 14px;
  font-weight: 760;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 10px;
  border: 1px solid #ffd3c0;
  border-radius: 999px;
  background: #fff4ef;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
}

.hero h1 {
  margin: 6px 0 8px;
  color: #111318;
  font-size: 72px;
  font-weight: 850;
  line-height: 1.12;
}

.hero-lead {
  margin: 0;
  color: #23262d;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.42;
}

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

.product-frame {
  width: min(1180px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #d7dae1;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 30px 76px rgba(34, 39, 49, 0.15);
}

.window-bar {
  position: relative;
  display: flex;
  height: 34px;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border-bottom: 1px solid #e6e8ed;
  background: #f1f2f4;
}

.window-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c6c9cf;
}

.window-bar b {
  position: absolute;
  left: 50%;
  color: #666b75;
  font-size: 11px;
  font-weight: 600;
  transform: translateX(-50%);
}

.product-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: var(--white);
  object-fit: contain;
}

.hero-product-frame img {
  aspect-ratio: auto;
}

.canvas-product-frame img {
  aspect-ratio: auto;
}

.product-section {
  padding: 112px 0 122px;
  background: var(--white);
}

.section-heading {
  width: min(820px, 100%);
  margin-bottom: 78px;
}

.section-heading h2 {
  margin: 0;
  font-size: 43px;
  font-weight: 800;
  line-height: 1.25;
}

.section-heading > p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
}

.showcase + .showcase { margin-top: 122px; }

.showcase-copy {
  display: grid;
  max-width: 920px;
  margin-bottom: 32px;
  grid-template-columns: 0.38fr 0.62fr;
  gap: 16px 52px;
}

.showcase-index { grid-row: 1 / span 2; }

.showcase-copy h3 {
  margin: 0;
  font-size: 32px;
  line-height: 1.3;
}

.showcase-copy > p:last-child {
  margin: 0;
  color: var(--muted);
}

.showcase-alt .showcase-index { color: #2563eb; }

.service-note {
  display: flex;
  width: min(920px, calc(100% - 48px));
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 34px auto;
  color: #656a74;
  text-align: center;
}

.service-note > span {
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid #aeb3bd;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 750;
}

.service-note p { margin: 0; font-size: 13px; }

.site-footer {
  padding: 22px 0;
  border-top: 1px solid #2e3239;
  color: #9ca1ab;
  background: #181b21;
}

.footer-shell {
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: 20px;
}

.footer-brand { color: var(--white); font-size: 15px; }
.footer-shell p { margin: 0 auto 0 0; font-size: 13px; }
.footer-shell > a:last-child { font-size: 12px; }
.footer-shell > a:last-child:hover, .footer-shell > a:last-child:focus-visible { color: var(--white); }

.has-js .motion-item {
  opacity: 0;
  filter: blur(5px);
  transition:
    opacity 650ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 650ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 650ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter;
}

.has-js .motion-item[data-motion="up"] { transform: translateY(34px); }
.has-js .motion-item[data-motion="left"] { transform: translateX(-34px); }
.has-js .motion-item[data-motion="right"] { transform: translateX(34px); }
.has-js .motion-item[data-motion="scale"] { transform: translateY(28px) scale(0.975); }
.has-js .motion-item[data-exit="up"] { transform: translateY(-28px) scale(0.99); }
.has-js .motion-item[data-delay="1"] { transition-delay: 90ms; }

.has-js .motion-item.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

@media (max-width: 800px) {
  :root { --shell: calc(100% - 32px); }
  .nav-shell { min-height: 60px; }
  .brand { font-size: 16px; }
  .brand img { width: 34px; height: 34px; }
  .menu-button { display: block; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .site-nav {
    position: absolute;
    top: 60px;
    right: 0;
    left: 0;
    display: none;
    padding: 10px 16px 14px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    align-items: stretch;
    gap: 0;
    background: var(--white);
  }

  .site-nav.is-open { display: grid; }
  .site-nav a { display: flex; min-height: 46px; align-items: center; padding: 0 12px; }
  .hero { min-height: auto; padding: 104px 16px 68px; }
  .hero-copy { margin-bottom: 36px; }
  .eyebrow { font-size: 12px; }
  .hero h1 { font-size: 44px; }
  .hero-lead { font-size: 21px; }
  .hero-note { font-size: 15px; }
  .window-bar { height: 27px; }
  .window-bar b { display: none; }
  .product-section { padding: 76px 0 82px; }
  .section-heading { margin-bottom: 58px; }
  .section-heading h2 { font-size: 31px; }
  .section-heading > p:last-child { font-size: 14px; }
  .showcase + .showcase { margin-top: 82px; }
  .showcase-copy { display: block; margin-bottom: 24px; }
  .showcase-copy h3 { font-size: 25px; }
  .showcase-copy > p:last-child { margin-top: 12px; font-size: 14px; }
  .has-js .motion-item[data-motion="left"],
  .has-js .motion-item[data-motion="right"] { transform: translateY(24px); }
  .has-js .motion-item[data-exit="up"] { transform: translateY(-22px) scale(0.99); }

  .service-note {
    width: calc(100% - 32px);
    align-items: flex-start;
    margin: 25px auto;
    text-align: left;
  }

  .service-note > span { margin-top: 2px; }
  .footer-shell { flex-wrap: wrap; justify-content: center; gap: 10px 16px; text-align: center; }
  .footer-shell p { width: 100%; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .has-js .motion-item { opacity: 1; filter: none; transform: none; }
}
