/* OpenLine — dispatch-ticket marketing site
   Steel paper, safety orange, gunmetal ink. No SaaS card grid. */

:root {
  --paper: #eef0ee;
  --paper-deep: #dfe3e0;
  --cream: #f8f9f7;
  --ticket: #fdfdfc;
  --ink: #101619;
  --ink-soft: #3c454a;
  --mute: #5e686d;
  --copper: #bd451c;
  --copper-bright: #dd6a36;
  --copper-deep: #8c3210;
  --signal-blue: #2e5f74;
  --rule: #cfd5d2;
  --rule-strong: #b3bab6;
  --night: #0a0f13;
  --night-paper: #eef1ee;
  --night-mute: #a3adae;
  --night-rule: rgba(230, 236, 234, 0.15);
  --font-display: "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-ui: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1120px;
  --gutter: 22px;
  --header: 68px;
  --leading: 1.62;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

::selection {
  background: #f0c4a8;
  color: var(--ink);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: var(--leading);
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 90% 55% at 8% -10%, rgb(189 69 28 / 0.055), transparent 58%),
    radial-gradient(ellipse 70% 40% at 100% 0%, rgb(46 95 116 / 0.05), transparent 50%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

p {
  margin: 0;
}

h1,
h2,
h3,
.display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.008em;
  line-height: 1.05;
  text-transform: none;
}

h1 {
  font-size: clamp(2.65rem, 8vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.012em;
  max-width: 13ch;
  text-wrap: balance;
}

h1 em {
  font-style: normal;
  font-weight: 600;
  color: var(--copper-deep);
  text-decoration: underline;
  text-decoration-color: var(--copper);
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.1em;
}

h2 {
  font-size: clamp(1.95rem, 4.4vw, 3.05rem);
  max-width: 19ch;
  text-wrap: balance;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.18rem, 2vw, 1.42rem);
  letter-spacing: -0.006em;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -120px;
  z-index: 80;
  padding: 0.5rem 0.9rem;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.skip-link:focus {
  top: 0.7rem;
}

.wrap {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 28px;
  height: 28px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

.brand-name span {
  color: var(--copper);
  font-style: normal;
  font-weight: 600;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.45rem;
}

.nav a {
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 550;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
}

.nav a:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.btn-primary {
  padding: 1.05rem 1.7rem;
  font-size: 14.5px;
  color: #fff8f2;
  background: linear-gradient(180deg, var(--copper-bright) 0%, var(--copper) 58%, var(--copper-deep) 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.22);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #e07a45 0%, var(--copper-deep) 100%);
}

.btn-nav {
  padding: 0.5rem 0.95rem;
  font-size: 12px;
  color: #fff8f2;
  background: var(--copper);
}

.btn-nav:hover {
  background: var(--copper-deep);
}

.btn-ghost {
  padding: 1.05rem 1.35rem;
  font-size: 13.5px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--rule-strong);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

/* ——— Shared type bits ——— */
.kicker {
  margin: 0 0 0.95rem;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
}

.kicker-copper {
  color: var(--copper);
}

.kicker-light {
  color: var(--night-mute);
}

.lede {
  margin-top: 1.05rem;
  max-width: 36rem;
  color: var(--ink-soft);
  font-size: 16.5px;
}

.hairline {
  height: 1px;
  background: var(--rule);
  border: 0;
  margin: 0;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  padding: 4.6rem 0 4.2rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 2.8rem;
  align-items: end;
}

.catalog-no {
  margin: 0 0 1.5rem;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

.hero-sub {
  margin-top: 1.55rem;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.68;
  color: var(--ink-soft);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.1rem;
  margin-top: 2.15rem;
}

.trust {
  font-size: 14.5px;
  color: var(--mute);
  max-width: 22rem;
}

.ticket {
  position: relative;
  background: var(--ticket);
  border: 1px solid var(--rule-strong);
  box-shadow:
    8px 12px 0 rgb(26 20 15 / 0.04),
    0 28px 50px rgb(26 20 15 / 0.08);
  padding: 1.55rem 1.45rem 1.5rem 1.85rem;
}

.ticket::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 14px;
  background:
    radial-gradient(circle at 7px 10px, var(--paper) 3.4px, transparent 3.6px) 0 0 / 14px 18px,
    linear-gradient(90deg, var(--paper-deep), var(--ticket) 70%);
  border-right: 1px dashed var(--rule-strong);
}

.ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.85rem;
  margin-bottom: 0.95rem;
  border-bottom: 1px solid var(--rule);
}

.ticket-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

.ticket-stamp {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
}

.ticket-row {
  display: grid;
  grid-template-columns: 7.2rem 1fr;
  gap: 0.4rem 0.8rem;
  padding: 0.42rem 0;
  border-bottom: 1px dotted var(--rule);
  font-size: 14.5px;
}

.ticket-row dt {
  margin: 0;
  color: var(--mute);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 650;
  padding-top: 0.22rem;
}

.ticket-row dd {
  margin: 0;
  font-weight: 550;
}

.ticket-note {
  margin-top: 1rem;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ——— Miss log (first-scroll story) ——— */
.miss-log {
  padding: 0 0 4.4rem;
}

.log-sheet {
  background: var(--cream);
  border: 1px solid var(--rule);
}

.log-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.3rem;
  border-bottom: 1px solid var(--rule);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 650;
}

.log-row {
  display: grid;
  grid-template-columns: 5.4rem 1fr;
  grid-template-areas:
    "time title"
    "desc desc";
  gap: 0.3rem 1.2rem;
  padding: 1.25rem 1.3rem 1.3rem;
  border-bottom: 1px solid var(--rule);
}

.log-row:last-child {
  border-bottom: 0;
}

.log-time {
  grid-area: time;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: var(--copper);
  padding-top: 0.15rem;
}

.log-row h3 {
  grid-area: title;
  margin-bottom: 0.35rem;
}

.log-row p:not(.log-time) {
  grid-area: desc;
  color: var(--ink-soft);
  font-size: 15.5px;
  max-width: 42rem;
}

/* ——— Bleed / night ledger ——— */
.bleed {
  background: var(--night);
  color: var(--night-paper);
  padding: 5.2rem 0 4.8rem;
}

.bleed h2 {
  color: var(--night-paper);
  max-width: 16ch;
}

.bleed .lede {
  color: var(--night-mute);
}

.stats {
  display: grid;
  gap: 0;
  margin-top: 2.8rem;
  border-top: 1px solid var(--night-rule);
}

.stat {
  padding: 1.7rem 0 1.75rem;
  border-bottom: 1px solid var(--night-rule);
}

.stat-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 5.8vw, 3.9rem);
  line-height: 0.98;
  letter-spacing: -0.008em;
  color: #fbf6ee;
}

