/* The labs theme: a calm, editorial look inspired by experimental product sites. Warm
   cream pages, very large headings, pill-shaped buttons, soft cards without heavy
   outlines, and a dark home hero. Mantisize's logo, mint, emerald and teal stay.
   Loaded after styles.css. SITE_THEME=analytics or classic chooses another look. */

@font-face {
  font-family: 'Figtree';
  src: url('/fonts/figtree-latin.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Figtree';
  src: url('/fonts/figtree-latin-ext.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --sa-page: #f3efea;
  --sa-fg: #1f1f1f;
  --sa-muted: #5c5a57;
  --sa-border: #e6e0d8;
  --sa-card-border: #e6e0d8;

  /* Arabic, Amharic and other scripts Figtree doesn't cover fall back to the system's own fonts. */
  --sa-font-sans: 'Figtree', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sa-text-base: 16px;
  --sa-text-h2: 26px;
  --sa-text-h3: 20px;

  --sa-radius-md: 14px;
  --sa-radius-lg: 18px;
  --sa-radius-xl: 22px;
  --sa-radius-3xl: 28px;
  --sa-section-gap: 20px;
}

/* Headings: large, medium weight, slightly tight. */

.prose h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.prose h2,
.panel h2,
.panel h3,
.chat h2 {
  font-weight: 500;
  letter-spacing: -0.015em;
}

.prose h2 { font-size: 26px; }

.info-card h3,
.info-card dt,
.faq-item h3,
.panel h4 {
  font-weight: 600;
  letter-spacing: -0.01em;
}

.prose .sa-section-lede {
  max-width: 760px;
  font-size: 19px;
}

/* Cards: white on cream, without heavy outlines. */

.sa-section,
.panel,
.chat {
  border-color: transparent;
  border-radius: var(--sa-radius-3xl);
}

.info-card,
.prose .faq-item,
.score-card,
.review-card,
.saved-check,
.project,
.admin-stats > div {
  border-color: transparent;
  background: #faf8f5;
}

.icon-tile {
  border-color: transparent;
  border-radius: 50%;
}

/* Buttons are pills. */

.sa-btn,
.sa-btn--sm,
.header-menu summary,
.step,
.subnav a {
  border-radius: 999px;
}

.sa-btn { padding-inline: 24px; font-weight: 600; }

.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field textarea,
.chat-form input { border-color: #cfc8be; }

/* Footer: small capitals, as on editorial product sites. */

.site-footer {
  border-top-color: transparent;
  font-size: 12px;
}

.site-footer h2,
.site-footer-copy {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer-links a {
  color: var(--sa-fg);
  font-size: 15px;
}

/* Checks inside a project sit on white, so they stand out from the project card. */
.project-body .saved-check { background: #fff; }
