@font-face {
  font-family: "Inter";
  src: url("./assets/inter-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #fbfbf8;
  --text: #11110f;
  --muted: #6b6b66;
  --line: #deddd7;
  --max: 1380px;
  --gutter: clamp(24px, 4.2vw, 72px);
  --grid-gap: clamp(18px, 2.25vw, 34px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
  border-radius: 2px;
}
.shell {
  width: min(calc(100% - (var(--gutter) * 2)), var(--max));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  height: 82px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 251, 248, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.wordmark {
  font-size: 23px;
  font-weight: 520;
  line-height: 1;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.hero {
  min-height: calc(100vh - 82px);
  min-height: calc(100svh - 82px);
  padding: clamp(112px, 23vh, 220px) 0 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-copy { max-width: 1100px; }
.hero h1 {
  margin: 0;
  font-size: clamp(52px, 5.9vw, 80px);
  line-height: 1.01;
  font-weight: 440;
  letter-spacing: -0.045em;
}
.hero p {
  margin: 29px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.45;
  letter-spacing: -0.018em;
}
.scroll-cue {
  width: fit-content;
  color: var(--muted);
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms ease, color 160ms ease;
}
.scroll-cue:hover { transform: translateY(4px); color: var(--text); }

.products {
  padding: 46px 0 0;
  scroll-margin-top: 82px;
}
.eyebrow {
  margin: 0 0 clamp(66px, 6.5vw, 86px);
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
}
.product {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0 var(--grid-gap);
  align-items: start;
  padding-bottom: clamp(88px, 8vw, 112px);
}
.product + .product {
  border-top: 1px solid var(--line);
  padding-top: clamp(82px, 7.5vw, 106px);
}
.product-selfvote .product-media { grid-column: 2 / span 3; }
.product-selfvote .product-content { grid-column: 6 / span 6; }
.product-pause .product-content { grid-column: 2 / span 6; }
.product-pause .product-media { grid-column: 9 / span 3; justify-self: end; }

.product-media {
  width: 100%;
  display: flex;
  align-items: flex-start;
}
.product-media-pause { justify-content: flex-end; }
.app-icon {
  width: clamp(176px, 17vw, 236px);
  height: auto;
  aspect-ratio: 1;
  display: block;
  object-fit: contain;
}
.product-content { max-width: 650px; }
.product h2 {
  margin: 0 0 18px;
  font-size: clamp(24px, 2.05vw, 30px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.035em;
}
.observation {
  margin: -5px 0 34px;
  max-width: 33ch;
  font-size: clamp(27px, 2.42vw, 36px);
  line-height: 1.16;
  font-weight: 430;
  letter-spacing: -0.038em;
}
.definition {
  margin: 0;
  max-width: 38ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.012em;
}
.meta {
  margin: 23px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.015em;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
}
.text-link span { transition: transform 160ms ease; }
.text-link:hover span { transform: translateX(4px); }

/* Same canvas as the rest of the page: principles are structure, not a feature band. */
.principles-wrap {
  background: transparent;
}
.principles {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0 var(--grid-gap);
  padding: 62px 0 66px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.principle-perception { grid-column: 2 / span 3; }
.principle-sense { grid-column: 6 / span 3; }
.principle-restraint { grid-column: 10 / span 3; }
.principle-name {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 19px;
  line-height: 1.15;
  font-weight: 470;
  letter-spacing: -0.025em;
}
.principle > p:last-child {
  margin: 0;
  max-width: 27ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.48;
}

.closing {
  padding: clamp(82px, 8vw, 108px) 0 clamp(84px, 8.5vw, 116px);
}
.closing h2 {
  margin: 0;
  font-size: clamp(39px, 3.75vw, 52px);
  line-height: 1;
  font-weight: 450;
  letter-spacing: -0.05em;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 29px 0 38px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0 var(--grid-gap);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.footer-brand { grid-column: 1 / span 4; }
.footer-copy { grid-column: 6 / span 3; align-self: end; }
.footer-reg { grid-column: 10 / span 3; }
.footer-brand strong {
  display: block;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
}
.site-footer a { color: inherit; text-decoration: none; display: block; }
.site-footer a:hover { color: var(--text); }

@media (max-width: 820px) {
  :root { --gutter: 20px; }

  .site-header { height: 66px; }
  .wordmark { font-size: 20px; }
  .hero {
    min-height: calc(100vh - 66px);
    min-height: calc(100svh - 66px);
    padding: clamp(110px, 28vh, 250px) 0 34px;
  }
  .hero h1 {
    font-size: clamp(40px, 10.8vw, 56px);
    line-height: 1.015;
    letter-spacing: -0.052em;
  }
  .hero p { margin-top: 21px; font-size: 16px; }
  .scroll-cue { font-size: 25px; }

  .products { padding-top: 34px; scroll-margin-top: 66px; }
  .eyebrow { margin-bottom: 58px; font-size: 15px; }

  .product,
  .product + .product {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 16px;
    padding: 0 0 78px;
  }
  .product + .product { padding-top: 70px; }
  .product-selfvote .product-media,
  .product-pause .product-media {
    grid-column: 1 / span 2;
    grid-row: 1;
    justify-self: start;
    justify-content: flex-start;
    margin-bottom: 38px;
  }
  .product-selfvote .product-content,
  .product-pause .product-content {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .app-icon { width: min(42vw, 154px); }
  .product h2 { margin: 0 0 17px; font-size: 26px; }
  .observation { margin: 0 0 28px; max-width: 30ch; font-size: 27px; line-height: 1.2; }
  .definition { font-size: 15px; }

  .principles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 38px 0 42px;
  }
  .principle-perception,
  .principle-sense,
  .principle-restraint { grid-column: 1; padding-top: 0; }
  .principle-name { font-size: 18px; }

  .closing { padding: 70px 0 76px; }
  .closing h2 { font-size: 40px; }
  .closing p { font-size: 15px; }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 0 28px;
  }
  .footer-brand, .footer-copy, .footer-reg { grid-column: 1; }
  .footer-copy { align-self: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-cue, .text-link span { transition: none; }
}
