/* MainProjekt × Magister pattern — design tokens */

:root {
  /* Brand */
  --background:           #293241;
  --foreground:           #f6f6f5;
  --card:                 #2f3849;
  --card-foreground:      #f6f6f5;

  /* Single accent — reserved use only */
  --accent:               #ee6b4d;

  /* Primary CTA — inverted */
  --primary:              #f6f6f5;
  --primary-foreground:   #293241;

  /* Warm-cream candle-lit borders/muted */
  --border:               rgba(246, 246, 245, 0.10);
  --border-soft:          rgba(246, 246, 245, 0.06);
  --border-hair:          rgba(246, 246, 245, 0.15);
  --muted:                rgba(246, 246, 245, 0.06);
  --muted-foreground:     rgba(246, 246, 245, 0.50);

  --secondary:            #3d5b81;

  /* Foreground opacity ladder */
  --fg-100:               #f6f6f5;
  --fg-90:                rgba(246, 246, 245, 0.90);
  --fg-70:                rgba(246, 246, 245, 0.70);
  --fg-50:                rgba(246, 246, 245, 0.50);
  --fg-40:                rgba(246, 246, 245, 0.40);
  --fg-30:                rgba(246, 246, 245, 0.30);

  --radius:               0.75rem;
  --radius-sm:            0.375rem;

  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono-ui: "Geist", "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
}

/* Resets used inside artboards / pages */
.mp-root,
.mp-root * {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mp-root {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: -0.005em;
}

.mp-root p,
.mp-root h1,
.mp-root h2,
.mp-root h3,
.mp-root h4,
.mp-root ul,
.mp-root ol,
.mp-root li,
.mp-root figure,
.mp-root blockquote {
  margin: 0;
  padding: 0;
}

.mp-root ul,
.mp-root ol {
  list-style: none;
}

/* Eyebrow / label — Geist, uppercase, letter-spaced */
.mp-eyebrow {
  font-family: var(--font-mono-ui);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-40);
}

.mp-eyebrow-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 10px;
  vertical-align: 2px;
}

/* The single Instrument Serif italic moment */
.mp-display-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--fg-100);
  letter-spacing: -0.015em;
  line-height: 1.02;
  text-wrap: balance;
}

.mp-headline {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--fg-100);
  text-wrap: balance;
}

.mp-subhead {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg-90);
}

.mp-body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--fg-70);
  line-height: 1.6;
}

.mp-supporting {
  color: var(--fg-50);
}

/* CTAs */
.mp-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  padding: 14px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: opacity .15s ease, transform .15s ease;
}
.mp-cta-primary:hover { opacity: 0.88; }

.mp-cta-secondary {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  color: var(--fg-90);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--accent);
  transition: color .15s ease;
}
.mp-cta-secondary:hover { color: var(--fg-100); }

/* Tiny brand mark for top-left */
.mp-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono-ui);
  font-size: 13px;
  letter-spacing: -0.005em;
  color: var(--fg-90);
}

.mp-brand-mark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* Hairlines */
.mp-hair {
  border: 0;
  border-top: 1px solid var(--border);
  width: 100%;
  margin: 0;
}

/* Used to mark the coral underline moment in the artboards */
.mp-coral-underline {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: 0 100%;
  padding-bottom: 4px;
}
