/* ==========================================================================
   DentureFit — base.css : tokens, reset, typography
   ========================================================================== */
:root {
  /* Brand palette */
  --harbor: #0F4C5C;        /* primary deep teal */
  --harbor-700: #0A3743;
  --harbor-900: #072A33;
  --mint: #5FC6B0;          /* fresh secondary */
  --mint-100: #E3F5F0;
  --coral: #F2836B;         /* warm accent / CTA */
  --coral-600: #E0664C;
  --cream: #FBF7F1;         /* page background */
  --sand: #F1E8DC;          /* soft section background */
  --ink: #16262C;           /* body text */
  --slate: #4A5D63;         /* secondary text */
  --line: #E2DCD2;
  --white: #FFFFFF;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(15, 76, 92, .06), 0 2px 8px rgba(15, 76, 92, .06);
  --shadow: 0 10px 30px -12px rgba(15, 76, 92, .25);
  --shadow-lg: 0 30px 60px -25px rgba(7, 42, 51, .35);

  --container: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--harbor); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--coral-600); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--harbor-900);
  margin: 0 0 .6em;
  font-variation-settings: "opsz" 96;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.25; }
h4 { font-size: 1.1rem; }
h1 em, h2 em { font-style: italic; color: var(--harbor); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--harbor); color: #fff; padding: .7rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }

.icon { width: 1.1em; height: 1.1em; flex: none; display: inline-block; vertical-align: -.15em; }
[hidden] { display: none !important; }
