/* Paddock (paddock.tylergrid.com, 2026-10-21): two standalone apps given equal weight, Paddock Garage (car owners, a
   phone) and Paddock Shop (repair shops, a computer or tablet), then how they connect. Paddock's own dark palette (graphite,
   soft silver, a pale steel-blue accent); the one loud element is the white paper service request in "Use both". */
@font-face { font-family: "Archivo"; src: url("/fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("/fonts/martian-mono.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --bg: #0f1216; --bg-2: #161b21; --text: #f0f4f9; --dim: rgba(240, 244, 249, .76); --faint: rgba(240, 244, 249, .58);
  --line: rgba(222, 232, 244, .14); --accent: #cfe2f4; --accent-ink: #0e1924; --silver: #c9ced4;
  --paper: #ffffff; --ink: #14181d; --ink-dim: #4b545e; --rule: #14181d; --hair: #d9dee4;
  --reports: #8a4b00; --reports-bg: #fbecd6; --asks: #1d4f78; --asks-bg: #e2eef8;
  --warn: #f5bb52;
  --font: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; --mono: "Martian Mono", ui-monospace, Menlo, monospace;
  --gutter: 16px; --max: 1160px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.55 var(--font); font-stretch: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
:focus-visible, a:focus-visible, button:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.top, main > section, .foot { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 18px; }
.mark { text-decoration: none; color: var(--text); }
.mark__word { font-weight: 700; font-stretch: 125%; letter-spacing: .32em; text-transform: uppercase; font-size: 15px; }
.top__nav { display: flex; gap: 18px; font-size: 15px; }
.top__nav a { color: var(--dim); text-decoration: none; padding: 8px 0; }
.top__nav a:hover { color: var(--text); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 14px; border: 1px solid var(--line);
  font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer; color: var(--text); background: transparent; }
.btn--primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn--primary:hover { background: #e3eefa; }
.btn--ghost { border-color: rgba(207, 226, 244, .45); }
.btn--ghost:hover { background: rgba(232, 238, 246, .08); }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }

h1 { font-size: clamp(38px, 8.6vw, 72px); line-height: 1; font-weight: 800; font-stretch: 118%; letter-spacing: -.01em; margin: 0 0 20px; max-width: 15ch; text-wrap: balance; }
h2 { font-size: clamp(30px, 6vw, 44px); line-height: 1.05; font-weight: 800; font-stretch: 112%; margin: 0 0 16px; }
.lead { font-size: 19px; color: var(--dim); max-width: 34em; margin: 0; }
.intro { padding-top: 28px; padding-bottom: 40px; }
@media (min-width: 900px) { .intro { padding-top: 56px; padding-bottom: 64px; } }

/* ---------- the two doors: same weight, each with its own device */
.doors { display: grid; gap: 20px; padding-bottom: 72px; }
.door { display: grid; gap: 28px; padding: 24px 20px; border: 1px solid var(--line); border-radius: 24px; background: var(--bg-2); align-content: start; }
.door__for { margin: 0 0 6px; color: var(--silver); font-size: 15px; font-weight: 600; }
.door__list { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--dim); }
.door__list li { padding-left: 20px; position: relative; }
.door__list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 9px; height: 2px; background: var(--accent); }
.door__note { margin: 12px 0 0; color: var(--faint); font-size: 15px; max-width: 32em; }
.device { margin: 0; }
.device img { display: block; width: 100%; }
.device figcaption { margin-top: 10px; color: var(--faint); font-size: 14px; text-align: center; }
.device--desk { padding: 10px; border-radius: 20px; background: #0b0e12; border: 1px solid #262c34; }
.device--desk img { border-radius: 10px; }
.device--phone { width: 100%; max-width: 260px; padding: 8px; border-radius: 40px; background: #050608; border: 1px solid #2c323a; justify-self: center; }
.device--phone img { border-radius: 32px; }
.device--phone figcaption { margin-top: 14px; }
@media (min-width: 1000px) {
  .doors { grid-template-columns: 1fr 1fr; }
  .door { padding: 32px; grid-template-rows: auto 1fr; }
  .door .device { align-self: end; }
}

/* ---------- use both: the paper request between the two apps */
.both { padding-top: 64px; padding-bottom: 64px; border-top: 1px solid var(--line); }
.both__lead { color: var(--dim); max-width: 38em; margin: 0 0 36px; font-size: 18px; }
.link { display: grid; gap: 36px; margin-bottom: 48px; }
.ticket { margin: 0; background: var(--paper); color: var(--ink); border-radius: 4px; padding: 22px 20px 18px; position: relative;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .8); max-width: 520px; width: 100%; justify-self: center; }
/* the perforated top edge of a shop ticket */
.ticket::before { content: ""; position: absolute; left: 0; right: 0; top: -7px; height: 14px;
  background: radial-gradient(circle at 7px 7px, var(--bg) 4.5px, transparent 5px) 0 0 / 14px 14px repeat-x; }
.ticket__head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-bottom: 2px solid var(--rule); padding-bottom: 10px; margin-bottom: 14px; }
.ticket__kind { font-weight: 700; font-stretch: 112%; letter-spacing: .02em; }
.ticket__when { color: var(--ink-dim); font-size: 15px; }
.ticket__car { font-size: 24px; font-weight: 700; font-stretch: 108%; margin: 0; line-height: 1.15; }
.ticket__meta { margin: 4px 0 16px; color: var(--ink-dim); font-size: 15px; }
.ticket__row { border-top: 1px solid var(--hair); padding: 12px 0; }
.ticket__row p { margin: 6px 0 0; font-size: 16px; }
.tag { display: inline-block; font-size: 13px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #eef0f3; color: var(--ink); }
.tag--reports { background: var(--reports-bg); color: var(--reports); }
.tag--asks { background: var(--asks-bg); color: var(--asks); }
.parts { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.parts li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 15px; }
.parts span { flex: 1 1 14em; }
.parts code { font-family: var(--mono); font-size: 12.5px; color: var(--ink); background: #f2f4f6; padding: 2px 6px; border-radius: 4px; overflow-wrap: anywhere; }
.parts em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--reports); }
.ticket__foot { border-top: 2px solid var(--rule); margin-top: 6px; padding-top: 10px; font-size: 14px; font-weight: 600; }
/* the round trip really is a sequence: numbered */
.trip { margin: 0; padding: 0; list-style: none; counter-reset: trip; display: grid; gap: 18px; max-width: 34em; align-self: center; }
.trip li { counter-increment: trip; padding-left: 44px; position: relative; color: var(--dim); }
.trip li::before { content: counter(trip); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--accent);
  color: var(--accent); display: grid; place-items: center; font-size: 15px; font-weight: 600; }
