/* Self-hosted Google Fonts, Latin subset (SIL Open Font License) */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url(/assets/fonts/archivo-400-800.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* CycleWright site. Layout: steel-plate bands on a light shop-floor ground; the live press board is the signature. */
:root {
  --ground: #EEF1F4; --plate: #FFFFFF; --ink: #121A26; --muted: #4B5768; --line: #D3DAE3; --soft: #E3E8EE;
  --run: #15994F; --run-ink: #0F7A3E; --alarm: #DC3B3B; --aux: #EA6A12; --manual: #3E74E0; --heats: #C98F0A;
  --night: #0E1522; --night-2: #162033; --night-ink: #E9EEF5; --night-muted: #9AA7B8;
  --go: #0F7A3E; --t-run: #12803F; --t-alarm: #C42F2F; --t-aux: #B54A08; --tag-yes: #0A5E2F; --t-manual: #2F62C9; --t-heats: #946703;
  --f-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", Consolas, "Courier New", monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --ground: #0B111C; --plate: #131C2B; --ink: #E9EEF5; --muted: #A3AFC0; --line: #243044; --soft: #1A2436;
    --run-ink: #3BD47F; --tag-yes: #3BD47F; --night: #070B13; --night-2: #111a2a; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.65 var(--f-body);
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
img { max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
strong { font-weight: 600; }
h1, h2, h3 { font-family: var(--f-display); font-stretch: 110%; line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.label { font: 600 12px/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--run-ink); }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--ground); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--manual); outline-offset: 3px; border-radius: 4px; }

/* header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--ground) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--ground); }
.top { display: flex; align-items: center; gap: 22px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 20px/1 var(--f-display); font-stretch: 115%; text-decoration: none; white-space: nowrap; }
.logo { display: inline-grid; grid-template-columns: repeat(2, 9px); gap: 3px; }
.logo i { width: 9px; height: 9px; border-radius: 2.5px; background: var(--run); }
.logo i:nth-child(2) { background: var(--manual); } .logo i:nth-child(3) { background: var(--heats); }
.nav { display: flex; gap: 20px; font-size: 15px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px;
  font: 600 15px/1 var(--f-body); background: var(--ink); color: var(--ground); text-decoration: none; border: 1px solid var(--ink); cursor: pointer; white-space: nowrap; }
.btn:hover { filter: brightness(1.12); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.go { background: var(--go); border-color: var(--go); color: #fff; }
.menu { display: none; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); left: max(16px, env(safe-area-inset-left, 0px)); top: 64px; display: grid; gap: 4px;
  background: var(--plate); border: 1px solid var(--line); border-radius: 14px; padding: 10px; box-shadow: 0 20px 50px -20px rgba(10, 20, 40, .35); }
.menu nav a { padding: 10px 12px; border-radius: 8px; text-decoration: none; }
.menu nav a:hover { background: var(--soft); }
@media (max-width: 980px) { .nav, .top > .btn { display: none; } .menu { display: block; } }

/* home hero */
.hero { padding-block: 48px 64px; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(36px, 4.4vw, 58px); font-weight: 800; font-stretch: 112%; }
.hero h1 .eyebrow { display: block; font: 600 13px/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--run-ink); margin-bottom: 14px; font-stretch: normal; }
.hero h1 em { font-style: normal; color: var(--run); }
.lead { margin-top: 20px; font-size: 19px; color: var(--muted); max-width: 36em; }
.cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.cta small { color: var(--muted); font-size: 14px; }
.board { background: var(--night); border-radius: 18px; padding: 18px; color: var(--night-ink); box-shadow: 0 24px 60px -30px rgba(10, 20, 40, .55); min-width: 0; }
.board-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; color: var(--night-muted); margin-bottom: 14px; flex-wrap: wrap; }
.board-head b { color: var(--night-ink); font: 700 15px/1 var(--f-display); font-stretch: 110%; }
.tiles { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 7px; }
.tile { aspect-ratio: 1 / 1.08; border-radius: 8px; background: var(--t-run); padding: 6px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; transition: background-color .6s ease; min-width: 0; }
.tile .n { font: 800 clamp(12px, 1.6vw, 18px)/1 var(--f-display); }
.tile .s { font: 500 clamp(7px, .85vw, 10px)/1.1 var(--f-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile.alarm { background: var(--t-alarm); } .tile.aux { background: var(--t-aux); } .tile.manual { background: var(--t-manual); } .tile.heats { background: var(--t-heats); }
.board-foot { margin-top: 14px; display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--night-muted); }
.board-foot strong { color: var(--night-ink); font-family: var(--f-mono); font-weight: 500; }
.event { margin-top: 12px; min-height: 2.6em; font-size: 13px; color: var(--night-ink); border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 10px; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; gap: 32px; padding-block: 32px 48px; } }

