/*
  globalpowertools.in placeholder. Tokens are the app's (docs/DESIGN.md section 4), hex for hex.
  Type: Archivo, the app's ramp (12 uppercase micro-label / 14 / 16 / 19 / 23) plus one web display step, 40 (the ramp's 1.2 ratio
  carried two steps past 28), for the page's single heading.
  Yellow appears once: the "Coming soon" status, navy text on a yellow fill (the brief's badge use).
  No band, plate or scale: the steel rule is atc-tools' alone (Moiz, 2026-11-15).
*/
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  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: "Archivo";
  src: url("/assets/fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ground: #F3F4F6;
  --surface: #FFFFFF;
  --ink: #141826;
  --muted: #566074;
  --line: #D6D9E0;
  --navy: #222E3F;   /* the client's logo navy (2026-11-16) */
  --navy-tint: #E8EDF5;
  --yellow: #F7C548;
  --s-2: 8px;
  --s-4: 16px;
  --s-6: 24px;
  --s-8: 32px;
  --s-12: 48px;
  --s-16: 64px;
  --radius-card: 12px;
  --radius-control: 4px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; }
em, i, cite, address { font-style: normal; }

html {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--ground);
  font-variant-numeric: lining-nums tabular-nums;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* One container aligns the bar and the content on every width. */
.frame {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s-12);
}

/* The navy bar: who we are. */
.brand { background: var(--navy); color: var(--surface); }
.brand .frame {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  min-height: var(--s-16);
  padding-top: var(--s-4);
  padding-bottom: var(--s-4);
}
.wordmark {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.2;
}
.facts {
  font-size: 14px;
  color: var(--navy-tint);
  text-align: right;
}
main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: var(--s-16) 0;
}
.content { max-width: 36rem; }
h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}
.lede {
  margin-top: var(--s-6);
  font-size: 19px;
  text-wrap: pretty;
}
.stores {
  margin-top: var(--s-12);
  padding: 0;
  list-style: none;
  display: grid;
  /* Side by side only while each card can hold its name and its badge (17rem); otherwise one column.
     Two cards make one row or two, never a half-empty one. */
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: var(--s-4);
}
.store {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--s-4) var(--s-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}
.store-name { display: block; }
/* The page's one yellow: a status badge, navy on yellow (9.0:1). */
.soon {
  flex: none;
  background: var(--yellow);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-control);
  padding: 4px var(--s-2);
}
.store b {
  display: block;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
}
.store-name span {
  font-size: 14px;
  color: var(--muted);
}

/* The home page: the app's promise on the left, the counter's facts on the right. */
.page {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(18rem, 5fr);
  gap: var(--s-16);
  align-items: center;
}
.visit {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--s-8);
}
.visit h2 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
}
.visit-facts {
  margin-top: var(--s-6);
  display: grid;
  gap: var(--s-4);
}
.visit-facts dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.visit-facts dd {
  margin-top: 4px;
  font-size: 16px;
  text-wrap: pretty;
}
/* A link standing alone gets the full 24px target (WCAG 2.2, 2.5.8). */
.visit-facts a { display: inline-block; padding: 4px 0; }
.directions { display: inline-block; margin-top: var(--s-6); font-size: 16px; }

a {
  color: var(--navy);
  font-weight: 600;
  text-underline-offset: 3px;
  border-radius: var(--radius-control);
}
a:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.next { display: inline-block; margin-top: var(--s-8); font-size: 16px; }

/* The disclosure that ships with the analytics tag (WEB_ANALYTICS_GA4.md): quiet, on every page. */
.foot { border-top: 1px solid var(--line); }
.foot .frame { padding-top: var(--s-4); padding-bottom: var(--s-4); }
.foot p { max-width: 48rem; font-size: 14px; color: var(--muted); text-wrap: pretty; }

@media (max-width: 1100px) {
  .page { gap: var(--s-12); }
}
@media (max-width: 880px) {
  .page { grid-template-columns: 1fr; align-items: start; }
  .visit { max-width: 36rem; }   /* the content column's width, so a stacked card never sprawls */
}
@media (max-width: 800px) {
  .frame { padding: 0 var(--s-6); }
  .brand .frame { flex-direction: column; align-items: flex-start; gap: var(--s-2); }
  .facts { text-align: left; }
  main { padding: var(--s-12) 0; align-items: flex-start; }
  h1 { font-size: 28px; }
}
@media (forced-colors: active) {
  .store { border-color: CanvasText; }
  .soon { border: 1px solid CanvasText; }
}