.stat-value .unit {
  font-size: 0.52em;
  letter-spacing: -0.01em;
}

.stat-value .tilde {
  font-style: normal;
  font-weight: 500;
  color: #e07c42;
  margin-right: 0.08em;
}

.stat-caption {
  margin-top: 0.7rem;
  max-width: 28rem;
  color: var(--night-mute);
  font-size: 15.5px;
}

.bleed-foot {
  margin-top: 1.8rem;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: color-mix(in srgb, var(--night-mute) 82%, #fff);
}

.bleed-invite {
  margin-top: 1.15rem;
  max-width: 36rem;
  font-size: 16.5px;
  color: var(--night-paper);
}

.bleed-invite a {
  color: #e8a36a;
  text-underline-offset: 0.22em;
}

.bleed-invite a:hover {
  color: #fff;
}

/* ——— Respect ——— */
.respect {
  padding: 5rem 0;
  border-bottom: 1px solid var(--rule);
}

.respect-grid {
  display: grid;
  gap: 1.8rem;
}

.respect-quote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.85rem, 4vw, 2.7rem);
  letter-spacing: -0.008em;
  line-height: 1.08;
  max-width: 16ch;
  text-wrap: balance;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.15rem;
}

.chip {
  font-size: 12.5px;
  padding: 0.32rem 0.7rem;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
}