/* sub-page hero */
.page-hero { padding-block: 40px 48px; }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; font-stretch: 115%; max-width: 20em; }
.page-hero .lead { max-width: 42em; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.updated { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* strips, bands, features */
.facts { border-block: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-block: 28px; }
.fact b { display: block; font: 800 34px/1 var(--f-display); font-stretch: 115%; }
.fact span { display: block; margin-top: 6px; color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .facts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.band { padding-block: 72px; }
.band + .band { border-top: 1px solid var(--line); }
.band.alt { background: var(--plate); border-block: 1px solid var(--line); }
.head { max-width: 46em; }
.head h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 750; margin-top: 12px; }
.head p { margin-top: 14px; color: var(--muted); }
.feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 48px; align-items: center; }
.feature.flip .text { order: 2; }
.feature h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 750; margin-top: 12px; }
.feature .text > p { margin-top: 16px; color: var(--muted); max-width: 34em; }
.ticks { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.ticks li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--run); transform: translateY(1px); }
.more { display: inline-block; margin-top: 22px; font-weight: 600; color: var(--run-ink); text-decoration: none; }
.more:hover { text-decoration: underline; }
.shot { margin: 0; min-width: 0; }
.shot img { display: block; width: 100%; border-radius: 14px; box-shadow: 0 20px 50px -32px rgba(10, 20, 40, .6); }
.shot figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .36fr); gap: 18px; align-items: end; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: 28px; } .feature.flip .text { order: 0; } }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--plate); border: 1px solid var(--line); border-radius: 14px; padding: 22px; min-width: 0; }
.band.alt .card { background: var(--ground); }
.card h3 { font-size: 19px; font-weight: 700; }
.card p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.card a.more { margin-top: 12px; }
.chip { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
@media (max-width: 900px) { .cards, .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards, .cards.two, .cards.four { grid-template-columns: 1fr; } }

/* steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 36px; padding: 0; list-style: none; }
.steps li { border-top: 3px solid var(--ink); padding-top: 16px; }
.steps li::before { counter-increment: s; content: "Step " counter(s); display: block; font: 600 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.steps h3 { margin-top: 10px; font-size: 20px; font-weight: 700; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* at a glance */
.glance { margin: 32px 0 0; display: grid; grid-template-columns: minmax(0, 14em) minmax(0, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--plate); }
.glance dt, .glance dd { margin: 0; padding: 14px 18px; border-top: 1px solid var(--line); }
.glance dt:first-of-type, .glance dt:first-of-type + dd { border-top: 0; }
.glance dt { font-weight: 600; background: var(--soft); }
.glance dd { color: var(--muted); }
@media (max-width: 640px) { .glance { grid-template-columns: 1fr; } .glance dd { border-top: 0; padding-top: 0; } .glance dt { background: none; padding-bottom: 4px; } }

/* prose */
.prose { max-width: 46em; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 750; margin-top: 48px; }
.prose h3 { font-size: 21px; font-weight: 700; margin-top: 32px; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 8px; }
.prose a { color: var(--run-ink); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 20em); gap: 56px; align-items: start; }
.aside { position: sticky; top: 96px; background: var(--plate); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.aside h2 { font-size: 18px; }
.aside ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; }
.aside a { color: var(--muted); text-decoration: none; } .aside a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } .aside { position: static; } }

