/* Studio site. "Daylight" tokens from branding/HQ-DESIGN-OPTIONS.md */
:root {
  --bg: #F6F5F2;
  --surface: #FFFFFF;
  --text: #14182B;
  --muted: #5B6075;          /* darker than #6B7085 so it passes 4.5:1 on the paper background */
  --navy: #1E2952;
  --navy-hover: #2A3870;
  --yellow: #FACC15;
  --chip-bg: #FEF7D6;
  --chip-text: #713F12;
  --border: #E6E3DC;
  --border-strong: #D6D2C8;
  --shadow: 0 4px 16px rgba(20, 24, 43, 0.06);
  --radius: 10px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-hover); }

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  padding: 8px 12px;
  background: var(--navy);
  color: #fff;
  border-radius: 6px;
  z-index: 10;
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header { padding: 32px 0 8px; }
.site-header a { display: inline-block; }
.site-header img { width: 223px; height: 48px; }

main { padding: 48px 0 64px; }

.intro { max-width: 640px; margin-bottom: 48px; }

h1 {
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 16px;
}

h2 { font-size: 1.25rem; line-height: 1.3; margin: 0 0 8px; letter-spacing: -0.01em; }

.lead { font-size: 1.125rem; color: var(--muted); margin: 0; }

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid #ECE9E2;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 24px;
  min-height: 220px;
}

.card h3 { font-size: 1.125rem; line-height: 1.3; margin: 0 0 8px; letter-spacing: -0.01em; }
.card p { margin: 0 0 24px; color: var(--muted); }

.card .for {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 12px;
  letter-spacing: 0.01em;
}

.card .action { margin-top: auto; }

/* The whole live card is clickable; the link text stays the accessible name. */
.card-link {
  font-weight: 600;
  text-decoration: none;
}
.card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
}
.card-link:hover { text-decoration: underline; }
.card:has(.card-link:hover) { border-color: var(--border-strong); }
.card-link:focus-visible { outline: none; }
.card-link:focus-visible::after { outline: 3px solid var(--navy); outline-offset: 3px; }

.chip {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--chip-bg);
  color: var(--chip-text);
}

/* The one place the spark yellow appears: a small bar marking the live storefront. */
.card.live::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  width: 4px;
  height: 24px;
  background: var(--yellow);
  border-radius: 0 3px 3px 0;
}

.contact {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  max-width: 640px;
}
.contact p { margin: 0 0 8px; }

.prose { max-width: 680px; }
.prose h2 { margin-top: 40px; }
.prose p, .prose li { color: var(--text); }
.prose ul { padding-left: 1.25rem; }
.meta { color: var(--muted); font-size: 0.9375rem; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0 40px;
  font-size: 0.9375rem;
  color: var(--muted);
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.site-footer p { margin: 0; }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }

@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .site-header img { width: 186px; height: 40px; }
  main { padding-top: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
