/* Garage System partner page. Colours match the app (graphite, hi-viz orange, number-plate yellow). */
:root {
  --bg: #F6F7F8;
  --surface: #FFFFFF;
  --ink: #16191C;
  --ink-2: #4A535C;
  --line: #D7DCE0;
  --graphite: #16191C;
  --hiviz: #B85A06;      /* darkened app orange so white text passes 4.5:1 */
  --hiviz-hover: #9A4A04;
  --plate: #F2CF00;
  --focus: #1D4ED8;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Arial Narrow", "Helvetica Neue Condensed", system-ui, sans-serif;
  --step--1: clamp(0.85rem, 0.82rem + 0.15vw, 0.92rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1: clamp(1.15rem, 1.08rem + 0.4vw, 1.35rem);
  --step-2: clamp(1.6rem, 1.4rem + 1vw, 2.2rem);
  --step-3: clamp(2.1rem, 1.6rem + 2.6vw, 3.6rem);

  --space-2: .5rem; --space-3: 1rem; --space-4: 1.5rem; --space-5: 2.5rem; --space-6: 4rem;
  --radius: 12px;
  --wrap: 68rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--step-0)/1.6 var(--font); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.1; text-wrap: balance; margin: 0 0 var(--space-3); }
h1 { font: 700 var(--step-3)/1.05 var(--display); letter-spacing: -.01em; }
h2 { font: 700 var(--step-2)/1.1 var(--display); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 var(--space-3); max-width: 62ch; text-wrap: pretty; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--surface); padding: var(--space-2) var(--space-3); z-index: 10; }
.skip:focus { left: var(--space-3); }

.site-header { background: var(--graphite); color: #fff; position: sticky; top: 0; z-index: 5; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 4rem; }
.brand { display: flex; align-items: center; gap: .6rem; font: 700 1.2rem/1 var(--display); text-decoration: none; color: #fff; }
.brand img { border-radius: 7px; }
.brand span { color: var(--plate); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.4rem;
  border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: background-color .15s ease; }
.btn-small { min-height: 40px; padding: .45rem 1rem; font-size: var(--step--1); background: var(--hiviz); color: #fff; }
.btn-primary { background: var(--hiviz); color: #fff; }
.btn-primary:hover, .btn-small:hover { background: var(--hiviz-hover); }
.btn-ghost { border-color: #fff; color: #fff; }
.btn-ghost:hover { background: rgb(255 255 255 / .1); }
.btn-ghost-dark { border-color: var(--ink); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: var(--space-4) 0 var(--space-3); }

section { padding-block: var(--space-6); }
.hero { background: var(--graphite); color: #fff; padding-block: var(--space-5) var(--space-6); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: var(--step--1); font-weight: 700; color: var(--plate); margin-bottom: var(--space-2); }
.lead { font-size: var(--step-1); color: #E4E7EA; }
.small { font-size: var(--step--1); color: #C9CED3; }
.plate { background: var(--plate); color: #121212; padding: 0 .25em; border-radius: 6px; white-space: nowrap; }

.cards, .steps, .ticks { list-style: none; margin: 0; padding: 0; }
.cards { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.cards li, .steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-4); min-width: 0; }
.cards p, .steps p { margin: 0; color: var(--ink-2); }

.band { background: var(--surface); border-block: 1px solid var(--line); }
.two { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); align-items: start; }
.price { font-size: var(--step-1); }
.price strong { font: 700 var(--step-3)/1 var(--display); }
.price span { color: var(--ink-2); font-size: var(--step--1); }
.ticks li { position: relative; padding: .7rem 0 .7rem 2.2rem; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: .2rem; top: 1rem; width: 1.1rem; height: .6rem;
  border-left: 3px solid #11674A; border-bottom: 3px solid #11674A; transform: rotate(-45deg); }

.steps { display: grid; gap: var(--space-3); counter-reset: step; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.2rem; height: 2.2rem; margin-bottom: var(--space-3);
  background: var(--plate); color: #121212; font: 700 1.1rem/1 var(--display); border-radius: 6px; }

.cta { background: var(--graphite); color: #fff; text-align: left; }
.cta p { color: #E4E7EA; }

.site-footer { padding-block: var(--space-5); font-size: var(--step--1); color: var(--ink-2); }
.site-footer p { margin: 0 0 var(--space-2); }

.legal h2 { font-size: var(--step-1); font-family: var(--font); margin-top: var(--space-4); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

@media (max-width: 420px) { .brand { font-size: 1rem; white-space: nowrap; } .brand img { width: 26px; height: 26px; } }
