/* brand.css — A!thera Partners design system.
 *
 * The single source of truth for the brand: web fonts, colour tokens, type
 * scale, and the primitive components (buttons, cards, tables, container).
 * Nothing downstream may hardcode a colour or a font — everything references
 * the variables and utility classes defined here.
 *
 * Voice reminder for copy (enforced in markup, not CSS): senior strategist
 * briefing a COO — clear, structured, understated. No emojis. Forbidden words:
 * disruptive, revolutionary, game-changing, synergy, leverage (verb), unlock,
 * harness the power of, next-generation, cutting-edge, seamless, robust.
 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400&family=DM+Sans:wght@300;400;500&family=DM+Mono:wght@400&display=swap');

:root {
  /* Palette ------------------------------------------------------------- */
  --athera-navy: #0F172A;
  --athera-blue: #5FB8D6;
  --athera-blue-deep: #2A8FB0;
  --athera-charcoal: #374151;
  --athera-grey: #6B7280;
  --athera-off-white: #F8F7F4;
  --athera-surface: #F1EEE8;
  --athera-amber: #C8955A;
  --athera-mist: #D4DFE8;
  --athera-critical: #B0563F;
  --athera-line: rgba(55, 65, 81, .12);
  --athera-white: #FFFFFF;

  /* Type --------------------------------------------------------------- */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'DM Mono', 'SFMono-Regular', Menlo, monospace;

  /* Motion ------------------------------------------------------------- */
  --ease: 0.2s ease;

  /* Spacing rhythm ----------------------------------------------------- */
  --gap: 24px;
  --radius: 6px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--athera-charcoal);
  background: var(--athera-off-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--athera-blue-deep); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--athera-navy); }

h1, h2, h3, h4 { margin: 0; font-weight: 400; }

/* Type scale ----------------------------------------------------------- */
.display-lg {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--athera-navy);
}
.display-md {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 38px;
  line-height: 1.12;
  color: var(--athera-navy);
}
.display-sm {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.18;
  color: var(--athera-navy);
}
.body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--athera-charcoal);
}
.body-sm {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--athera-charcoal);
}
.label {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--athera-grey);
}
.label-blue { color: var(--athera-blue-deep); }
.mono {
  font-family: var(--font-mono);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

/* Container ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Buttons -------------------------------------------------------------- */
.btn-primary,
.btn-secondary {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.01em;
  padding: 12px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease), opacity var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}
.btn-primary {
  background: var(--athera-blue-deep);
  color: var(--athera-white);
}
.btn-primary:hover { background: var(--athera-navy); }
.btn-secondary {
  background: transparent;
  color: var(--athera-charcoal);
  border-color: var(--athera-line);
}
.btn-secondary:hover { border-color: var(--athera-blue-deep); color: var(--athera-blue-deep); }
.btn-primary:disabled,
.btn-secondary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Cards ---------------------------------------------------------------- */
.card {
  background: var(--athera-white);
  border: 1px solid var(--athera-line);
  border-radius: var(--radius);
  padding: 28px;
}
.card-dark {
  background: var(--athera-navy);
  color: var(--athera-white);
  border-radius: var(--radius);
  padding: 28px;
}

/* Tables --------------------------------------------------------------- */
.table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
}
.table th {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--athera-grey);
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--athera-line);
  white-space: nowrap;
}
.table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--athera-line);
  color: var(--athera-charcoal);
  vertical-align: middle;
}
.table tr:last-child td { border-bottom: none; }
.table td.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* Focus ---------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--athera-blue-deep);
  outline-offset: 2px;
}

/* Reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
