/* Lentora — design tokens, reset, typography */

@font-face {
  font-family: 'Playfair Display';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/playfair-display-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/inter-600.woff2') format('woff2');
}

:root {
  --ink-midnight: #0F2A2E;
  --teal-deep: #336666;
  --teal-deep-soft: #3F7676;
  --lake: #3399CC;
  --lake-soft: #5DB0DA;
  --storm: #666666;
  --chalk: #F2F4F3;
  --paper: #FAFBFB;
  --ink: #1A1F22;
  --ink-mute: #4A5358;
  --line: #D8DEDE;
  --line-soft: #E6EAEA;

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container: 1240px;
  --container-narrow: 920px;
  --radius-s: 4px;
  --radius-m: 8px;
  --radius-l: 14px;

  --shadow-s: 0 1px 2px rgba(15, 42, 46, 0.05);
  --shadow-m: 0 8px 32px -12px rgba(15, 42, 46, 0.18);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.12;
  color: var(--ink-midnight);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: clamp(20px, 2.1vw, 26px); }
h4 { font-size: 18px; }

p { margin: 0 0 16px; max-width: 70ch; }
a {
  color: var(--teal-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .2s ease;
}
a:hover { color: var(--lake); }
a:focus-visible { outline: 2px solid var(--lake); outline-offset: 3px; border-radius: 2px; }

ul, ol { padding-left: 22px; margin: 0 0 16px; }
li { margin-bottom: 8px; }

table { border-collapse: collapse; width: 100%; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
th { font-weight: 600; color: var(--ink-midnight); background: var(--chalk); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--ink-midnight); color: var(--chalk);
  padding: 10px 16px; z-index: 100; border-radius: 4px;
  text-decoration: none;
}
.skip-link:focus { top: 16px; color: var(--chalk); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 500; font-size: 16px;
  padding: 14px 28px; min-height: 48px;
  border: 1px solid transparent; border-radius: var(--radius-s);
  text-decoration: none; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
  letter-spacing: 0.01em;
}
.btn-primary { background: var(--teal-deep); color: var(--chalk); }
.btn-primary:hover { background: var(--ink-midnight); color: var(--chalk); }
.btn-ghost { background: transparent; color: var(--ink-midnight); border-color: var(--ink-midnight); }
.btn-ghost:hover { background: var(--ink-midnight); color: var(--chalk); }
.btn-link { background: transparent; color: var(--teal-deep); padding: 14px 0; text-decoration: underline; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--storm);
  font-weight: 500;
  margin: 0 0 12px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