/* tables */
.table-wrap { overflow-x: auto; margin-top: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--plate); }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
thead th { border-top: 0; background: var(--soft); font-weight: 600; white-space: nowrap; }
td { color: var(--muted); }
td:first-child { color: var(--ink); font-weight: 600; }
.tag { display: inline-block; padding: 2px 8px; margin: 2px 4px 2px 0; border-radius: 999px; background: var(--soft); color: var(--ink); font-size: 13px; white-space: nowrap; }
.tag.yes { background: color-mix(in srgb, var(--run) 14%, transparent); color: var(--tag-yes); }

/* diagram */
.diagram { margin-top: 32px; overflow-x: auto; }
.diagram svg { display: block; min-width: 720px; width: 100%; height: auto; }
.diagram .box { fill: var(--plate); stroke: var(--line); }
.diagram .t { fill: var(--ink); font: 600 15px var(--f-body); }
.diagram .s { fill: var(--muted); font: 400 13px var(--f-body); }
.diagram .ln { stroke: var(--muted); stroke-width: 1.5; fill: none; }
.diagram .ah { fill: var(--muted); }

/* FAQ */
.faq { margin-top: 32px; display: grid; gap: 12px; max-width: 52em; }
.faq details { background: var(--plate); border: 1px solid var(--line); border-radius: 12px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 600 20px/1 var(--f-mono); color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 20px 18px; color: var(--muted); }
.faq .a p + p { margin-top: 10px; }
.faq .a a { color: var(--run-ink); }

/* CTA band + footer */
.cta-band { background: var(--night); color: var(--night-ink); }
.cta-band .wrap { padding-block: 64px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.cta-band h2 { font-size: clamp(30px, 3.8vw, 48px); font-weight: 800; }
.cta-band p { margin-top: 14px; color: var(--night-muted); max-width: 34em; }
.cta-band .btn { margin-top: 24px; }
.cta-card { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: 24px; }
.cta-card h3 { font-size: 20px; }
.cta-card ul { margin: 12px 0 0; padding-left: 18px; color: var(--night-muted); display: grid; gap: 6px; }
.cta-card .mono { color: var(--night-ink); user-select: all; }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr; } }
.site-foot { padding-block: 48px 28px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid p { margin-top: 12px; color: var(--muted); max-width: 26em; }
.foot-grid h2 { font: 600 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot-grid nav { display: grid; gap: 8px; }
.foot-grid nav a { text-decoration: none; } .foot-grid nav a:hover { text-decoration: underline; }
.foot-base { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }
.tm { margin-top: 14px; font-size: 12.5px; line-height: 1.5; color: var(--muted); max-width: 72em; }

/* pricing: the promise, cards and ticks inside articles */
.promise { margin-top: 28px; padding: 18px 22px; border: 1px solid var(--line); border-left: 4px solid var(--run); border-radius: 14px;
  background: var(--plate); display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; justify-content: space-between; }
.promise p { color: var(--ink); max-width: 46em; }
.promise .more { white-space: nowrap; }
.prose .cards { margin-top: 24px; }
.prose ul.ticks { padding-left: 0; }
.card .ticks { font-size: 15.5px; color: var(--muted); }
.prose .card .label { color: var(--run-ink); }

/* contact */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.form .wide { grid-column: 1 / -1; }
.form input, .form textarea { font: 400 16px/1.4 var(--f-body); padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--plate); color: var(--ink); width: 100%; }
.form textarea { min-height: 120px; resize: vertical; }
.note { margin-top: 12px; font-size: 14px; color: var(--muted); }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
.copy { font: 600 13px/1 var(--f-body); padding: 7px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--plate); color: var(--ink); cursor: pointer; margin-left: 8px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .tile { transition: none; } }
