/* Lumi Living Oy — one-pager
   Brand: Lumi cyan, white slab-serif headline on cyan, grey uppercase sans.
   Fonts are self-hosted (no external requests). */

/* Self-hosted Arvo (SIL Open Font License 1.1, licence in fonts/).
   The woff2 files are fetched at Docker build time (see Dockerfile) or
   locally with scripts/fetch-fonts.sh; they are not committed. */

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

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

:root {
  --lumi: #00aeef;          /* logo tile */
  --lumi-deep: #008fc4;     /* banner background / headline blue */
  --white: #ffffff;
  --grey-1: #f5f5f5;
  --grey-2: #e9e9e9;
  --grey-3: #d1d1d1;
  --grey-text: #6b6b6b;   /* body copy: 4.9:1 on the light grey */
  --grey-mid: #888888;    /* reference grey, large/bold text only */
  --grey-soft: #bbbbbb;
  --ink: #3a3a3a;

  --slab: "Arvo", "Rockwell", "Clarendon", Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, sans-serif;
  --measure: 40rem;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --track: 0.14em;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  color-scheme: light;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--grey-1);
  -webkit-font-smoothing: antialiased;
  text-align: center;
}

.wrap {
  width: 100%;
  max-width: calc(var(--measure) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

/* Skip link */
.skip {
  position: absolute;
  left: var(--gutter);
  top: -100%;
  padding: 0.5rem 0.75rem;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--grey-3);
  border-radius: 4px;
  z-index: 10;
}

.skip:focus {
  top: 0.75rem;
}

/* ---------- Hero (cyan) ---------- */
.hero {
  background: var(--lumi-deep);
  color: var(--white);
  padding-block: 1.25rem clamp(3.5rem, 10vh, 6rem);
}

.topbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: clamp(1.75rem, 6vh, 4rem);
}

.lang {
  display: inline-block;
  min-height: 44px;
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 3px;
  color: var(--white);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.lang:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.logo {
  margin: 0 0 clamp(2.5rem, 7vh, 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.logo-mark {
  width: clamp(3.75rem, 9vw, 5rem);
  height: auto;
  fill: currentColor;
}

.logo-text {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  padding-left: 0.32em; /* optically centre the tracked text */
}

.headline {
  margin: 0 auto;
  max-width: 22ch;
  font-family: var(--slab);
  font-weight: 700;
  font-size: clamp(2rem, 1.2rem + 3.6vw, 3.75rem);
  line-height: 1.12;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.headline-en {
  margin: 1.25rem auto 0;
  max-width: 30ch;
  font-family: var(--slab);
  font-weight: 400;
  font-size: clamp(1.125rem, 0.9rem + 1vw, 1.5rem);
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
  text-wrap: balance;
}

/* Ghost buttons, as in the reference banner */
.hero-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-top: clamp(2.25rem, 6vh, 3.5rem);
}

.button {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 3px;
  color: var(--white);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: var(--track);
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.button:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-note {
  margin: 1.5rem 0 0;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.78);
}

.hero-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.hero-note a:hover {
  color: var(--white);
}

/* ---------- Body (light grey, soft gradient like the reference) ---------- */
.body {
  flex: 1;
  background:
    linear-gradient(to bottom, var(--grey-2) 0%, var(--grey-1) 22%, var(--grey-1) 70%, var(--grey-3) 100%);
  padding-block: clamp(3.5rem, 10vh, 6rem) clamp(3rem, 8vh, 5rem);
}

.statement {
  margin: 0 auto;
  max-width: 26ch;
  font-family: var(--slab);
  font-weight: 700;
  font-size: clamp(1.5rem, 1rem + 2.2vw, 2.5rem);
  line-height: 1.2;
  color: var(--lumi-deep);
  text-wrap: balance;
}

.copy {
  margin: 1.5rem auto 0;
  max-width: 34rem;
  color: var(--grey-text);
  text-wrap: pretty;
}

/* Sections */
.block + .block {
  margin-top: clamp(3.5rem, 10vh, 6rem);
  padding-top: clamp(2.5rem, 7vh, 4rem);
  border-top: 1px solid var(--grey-3);
}

.statement-small {
  font-size: clamp(1.3rem, 1rem + 1.4vw, 1.9rem);
}

.copy a {
  color: var(--lumi-deep);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.copy strong {
  color: var(--ink);
  font-weight: 700;
}

/* Product list */
.products {
  list-style: none;
  margin: clamp(2rem, 5vh, 3rem) auto 0;
  padding: 0;
  max-width: 34rem;
  text-align: left;
}

.products > li {
  padding: 1.5rem 0;
  border-top: 1px solid var(--grey-3);
}

.products > li:last-child {
  border-bottom: 1px solid var(--grey-3);
}

.products h3 {
  margin: 0 0 0.5rem;
  font-family: var(--slab);
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1.2;
  color: var(--lumi-deep);
}

.products p {
  margin: 0 0 0.6rem;
  color: var(--grey-text);
  text-wrap: pretty;
}

.products .status {
  margin: 0.4rem 0 0;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey-text);
}

.products .status span {
  font-weight: 400;
}

.products .site {
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
}

.products .site a {
  color: var(--lumi-deep);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(0, 143, 196, 0.35);
  transition: border-color 150ms ease;
}

.products .site a::after {
  content: " \2197";   /* north-east arrow: leaves this site */
  font-weight: 400;
}

.products .site a:hover {
  border-color: var(--lumi-deep);
}

/* Company facts */
.facts {
  margin: 1.75rem auto 0;
  max-width: 34rem;
  text-align: left;
}

.facts > div {
  display: grid;
  grid-template-columns: minmax(9rem, 12rem) 1fr;
  gap: 0.25rem 1.25rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--grey-3);
}

.facts > div:last-child {
  border-bottom: 1px solid var(--grey-3);
}

.facts dt {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey-text);
  line-height: 1.5;
  padding-top: 0.15rem;
}

.facts dt span {
  font-weight: 400;
}

.facts dd {
  margin: 0;
  color: var(--ink);
}

.facts dd a {
  color: var(--lumi-deep);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (max-width: 34rem) {
  .facts > div {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }
}

/* Labels and contact */
.label {
  margin: 0 0 1rem;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--grey-text);
}

.label span {
  font-weight: 400;
}

.contact-line {
  margin: 1.25rem 0 0;
}

.email {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.125rem, 1rem + 0.8vw, 1.5rem);
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--grey-mid);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 150ms ease, border-color 150ms ease;
}

.email:hover {
  color: var(--lumi-deep);
  border-color: var(--lumi-deep);
}

.legal {
  margin: 2rem 0 0;
  font-size: 0.875rem;
  color: var(--grey-text);
}

/* ---------- Footer ---------- */
.foot {
  background: var(--grey-3);
  padding-block: 1.25rem;
  font-size: 0.8125rem;
  color: #555555;
}

.foot p {
  margin: 0;
}

.foot a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  line-height: 2;
}

@media (max-width: 30rem) {
  .button {
    padding-inline: 1.75rem;
  }
}
