/* The holding page for www.smart-count.ai (SC-BRAND-001 v1.2): the cover of
   the brand book, a stacked lockup centred on the dark series grid. Dark in
   both themes, as the sign-in panel is. Everything is served from here: no
   third-party request, no cookies, no tracking. */

@font-face { font-family: 'Archivo'; font-weight: 400; font-display: swap;
  src: url('/fonts/archivo-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-weight: 600; font-display: swap;
  src: url('/fonts/archivo-latin-600-normal.woff2') format('woff2'); }

:root {
  --instrument: #0E1316;   /* the ground */
  --mist: #E6EAEB;         /* text · 15.4:1 on the ground, 14.1:1 on a grid cell */
  --haze: #9AA5AA;         /* secondary text · 7.4:1 on the ground, 6.8:1 on a cell */
  --aqua: #4FB0BC;         /* Petrol on a dark ground: links · 7.4:1, 6.7:1 on a cell */
  --aqua-bright: #6CC3CE;
  --rule: #2A3337;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
  background: var(--instrument) url('/brand/grid-dark.svg') repeat;
  color: var(--mist);
  font: 400 17px/1.6 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--aqua); text-underline-offset: 3px; }
a:hover { color: var(--aqua-bright); }
a:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 2px; }
::selection { background: #24474E; color: var(--mist); }

.cover {
  flex: 1 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 64px 24px 48px;
}
.cover__logo { display: block; width: 225px; height: auto; margin-bottom: 56px; }
.cover__line {
  margin: 0; max-width: 14ch;
  font-weight: 600; font-size: clamp(2.5rem, 1.6rem + 3.6vw, 3.5rem); line-height: 1.12;
  letter-spacing: -0.02em; text-wrap: balance;
}
.cover__lede {
  margin: 24px 0 0; max-width: 54ch;
  color: var(--haze); font-size: 1.0625rem; text-wrap: pretty;
}
.cover__contact { margin: 32px 0 0; font-size: 1.0625rem; }

.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding: 18px 24px; border-top: 1px solid var(--rule);
  background: var(--instrument);
  font-size: 14px; line-height: 20px; color: var(--haze);
}
.foot__legal { margin: 0; max-width: 78ch; font-size: 13px; line-height: 19px; text-wrap: pretty; }
.foot__signin { flex: none; }

@media (max-width: 480px) {
  .cover { padding: 48px 20px 40px; }
  .cover__logo { width: 180px; margin-bottom: 40px; }
  .foot { flex-direction: column-reverse; align-items: center; gap: 12px; text-align: center; }
}
