/* Local system fonts and Decempe's existing navy/copper palette. */
:root {
  --paper: #ffffff;
  --ink: #0f172a;
  --muted: #596272;
  --line: #e1e4e8;
  --copper: #b75b22;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 5px;
}
::selection {
  background: #f4dfd0;
  color: var(--ink);
}
.wrap {
  width: min(1240px, calc(100% - 80px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  background: var(--ink);
  color: white;
  z-index: 10;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip-link:focus {
  width: auto;
  height: auto;
  padding: 12px;
  overflow: visible;
  clip-path: none;
}
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: block;
  width: 144px;
  flex-shrink: 0;
}
.masthead nav,
.footer-legal {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}
.masthead nav a,
.footer-legal a {
  display: inline-block;
  padding-block: 12px;
}
a:hover {
  color: var(--copper);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(36px, 3.3vw, 48px);
  line-height: 1.12;
  letter-spacing: -1.5px;
  font-weight: 650;
}
h2 {
  font-size: 27px;
  line-height: 1.25;
  letter-spacing: -0.6px;
  font-weight: 650;
  margin-bottom: 18px;
}
h3 {
  font-size: 19px;
  line-height: 1.3;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr);
  align-items: center;
  gap: 48px;
  padding-block: 64px 60px;
}
.hero-copy {
  min-width: 0;
}
.product-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--copper);
  margin-bottom: 18px;
}
.hero h1 {
  margin-bottom: 24px;
}
.hero-description {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 16px;
}
.hero-use-cases {
  color: var(--muted);
  margin-bottom: 22px;
}
.platforms {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}
.text-link {
  display: inline-block;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 5px;
  padding-block: 10px;
}
figure {
  margin: 0;
  min-width: 0;
}
.screenshot-link {
  display: block;
  border: 1px solid var(--line);
  background: #f3f5f6;
}
.screenshot-link:hover {
  border-color: #aeb6c0;
}
.screenshot-link img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}
figcaption {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  padding-top: 12px;
}
figcaption strong {
  color: var(--ink);
  font-weight: 600;
}
.hero-drawing video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 160 / 81;
  border: 1px solid var(--line);
  background: #f3f5f6;
}
.workflow {
  padding-block: 44px 56px;
  border-top: 1px solid var(--line);
}
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  counter-reset: workflow;
  padding: 0;
  margin: 28px 0 0;
}
.workflow-steps li {
  min-width: 0;
  counter-increment: workflow;
}
.workflow-steps h3 {
  margin-bottom: 8px;
}
.workflow-steps h3::before {
  content: counter(workflow) ". ";
  color: var(--copper);
}
.workflow-steps p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}
.example {
  padding-block: 44px 56px;
  border-top: 1px solid var(--line);
}
.example-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr);
  gap: 48px;
  margin-bottom: 28px;
}
.example-intro p {
  color: var(--muted);
  max-width: 650px;
  margin: 0;
}
.example-intro strong {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}
.example-screens {
  max-width: 100%;
}
.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid var(--line);
  padding-block: 36px 44px;
}
.contact h2 {
  font-size: 22px;
  margin-bottom: 10px;
}
.contact p {
  max-width: 550px;
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.button {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 4px;
  background: var(--ink);
  color: white;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.15s;
}
.button:hover {
  background: var(--copper);
  color: white;
}
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-block: 18px 24px;
  color: var(--muted);
}
.footer small {
  font-size: 12px;
}
.footer-legal {
  font-size: 13px;
}
.footer .brand {
  width: 118px;
}
.policy-main {
  padding-block: 48px 64px;
}
.policy-content {
  max-width: 720px;
  margin-inline: auto;
}
.policy-content h1 {
  font-size: 36px;
}
.policy-content h2 {
  font-size: 22px;
}
.policy-content p {
  overflow-wrap: anywhere;
}
.policy-content a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.eyebrow,
.policy-updated {
  font-size: 13px;
  color: var(--muted);
}
.policy-content section {
  padding-top: 24px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}
dialog {
  width: min(1200px, calc(100% - 40px));
  max-height: 90vh;
  max-height: 90dvh;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
dialog::backdrop {
  background: #0f172abf;
}
.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  margin-bottom: 16px;
}
.dialog-header button {
  min-height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 8px 12px;
  font-size: 13px;
}
.dialog-header button span {
  margin-left: 12px;
  font-size: 18px;
}
dialog img {
  width: 100%;
}
body:has(dialog[open]) {
  overflow: hidden;
}
@media (max-width: 1000px) {
  .hero,
  .example-intro {
    gap: 28px;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  }
  .hero h1 {
    font-size: 38px;
  }
  .example-intro {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .masthead {
    min-height: 72px;
    gap: 16px;
  }
  .brand {
    width: 128px;
  }
  .masthead nav {
    gap: 20px;
    font-size: 13px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 32px 36px;
  }
  .hero-copy {
    max-width: 480px;
  }
  .hero h1 {
    font-size: 40px;
    max-width: 340px;
    margin-bottom: 18px;
  }
  .product-name {
    margin-bottom: 12px;
  }
  .hero-description {
    margin-bottom: 16px;
  }
  .platforms {
    margin-bottom: 8px;
  }
  .example,
  .workflow {
    padding-block: 32px 36px;
  }
  .example-intro {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 24px;
  }
  .workflow-steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .contact {
    display: block;
    padding-block: 28px 32px;
  }
  .contact .button {
    margin-top: 20px;
  }
  .footer {
    gap: 16px;
    flex-wrap: wrap;
  }
  .footer-legal {
    gap: 18px;
  }
  dialog {
    width: calc(100% - 20px);
    padding: 12px;
  }
  .dialog-header {
    font-size: 11px;
    gap: 10px;
  }
}
@media (min-width: 761px) and (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    padding-block: 40px;
  }
  .hero-copy {
    max-width: 480px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .example-intro {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .workflow-steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
@media (max-width: 380px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .brand {
    width: 116px;
  }
  .masthead nav {
    gap: 14px;
    font-size: 12px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero-description {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
