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

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/dm-sans-latin-600.woff2") format("woff2");
}

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

:root {
  --bg: #0c0f14;
  --raised: #1f1f1f;
  --ink: #f2f0eb;
  --secondary: #a3aab3;
  --muted: #8a929c;
  --whisper: #c3af98;
  --on-whisper: #1a1612;
  --link: #c3af98;
  --line: #5c6470;
  --focus: #c3af98;
  --radius: 0.75rem;
  --spec-electrical: #f59e0b;
  --spec-water: #3b82f6;
  --spec-gas: #c65f32;
  --sans: "DM Sans", "Segoe UI", "Liberation Sans", system-ui, sans-serif;
  --display: "Outfit", "Segoe UI", "Liberation Sans", system-ui, sans-serif;
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: #f4f6fa;
  --raised: #ffffff;
  --ink: #122033;
  --secondary: #4b5768;
  --muted: #4b5768;
  --whisper: #c3af98;
  --on-whisper: #122033;
  --link: #6e5f50;
  --line: #8d97a6;
  --focus: #6e5f50;
  --spec-electrical: #b45309;
  --spec-water: #1d4ed8;
  --spec-gas: #b1552d;
  color-scheme: light;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.5;
  font-synthesis: none;
}

h1,
h2,
.founder-name,
.brand-name,
.specs li {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
}

h1 {
  margin: 0.45rem 0 0;
  max-width: 12em;
  font-size: clamp(2.35rem, 4.4vw, 3.55rem);
  line-height: 1.05;
  text-wrap: balance;
}

h2 {
  margin: 1.75rem 0 0.4rem;
  font-size: 1.45rem;
  line-height: 1.2;
}

p {
  margin: 0;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

::selection {
  background: var(--whisper);
  color: var(--on-whisper);
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 40;
  transform: translateY(-160%);
  border-radius: var(--radius);
  background: var(--whisper);
  color: var(--on-whisper);
  padding: 0.7rem 1rem;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

.frame {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--bg);
}

.wrap {
  width: min(72rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

@media (min-width: 720px) {
  .wrap {
    width: min(72rem, calc(100% - 4.5rem));
  }
}

.site-header {
  background: var(--bg);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 48px;
  color: inherit;
  text-decoration: none;
}

.brand-name {
  font-size: 1.55rem;
  line-height: 1;
}

.brand-meta {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--raised);
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
  cursor: pointer;
}

.theme-toggle[hidden] {
  display: none !important;
}

.theme-toggle:hover {
  border-color: var(--whisper);
}

.home main {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 1.25rem 0 1.75rem;
}

.home-copy {
  max-width: 40rem;
}

.kicker {
  margin: 0;
  color: var(--link);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.who {
  max-width: 36rem;
  margin-top: 1rem;
  color: var(--secondary);
}

.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.specs li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  padding: 0.55rem 0.85rem;
  font-size: 1rem;
  line-height: 1.2;
}

.spec-electrical {
  color: var(--spec-electrical);
}

.spec-water {
  color: var(--spec-water);
}

.spec-gas {
  color: var(--spec-gas);
}

.spec-dot {
  width: 0.375rem;
  height: 0.375rem;
  flex: none;
  border-radius: 50%;
  background: currentColor;
}

.founder {
  margin-top: 1.75rem;
}

.founder-name {
  margin-top: 0.15rem;
  font-size: 1.65rem;
  line-height: 1.15;
}

.founder p + p {
  margin-top: 0.3rem;
  color: var(--secondary);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--whisper);
  border-radius: var(--radius);
  background: var(--whisper);
  color: var(--on-whisper);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.button:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.16em;
}

.product {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  overflow-wrap: anywhere;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  min-height: 4rem;
  padding-block: 0.75rem;
}

.footer-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.45rem;
  margin: 0;
  font-size: 1rem;
}

.footer-copy a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}

.footer-sep {
  color: var(--muted);
}

.legal {
  flex: 1;
  padding: 2.5rem 0 3.5rem;
}

.legal h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
}

.legal .prose {
  max-width: 40rem;
}

.legal .prose > p + p,
.legal .prose > h2 + p {
  margin-top: 0.75rem;
}

.status {
  margin-top: 0.75rem;
  color: var(--link);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.back {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 1.5rem;
}

@media (forced-colors: active) {
  .button,
  .theme-toggle,
  .specs li {
    border: 1px solid ButtonText;
  }
}

@media print {
  body,
  .frame {
    background: #fff;
    color: #000;
  }

  .skip,
  .theme-toggle {
    display: none !important;
  }

  a {
    text-decoration: underline;
  }
}

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