@font-face {
  font-display: swap;
  font-family: "League Gothic";
  font-style: normal;
  font-weight: 400;
  src:
    url("../fonts/league-gothic-latin-400-normal.woff2") format("woff2"),
    url("../fonts/league-gothic-latin-400-normal.woff") format("woff");
}

@font-face {
  font-display: swap;
  font-family: "Marcellus";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/marcellus-latin-400-normal.woff2") format("woff2");
}

:root {
  --color-bg: #f2f0ec;
  --color-bgAlt: #e9e4dc;
  --color-surface: #f8f5ef;
  --color-text: #0b0b0d;
  --color-textMuted: #625e58;
  --color-accent: #ff5a1f;
  --color-accentHover: #df4310;
  --color-border: #bdb7ae;
  --color-ink: #0b0b0d;
  --max-width: 1160px;
  --radius: 2px;
  --paper-shadow: 2px 3px 0 rgba(11, 11, 13, 0.13);
  font-size: 16px;
}

* { box-sizing: border-box; }

html {
  background: var(--color-bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--color-bg);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(11, 11, 13, 0.025) 0 0.6px, transparent 0.8px),
    radial-gradient(circle at 70% 60%, rgba(255, 90, 31, 0.025) 0 0.5px, transparent 0.75px);
  background-position: 0 0, 5px 7px;
  background-size: 9px 11px, 13px 15px;
  color: var(--color-text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--color-accent); color: var(--color-text); }

h1, h2, h3, h4 {
  color: var(--color-text);
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-stretch: condensed;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0 0 0.6em;
}

h1, h2 {
  font-family: "League Gothic", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-stretch: normal;
  font-weight: 400;
  letter-spacing: 0.008em;
  line-height: 0.98;
}

h1 { font-size: clamp(3.2rem, 7vw, 6.15rem); max-width: 980px; }
h2 { font-size: clamp(2.45rem, 4.8vw, 4.15rem); max-width: 900px; }
h3 { font-size: 1.3rem; letter-spacing: -0.018em; }

/* Display type is treated like a fresh ink impression of the brand stamp. */
.stamp-heading {
  color: #050506;
  filter: none;
  -webkit-text-stroke: 0.15px currentColor;
  text-shadow:
    0.012em 0.018em 0 rgba(11, 11, 13, 0.22),
    -0.009em -0.009em 0 rgba(255, 255, 255, 0.68);
  transform: rotate(var(--heading-tilt, 0deg));
  transform-origin: left center;
}

.stamp-heading-0 { --heading-stamp-filter: url("#dcp-heading-stamp-0"); --heading-ghost: 0.12; --heading-tilt: -0.04deg; }
.stamp-heading-1 { --heading-stamp-filter: url("#dcp-heading-stamp-1"); --heading-ghost: 0.17; --heading-tilt: 0.06deg; }
.stamp-heading-2 { --heading-stamp-filter: url("#dcp-heading-stamp-2"); --heading-ghost: 0.1; --heading-tilt: -0.07deg; }
.stamp-heading-3 { --heading-stamp-filter: url("#dcp-heading-stamp-3"); --heading-ghost: 0.19; --heading-tilt: 0.035deg; }
.stamp-heading-4 { --heading-stamp-filter: url("#dcp-heading-stamp-4"); --heading-ghost: 0.13; --heading-tilt: -0.03deg; }
.stamp-heading-5 { --heading-stamp-filter: url("#dcp-heading-stamp-5"); --heading-ghost: 0.18; --heading-tilt: 0.075deg; }
.stamp-heading-6 { --heading-stamp-filter: url("#dcp-heading-stamp-6"); --heading-ghost: 0.15; --heading-tilt: -0.055deg; }

.stamp-filter-bank {
  height: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  width: 0;
}

p { color: var(--color-textMuted); margin: 0 0 1em; }

a {
  color: var(--color-text);
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-ink);
  text-decoration-thickness: 4px;
}

:where(a, button, input, select, textarea):focus-visible {
  box-shadow: 0 0 0 2px var(--color-bg), 0 0 0 5px var(--color-accent);
  outline: 3px solid var(--color-ink);
  outline-offset: 4px;
}

