/* recharj.ca. One stylesheet for every page. The "5%" world: lock-screen black, white type,
   Ultraviolet as the only accent, every component a battery. */

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/Manrope-var.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --ink: #0E1116;
  --ink-2: #14171D;
  --ink-3: #1C2029;
  --line: #262B35;
  --line-2: #343A47;
  --mute: #8A93A6;
  --text: #F2F4F8;
  --text-2: #B6BDCB;
  --violet: #8B1EF2;
  --violet-2: #A869FF;
  --violet-deep: #7A14DD;
  --red: #FF453A;
  --radius: 12px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --navh: 92px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scrollbar-color: var(--line-2) var(--ink); scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  caret-color: var(--violet-2);
}
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--violet-2); outline-offset: 3px; border-radius: 4px; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p a, li a, .foot a { text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
p a, li a { color: var(--violet-2); font-weight: 700; }
p a:hover, li a:hover { text-decoration: underline; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; }
p { text-wrap: pretty; }
strong, b { font-weight: 800; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; padding: 10px 14px; background: var(--violet); color: #fff; border-radius: 10px; font-weight: 700; z-index: 10; }
.skip:focus { top: 16px; }

/* Header */
.top { position: relative; z-index: 5; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; }
.nav .logo img { height: 28px; width: auto; }
.nav .links { display: flex; align-items: center; gap: 32px; list-style: none; padding: 0; }
.nav .links a { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); padding: 10px 0; transition: color .2s; }
.nav .links a:hover, .nav .links a[aria-current="page"] { color: var(--text); }
.nav .right { display: flex; align-items: center; gap: 8px; }
.nav .menu { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 10px; }
.nav .menu:hover { background: var(--ink-3); }
.nav .menu svg { width: 22px; height: 22px; stroke: var(--text); fill: none; stroke-width: 2; stroke-linecap: round; }
.nav .menu .x { display: none; }
.top.open .menu .bars { display: none; }
.top.open .menu .x { display: block; }
.panel { display: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink); }
.top.open .panel { display: block; }
.panel ul { list-style: none; padding: 8px 0 12px; }
.panel a { display: block; padding: 14px 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; border-bottom: 1px solid var(--line); }
.panel li:last-child a { border-bottom: 0; }
.panel a[aria-current="page"] { color: var(--violet-2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 12px;
  background: var(--violet); color: #fff; font-weight: 700; font-size: 15px; letter-spacing: -.005em;
  transition: background .2s, transform .25s var(--ease);
  white-space: nowrap; border: 0; cursor: pointer;
}
.btn:hover { background: var(--violet-deep); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn.ghost:hover { background: var(--ink-3); }
.btn.big { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn[disabled] { opacity: .6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero: the phone's own low-battery moment. The page charges as you scroll. */
/* Nav + hero fill the first viewport exactly; the hero then stays pinned while the runway scrolls under it. */
.runway { height: calc(100vh - var(--navh) + 55vh); height: calc(100svh - var(--navh) + 55svh); }
.hero { position: sticky; top: 0; height: calc(100vh - var(--navh)); height: calc(100svh - var(--navh)); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 16px 0 64px; }
.battery { position: relative; width: min(600px, 86vw); aspect-ratio: 600 / 260; border: 7px solid #fff; border-radius: 48px; }
.battery .nub { position: absolute; right: -30px; top: 32%; width: 24px; height: 36%; background: #fff; border-radius: 0 10px 10px 0; }
.battery .fill { position: absolute; left: 18px; top: 18px; bottom: 18px; width: 95%; background: var(--red); clip-path: inset(0 94% 0 0 round 22px 8px 8px 22px); transition: clip-path .15s linear, background .4s; }
.battery .pct { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: clamp(80px, 14vw, 150px); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.battery .pct span { font-size: .45em; color: var(--red); align-self: flex-start; margin-top: .3em; margin-left: .05em; transition: color .4s; }
.battery.ok .fill { background: var(--violet-2); }
.battery.ok .pct span { color: #fff; }
.hero h1 { margin-top: 44px; font-size: clamp(54px, 8vw, 96px); line-height: 1; letter-spacing: -.04em; }
.wordmark { display: inline-block; height: .7855em; width: 3.354em; vertical-align: -.0655em; color: #fff; }
.hero .lead { margin-top: 18px; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.5; color: var(--text-2); max-width: 680px; }
.hero .actions { margin-top: 30px; justify-content: center; }
.hint { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); transition: opacity .3s; }
.hint.off { opacity: 0; }
.hint svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Sections */
.block { padding-top: 120px; }
.block h2 { font-size: clamp(32px, 4vw, 52px); text-align: center; }
.block h2 + p { margin: 16px auto 0; color: var(--text-2); max-width: 600px; text-align: center; font-size: 18px; }
.block .more { margin-top: 36px; display: flex; justify-content: center; }

/* Battery cells: the glyph every smaller battery on the site shares */
.cell { position: relative; width: 64px; height: 30px; border: 2.5px solid var(--text); border-radius: 9px; flex: none; }
.cell::after { content: ""; position: absolute; right: -7px; top: 8px; width: 5px; height: 10px; background: var(--text); border-radius: 0 2px 2px 0; }
.cell i { position: absolute; left: 4px; top: 4px; bottom: 4px; border-radius: 4px; background: var(--violet-2); width: var(--l); }
.cell.low i { background: var(--red); }
/* Cells and price bars start as a visible sliver and fill once when they scroll into view (site.js adds .on) */
.cell i, .bar .b i { clip-path: inset(0 calc(100% - 8px) 0 0 round 4px); transition: clip-path .8s var(--ease); }
.cell.on i, .bar .b.on i { clip-path: inset(0 0 0 0 round 4px); }

/* How it works */
.steps { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 32px; list-style: none; padding: 0; counter-reset: step; }
.steps li { text-align: left; }
.steps .w { margin-top: 18px; font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.steps .d { margin-top: 8px; font-size: 15px; color: var(--mute); }

/* The station */
.station { margin-top: 56px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.art { max-width: 440px; width: 100%; margin-inline: auto; }
.art .scene { display: flex; align-items: flex-end; gap: 4%; }
.art .scene .st { flex: 0 0 78.5%; }
.art .scene .pb { flex: 0 0 17.5%; }
.art figcaption { margin-top: 16px; font-size: 13px; color: var(--mute); text-align: center; line-height: 1.5; }
.spec { list-style: none; padding: 0; display: grid; gap: 22px; }
.spec li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.spec svg { width: 40px; height: 40px; stroke: var(--violet-2); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.spec b { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.015em; line-height: 1.2; }
.spec span { display: block; margin-top: 3px; color: var(--mute); font-size: 15px; }

/* Pricing as charge bars */
.bars { margin: 56px auto 0; max-width: 760px; display: grid; gap: 18px; }
.bar { display: grid; grid-template-columns: 110px 1fr 70px; align-items: center; gap: 18px; padding-right: 7px; }
.bar .l { font-weight: 700; color: var(--text-2); }
.bar .b { position: relative; height: 30px; border: 2.5px solid var(--text); border-radius: 9px; padding: 4px; }
.bar .b::after { content: ""; position: absolute; right: -7px; top: 8px; width: 5px; height: 10px; background: var(--text); border-radius: 0 2px 2px 0; }
.bar .b i { display: block; height: 100%; border-radius: 4px; background: var(--violet-2); width: var(--w); }
.bar .b.max i { background: var(--violet); }
.bar .p { font-size: 26px; font-weight: 800; letter-spacing: -.03em; text-align: right; font-variant-numeric: tabular-nums; }
.fine { margin: 36px auto 0; max-width: 760px; color: var(--text-2); font-size: 15px; text-align: center; line-height: 1.7; }
.fine b { color: var(--text); }

/* Venues */
.venues { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.zero { font-size: clamp(140px, 20vw, 280px); font-weight: 800; letter-spacing: -.04em; line-height: .85; color: var(--violet-2); font-variant-numeric: tabular-nums; }
.zero small { display: block; font-size: 16px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-top: 18px; font-weight: 700; }
.venues h2, .venues h2 + p { text-align: left; margin-inline: 0; }
.checks { list-style: none; padding: 0; margin-top: 26px; display: grid; gap: 12px; color: var(--text-2); }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.checks svg { width: 22px; height: 22px; stroke: var(--violet-2); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.venues .actions { margin-top: 30px; }

/* Find a station */
.find { text-align: center; }
.pins { margin: 40px auto 0; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.pin { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line-2); font-weight: 700; }
.pin svg { width: 18px; height: 18px; stroke: var(--violet-2); fill: none; stroke-width: 2; }
.find .note { margin: 28px auto 0; max-width: 560px; color: var(--text-2); }
.find .actions { margin-top: 28px; justify-content: center; }
.last { padding-bottom: 128px; }

/* Inner pages */
.page-head { padding: 40px 0 0; text-align: center; }
.page-head h1 { font-size: clamp(46px, 7vw, 88px); letter-spacing: -.04em; line-height: 1; }
.page-head .lead { margin: 18px auto 0; font-size: clamp(17px, 1.6vw, 21px); color: var(--text-2); max-width: 640px; }
.page-head .actions { margin-top: 28px; justify-content: center; }
.page-head.left, .page-head.left .lead { text-align: left; margin-inline: 0; }
.page-head .zero { font-size: clamp(120px, 18vw, 240px); line-height: .9; margin-bottom: 4px; }

/* Pricing page: a battery you fill with hours */
.slider { margin: 56px auto 0; max-width: 760px; }
.slider .out { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.slider .out .price { font-size: clamp(56px, 8vw, 96px); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.slider .out .for { font-size: 18px; color: var(--text-2); font-weight: 700; }
.slider .track { position: relative; margin-top: 24px; height: 64px; border: 3px solid var(--text); border-radius: 18px; }
.slider .track::after { content: ""; position: absolute; right: -14px; top: 18px; width: 11px; height: 22px; background: var(--text); border-radius: 0 4px 4px 0; }
.slider .track .fill { position: absolute; left: 8px; right: 8px; top: 8px; bottom: 8px; background: var(--violet-2); clip-path: inset(0 87.5% 0 0 round 10px); transition: clip-path .25s var(--ease), background .25s; }
.slider .track .fill.max { background: var(--violet); }
.slider .track input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.slider .track:focus-within { outline: 2px solid var(--violet-2); outline-offset: 5px; }
.slider .ticks { margin-top: 12px; display: grid; grid-template-columns: repeat(8, 1fr); text-align: center; font-size: 13px; font-weight: 700; color: var(--mute); font-variant-numeric: tabular-nums; }
.slider .hintline { margin-top: 10px; font-size: 14px; color: var(--mute); text-align: center; }

/* Rules list (pricing) */
.rules { margin: 56px auto 0; max-width: 760px; display: grid; gap: 0; list-style: none; padding: 0; border-top: 1px solid var(--line); }
.rules li { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: start; }
.rules b { font-size: 19px; letter-spacing: -.015em; line-height: 1.25; }
.rules p { color: var(--text-2); }

/* Stations page */
.block.tight { padding-top: 64px; }
.stations { margin: 0 auto; max-width: 760px; }
.stations ul { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.stations li { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center; }
.stations .n { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.stations .a { color: var(--text-2); }
.stations .h { color: var(--mute); font-size: 15px; }
.stations .m { grid-row: 1 / span 3; align-self: center; }
.empty { text-align: center; }
.empty .pins { margin-top: 0; }
.empty .note { margin: 28px auto 0; max-width: 560px; color: var(--text-2); }
.empty .actions { margin-top: 28px; justify-content: center; }

/* Venues page */
.deal { margin: 56px auto 0; max-width: 980px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; list-style: none; padding: 0; }
.deal li b { display: block; font-size: 22px; letter-spacing: -.02em; line-height: 1.15; }
.deal li p { margin-top: 8px; color: var(--mute); font-size: 15px; }
.deal li .cell { margin-bottom: 18px; }
.flow { margin: 56px auto 0; max-width: 760px; list-style: none; padding: 0; counter-reset: f; border-top: 1px solid var(--line); }
.flow li { counter-increment: f; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.flow li::before { content: counter(f); font-size: 32px; font-weight: 800; letter-spacing: -.04em; color: var(--violet-2); font-variant-numeric: tabular-nums; line-height: 1; }
.flow li b { font-size: 20px; letter-spacing: -.015em; }
.flow li p { color: var(--text-2); margin-top: 4px; }

/* Contact + form */
.contact { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.ways { display: grid; gap: 12px; }
.ways .btn { justify-content: flex-start; min-height: 56px; font-size: 16px; }
.ways p { color: var(--mute); font-size: 15px; margin-top: 8px; }
.form { display: grid; gap: 18px; }
.form label { display: block; font-size: 14px; font-weight: 700; color: var(--text-2); margin-bottom: 8px; }
.form label small { font-weight: 500; color: var(--mute); }
.form input, .form textarea { width: 100%; background: var(--ink-2); border: 1.5px solid var(--line-2); border-radius: 12px; padding: 13px 16px; color: var(--text); transition: border-color .2s; }
.form input::placeholder, .form textarea::placeholder { color: var(--mute); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--violet-2); }
.form textarea { min-height: 120px; resize: vertical; }
.form .err { display: none; margin-top: 8px; font-size: 14px; color: var(--red); font-weight: 700; }
.form .field.bad input, .form .field.bad textarea { border-color: var(--red); }
.form .field.bad .err { display: block; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .status { font-size: 15px; color: var(--text-2); min-height: 1.5em; }
.form .status.ok { color: var(--violet-2); font-weight: 700; }
.form .status.bad { color: var(--red); font-weight: 700; }
.sent { padding: 40px; border: 1.5px solid var(--line-2); border-radius: 20px; text-align: center; }
.sent .cell { margin: 0 auto 20px; }
.sent h3 { font-size: 28px; }
.sent p { margin-top: 10px; color: var(--text-2); }

/* Prose (terms, privacy) */
.prose { max-width: 70ch; margin: 40px auto 0; }
.prose .updated { color: var(--mute); font-size: 14px; }
.prose h2 { font-size: 26px; margin-top: 44px; letter-spacing: -.025em; }
.prose h3 { font-size: 19px; margin-top: 28px; }
.prose p, .prose li { color: var(--text-2); margin-top: 14px; }
.prose li { margin-top: 8px; }
.prose ul { padding-left: 22px; }
.prose b, .prose strong { color: var(--text); }
.prose .summary { padding: 0 0 28px; border-bottom: 1px solid var(--line); margin-top: 24px; font-size: 19px; line-height: 1.55; }
.prose .summary p { margin-top: 0; color: var(--text); }
.prose .summary ul { margin-top: 10px; }
.prose .summary li { margin-top: 6px; }

/* 404 */
.oops { min-height: calc(100vh - 92px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 48px 0; }
.oops .battery { width: min(360px, 80vw); border-width: 5px; border-radius: 32px; }
.oops .battery .nub { right: -22px; width: 18px; }
.oops .battery .fill { left: 12px; top: 12px; bottom: 12px; clip-path: inset(0 100% 0 0 round 14px 6px 6px 14px); }
.oops .battery .pct { font-size: clamp(56px, 9vw, 90px); }
.oops h1 { margin-top: 36px; font-size: clamp(40px, 6vw, 72px); letter-spacing: -.04em; }
.oops p { margin-top: 14px; color: var(--text-2); max-width: 480px; }
.oops .actions { margin-top: 28px; justify-content: center; }

/* Footer */
.foot { margin-top: 128px; border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--mute); font-size: 14px; }
.foot .row { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: flex-start; justify-content: space-between; }
.foot .logo img { height: 22px; width: auto; }
.foot ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot li a { color: var(--mute); font-weight: 600; }
.foot a:hover { color: var(--text); }
.foot .legal { margin-top: 28px; font-size: 13px; color: var(--mute); }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .station, .venues, .contact { grid-template-columns: 1fr; gap: 40px; }
  .zero { font-size: 160px; }
  .block { padding-top: 88px; }
  .deal { grid-template-columns: 1fr 1fr; }
  .rules li { grid-template-columns: 1fr; gap: 6px; }
  .foot { margin-top: 96px; }
}
@media (max-width: 760px) {
  :root { --navh: 88px; }
  body { font-size: 16px; }
  .wrap { width: min(1200px, 100% - 32px); }
  .nav .links { display: none; }
  .nav .menu { display: inline-flex; }
  .nav .btn { min-height: 44px; padding: 0 16px; font-size: 14px; }
  .hero { padding-top: 16px; }
  .hint { bottom: 20px; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .bar { grid-template-columns: 76px 1fr 56px; gap: 12px; }
  .deal { grid-template-columns: 1fr; gap: 28px; }
  .stations li { grid-template-columns: 1fr; }
  .stations .m { grid-row: auto; justify-self: start; margin-top: 6px; }
  .last { padding-bottom: 88px; }
  .sent { padding: 28px 20px; }
}
@media (max-width: 380px) {
  .nav .btn { padding: 0 12px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .cell i, .bar .b i { clip-path: none; }
}
