.ace-page {
  --link: #0066cc;
}
.ace-brand {
  font-size: 22px;
  letter-spacing: -0.6px;
}
.ace-brand span {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
}
.ace-nav-cta {
  color: #0066cc !important;
}
.ace-product-hero {
  max-width: 1300px;
  padding: 95px 60px 100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 65px;
  align-items: center;
}
.ace-product-copy h1 {
  font-size: clamp(42px, 4.6vw, 64px);
  line-height: 1.13;
  letter-spacing: -0.035em;
}
.ace-product-copy > p {
  font-size: 17px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 25px;
}
.ace-page .ace-primary {
  background: #0066cc;
  color: white;
  border-color: #0066cc;
}
.ace-product-copy > .ace-status {
  font-size: 11px;
  line-height: 1.8;
  margin-top: 23px;
}
.ace-product-poster {
  margin: 0;
}
.ace-product-poster img {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: 62% center;
  border-radius: 24px;
}
.ace-product-poster figcaption {
  font-size: 11px;
  text-align: right;
  color: var(--muted);
  margin-top: 13px;
}
.ace-workflow {
  background: #f5f5f7;
  padding: 90px max(28px, calc((100vw - 1180px) / 2));
}
.ace-section-title {
  max-width: 670px;
  margin: 0 auto 45px;
  text-align: center;
}
.ace-section-title h2,
.ace-boundaries h2 {
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.ace-section-title > p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 20px;
}
.ace-step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.ace-step-number {
  display: block;
  font:
    14px ui-monospace,
    monospace;
  color: #0066cc;
  border-bottom: 1px solid #d7d7dc;
  padding-bottom: 21px;
  margin-bottom: 24px;
}
.ace-step-grid h3 {
  font-size: 23px;
  margin-bottom: 15px;
}
.ace-step-grid p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}
.ace-example {
  padding: 90px 28px 100px;
  text-align: center;
}
.ace-example figure {
  max-width: 900px;
  margin: 0 auto 32px;
}
.ace-example video {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: contain;
  border-radius: 18px;
  background: #17181a;
}
.ace-example figcaption {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 15px;
}
.ace-boundaries {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 90px;
  background: #f5f5f7;
  padding: 90px max(28px, calc((100vw - 1100px) / 2));
}
.ace-boundaries h3 {
  font-size: 18px;
  margin-bottom: 12px;
}
.ace-boundaries p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 28px;
}
.ace-boundaries a {
  color: #0066cc;
  font-size: 14px;
}
.ace-final {
  padding: 90px 28px;
  text-align: center;
}
.ace-final h2 {
  font-size: clamp(28px, 3vw, 43px);
}
.ace-final p {
  margin-top: 20px;
  font-size: 16px;
  color: var(--muted);
}
.ace-final .button {
  margin-top: 30px;
}
.ace-legal {
  max-width: 820px;
  margin: auto;
  padding: 75px 28px 100px;
}
.ace-legal h1 {
  font-size: 43px;
  letter-spacing: -0.025em;
}
.ace-legal h2 {
  font-size: 23px;
  margin-top: 37px;
}
.ace-legal p,
.ace-legal li {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 15px;
}
.ace-legal ul {
  padding-left: 22px;
}
.ace-legal a {
  color: #0066cc;
}
.ace-legal .updated {
  font-size: 12px;
}
.ace-legal .legal-intro {
  font-size: 18px;
  margin-top: 26px;
}
.ace-legal-note {
  border-left: 3px solid #0066cc;
  padding: 5px 20px;
  margin: 30px 0;
  background: #f5f5f7;
}
@media (max-width: 800px) {
  .ace-product-hero {
    padding: 60px 28px;
    gap: 36px;
    grid-template-columns: 1fr;
  }
  .ace-product-copy h1 {
    font-size: 45px;
  }
  .ace-product-poster img {
    aspect-ratio: 4/3;
  }
  .ace-step-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ace-workflow,
  .ace-example,
  .ace-boundaries,
  .ace-final {
    padding: 65px 28px;
  }
  .ace-boundaries {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .ace-section-title {
    margin-bottom: 32px;
  }
  .ace-section-title h2,
  .ace-boundaries h2 {
    font-size: 34px;
  }
  .ace-legal h1 {
    font-size: 34px;
  }
  .ace-legal {
    padding-top: 55px;
  }
  .ace-page .nav {
    gap: 17px;
    line-height: 1.4;
  }
  .ace-page .site-header {
    gap: 18px;
    flex-wrap: wrap;
  }
  .ace-page .brand {
    font-size: 20px;
  }
  .ace-product-hero .ace-home-actions {
    gap: 20px;
  }
}
@media (prefers-color-scheme: dark) {
  .ace-page {
    --ink: #f2f2f4;
    --muted: #a7a7b0;
    --page: #151618;
    --line: #3d3d42;
    --hairline: #303037;
    background: #151618;
    color: #f2f2f4;
  }
  .ace-page .site-header {
    background: #1b1d20ed;
  }
  .ace-page .nav {
    color: #b8b8c0;
  }
  .ace-page .nav a:hover {
    color: #fff;
  }
  .ace-page .ace-workflow,
  .ace-page .ace-boundaries,
  .ace-page .ace-legal-note {
    background: #1e2023;
  }
  .ace-page .ace-eyebrow,
  .ace-page .ace-step-number,
  .ace-page .ace-nav-cta,
  .ace-page .ace-home-actions > a:not(.button),
  .ace-page .ace-boundaries a,
  .ace-page .ace-legal a {
    color: #6aafff !important;
  }
  .ace-page .ace-step-number {
    border-color: #393b40;
  }
  .ace-page .site-footer {
    background: #1b1d20;
    color: #a7a7b0;
    border-color: #393b40;
  }
}
