/* ============================================================
   LaBete Software — design system v3
   Quiet, precise, monochrome. One typeface. One accent, used once.
   ============================================================ */

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

:root {
  --bg: #faf9f6;
  --bg-soft: #f2f0ea;
  --fg: #16150f;
  --body: #45443e;
  --mut: #77756c;
  --hair: #e4e1d8;
  --accent: #e0331f;
  --wrap: 1060px;
  --pad: clamp(20px, 5vw, 48px);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
::selection {
  background: var(--fg);
  color: var(--bg);
}
:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- header ---------- */
.site-top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 249, 246, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hair);
}
.site-top__in {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 18px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  font-size: 0.95rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 32px);
}
.top-nav a {
  font-size: 0.85rem;
  font-weight: 450;
  color: var(--mut);
  text-decoration: none;
  transition: color 0.15s ease;
}
.top-nav a:hover {
  color: var(--fg);
}

/* ---------- links ---------- */
.tlink {
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.tlink span {
  display: inline-block;
  transition: transform 0.15s ease;
}
.tlink:hover span {
  transform: translateX(2px);
}

/* ---------- hero ---------- */
.hero {
  padding-block: clamp(5rem, 16vh, 10rem) clamp(4rem, 12vh, 8rem);
}
.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  font-weight: 450;
  line-height: 1.12;
  letter-spacing: -0.028em;
  max-width: 21ch;
  text-wrap: balance;
}
.hero-lede {
  margin-top: 1.6rem;
  max-width: 52ch;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--body);
}

/* ---------- section label ---------- */
.label {
  font-size: 0.72rem;
  font-weight: 550;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--mut);
}

/* ---------- product list ---------- */
.products {
  padding-bottom: clamp(4rem, 10vh, 7rem);
}
.products .label {
  display: block;
  padding-bottom: 18px;
}
.product {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: clamp(16px, 3vw, 40px);
  align-items: baseline;
  padding-block: clamp(2rem, 5vh, 3rem);
  border-top: 1px solid var(--hair);
  text-decoration: none;
}
.product-num {
  font-size: 0.8rem;
  font-weight: 450;
  color: var(--mut);
  font-variant-numeric: tabular-nums;
}
.product h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 550;
  letter-spacing: -0.015em;
}
.product p {
  margin-top: 0.45rem;
  max-width: 58ch;
  color: var(--body);
  font-size: 0.98rem;
}
.product .tlink {
  color: var(--mut);
  transition: color 0.15s ease;
}
.product:hover .tlink {
  color: var(--fg);
}
.product:hover h3 {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}
.products-more {
  border-top: 1px solid var(--hair);
  padding-top: 1.4rem;
  font-size: 0.9rem;
  color: var(--mut);
}
@media (max-width: 720px) {
  .product {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .product-num {
    display: none;
  }
}

/* ---------- approach ---------- */
.approach {
  border-top: 1px solid var(--hair);
  padding-block: clamp(3.5rem, 9vh, 6rem);
}
.approach-grid {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
}
.approach h3 {
  font-size: 0.98rem;
  font-weight: 550;
  letter-spacing: -0.01em;
}
.approach p {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  color: var(--body);
}
@media (max-width: 720px) {
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ---------- contact ---------- */
.contact {
  border-top: 1px solid var(--hair);
  padding-block: clamp(3.5rem, 9vh, 6rem);
}
.contact-mail {
  display: inline-block;
  margin-top: 1.4rem;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
  overflow-wrap: anywhere;
}
.contact-mail:hover {
  border-color: var(--fg);
}
.contact-note {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--mut);
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--hair);
}
.footer__in {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 26px var(--pad) 34px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--mut);
}
.footer a {
  text-decoration: none;
  color: var(--mut);
  transition: color 0.15s ease;
}
.footer a:hover {
  color: var(--fg);
}
.footer-links {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ---------- subpage hero ---------- */
.page-hero {
  padding-block: clamp(4rem, 12vh, 7.5rem) clamp(3rem, 8vh, 5rem);
}
.page-hero .label {
  display: block;
  margin-bottom: 1.2rem;
}
.page-hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 450;
  line-height: 1.12;
  letter-spacing: -0.028em;
  max-width: 24ch;
  text-wrap: balance;
}
.page-hero .hero-lede {
  max-width: 56ch;
}
.page-hero .hero-cta {
  margin-top: 2rem;
  display: flex;
  gap: 28px;
  align-items: baseline;
  flex-wrap: wrap;
}

/* ---------- feature grid (arccart) ---------- */
.features {
  border-top: 1px solid var(--hair);
  padding-block: clamp(3.5rem, 9vh, 6rem);
}
.features .label {
  display: block;
  margin-bottom: 2rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px) clamp(32px, 5vw, 72px);
}
.feature h3 {
  font-size: 1rem;
  font-weight: 550;
  letter-spacing: -0.01em;
}
.feature p {
  margin-top: 0.5rem;
  font-size: 0.94rem;
  color: var(--body);
  max-width: 46ch;
}
@media (max-width: 720px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- screenshots ---------- */
.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
  margin-top: 2rem;
}
.shot {
  margin: 0;
}
.shot-frame {
  border: 1px solid var(--hair);
  background: var(--bg-soft);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: var(--mut);
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shot figcaption {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--mut);
}
@media (max-width: 720px) {
  .shots {
    grid-template-columns: 1fr;
  }
}

/* ---------- steps ---------- */
.steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}
.steps li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: clamp(16px, 3vw, 40px);
  padding-block: 1.8rem;
  border-top: 1px solid var(--hair);
}
.step-num {
  font-size: 0.8rem;
  font-weight: 450;
  color: var(--mut);
  font-variant-numeric: tabular-nums;
  padding-top: 0.2em;
}
.steps h3 {
  font-size: 1rem;
  font-weight: 550;
}
.steps p {
  margin-top: 0.4rem;
  font-size: 0.94rem;
  color: var(--body);
  max-width: 62ch;
}

/* ---------- legal ---------- */
.legal {
  max-width: 70ch;
  padding-block: 0 clamp(4rem, 10vh, 7rem);
}
.legal .updated {
  color: var(--mut);
  font-size: 0.88rem;
}
.legal h2 {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 2.4em 0 0.6em;
}
.legal p,
.legal li {
  color: var(--body);
  font-size: 0.97rem;
}
.legal ul {
  padding-left: 1.2em;
  display: grid;
  gap: 0.45em;
  margin: 0.7em 0;
}
.legal strong {
  color: var(--fg);
  font-weight: 550;
}
.legal a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.back-link {
  margin-top: 3em;
}
.back-link a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--mut);
  text-decoration: none;
}
.back-link a:hover {
  color: var(--fg);
}

/* ---------- 404 ---------- */
.notfound {
  padding-block: clamp(5rem, 18vh, 11rem);
}
.notfound .label {
  display: block;
  margin-bottom: 1.2rem;
}
.notfound h1 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 450;
  letter-spacing: -0.028em;
}
.notfound p {
  margin-top: 1.2rem;
  max-width: 44ch;
  color: var(--body);
}
.notfound .tlink {
  display: inline-block;
  margin-top: 2rem;
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .tlink span,
  .top-nav a,
  .footer a,
  .contact-mail {
    transition: none;
  }
}