main:focus { outline: none; }

.skip-link {
  background: var(--color-ink);
  box-shadow: 4px 4px 0 var(--color-accent);
  color: var(--color-bg);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.76rem;
  font-weight: 700;
  left: 16px;
  letter-spacing: 0.07em;
  padding: 10px 13px 9px;
  position: fixed;
  text-decoration: none;
  text-transform: uppercase;
  top: 12px;
  transform: translateY(-180%);
  z-index: 100;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* Variable stamped identity */
.logo {
  align-items: center;
  color: var(--color-text);
  display: inline-flex;
  font-family: "Albertus Nova", "Albertus MT", Albertus, "Marcellus", Georgia, serif;
  font-size: 1.34rem;
  font-weight: 400;
  gap: 13px;
  letter-spacing: 0.035em;
  text-decoration: none;
}

.logo:hover { color: var(--color-text); }

.logo .mark,
.footer-stamp,
.app-brand-stamp {
  display: inline-flex;
  flex: 0 0 auto;
  line-height: 0;
}

.logo .mark { height: 46px; width: 41px; }
.logo .mark svg,
.footer-stamp svg,
.app-brand-stamp svg { display: block; height: 100%; overflow: visible; width: 100%; }

.footer-stamp { height: 29px; margin-right: 9px; vertical-align: middle; width: 26px; }
.footer-brand { align-items: center; display: inline-flex; }
.footer-brand strong,
[data-app-brand] > span:last-child {
  font-family: "Albertus Nova", "Albertus MT", Albertus, "Marcellus", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.025em;
}

/* Header */
header.site-header {
  background: rgba(242, 240, 236, 0.94);
  border-bottom: 1px solid var(--color-ink);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 15px 28px;
}

nav[data-brand-nav] {
  display: flex;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.88rem;
  gap: 24px;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

nav[data-brand-nav] a { color: var(--color-text); font-weight: 700; text-decoration: none; }
nav[data-brand-nav] a:hover {
  box-shadow: inset 0 -4px 0 var(--color-accent);
  color: var(--color-ink);
}
nav[data-brand-nav] a[aria-current="page"] { box-shadow: inset 0 -4px 0 var(--color-accent); }
.nav-toggle { display: none; }

.type-key {
  display: inline-block;
  opacity: var(--key-ink, 0.96);
}
.type-key-0 { --key-ink: 0.92; }
.type-key-1 { --key-ink: 0.97; }
.type-key-2 { --key-ink: 0.94; }
.type-key-3 { --key-ink: 0.99; }
.type-key-4 { --key-ink: 0.95; }
.type-key-5 { --key-ink: 0.98; }
.type-key-6 { --key-ink: 0.93; }

/* Hero */
.hero {
  background: transparent;
  border-bottom: 1px solid var(--color-ink);
  padding: clamp(72px, 10vw, 128px) 0 76px;
  position: relative;
}

.hero-layout {
  align-items: center;
  display: grid;
  gap: clamp(38px, 5vw, 68px);
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, 0.88fr);
}

.hero-copy { min-width: 0; }

.hero::after {
  background: var(--color-accent);
  bottom: -4px;
  content: "";
  height: 7px;
  left: max(28px, calc((100vw - var(--max-width)) / 2 + 28px));
  position: absolute;
  transform: rotate(-0.35deg);
  width: clamp(78px, 10vw, 132px);
}

.hero h1 em {
  color: var(--color-accentHover);
  font-style: normal;
  position: relative;
}

.eyebrow {
  box-shadow: inset 0 -3px 0 var(--color-accent);
  color: var(--color-ink);
  display: inline-block;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero p.lead {
  color: var(--color-textMuted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 700px;
}

/* Compact product preview: a ruled technical manifest, not a decorative dashboard. */
.hero-preview { min-width: 0; position: relative; }

.manifest-intro { display: none; }

.manifest-first-visit .manifest-intro {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 1;
  position: absolute;
  transition: opacity 280ms ease;
  z-index: 3;
}

.manifest-intro-logo {
  display: block;
  height: 100%;
  line-height: 0;
  width: 100%;
}
.manifest-intro-logo svg {
  display: block;
  height: 100%;
  overflow: visible;
  transform: scale(1.12);
  width: 100%;
}
.manifest-intro-logo .logo-play {
  transform-box: fill-box;
  transform-origin: center;
  transition: filter 150ms ease, transform 150ms ease;
}
.hero-preview.is-pressing .manifest-intro-logo .logo-play {
  filter: brightness(0.78);
  transform: translate(3px, 3px) scale(0.82);
}

.manifest-reveal-line {
  background: var(--color-accent);
  display: block;
  height: 5px;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 5;
}

.manifest-first-visit .manifest-preview {
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  transform: translateY(-10px) rotate(0.12deg);
}
.manifest-first-visit .hero-preview.is-revealing .manifest-intro { opacity: 0; }
.manifest-first-visit .hero-preview.is-revealing .manifest-preview {
  clip-path: inset(0);
  opacity: 1;
  transform: translateY(0) rotate(0.12deg);
  transition: clip-path 900ms cubic-bezier(0.3, 0.75, 0.2, 1), opacity 180ms ease, transform 900ms ease;
}
.manifest-first-visit .hero-preview.is-revealing .manifest-reveal-line {
  animation: manifest-scan 900ms cubic-bezier(0.3, 0.75, 0.2, 1) forwards;
}

.manifest-first-visit .manifest-status-pass {
  opacity: 0;
  transform: translateX(-8px);
}

.manifest-first-visit .manifest-status-pass.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

@keyframes manifest-scan {
  0% { opacity: 0; transform: translateY(0); }
  8% { opacity: 1; }
  88% { opacity: 1; }
  100% { opacity: 0; transform: translateY(var(--manifest-height, 390px)); }
}

.manifest-preview {
  background: var(--color-surface);
  border: 1px solid var(--color-ink);
  box-shadow: 4px 5px 0 rgba(11, 11, 13, 0.12);
  color: var(--color-ink);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.78rem;
  transform: rotate(0.12deg);
}

.manifest-preview small,
.manifest-column-head {
  display: block;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.manifest-header,
.manifest-title,
.manifest-specs,
.manifest-column-head,
.manifest-check,
.manifest-footer { border-bottom: 1px solid var(--color-ink); }

.manifest-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 15px 18px;
  text-transform: uppercase;
}

.manifest-header > strong { font-size: 0.78rem; letter-spacing: 0.035em; }
.manifest-header > span { text-align: right; }
.manifest-header b { display: block; font-size: 1.05rem; line-height: 1.05; }

.manifest-title { padding: 15px 18px 16px; }
.manifest-title strong {
  display: block;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  letter-spacing: 0.018em;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.manifest-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.manifest-specs > span { padding: 12px 10px 13px; }
.manifest-specs b { display: block; font-size: 0.74rem; margin-top: 4px; white-space: nowrap; }

.manifest-column-head,
.manifest-check {
  align-items: center;
  display: grid;
  grid-template-columns: 1fr 116px;
}

.manifest-column-head { padding: 9px 18px; }
.manifest-check { min-height: 43px; padding: 9px 18px; }
.manifest-check > span { align-items: center; display: flex; gap: 10px; }
.manifest-check > span > i {
  color: var(--color-textMuted);
  font-size: 0.62rem;
  font-style: normal;
  min-width: 35px;
}
.manifest-check > b { align-items: center; display: flex; justify-content: space-between; text-transform: uppercase; }

.status-dot {
  border: 1px solid rgba(11, 11, 13, 0.22);
  border-radius: 50%;
  display: inline-block;
  height: 12px;
  width: 12px;
}
.status-pass { background: #39732f; }
.status-review { background: #e89a19; }

.manifest-footer {
  border-bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.manifest-footer > span { padding: 12px 18px 13px; }
.manifest-footer > span + span { border-left: 1px solid var(--color-ink); }
.manifest-footer time,
.manifest-footer b { display: block; font-size: 0.69rem; margin-top: 4px; text-transform: uppercase; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.btn {
  border: 1px solid var(--color-ink);
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-block;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  padding: 12px 20px;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.btn:hover { box-shadow: var(--paper-shadow); transform: translate(-1px, -1px) rotate(-0.15deg); }

.btn-primary { background: var(--color-accent); color: var(--color-text); }
.btn-primary:hover { background: var(--color-accentHover); color: var(--color-text); }
.btn-secondary { background: var(--color-bg); color: var(--color-text); }
.btn-secondary:hover { border-color: var(--color-ink); color: var(--color-ink); }

/* Sections */
section { border-bottom: 1px solid var(--color-ink); padding: clamp(62px, 8vw, 96px) 0; }
section:last-of-type { border-bottom: none; }
.section-head { margin-bottom: 44px; max-width: 760px; }

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card,
.pricing-card,
.step {
  background: var(--color-surface);
  border: 1px solid var(--color-ink);
  border-radius: var(--radius);
  box-shadow: 2px 2px 0 rgba(11, 11, 13, 0.08);
  padding: 26px;
  position: relative;
}

.grid > :nth-child(2n) { transform: rotate(0.12deg); }
.grid > :nth-child(3n) { transform: rotate(-0.1deg); }
.card h3 { margin-bottom: 10px; }

.card .icon {
  border-left: 5px solid var(--color-accent);
  color: var(--color-ink);
  display: block;
  padding-left: 9px;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.two-col {
  align-items: center;
  display: grid;
  gap: 52px;
  grid-template-columns: 1.15fr 0.85fr;
}

/* Delivery-to-acceptance process band */
.workflow-section { background: var(--color-bg); padding: clamp(54px, 7vw, 82px) 0; }

.workflow-band {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
  padding-left: 28px;
  padding-right: 28px;
}

.workflow-intro,
.workflow-step {
  border-bottom: 1px solid var(--color-ink);
  border-top: 1px solid var(--color-ink);
  min-height: 334px;
  padding: 32px 24px 28px;
}

.workflow-intro { border-left: 1px solid var(--color-ink); }
.workflow-intro h2 { font-size: clamp(2.8rem, 4.1vw, 4.05rem); }
.workflow-intro h2 em { color: var(--color-accentHover); font-style: normal; }
.workflow-intro p { font-size: 0.93rem; max-width: 220px; }

.workflow-step { border-left: 1px solid var(--color-ink); }
.workflow-step:last-child { border-right: 1px solid var(--color-ink); }

.workflow-step-head {
  align-items: baseline;
  display: flex;
  font-family: "Courier New", Courier, monospace;
  gap: 10px;
  text-transform: uppercase;
}
.workflow-step-head b {
  box-shadow: inset 0 -5px 0 var(--color-accent);
  color: var(--color-ink);
  font-size: 1.12rem;
}
.workflow-step-head strong { font-size: 0.72rem; letter-spacing: 0.025em; }

.workflow-icon {
  height: 136px;
  margin: 20px auto 16px;
  max-width: 136px;
  width: 100%;
}
.workflow-icon picture,
.workflow-icon img { display: block; height: 100%; width: 100%; }
.workflow-icon img { object-fit: contain; }
.workflow-step p { font-size: 0.8rem; line-height: 1.48; margin: 0; }

/* Pricing */
.pricing-card { text-align: left; }
.pricing-card .price {
  color: var(--color-accentHover);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  margin: 10px 0;
}
.pricing-card .note { color: var(--color-textMuted); font-size: 0.82rem; }

/* Steps */
.steps {
  counter-reset: step;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.step { padding: 38px 24px 24px; }
.step::before {
  background: var(--color-accent);
  border: 1px solid var(--color-ink);
  color: var(--color-text);
  content: counter(step);
  counter-increment: step;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  left: 18px;
  padding: 3px 9px;
  position: absolute;
  top: -12px;
  transform: rotate(-1deg);
}

/* Table */
table {
  background: var(--color-surface);
  border: 1px solid var(--color-ink);
  border-collapse: collapse;
  border-radius: 0;
  overflow: hidden;
  width: 100%;
}

th, td {
  border-bottom: 1px solid var(--color-border);
  font-size: 0.92rem;
  padding: 13px 16px;
  text-align: left;
}

th {
  color: var(--color-textMuted);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.69rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

td { color: var(--color-text); }
tr:last-child td { border-bottom: none; }

/* CTA */
.cta-banner {
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-ink);
  border-radius: var(--radius);
  box-shadow: 4px 5px 0 rgba(11, 11, 13, 0.12);
  display: grid;
  gap: clamp(32px, 6vw, 76px);
  grid-template-columns: minmax(0, 1fr) clamp(128px, 16vw, 188px);
  padding: clamp(34px, 6vw, 62px);
  text-align: left;
  transform: rotate(-0.08deg);
}

.cta-copy { max-width: 760px; }
.cta-stamp {
  display: block;
  justify-self: center;
  line-height: 0;
  width: 100%;
}
.cta-stamp svg { display: block; height: auto; overflow: visible; width: 100%; }

/* Forms */
form.contact-form { display: grid; gap: 16px; max-width: 540px; }
form.contact-form label {
  color: var(--color-textMuted);
  display: block;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.72rem;
  margin-bottom: 6px;
  text-transform: uppercase;
}

form.contact-form input,
form.contact-form select,
form.contact-form textarea {
  background: var(--color-surface);
  border: 1px solid var(--color-ink);
  border-radius: 0;
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  width: 100%;
}

form.contact-form input:focus,
form.contact-form select:focus,
form.contact-form textarea:focus { box-shadow: 3px 3px 0 var(--color-accent); outline: none; }
form.contact-form textarea { min-height: 120px; resize: vertical; }

/* Footer */
footer { border-top: 1px solid var(--color-ink); padding: 38px 0; }
.footer-inner {
  color: var(--color-textMuted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.84rem;
  gap: 24px;
  justify-content: space-between;
}
.footer-inner a { color: var(--color-textMuted); }
.footer-inner a:hover {
  color: var(--color-ink);
  text-decoration-thickness: 4px;
}

.badge {
  background: var(--color-bg);
  border: 1px solid var(--color-ink);
  border-radius: 0;
  color: var(--color-textMuted);
  display: inline-block;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.67rem;
  margin-bottom: 7px;
  margin-right: 6px;
  padding: 4px 8px;
  text-transform: uppercase;
}

@media (max-width: 880px) {
  .header-inner { align-items: flex-start; flex-direction: column; gap: 10px; }
  nav[data-brand-nav] { flex-wrap: wrap; gap: 8px 18px; }
  .hero-layout { grid-template-columns: 1fr; }
  .manifest-preview { max-width: 560px; }
  .two-col { grid-template-columns: 1fr; }
  .workflow-band { grid-template-columns: repeat(2, 1fr); }
  .workflow-intro { border-right: 1px solid var(--color-ink); grid-column: 1 / -1; min-height: 0; }
  .workflow-step { border-top: 0; }
  .workflow-step:nth-of-type(2n) { border-right: 1px solid var(--color-ink); }
}

@media (max-width: 620px) {
  .container, .header-inner { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 62px; }
  .manifest-specs { grid-template-columns: repeat(2, 1fr); }
  .manifest-column-head, .manifest-check { grid-template-columns: 1fr 98px; }
  .manifest-check, .manifest-column-head { padding-left: 13px; padding-right: 13px; }
  .manifest-footer { grid-template-columns: 1fr; }
  .manifest-footer > span + span { border-left: 0; border-top: 1px solid var(--color-ink); }
  .grid { grid-template-columns: 1fr; }
  .card, .pricing-card, .step { padding: 22px; }
  .workflow-band { grid-template-columns: 1fr; padding-left: 20px; padding-right: 20px; }
  .workflow-step { border-right: 1px solid var(--color-ink); min-height: 0; }
  .workflow-icon { margin-left: 0; }
  .cta-banner { grid-template-columns: 1fr; }
  .cta-stamp { justify-self: start; width: 108px; }
  .footer-inner { flex-direction: column; }
  table { display: block; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
