/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;900&family=Playfair+Display:wght@700&display=swap');

/* Base Typography Setup */
:root {
    --font-sans: 'Inter', system-ui, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    --text-color: #1a1a1a;
    --max-content-width: 75ch;

    /* Fluid type scale using clamp(min, vw-based, max) */
    --step--2: clamp(0.6rem, 0.52rem + 0.16vw, 0.7rem);
    --step--1: clamp(0.7rem, 0.64rem + 0.2vw, 0.8rem);
    --step-0: clamp(0.8rem, 0.72rem + 0.24vw, 0.9rem);
    --step-1: clamp(1rem, 0.88rem + 0.4vw, 1.2rem);
    --step-2: clamp(1.25rem, 1.04rem + 0.56vw, 1.5rem);
    --step-3: clamp(1.56rem, 1.28rem + 0.8vw, 1.8rem);
    --step-4: clamp(1.95rem, 1.6rem + 1.04vw, 2.4rem);
    --step-5: clamp(2.44rem, 2rem + 1.28vw, 3rem);
}

body {
    font-family: var(--font-sans);
    font-size: var(--step-0);
    line-height: 1.7;
    color: var(--text-color);
    background: #fff;
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding: 0.2rem;
}

h1,
h2,

h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
}

h3{
    font-family: var(--font-serif);
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-color);
}

h1 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

h5 {
    margin-top: 1.25rem;
    margin-bottom: 0.25rem;
}

h6 {
    margin-top: 1rem;
    margin-bottom: 0rem;
}


h1 {
    font-size: var(--step-5);
}

h2 {
    font-size: var(--step-4);
}

h3 {
    font-size: var(--step-3);
}

h4 {
    font-size: var(--step-2);
}

h5 {
    font-size: var(--step-1);
}

p {
    font-size: var(--step-0);
    margin: 0 0 1.5rem;
    max-width: var(--max-content-width);
}

a {
    color: #0055ff;
    text-underline-offset: 0.15em;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: #0033aa;
}


h3.smaller{
    font-size: var(--step-1);
}

ul.smaller li{
 font-size: 0.8rem;
}

.text-right{
    text-align: right;
}

.italic-callout{
    font-size: 2rem;
  font-family: serif;
  font-style: italic;
}