/* Moa Lab company page (moalab.ai): the "nameplate". One light look on purpose:
   every colour is set here, so the page holds whatever theme the browser prefers. */
:root {
  --ground: #F3F1F6;
  --ink: #1B2540;
  --muted: #4D5670;
  --line: #C9C6D2;
  --dash: #A9A5B6;
  --rose: #E8799F;      /* the full stop in the wordmark; decoration only */
  --rose-ink: #A8336A;  /* rose dark enough to read as text */
  --display: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 17px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
h1, h2, p { margin: 0; }
a { color: var(--ink); }
a:hover { color: var(--rose-ink); }
a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--ground); font-weight: 700;
}
.skip:focus { top: 12px; color: var(--ground); }

/* The whole page is one screen: top line, nameplate, bottom line. */
.page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between; gap: 56px;
  padding: clamp(20px, 4vw, 56px) clamp(20px, 5vw, 72px);
}

.top, .bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 28px;
  color: var(--muted);
}
.top { font-size: 15px; font-weight: 500; }
.bottom { font-size: 14px; }
.top a, .bottom a { display: inline-flex; align-items: center; min-height: 44px; }

.plate { display: flex; flex-direction: column; gap: 40px; }
.wordmark {
  font: 800 clamp(76px, 19vw, 248px)/0.84 var(--display);
  letter-spacing: -0.055em;
}
.wordmark span { color: var(--rose); }

.below { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px 72px; }
.line { flex: 1 1 320px; min-width: 0; max-width: 30ch; font-size: 22px; line-height: 1.45; }

.products { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.item {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.item img { width: 44px; height: 44px; border-radius: 11px; flex: none; }
.item-name { font: 700 26px/1.1 var(--display); letter-spacing: -0.02em; }
.item-about { flex: 999 1 220px; min-width: 0; font-size: 16px; color: var(--muted); }
.item svg { flex: none; transition: transform 0.15s ease; }
a.item:hover svg { transform: translateX(4px); }
.item-soon { color: var(--muted); }
.item-slot { width: 44px; height: 44px; border-radius: 11px; border: 2px dashed var(--dash); flex: none; }
.item-tag { font-size: 14px; font-weight: 600; }

/* Plain pages (not found) */
.doc { display: flex; flex-direction: column; gap: 20px; max-width: 46ch; }
.doc h1 { font: 800 clamp(40px, 7vw, 72px)/0.98 var(--display); letter-spacing: -0.035em; }
.doc p { font-size: 19px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .item svg { transition: none; }
  a.item:hover svg { transform: none; }
}
