/* netSifr landing page: the version 5.0 light editorial tokens, standalone.
   Paper ground, ink text, emblem-green accent; Satoshi display, Archivo body,
   Geist Mono apparatus, all self-hosted. */

@font-face {
  font-family: "Satoshi";
  src: url("/fonts/satoshi-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Archivo Variable";
  src: url("/fonts/archivo-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono Variable";
  src: url("/fonts/geist-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #e7e7d8;
  --black: #1e1e1e;
  --green: #377026;
  --leaf: #5e9e45;
}

* {
  margin: 0;
  box-sizing: border-box;
}

:focus-visible {
  outline: 2px solid var(--leaf);
  outline-offset: 2px;
}

/* Solar array aerial under a directional ink scrim: heavy on the left where
   the text sits, easing off to the right so the photograph still reads.
   WebP first as the baseline, AVIF via image-set where supported. */
body {
  background-color: var(--black);
  color: var(--white);
  font-family: "Archivo Variable", "Archivo", ui-sans-serif, system-ui,
    sans-serif;
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
  background-position: center;
  background-size: cover;
  background-image:
    linear-gradient(
      to right,
      rgb(30 30 30 / 0.94) 0%,
      rgb(30 30 30 / 0.72) 45%,
      rgb(30 30 30 / 0.35) 100%
    ),
    url("/images/solar-array-grid-1200.webp");
  background-image:
    linear-gradient(
      to right,
      rgb(30 30 30 / 0.94) 0%,
      rgb(30 30 30 / 0.72) 45%,
      rgb(30 30 30 / 0.35) 100%
    ),
    image-set(
      url("/images/solar-array-grid-1200.avif") type("image/avif"),
      url("/images/solar-array-grid-1200.webp") type("image/webp")
    );
}

.page {
  max-width: 64rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.masthead {
  padding: 1.5rem 0 0;
}

.logo {
  height: 3rem;
  width: auto;
  display: block;
}

.hero {
  padding: 18vh 0 0;
}

.kicker {
  font-family: "Geist Mono Variable", "Geist Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--leaf);
}

h1 {
  margin-top: 1.5rem;
  font-family: "Satoshi", ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2.25rem, 7vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.lede {
  margin-top: 2rem;
  max-width: 38rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: rgb(231 231 216 / 0.78);
}

.notice {
  margin-top: 4rem;
  border-top: 1px solid rgb(231 231 216 / 0.2);
  padding-top: 2.5rem;
}

.notice-title {
  font-family: "Satoshi", ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}

.notice-body {
  margin-top: 1rem;
  max-width: 38rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgb(231 231 216 / 0.78);
}

.notice-action {
  margin-top: 2rem;
}

.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--green);
  padding: 1rem 2rem;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--white);
  text-decoration: none;
  transition:
    background-color 200ms,
    color 200ms;
}

.action:hover {
  background: var(--white);
  color: var(--black);
}

.colophon {
  margin-top: auto;
  padding-top: 6rem;
  font-family: "Geist Mono Variable", "Geist Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgb(231 231 216 / 0.6);
  display: grid;
  gap: 0.5rem;
}

/* The wordmark is never recased; the copyright line carries it. */
.colophon p:last-child {
  text-transform: none;
}

@media (min-width: 64rem) {
  .page {
    padding: 3rem 3rem 5rem;
  }

  .logo {
    height: 3.5rem;
  }

  body {
    background-image:
      linear-gradient(
        to right,
        rgb(30 30 30 / 0.94) 0%,
        rgb(30 30 30 / 0.72) 45%,
        rgb(30 30 30 / 0.35) 100%
      ),
      url("/images/solar-array-grid-1800.webp");
    background-image:
      linear-gradient(
        to right,
        rgb(30 30 30 / 0.94) 0%,
        rgb(30 30 30 / 0.72) 45%,
        rgb(30 30 30 / 0.35) 100%
      ),
      image-set(
        url("/images/solar-array-grid-1800.avif") type("image/avif"),
        url("/images/solar-array-grid-1800.webp") type("image/webp")
      );
  }
}

@media (min-width: 110rem) {
  body {
    background-image:
      linear-gradient(
        to right,
        rgb(30 30 30 / 0.94) 0%,
        rgb(30 30 30 / 0.72) 45%,
        rgb(30 30 30 / 0.35) 100%
      ),
      url("/images/solar-array-grid-2600.webp");
    background-image:
      linear-gradient(
        to right,
        rgb(30 30 30 / 0.94) 0%,
        rgb(30 30 30 / 0.72) 45%,
        rgb(30 30 30 / 0.35) 100%
      ),
      image-set(
        url("/images/solar-array-grid-2600.avif") type("image/avif"),
        url("/images/solar-array-grid-2600.webp") type("image/webp")
      );
  }
}
