/* yolab — shared site styles */
:root {
  --bg: #fafaf9;
  --surface: #ffffff;
  --ink: #18181b;
  --text: #3f3f46;
  --muted: #71717a;
  --line: #e7e5e4;
  --chip: #f4f4f5;
  --radius: 16px;
  --max: 1080px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111113; --surface: #1a1a1d; --ink: #f4f4f5; --text: #d4d4d8;
    --muted: #a1a1aa; --line: #2a2a2e; --chip: #232327;
  }
}
:root[data-theme="dark"] {
  --bg: #111113; --surface: #1a1a1d; --ink: #f4f4f5; --text: #d4d4d8;
  --muted: #a1a1aa; --line: #2a2a2e; --chip: #232327;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.65 var(--font); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.025em; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; color: var(--ink); text-decoration: none; }
.brand svg { height: 38px; width: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav ul a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-size: 15px; color: var(--muted); }
.nav ul a:hover, .nav ul a[aria-current] { color: var(--ink); background: var(--chip); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font: 500 15px/1 var(--font); text-decoration: none; border: 1px solid var(--line); color: var(--ink); background: var(--surface); transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn svg { width: 18px; height: 18px; }

/* hero */
.hero { padding: 96px 0 72px; }
.hero h1 { font-size: clamp(40px, 7vw, 72px); font-weight: 650; max-width: 14ch; }
.hero p { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 46ch; margin-top: 22px; }
.hero .actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

/* sections */
section { padding: 56px 0; }
.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.section-title { font-size: clamp(28px, 4vw, 38px); font-weight: 650; max-width: 22ch; }

/* product cards */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.product { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 18px; text-decoration: none; transition: border-color .2s, transform .2s; }
a.product:hover { border-color: var(--muted); transform: translateY(-2px); }
.product .head { display: flex; align-items: center; gap: 14px; }
.product .icon { width: 56px; height: 56px; border-radius: 14px; flex: none; }
.product h3 { font-size: 26px; font-weight: 650; }
.product .lead { font-size: 17px; color: var(--ink); }
.product ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; color: var(--muted); }
.product li { display: flex; gap: 10px; }
.product li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; margin-top: 10px; flex: none; }
.product .foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 500; background: var(--chip); color: var(--muted); }
.badge.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22a06b; }
.badge.wip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e0a526; }
.more { color: var(--ink); font-weight: 500; }

/* values */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 36px; }
.values h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.values p { color: var(--muted); font-size: 15px; }
.values svg { width: 28px; height: 28px; color: var(--ink); margin-bottom: 14px; }

/* footer */
footer { border-top: 1px solid var(--line); margin-top: 48px; padding: 36px 0 48px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer .brand svg { height: 28px; }
footer nav { display: flex; gap: 20px; }
footer nav a { text-decoration: none; }
footer nav a:hover { color: var(--ink); }

@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .products, .values { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 40px; }
  .product { padding: 24px; }
  .nav ul a { padding: 8px 8px; font-size: 14px; }
}
