/* Generated by the pipeline for theme "violet-mint" (Violet & Mint). Edit common/themes/violet-mint/ or common/web/base.css instead. */
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=Space+Grotesk:wght@500;700&display=swap");
:root {
  --background: #F8F7FB;
  --text: #1E1B2E;
  --accent: #6246EA;
  --highlight: #2CB67D;
  --text-muted: #6B6880;
  --border: #ECE9F3;
  --accent-tint: #EEEAFD;
  --highlight-tint: #E3F6EE;
}
/* layrd.live web base styles (layout, type, components). No brand colors here:
   `npm run publish` writes brand.css = the theme's color variables (common/themes/<id>/tokens.json)
   + this file, next to every page. Do not edit the copies. */
:root {
  --font-heading: "Space Grotesk", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --radius: 18px;
  --surface: #FFFFFF;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
}
h1, h2, h3, .brand { font-family: var(--font-heading); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(32px, 5vw, 50px); margin: 10px 0 14px; }
h2 { font-size: clamp(26px, 4vw, 36px); margin: 12px 0 10px; color: var(--accent); }
h3 { font-size: 22px; margin: 8px 0; }
a { color: var(--accent); }
img { max-width: 100%; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
header.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; flex-wrap: wrap; }
/* Brand lockup: logo + name, with the tagline underneath. Large enough to register at a glance. */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand img { flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-heading); font-weight: 700; font-size: 30px; letter-spacing: -0.5px; }
.brand-name em { font-style: normal; color: var(--accent); }
.brand-tagline { font-family: var(--font-body); font-weight: 500; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-top: 3px; }
.site-footer .brand-name { font-size: 24px; }
.site-footer .brand-tagline { font-size: 12px; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
section { padding: 24px 0; }
section.card { margin: 20px 0; }
.kicker { font-family: var(--font-heading); font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); font-size: 14px; }
.muted { color: var(--text-muted); }

.chip { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; background: var(--accent-tint); color: var(--accent); font-size: 14px; font-weight: 500; text-decoration: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.button { font: inherit; display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; text-decoration: none; border: 0; cursor: pointer; }

/* Answers and "look here" only. Never white text on amber. */
.answer { background: var(--highlight-tint); border-left: 6px solid var(--highlight); border-radius: 12px; padding: 14px 18px; color: var(--text); }
mark, .hl { background: var(--highlight-tint); color: var(--text); padding: 0 4px; border-radius: 4px; }

/* math helpers */
.fr { display: inline-flex; flex-direction: column; align-items: center; vertical-align: middle; font-size: 0.8em; line-height: 1.1; margin: 0 2px; }
.fr > span:first-child { border-bottom: 2px solid currentColor; padding: 0 3px; }
.fr > span:last-child { padding: 0 3px; }
.eq { display: grid; gap: 10px; margin-top: 14px; }
.eq > div { background: var(--background); border: 1px solid var(--border); border-radius: 12px; padding: 10px 16px; font-weight: 600; font-size: 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.eq > div small { font-weight: 400; font-size: 15px; color: var(--text-muted); }
.eq > div.final { background: var(--highlight-tint); border-color: var(--highlight); }

footer { padding: 32px 0; color: var(--text-muted); font-size: 15px; border-top: 1px solid var(--border); margin-top: 32px; }

@media (max-width: 720px) {
  .card { padding: 20px; }
  .split { grid-template-columns: 1fr !important; }
}

/* Brand footer: logo, tagline and social handles (filled in from common/brand.json at publish). */
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.footer-brand { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.socials { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; }
.socials a { display: inline-flex; align-items: center; gap: 6px; color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; }
.socials a:hover { color: var(--accent); }
.socials svg { color: var(--accent); flex: none; }
