/* Overtime Line – site v2. Palette: paper, graphite, ink blue, canary ticket, one red stamp. */
:root {
  --paper: #FBFBF8;
  --ink: #1E3A8A;
  --ink-soft: #2f4ea0;
  --graphite: #2B2F36;
  --muted: #5B616B;
  --rule: #D9DCE1;
  --canary: #FFF1B8;
  --canary-rule: #E3D38E;
  --stamp: #C8102E;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--graphite);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink-soft); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

/* header */
.top { padding: 18px 0 6px; }
.brand { font-weight: 700; font-size: 19px; text-decoration: none; color: var(--graphite); font-variation-settings: "wdth" 112; letter-spacing: 0.005em; }
.top nav { display: flex; gap: 18px; align-items: center; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--graphite); }
.top nav a.nav-cta { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) { .top nav a:not(.nav-cta) { display: none; } }

/* type */
h1, h2 { font-weight: 700; letter-spacing: -0.012em; margin: 0 0 14px; line-height: 1.05; font-variation-settings: "wdth" 118; }
h1 { font-size: clamp(38px, 6.6vw, 64px); max-width: 11ch; }
h2 { font-size: clamp(27px, 3.4vw, 36px); font-variation-settings: "wdth" 112; }
p { margin: 0 0 14px; max-width: 62ch; }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 42ch; margin-bottom: 24px; }
.fine { font-size: 14px; color: var(--muted); }
.big { font-size: clamp(28px, 5vw, 40px); margin: 6px 0 8px; font-variation-settings: "wdth" 110; font-weight: 600; }
.tel { text-decoration: none; }

/* buttons */
.btn {
  display: inline-block; padding: 14px 20px; border-radius: 6px; border: 1.5px solid var(--ink);
  color: var(--ink); background: transparent; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.2;
}
.btn.primary { background: var(--ink); color: #fff; }
.btn:hover { background: var(--ink-soft); color: #fff; border-color: var(--ink-soft); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0 0 12px; }
.ctas .or { color: var(--muted); }

/* hero: headline, then the ticket, then the copy on phones; ticket to the right of both on desktop */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "h1" "demo" "rest"; gap: 8px 28px; padding: 22px 16px 24px; align-items: start; }
.hero h1 { grid-area: h1; }
.hero-demo { grid-area: demo; overflow: hidden; padding: 2px 0 8px; margin: 10px 0 6px; }
.hero-rest { grid-area: rest; }
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(380px, 460px); grid-template-areas: "h1 demo" "rest demo"; gap: 0 56px; padding-top: 48px; align-content: start; }
  .hero h1 { padding-top: 28px; }
  .hero-demo { margin: 0; }
}

/* the work-order ticket */
.ticket {
  position: relative; margin: 0; background: var(--canary); color: var(--graphite);
  padding: 18px 18px 40px; border: 1px solid var(--canary-rule);
  box-shadow: 0 1px 0 #fff inset, 0 10px 24px -18px rgba(43,47,54,.45);
  border-top: 2px dashed #cdbd7a;
}
.ticket::before {
  /* carbon-copy shadow line, a second sheet peeking out underneath */
  content: ""; position: absolute; inset: auto 4px -5px 4px; height: 6px; background: #f1e3a6; border: 1px solid var(--canary-rule); border-top: 0; z-index: -1;
}
.ticket-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; border-bottom: 1px solid #b9ab6c; padding-bottom: 10px; margin-bottom: 8px; }
.co { font-weight: 700; font-size: 17px; font-variation-settings: "wdth" 112; line-height: 1.15; }
.co-sub { font-size: 12px; color: var(--muted); margin-top: 3px; }
.formno { text-align: right; font-size: 11px; color: var(--muted); line-height: 1.2; white-space: nowrap; }
.formno strong { display: block; font-size: 14px; color: var(--graphite); font-variation-settings: "wdth" 118; margin-top: 2px; }