.local-line {
  margin-top: 1.05rem;
  font-size: 14.5px;
  color: var(--mute);
}

/* ——— How ——— */
.section {
  padding: 5rem 0;
}

.how {
  border-bottom: 1px solid var(--rule);
}

.steps {
  list-style: none;
  margin: 2.4rem 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.step {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  gap: 1rem 1.4rem;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--rule);
}

.step-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--copper);
  letter-spacing: 0.01em;
  padding-top: 0.2rem;
}

.step p {
  margin-top: 0.45rem;
  color: var(--ink-soft);
  max-width: 38rem;
}

/* ——— Outcomes + hire ledger ——— */
.outcomes {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--paper-deep) 55%, var(--paper)), var(--paper));
  border-bottom: 1px solid var(--rule);
}

.outcome-list {
  margin: 2.3rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}

.outcome-list li {
  padding: 1.45rem 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  gap: 0.35rem;
}

.outcome-list h3 {
  font-size: 1.28rem;
}

.outcome-list p {
  color: var(--ink-soft);
  max-width: 40rem;
}

.ledger {
  margin-top: 3.2rem;
  border: 1px solid var(--rule);
  background: var(--cream);
}

.ledger-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.2rem;
  border-bottom: 1px solid var(--rule);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--mute);
}

.ledger-cols {
  display: grid;
}

.ledger-col {
  padding: 1.4rem 1.25rem 1.55rem;
}

.ledger-col + .ledger-col {
  border-top: 1px solid var(--rule);
}

.ledger-col h3 {
  margin-bottom: 0.7rem;
}

.ledger-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ledger-col li {
  padding: 0.45rem 0;
  border-bottom: 1px dotted var(--rule);
  color: var(--ink-soft);
  font-size: 15.5px;
}

.ledger-col li:last-child {
  border-bottom: 0;
}

.ledger-col.is-us {
  background: color-mix(in srgb, var(--copper) 7%, var(--cream));
}

.ledger-col.is-us h3 {
  color: var(--copper-deep);
}

/* ——— Pricing invoice ——— */
.pricing {
  border-bottom: 1px solid var(--rule);
}

.invoice {
  margin-top: 2.3rem;
  border: 1px solid var(--rule);
  background: var(--ticket);
}

.invoice-row {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  grid-template-areas:
    "no title"
    "desc desc";
  gap: 0.8rem 1.2rem;
  padding: 1.35rem 1.25rem;
  border-bottom: 1px solid var(--rule);
}

.invoice-row:last-of-type {
  border-bottom: 0;
}

.invoice-no {
  grid-area: no;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--copper);
}

.invoice-row h3 {
  grid-area: title;
}

.invoice-row p:not(.invoice-no) {
  grid-area: desc;
  margin-top: 0.3rem;
  color: var(--ink-soft);
  font-size: 15.5px;
}

.pricing-note {
  margin-top: 1.4rem;
  max-width: 40rem;
  font-size: 15.5px;
  color: var(--ink-soft);
}

/* ——— FAQ ——— */
.faq-list {
  margin-top: 1.6rem;
  border-top: 1px solid var(--rule);
}

.faq-item {
  border-bottom: 1px solid var(--rule);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.2rem 1.8rem 1.2rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.38rem);
  letter-spacing: -0.028em;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 1.15rem;
  font-family: var(--font-ui);
  font-size: 1.15rem;
  color: var(--copper);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  padding: 0 0 1.3rem;
  max-width: 40rem;
  color: var(--ink-soft);
}

/* ——— Close ——— */
.closing {
  padding: 5.4rem 0 5rem;
  background:
    linear-gradient(180deg, var(--paper), color-mix(in srgb, var(--copper) 9%, var(--paper-deep)));
  text-align: left;
}

