:root {
  --navy: #012874;
  --ink: #15192b;
  --grey: #5d6377;
  --rule: rgba(1, 40, 116, .18);
  --band: #f3f1ec;
  --red: #c8102e;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: var(--sans);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
html, body { overflow-x: hidden; overflow-x: clip; }
body { font: 18px/1.6 var(--sans); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--navy); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-decoration-thickness .15s; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; color: var(--navy); letter-spacing: -0.02em; line-height: 1.05; }
h1 { font-size: clamp(44px, 5.8vw, 88px); line-height: 1; }
h2 { font-size: clamp(34px, 4vw, 56px); }
h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; }
p { max-width: 62ch; }
.grey { color: var(--grey); }
.status { font-size: 14px; color: var(--grey); white-space: nowrap; }
.status b { color: var(--navy); font-weight: 600; }

.page { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--rule); }
.nav .page { display: flex; align-items: center; height: 68px; gap: 32px; }
.nav .mark img { height: 30px; width: auto; }
.nav ul { list-style: none; display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 16px; }
.nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.nav .icon { height: 28px; width: auto; }

/* buttons */
.btn { display: inline-block; font: 600 16px/1 var(--sans); padding: 14px 22px; border: 1px solid var(--navy); color: var(--navy); background: #fff; text-decoration: none; transition: background .15s, color .15s; cursor: pointer; }
.btn:hover { background: var(--navy); color: #fff; text-decoration: none; }
.btn.solid { background: var(--navy); color: #fff; }
.btn.solid:hover { background: #021c52; border-color: #021c52; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }

/* hero */
.hero { padding: 88px 0 64px; }
.hero .copy { grid-column: 1 / 8; }
.hero h1 em { font-style: normal; }
.hero p { margin-top: 28px; font-size: 20px; }
.hero .art { grid-column: 8 / -1; align-self: center; }
.hero .art .shot { aspect-ratio: 5 / 4; }
.hero .art .shot img { object-position: 0 0; }
.bleed { margin-right: calc(-1 * (100vw - 100%) / 2 + 0px); }
.shot { border: 1px solid var(--rule); clip-path: inset(0 round 6px); overflow: hidden; background: #fff; transition: transform .25s ease-out; }
.shot:hover { transform: translateY(-2px); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.cap { font-size: 13px; color: var(--grey); border-top: 1px solid var(--navy); padding-top: 8px; margin-top: 10px; max-width: none; }

/* sections */
section { padding: 72px 0; }
section h2 { margin-bottom: 36px; }
.band { background: var(--band); }

/* ledger */
.ledger { border-top: 1px solid var(--rule); }
.ledger .row { display: grid; grid-template-columns: 2fr 5fr 2fr; column-gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.ledger .row h3 { margin: 0; }
.ledger .row p { max-width: 52ch; }
.ledger .row .status { text-align: right; padding-top: 6px; }
.ledger .row a.more { display: inline-block; margin-top: 10px; }

/* prose columns */
.cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; row-gap: 32px; }
.cols h3 { margin-bottom: 10px; }

/* contact */
.contact { display: grid; grid-template-columns: 5fr 6fr; column-gap: 64px; }
form label { display: block; font-size: 14px; color: var(--grey); margin: 22px 0 4px; }
form input, form textarea, form select { width: 100%; font: 18px/1.5 var(--sans); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--navy); padding: 8px 0; border-radius: 0; }
form textarea { min-height: 120px; resize: vertical; }
form input:focus, form textarea:focus, form select:focus { outline: none; border-bottom-width: 2px; }
form .two { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
form .btn { margin-top: 28px; }
form .help { font-size: 14px; color: var(--grey); margin-top: 12px; }
.hp { position: absolute; left: -9999px; }

/* wayrun: sticky features */
.feature { display: grid; grid-template-columns: 5fr 7fr; column-gap: 56px; padding: 48px 0; border-top: 1px solid var(--rule); }
.feature .text { position: sticky; top: 96px; align-self: start; }
.feature .text h3 { margin-bottom: 14px; }
.feature .shots { display: grid; gap: 28px; }
.feature .shots .w60 { width: 60%; }
.feature .shots .w40 { width: 40%; justify-self: end; }
.ratio-wide { aspect-ratio: 16 / 7; }
.ratio-box { aspect-ratio: 4 / 3; }

/* spec list */
.spec { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; row-gap: 28px; max-width: 980px; }
.spec p { max-width: none; }
.spec b { color: var(--navy); font-weight: 600; }

footer { border-top: 1px solid var(--rule); padding: 28px 0 40px; font-size: 15px; color: var(--grey); }
footer .page { display: flex; gap: 24px; flex-wrap: wrap; justify-content: space-between; }

@media (max-width: 860px) {
  body { font-size: 17px; }
  .page { width: calc(100% - 40px); }
  .grid { display: block; }
  h1 { font-size: clamp(36px, 10vw, 56px); }
  h2 { font-size: clamp(28px, 8vw, 40px); margin-bottom: 24px; }
  h3 { font-size: 22px; }
  section { padding: 44px 0; }
  .nav .page { height: 60px; gap: 16px; }
  .nav .mark img { height: 22px; }
  .nav .icon { display: none; }
  .nav ul { gap: 16px; white-space: nowrap; }
  .nav a { font-size: 15px; }
  .hero { padding: 40px 0 32px; }
  .hero p { font-size: 18px; margin-top: 18px; }
  .actions { margin-top: 24px; }
  .actions .btn { flex: 1 1 100%; text-align: center; }
  .hero .art { margin-top: 32px; }
  .hero .art .shot { aspect-ratio: 4 / 3; }
  .bleed { margin-right: 0; }
  .ledger .row { grid-template-columns: 1fr auto; row-gap: 6px; padding: 20px 0; }
  .ledger .row h3 { grid-column: 1; grid-row: 1; }
  .ledger .row .status { grid-column: 2; grid-row: 1; text-align: right; padding-top: 6px; }
  .ledger .row > div { grid-column: 1 / -1; grid-row: 2; }
  .cols, .contact, .spec, .feature, form .two { grid-template-columns: 1fr; }
  .contact { row-gap: 8px; }
  .feature { padding: 36px 0; }
  .feature .text { position: static; margin-bottom: 20px; }
  .feature .shots { gap: 16px; }
  .feature .shots .w60, .feature .shots .w40 { width: 100%; }
  .ratio-wide { aspect-ratio: 4 / 3; }
  .shot img { transform: scale(1.6); transform-origin: var(--ox, 0) var(--oy, 0); }
  .shot:hover { transform: none; }
  .cap { font-size: 13px; }
  form label { margin-top: 16px; }
  footer .page { flex-direction: column; gap: 8px; }
}


/* rotating product panel (home hero) */
.rota { border: 1px solid var(--rule); background: #fff; padding: 28px 28px 22px; min-height: 300px; display: flex; flex-direction: column; }
.rota .label { font-size: 13px; color: var(--grey); display: flex; justify-content: space-between; }
.rota .slide { display: none; margin-top: 18px; flex: 1; }
.rota .slide.on { display: block; animation: fade .35s ease-out; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.rota .slide .kicker { font-size: 14px; color: var(--grey); }
.rota .slide h3 { margin: 6px 0 10px; font-size: 30px; }
.rota .slide p { font-size: 17px; color: var(--ink); max-width: 40ch; }
.rota .slide a { display: inline-block; margin-top: 12px; }
.rota .dots { display: flex; gap: 18px; margin-top: 22px; border-top: 1px solid var(--rule); padding-top: 14px; }
.rota .dots button { font: 600 14px/1 var(--sans); color: var(--grey); background: none; border: 0; padding: 4px 0; cursor: pointer; border-bottom: 2px solid transparent; }
.rota .dots button.on { color: var(--navy); border-bottom-color: var(--navy); }
.rota .dots button span { font-weight: 400; margin-left: 6px; }
@media (max-width: 860px) {
  .rota { margin-top: 28px; padding: 20px 20px 16px; min-height: 0; }
  .rota .slide h3 { font-size: 24px; }
  .rota .slide p { font-size: 16px; }
  .rota .dots { gap: 14px; }
  .rota .dots button span { display: none; }
  .rota .dots button.on span { display: inline; }
}

/* receipt (wayrun hero) */
.receipt { border: 1px solid var(--rule); border-left: 2px dashed var(--rule); background: #fff; padding: 22px 24px 18px 26px; margin-top: 40px; font-size: 14px; line-height: 1.4; min-height: 360px; display: flex; flex-direction: column; }
.r-head { display: flex; gap: 12px; align-items: baseline; border-bottom: 1px solid var(--navy); padding-bottom: 10px; margin-bottom: 8px; color: var(--navy); font-weight: 600; }
.r-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 400; font-size: 13px; color: var(--grey); }
.r-lines { list-style: none; flex: 1; }
.r-lines li { display: grid; grid-template-columns: 44px 1fr 92px auto; gap: 10px; padding: 7px 0; border-bottom: 1px solid #eeede8; align-items: baseline; }
.r-lines li.in { animation: slide .35s ease-out; }
@keyframes slide { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.r-lines .t, .r-lines .h { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; color: var(--grey); }
.r-lines .e { color: var(--ink); }
.r-lines .w { color: var(--grey); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-lines .h { color: var(--navy); white-space: nowrap; }
.r-lines .h i { font-style: normal; color: #9aa0b4; }
.r-foot { display: flex; justify-content: space-between; border-top: 1px solid var(--navy); padding-top: 10px; margin-top: 10px; color: var(--grey); font-size: 13px; }
.r-foot .ok { color: #157347; font-weight: 600; }
.r-foot .ok::before { content: "\2713  "; }
@media (max-width: 860px) {
  .receipt { margin-top: 28px; min-height: 0; padding: 16px 14px 12px 16px; font-size: 14px; }
  .r-lines li { padding: 9px 0; }
  .r-lines .t, .r-lines .h { font-size: 12px; }
  .r-lines li { grid-template-columns: 38px 1fr auto; }
  .r-lines .w { display: none; }
  .r-lines .h i { display: none; }
}