/* Rewheel studio site. Colours and type come from the rw-tokens block, a copy of brand/tokens.css. The pages pin
   the light (Stone) theme with data-theme="light" whatever the system theme; assets/theme.js adds a switch to dark
   and remembers the choice. Flat and matte: no shadows, no gradients, no motion. */
/* rw-tokens:start */
/* Rewheel studio tokens. Copied from brand/tokens.css by site/tools/assets.py. */

:root {
  --rw-forest: #22332A;
  --rw-moss: #4E6A4B;
  --rw-sage: #A7BA94;
  --rw-mist: #DCE3D6;
  --rw-stone: #EEF0E8;
  --rw-straw: #CFB77F;

  --rw-bg: var(--rw-stone);
  --rw-surface: #F6F7F2;
  --rw-ink: var(--rw-forest);
  --rw-ink-soft: #5A665D;
  --rw-line: #D3D9CB;
  --rw-accent: var(--rw-moss);
  --rw-accent-ink: var(--rw-stone);

  --rw-font-display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --rw-font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rw-radius: 12px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --rw-bg: #161C18;
    --rw-surface: #1F2822;
    --rw-ink: #E2E7DC;
    --rw-ink-soft: #9AA69B;
    --rw-line: #2E3A32;
    --rw-accent: #8FAA86;
    --rw-accent-ink: #161C18;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --rw-bg: #161C18;
  --rw-surface: #1F2822;
  --rw-ink: #E2E7DC;
  --rw-ink-soft: #9AA69B;
  --rw-line: #2E3A32;
  --rw-accent: #8FAA86;
  --rw-accent-ink: #161C18;
  color-scheme: dark;
}
/* rw-tokens:end */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root { --shot-bg: var(--rw-mist); }
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { --shot-bg: #26322A; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--rw-bg);
  color: var(--rw-ink);
  font: 400 17px/1.75 var(--rw-font-body);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px));
}
.wrap { max-width: 1080px; margin-inline: auto; }
h1, h2, h3 { font-family: var(--rw-font-display); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; margin: 0; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--rw-accent); }
:focus-visible { outline: 2px solid var(--rw-accent); outline-offset: 3px; border-radius: 4px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 20px; top: 16px; background: var(--rw-surface); padding: 8px 12px; z-index: 10; }

.lockup { display: inline-flex; align-items: center; gap: .32em; color: var(--rw-ink); text-decoration: none; }
.lockup svg { width: 1em; height: 1em; flex: none; }
.lockup span { font: 600 1em/1 var(--rw-font-display); letter-spacing: -.035em; transform: translateY(-.04em); }

.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 28px; }
.top .lockup { font-size: 24px; }
.tools { display: flex; align-items: center; gap: 8px; }
.lang { font-size: 14px; font-weight: 600; line-height: 20px; text-decoration: none; padding: 8px 14px; border: 1px solid var(--rw-line); border-radius: 99px; }
.lang:hover { border-color: var(--rw-accent); }
.theme {
  display: grid; place-items: center; width: 38px; height: 38px; padding: 0; cursor: pointer;
  background: transparent; color: var(--rw-ink); border: 1px solid var(--rw-line); border-radius: 99px;
}
.theme[hidden] { display: none; }
.theme:hover { border-color: var(--rw-accent); color: var(--rw-accent); }
.theme svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme .sun, .theme[aria-pressed="true"] .moon { display: none; }
.theme[aria-pressed="true"] .sun { display: block; }

.hero { padding-block: 40px 56px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 64px); line-height: 1.08; letter-spacing: -.025em; max-width: 18ch; }
.hero h1 span { display: block; color: var(--rw-accent); }
.hero p { font-size: 18px; margin-top: 20px; max-width: 52ch; }
@media (max-width: 640px) { .hero { padding-block: 16px 40px; } }

.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 760px) { .products { grid-template-columns: 1fr; gap: 40px; } }
.product { position: relative; display: grid; gap: 14px; align-content: start; }
.shot {
  display: flex; justify-content: center; height: 360px; overflow: hidden;
  background: var(--shot-bg); border-radius: var(--rw-radius); padding: 32px 32px 0;
}
.shot img { width: min(260px, 100%); height: auto; align-self: flex-start; border-radius: 22px 22px 0 0; display: block; }
@media (max-width: 760px) { .shot { height: 330px; } .shot img { width: min(240px, 100%); } }
.product .title { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.product .title img { width: 40px; height: 40px; border-radius: 23%; }
.product h3 { font-size: 24px; line-height: 1.15; letter-spacing: -.02em; }
.product p { max-width: 46ch; }
.product .foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 14px; }
.more { font-weight: 600; color: var(--rw-accent); text-decoration: none; }
.more::after { content: ""; position: absolute; inset: 0; border-radius: var(--rw-radius); }
.more:focus-visible { outline: none; }
.product:has(.more:focus-visible) { outline: 2px solid var(--rw-accent); outline-offset: 6px; border-radius: var(--rw-radius); }
.product:hover .more { text-decoration: underline; }
.status { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; color: var(--rw-ink-soft); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: var(--rw-accent); }
.status.soon::before { background: var(--rw-straw); }
a.status:hover { color: var(--rw-accent); }

.label { font: 600 13px/1.4 var(--rw-font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--rw-ink-soft); }

.promises { max-width: 640px; padding-block: 96px 0; display: grid; gap: 28px; }
.promises h3 { font-size: 24px; letter-spacing: -.02em; margin-bottom: 6px; }

.contact { display: grid; gap: 12px; justify-items: start; padding-block: 96px; }
.contact p { max-width: 46ch; }
.email { font: 600 clamp(26px, 3.6vw, 36px)/1.15 var(--rw-font-display); letter-spacing: -.02em; color: var(--rw-accent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; overflow-wrap: anywhere; }
.email:hover { color: var(--rw-ink); }

footer { border-top: 1px solid var(--rw-line); padding-block: 28px 56px; display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; font-size: 14px; color: var(--rw-ink-soft); }
footer .lockup { font-size: 20px; color: var(--rw-ink-soft); }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer nav a { text-decoration: none; }

.notfound { padding-block: 96px 128px; display: grid; gap: 20px; justify-items: start; }
.notfound h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -.03em; }