.closing-sub {
  margin: 1.1rem 0 2rem;
  max-width: 32rem;
  font-size: 1.12rem;
  color: var(--ink-soft);
}

.closing-trust {
  margin-top: 1rem;
  font-size: 14.5px;
  color: var(--mute);
}

.closing-trust a {
  color: var(--copper-deep);
}

/* ——— Footer ——— */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 1.35rem 0 1.5rem;
  font-size: 13.5px;
  color: var(--mute);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.4rem;
}

.footer-mark {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

.footer-inner a {
  color: var(--ink-soft);
}

/* ——— Inner pages ——— */
.page-hero {
  padding: 3.6rem 0 2.4rem;
  border-bottom: 1px solid var(--rule);
}

.page-hero p {
  margin-top: 1rem;
  max-width: 36rem;
  color: var(--ink-soft);
}

.agenda {
  margin: 0;
  padding: 0;
  list-style: none;
}

.agenda li {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--rule);
}

.agenda-no {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--copper);
}

.agenda h3 {
  margin-bottom: 0.35rem;
}

.agenda p {
  color: var(--ink-soft);
}

.todo-note {
  margin-top: 2rem;
  padding: 1rem 1.1rem;
  border: 1px dashed var(--rule-strong);
  font-size: 14px;
  color: var(--mute);
  max-width: 40rem;
}

/* ——— 404 ——— */
.not-found {
  min-height: calc(100vh - 140px);
  display: grid;
  align-content: center;
  padding: 4rem 0;
}

/* ——— Breakpoints ——— */
@media (min-width: 760px) {
  .nav {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: center;
    gap: 3.4rem;
  }

  .log-row {
    grid-template-columns: 6.2rem 13rem 1fr;
    grid-template-areas: "time title desc";
    align-items: start;
  }

  .stats {
    grid-template-columns: repeat(3, 1fr);
    border-top: 0;
    gap: 0;
  }

  .stat {
    padding: 1.4rem 1.3rem 1.5rem 0;
    border-bottom: 0;
    border-top: 1px solid var(--night-rule);
  }

  .stat + .stat {
    padding-left: 1.4rem;
    border-left: 1px solid var(--night-rule);
  }

  .respect-grid {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 3rem;
  }

  .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 0;
    gap: 0;
  }

  .step {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.4rem 1.6rem 0;
    border-bottom: 0;
    border-top: 1px solid var(--rule);
  }

  .step + .step {
    padding-left: 1.5rem;
    border-left: 1px solid var(--rule);
  }

  .outcome-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .outcome-list li:nth-child(odd) {
    padding-right: 1.6rem;
  }

  .outcome-list li:nth-child(even) {
    padding-left: 1.6rem;
    border-left: 1px solid var(--rule);
  }

  .ledger-cols {
    grid-template-columns: 1fr 1fr;
  }

  .ledger-col + .ledger-col {
    border-top: 0;
    border-left: 1px solid var(--rule);
  }

  .invoice-row {
    grid-template-columns: 2.4rem 11rem 1fr;
    grid-template-areas: "no title desc";
    align-items: start;
  }

  .hero {
    padding: 5.4rem 0 5rem;
  }
}

@media (min-width: 980px) {
  .outcome-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .outcome-list li:nth-child(odd),
  .outcome-list li:nth-child(even) {
    padding-left: 0;
    padding-right: 1.5rem;
    border-left: 0;
  }

  .outcome-list li + li {
    padding-left: 1.5rem;
    border-left: 1px solid var(--rule);
  }

  h1 {
    max-width: 11.5ch;
  }
}

@media (max-width: 759px) {
  .hero {
    padding-top: 3.2rem;
  }

  .btn-nav {
    font-size: 12.5px;
    padding: 0.46rem 0.75rem;
  }

  .ticket {
    margin-top: 0.4rem;
  }
}