.trip b { color: var(--text); }
.pair { display: grid; gap: 28px; margin-bottom: 44px; align-items: end; }
.rules { margin: 0 0 32px; padding: 0; list-style: none; display: grid; gap: 12px; max-width: 46em; }
.rules li { padding-left: 20px; position: relative; }
.rules li::before { content: ""; position: absolute; left: 0; top: .7em; width: 9px; height: 2px; background: var(--silver); }
@media (min-width: 900px) {
  .link { grid-template-columns: .95fr 1.05fr; align-items: center; gap: 56px; }
  .ticket { transform: rotate(-1deg); }
  .pair { grid-template-columns: 1.6fr 1fr; gap: 40px; }
}

/* ---------- what was made */
.ready-wrap { padding-top: 8px; padding-bottom: 64px; }
.warn { color: var(--warn); font-weight: 600; max-width: 40em; margin: 0; }
.ready { margin-top: 20px; padding: 20px; border: 1px solid rgba(207, 226, 244, .45); border-radius: 18px; background: var(--bg-2); max-width: 46em; }
.ready__h { font-size: 21px; font-weight: 700; margin: 0 0 14px; outline: none; }
.ways { display: grid; gap: 14px; }
.way { padding: 16px; border-radius: 14px; border: 1px solid var(--line); display: grid; gap: 6px; justify-items: start; }
.way[hidden] { display: none; }
.way__k { margin: 0; font-weight: 700; }
.way__d { margin: 0 0 8px; color: var(--faint); font-size: 15px; }
@media (min-width: 700px) { .ways { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.ready__note { margin: 14px 0 0; color: var(--faint); font-size: 15px; }
.err { color: #ffb39c; margin-top: 14px; }
.human__box { display: inline-flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 22px 0 16px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--bg); font-weight: 600; cursor: pointer; user-select: none; }
.human__box input { width: 26px; height: 26px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.human__box:has(input:disabled) { cursor: progress; opacity: .8; }

.foot { padding-top: 28px; padding-bottom: 40px; border-top: 1px solid var(--line); color: var(--faint); font-size: 15px; }
.todo { color: var(--warn); }

/* ---------- the opening: both apps side by side, the same height (columns follow each screen's shape) */
.stage { display: grid; grid-template-columns: 0.5fr 1.48fr; gap: 12px; align-items: end; margin-top: 28px; }
.stage__item { margin: 0; display: grid; gap: 12px; align-content: end; min-width: 0; }
.stage .device--phone { max-width: none; padding: 4px; border-radius: 20px; }
.stage .device--phone img { border-radius: 16px; }
.stage .device--desk { padding: 4px; border-radius: 10px; }
.stage .device--desk img { border-radius: 6px; }
.stage figcaption { display: grid; gap: 2px; justify-items: start; font-size: 14px; }
.stage figcaption b { font-size: 16px; }
.stage figcaption span { color: var(--dim); }
.stage figcaption .btn { margin-top: 8px; }
.btn--sm { padding: 8px 16px; font-size: 14px; min-height: 44px; }
@media (min-width: 700px) {
  .stage { gap: 28px; margin-top: 40px; }
  .stage .device--phone { padding: 8px; border-radius: 38px; } .stage .device--phone img { border-radius: 30px; }
  .stage .device--desk { padding: 10px; border-radius: 20px; } .stage .device--desk img { border-radius: 10px; }
  .stage figcaption { font-size: 15px; } .stage figcaption b { font-size: 20px; }
}
@media (prefers-reduced-motion: no-preference) {
  .stage__item { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .stage__item + .stage__item { animation-delay: .08s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}
/* phones: the two apps above the fold, so the opening is the products, not a wall of words */
@media (max-width: 699px) {
  .intro { padding-top: 16px; }
  .intro h1 { font-size: 34px; margin-bottom: 12px; max-width: none; }
  .intro .lead { font-size: 16px; }
  .stage { margin-top: 20px; }
  .stage figcaption b { font-size: 15px; line-height: 1.15; }
  .stage figcaption span { font-size: 13px; }
}

/* ---------- a real iPhone 15 Pro: 393 x 852 pt screen, ~55 pt screen corners, Dynamic Island 126 x 37 pt at 11 pt,
   59 pt status bar. Everything is a percentage of the phone, so it scales without changing shape. */
.device--iphone { justify-self: center; width: 100%; max-width: 300px; }
.iphone { position: relative; width: 100%; padding: 1.2%; border-radius: 17.5% / 8.3%;
  background: linear-gradient(135deg, #a7a39c, #5d5b57 28%, #8f8b84 52%, #4a4946 76%, #9d9992);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.18); }
.iphone::before { content: ''; position: absolute; inset: 1.2%; border-radius: 16.6% / 7.9%; background: #050505; }
.iphone__screen { position: relative; aspect-ratio: 393 / 852; margin: 3.4%; border-radius: 14% / 6.46%; overflow: hidden; background: #eeece7; container-type: inline-size; }
.iphone__screen img { position: absolute; left: 0; top: 6.925%; width: 100%; height: 93.075%; object-fit: cover; object-position: top; border-radius: 0; }
.iphone__status { position: absolute; inset: 0 0 auto; height: 6.925%; display: flex; align-items: center; justify-content: space-between; padding: 0 7.5% 0 12%;
  color: #15181d; font: 600 4.3cqw/1 -apple-system, "SF Pro Text", system-ui, sans-serif; letter-spacing: -.01em; }
.iphone__icons { display: flex; align-items: center; gap: 1.6cqw; }
.iphone__icons svg { height: 3cqw; width: auto; fill: currentColor; }
.iphone__icons svg:last-child { height: 3.1cqw; }
.iphone__island { position: absolute; top: 1.29%; left: 33.97%; width: 32.06%; height: 4.34%; border-radius: 999px; background: #000; }
.iphone__btn { position: absolute; width: 1.1%; background: linear-gradient(90deg, #6d6a65, #a19d96); border-radius: 2px; }
.iphone__btn--action { left: -0.9%; top: 17.5%; height: 3.6%; }
.iphone__btn--up { left: -0.9%; top: 24.5%; height: 7%; }
.iphone__btn--down { left: -0.9%; top: 33%; height: 7%; }
.iphone__btn--power { right: -0.9%; top: 28%; height: 11%; }
.stage .iphone { max-width: none; }