.fields { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.f { grid-column: span 2; display: grid; grid-template-columns: 112px 1fr; align-items: baseline; gap: 10px; padding: 7px 0 4px; border-bottom: 1px solid #c9bb7d; min-height: 36px; }
.f.half { grid-column: span 1; grid-template-columns: 1fr; gap: 2px; }
.f.half dt { padding-top: 0; }
.f dt { font-size: 11px; letter-spacing: .02em; color: var(--muted); }
.f dd { margin: 0; color: var(--ink); font-weight: 500; font-size: 17px; font-variation-settings: "wdth" 92; min-height: 22px; line-height: 1.3; word-break: break-word; }
.f dd .mark { display: none; margin-left: 8px; font-size: 12px; color: var(--ink); font-weight: 600; font-variation-settings: "wdth" 100; }
.f dd .mark.on { display: inline; }
.f dd .mark.on::before { content: "✓ "; }
.f dd .val.pending { color: var(--muted); font-weight: 400; font-style: italic; }
.ticket-foot { font-size: 11px; color: var(--muted); margin-top: 10px; }

.stamp {
  position: absolute; right: 12px; bottom: 6px; padding: 6px 14px;
  border: 3px double var(--stamp); color: var(--stamp); border-radius: 4px;
  font-weight: 800; font-size: 30px; letter-spacing: .1em; text-transform: uppercase; line-height: 1;
  font-variation-settings: "wdth" 125;
  transform: rotate(-11deg) scale(2.2); opacity: 0; pointer-events: none;
  mix-blend-mode: multiply;
}
.stamp.on { opacity: .92; transform: rotate(-11deg) scale(1); transition: transform .18s cubic-bezier(.2,1.6,.4,1), opacity .12s linear; }
@media (prefers-reduced-motion: reduce) { .stamp.on { transition: none; } }

/* player */
.player { margin-top: 16px; display: grid; grid-template-columns: 56px 1fr; gap: 12px 14px; align-items: center; }
.play {
  width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer;
  display: grid; place-items: center; padding: 0;
}
.play:hover { background: var(--ink-soft); }
.play svg { fill: currentColor; }
.play .ic-pause { display: none; }
.play[aria-pressed="true"] .ic-play { display: none; }
.play[aria-pressed="true"] .ic-pause { display: block; }
.bar { display: grid; gap: 2px; }
input[type="range"] { width: 100%; margin: 0; accent-color: var(--ink); height: 22px; }
.times { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.caption { grid-column: 1 / -1; margin: 0; min-height: 44px; font-size: 15px; color: var(--graphite); }
.caption .who { font-weight: 700; margin-right: 6px; }
.caption .who:empty { margin: 0; }

/* sections (section.wrap outranks .wrap's padding) */
section.wrap { padding: 44px 16px 14px; }
section.wrap.band { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 30px 16px 18px; margin-top: 18px; }
h1 { max-width: 13ch; }
body { overflow-x: hidden; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; max-width: 62ch; }
.steps li { counter-increment: s; position: relative; padding-left: 50px; margin: 0 0 18px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--ink); color: var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 16px;
}
.plain { margin: 0; padding: 0; list-style: none; }
.plain li { position: relative; padding-left: 24px; margin: 0 0 8px; }
.plain li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 1.5px; background: var(--ink); }
@media (min-width: 640px) { .two-col { columns: 2; column-gap: 40px; max-width: 760px; } .two-col li { break-inside: avoid; } }

.price-card { border: 1.5px solid var(--graphite); padding: 20px 22px 8px; max-width: 560px; border-radius: 6px; background: #fff; }
.offer { font-weight: 600; margin-bottom: 6px; }
.price { font-size: 20px; margin-bottom: 10px; }
.price .num { font-size: clamp(36px, 5vw, 48px); font-weight: 700; font-variation-settings: "wdth" 112; margin-right: 6px; line-height: 1; }
.after { color: var(--muted); font-size: 15px; }
.coming { color: var(--muted); font-size: 15px; margin-top: 16px; }
.coming span { font-weight: 600; }

.faq details { border-top: 1px solid var(--rule); max-width: 760px; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 14px 32px 14px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 22px; color: var(--ink); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 14px; }

.about-row { display: flex; gap: 22px; align-items: flex-start; }
.photo { flex: none; width: 112px; height: 136px; border: 1.5px dashed var(--rule); color: var(--muted); display: grid; place-items: center; text-align: center; font-size: 13px; line-height: 1.3; border-radius: 4px; }
@media (max-width: 480px) { .about-row { flex-direction: column; } }

.book { padding-bottom: 30px; }
footer { border-top: 1px solid var(--rule); padding: 20px 16px 36px; font-size: 14px; color: var(--muted); margin-top: 24px; }
footer p { max-width: none; }
