/* pernille-pages.css — Shared brand foundation for meeting-agent HTML pages */

/* Brand typography */
@font-face {
  font-family: 'ItemsTextCondensed';
  src: url('/fonts/ItemsTextCondensed-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NeueHaasUnica';
  src: url('/fonts/NeueHaasUnica-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NeueHaasUnica';
  src: url('/fonts/NeueHaasUnica-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

.font-headline {
  font-family: 'ItemsTextCondensed', sans-serif;
  font-weight: 400;
}

:root {
  /* New brand tokens (March 2026) */
  --brand-900: #1C0E40;
  --brand-600: #8264EE;
  --brand-50: #E7E3F6;
  --surface-primary: #FAFAFA;
  --surface-secondary: #F1F1F1;
  --gray-900: #181D27;
  --gray-700: #414651;
  --gray-600: #535862;
  --gray-500: #717680;
  --gray-300: #D5D7DA;
  --divider: #C2C2C2;

  --ink: #181D27;
  --muted: #535862;
  --muted-2: #717680;

  --surface: #ffffff;
  --surface-2: #f8fafc;
  --border: #C2C2C2;

  --radius-lg: 8px;
  --radius-md: 8px;
  --radius-sm: 8px;

  --shadow-xs: 0 0 0 1px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-sm: 0 0 0 1px rgba(0,0,0,0.06), 0 8px 18px -12px rgba(0,0,0,0.18);

  --container: 68ch;

  /* Legacy aliases (other pages still reference these) */
  --ayfie-teal: var(--brand-900);
  --ayfie-light: var(--brand-600);
  --ayfie-cream: var(--surface-primary);
  --ayfie-teal-strong: var(--brand-900);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'NeueHaasUnica', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  line-height: 1.65;
}

/* Container */
.container {
  max-inline-size: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 5vw, 32px);
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Links */
a { color: var(--brand-900); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand-600); }

/* Print */
@media print {
  .no-print { display: none !important; }
  body { color: #000; }
  a { color: #000; text-decoration: underline; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.85em; color: #555; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
