:root {
  color-scheme: light;
  --ink: #162641;
  --muted: #485971;
  --blue: #214db3;
  --pale: #edf2fa;
  --line: #cdd8ea;
  font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: #f9fbff;
  line-height: 1.55;
}
* { box-sizing: border-box; }
body, figure, dl, dd { margin: 0; }
img { display: block; max-inline-size: 100%; block-size: auto; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid #3665d0; outline-offset: 4px; }
.wrap { width: min(74rem, calc(100% - 3rem)); margin-inline: auto; }
.skip { position: absolute; inset: .5rem auto auto .5rem; transform: translateY(-160%); background: white; padding: .5rem; z-index: 2; }
.skip:focus { transform: none; }
.header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner, .contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.header-inner { padding-block: .9rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; white-space: nowrap; }
.brand-icon { display: grid; place-items: center; width: 52px; height: 52px; overflow: hidden; flex: none; border-radius: .65rem; }
.brand-icon { background: var(--blue); color: #fff; font-size: 1.75rem; font-weight: 750; line-height: 1; }
.header nav { display: flex; flex-wrap: wrap; gap: .45rem 1.4rem; }
.header nav a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 650; text-decoration: none; }
.header nav a:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border-radius: .4rem; padding: .65rem 1.05rem; background: var(--blue); border: 1px solid var(--blue); color: white; font-weight: 680; text-decoration: none; text-align: center; }
.button:hover { background: #173985; color: white; }
.outline { color: var(--blue); background: white; }
.hero { display: grid; gap: clamp(1.75rem, 5vw, 4rem); padding-block: clamp(2.75rem, 7vw, 6rem) clamp(2rem, 5vw, 4rem); }
h1, h2 { margin: 0; line-height: 1.06; letter-spacing: -.047em; text-wrap: balance; }
h1 { font-size: clamp(2.55rem, 6vw, 6rem); }
h1 span { color: var(--blue); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3.35rem); }
p { margin: .95rem 0 0; color: var(--muted); }
.hero p { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 44rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.25rem; margin-top: 1.4rem; }
.case-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; }
.capture { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: .65rem; background: white; }
.capture img { width: 100%; }
figcaption { padding-top: .65rem; font-size: .875rem; color: var(--muted); }
.revision { background: var(--pale); border-block: 1px solid var(--line); }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(1.25rem, 5vw, 4.5rem); padding-block: clamp(2.25rem, 6vw, 5rem); }
.ledger { background: #fff; border: 1px solid var(--line); border-radius: .65rem; padding: .15rem 1rem; }
.contact { background: #142a4c; color: white; }
.contact p { color: #e0e9fa; }
.contact-inner { padding-block: 2.5rem; }
.contact .button { flex: none; background: white; color: #142a4c; border-color: white; }
.trial-action { flex: 0 0 auto; }
.trial-action .button { font: inherit; font-weight: 680; }
.trial-action .button:disabled { background: #e0e9fa; border-color: #e0e9fa; color: #485971; cursor: default; }
.trial-action p { margin-top: .4rem; font-size: .875rem; }
.footer { padding-block: 1.25rem; }
@media (max-width: 49rem) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { flex-wrap: wrap; gap: .45rem 1rem; }
  .header nav { order: 1; flex-basis: 100%; border-top: 1px solid var(--line); column-gap: 1.15rem; }
  .header .button { padding-inline: .65rem; font-size: .875rem; }
  .case-grid { grid-template-columns: 1fr; }
  .contact-inner { flex-wrap: wrap; }
}
@media (max-width: 25rem) {
  .header-inner { column-gap: .5rem; }
  .brand { gap: .35rem; font-size: .9rem; }
  .brand-icon { width: 37px; height: 37px; font-size: 1.27rem; }
}

.workflow { background: white; border-top: 1px solid var(--line); }
.workflow-inner { padding-block: clamp(2.25rem, 6vw, 5rem); }
.workflow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 1rem; margin-top: 1.75rem; }
.workflow-grid article {
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(.9rem, 2vw, 1.25rem);
  background: #f9fbff;
  border: 1px solid var(--line);
  border-radius: .65rem;
}
.workflow-grid h3 { margin: 0; font-size: 1.3rem; }
.workflow-grid p { margin: .4rem 0 1rem; }
.drawing-paper {
  background-color: #f1f6ff;
  background-image:
    linear-gradient(110deg, #f9fbff 12%, #f9fbffe8 40%, transparent 85%),
    linear-gradient(#214db316 1px, transparent 1px),
    linear-gradient(90deg, #214db316 1px, transparent 1px),
    linear-gradient(#214db30b 1px, transparent 1px),
    linear-gradient(90deg, #214db30b 1px, transparent 1px);
  background-size: 100% 100%, 80px 80px, 80px 80px, 16px 16px, 16px 16px;
}
.hero-copy {
  max-width: 58rem;
  min-width: 0;
}
.workflow-grid article { scroll-margin-top: 1rem; }
.service-table { width: 100%; border-collapse: collapse; margin-top: .75rem; }
.service-table caption {
  text-align: left;
  padding: .55rem .7rem;
  background: var(--pale);
  font-family: ui-monospace, monospace;
  font-weight: 700;
  color: var(--blue);
}
.service-table th, .service-table td {
  border-bottom: 1px solid var(--line);
  padding: .55rem .7rem;
}
.service-table th { text-align: left; font-weight: 550; }
.service-table td, .revision-table thead th:last-child {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
.revision-table { margin-top: 0; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .button { transition: background-color .18s ease, color .18s ease; }
}
@media (max-width: 56rem) {
  .workflow-grid { grid-template-columns: 1fr; }
}
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li { padding: .55rem 0; border-bottom: 1px solid var(--line); }

.workflow-intro { max-width: 45rem; }
.revision-table th span { display: block; font-weight: 400; color: var(--muted); }
.revision-table tfoot { background: var(--pale); }
.revision-table tfoot th { font-weight: 700; }

.product { background: #122843; color: white; }
.product-inner { padding-block: clamp(2.5rem, 6vw, 5rem); }
.product-heading { max-width: 50rem; margin-bottom: 1.75rem; }
.product-heading p { color: #dce7f7; max-width: 40rem; font-size: 1.05rem; }
.product-screen {
  border: 1px solid #647b96;
  border-radius: .65rem;
  background: #fff;
  box-shadow: 0 18px 36px #0715254d;
}
.product-screen a { display: block; border-radius: inherit; }
.product-screen img { width: 100%; height: auto; border-radius: inherit; }
.product-mobile { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .product-screen a { transition: outline-offset .18s ease; }
  .product-screen a:is(:hover, :focus-visible) { outline: 2px solid #9ebdff; outline-offset: 5px; }
}
@media (max-width: 48rem) {
  .product-screen { display: none; }
  .product-mobile {
    display: block;
    background: white;
    color: var(--ink);
    border-radius: .65rem;
    padding: .85rem;
  }
  .product-mobile p { margin: 0; }
  .product-mobile a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); }
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes reveal-on-scroll {
    from { opacity: .45; transform: translateY(.8rem); }
    to { opacity: 1; transform: translateY(0); }
  }

  .is-revealed { animation: reveal-on-scroll .48s ease-out both; }
  .workflow-grid :nth-child(2 of article).is-revealed { animation-delay: .06s; }
  .workflow-grid :nth-child(3 of article).is-revealed { animation-delay: .12s; }
}
