/* ============================================================
   learningwithanthony.com — "מחברת" (school notebook) design
   Ruled paper, red margin line, teacher's pen annotations,
   post-it testimonials, chalkboard finale.
   Fonts: Suez One (display) + Heebo (body) + Solitreo (handwriting)
   ============================================================ */

:root {
  --paper: #FBF6EA;
  --paper-soft: rgba(255, 253, 246, .72);
  --ink: #22303C;
  --ink-soft: #5A6873;
  --line: #E4DAC7;
  --rule-blue: rgba(96, 138, 180, .16);
  --margin-red: rgba(198, 74, 53, .32);

  --pen-red: #C0392B;
  --pen-green: #2E7D46;
  --postit-yellow: #FFEF9C;
  --postit-mint: #D8F0E1;
  --postit-pink: #FADFE7;
  --tape: rgba(231, 224, 198, .85);

  --accent: #D95D39;
  --accent-soft: #F8E4DA;
  --accent-ink: #A83E20;

  --wa: #25D366;
  --wa-dark: #179E4E;

  --font-display: "Suez One", serif;
  --font-body: "Heebo", sans-serif;
  --font-hand: "Solitreo", "Comic Sans MS", cursive;
}

body.page-english { --accent: #C2571B; --accent-soft: #F9E4CF; --accent-ink: #97400F; }
body.page-math    { --accent: #0F7B6C; --accent-soft: #D8EEE7; --accent-ink: #0A5A4F; }
body.page-physics { --accent: #4553B8; --accent-soft: #E0E4F8; --accent-ink: #333F96; }

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper);
  /* ruled notebook paper + red margin line */
  background-image:
    linear-gradient(var(--margin-red), var(--margin-red)),
    repeating-linear-gradient(to bottom, transparent 0, transparent 35px, var(--rule-blue) 35px, var(--rule-blue) 37px);
  background-size: 2px 100%, 100% 37px;
  background-position: right 74px top, 0 0;
  background-repeat: no-repeat, repeat;
  -webkit-font-smoothing: antialiased;
}
/* paper grain */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 2000; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .05; mix-blend-mode: multiply;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-ink); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.25; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
::selection { background: var(--accent-soft); }

.container { width: min(1060px, 100% - 2.5rem); margin-inline: auto; }

/* accessibility */
.skip-link {
  position: absolute; inset-inline-start: 1rem; top: -3.5rem;
  background: var(--ink); color: #fff; padding: .6rem 1.2rem;
  border-radius: 0 0 10px 10px; z-index: 2100; transition: top .2s;
  text-decoration: none;
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; border-radius: 4px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1.5px dashed rgba(34, 48, 60, .28);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: .65rem;
}
.logo {
  font-family: var(--font-display); font-size: 1.25rem; color: var(--ink);
  text-decoration: none; display: flex; align-items: center; gap: .55rem;
}
.logo .logo-mark {
  width: 34px; height: 34px;
  background: var(--accent); color: #fff;
  border: 1.5px solid var(--ink); border-radius: 8px;
  box-shadow: 2px 2px 0 var(--ink);
  display: grid; place-items: center;
  font-size: 1.05rem; transform: rotate(-6deg);
}
.site-nav { display: flex; align-items: center; gap: 1.1rem; }
.site-nav a.nav-link {
  color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: .95rem;
}
.site-nav a.nav-link:hover { color: var(--accent-ink); }
.site-nav a.nav-link[aria-current="page"] {
  color: var(--accent-ink);
  text-decoration: underline wavy var(--pen-red) 1.5px;
  text-underline-offset: 5px;
}
@media (max-width: 640px) { .site-nav a.nav-link { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--font-body); font-weight: 700; text-decoration: none;
  border-radius: 999px; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-wa {
  background: var(--wa); color: #fff;
  font-size: 1.1rem; padding: .95rem 1.9rem;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn-wa:hover { transform: translate(-2px, -2px) rotate(-.5deg); box-shadow: 6px 6px 0 var(--ink); }
.btn-wa:active { transform: translate(0, 0); box-shadow: 2px 2px 0 var(--ink); }
.btn-wa svg { width: 22px; height: 22px; flex: none; }
.btn-wa.btn-sm { font-size: .95rem; padding: .55rem 1.1rem; box-shadow: 3px 3px 0 var(--ink); }
.btn-ghost {
  background: var(--paper-soft); color: var(--ink); font-size: 1.05rem;
  padding: .95rem 1.6rem; border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(34, 48, 60, .25);
}
.btn-ghost:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 rgba(34, 48, 60, .3); }
.cta-note { font-size: .88rem; color: var(--ink-soft); margin-top: .8rem; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3.2rem, 8vw, 6rem) clamp(2.6rem, 6vw, 4.2rem); }
.hero .container { position: relative; z-index: 1; max-width: 820px; text-align: center; }
.hero-kicker {
  display: inline-block; font-family: var(--font-hand);
  color: var(--accent-ink); font-size: 1.55rem; line-height: 1.1;
  transform: rotate(-1.5deg); margin-bottom: .9rem;
}
.hero h1 { font-size: clamp(2.2rem, 6.5vw, 3.9rem); margin-bottom: .45em; }
/* red-pen scribble under the key word */
.hero h1 .hl {
  color: var(--accent-ink);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 14' preserveAspectRatio='none'%3E%3Cpath d='M3 8 C 28 2, 58 11, 97 5' fill='none' stroke='%23C0392B' stroke-width='3.2' stroke-linecap='round'/%3E%3Cpath d='M8 12 C 38 7, 66 13, 93 9' fill='none' stroke='%23C0392B' stroke-width='2.4' stroke-linecap='round' opacity='.75'/%3E%3C/svg%3E")
    no-repeat bottom / 100% .42em;
  padding-bottom: .24em;
}
.hero-sub { font-size: clamp(1.05rem, 2.6vw, 1.25rem); color: var(--ink-soft); max-width: 40rem; margin-inline: auto; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 1.8rem; }
/* handwritten margin note with arrow pointing at the CTA */
.hero-note {
  display: inline-flex; align-items: flex-end; gap: .15rem;
  margin-top: .9rem;
  font-family: var(--font-hand); font-size: 1.6rem; line-height: 1.1;
  color: var(--pen-red); transform: rotate(-2deg);
}
.hero-note .note-arrow { width: 44px; height: 44px; flex: none; transform: translateY(-14px); }
.hero-chips { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; margin-top: 1.5rem; }
.chip {
  font-size: .85rem; font-weight: 600; color: var(--ink);
  border: 1.5px solid var(--ink); background: var(--paper-soft);
  padding: .28rem .9rem; border-radius: 3px;
  box-shadow: 2px 2px 0 rgba(34, 48, 60, .35);
}
.chip:nth-child(odd) { transform: rotate(-1deg); }
.chip:nth-child(even) { transform: rotate(1deg); }
/* faint oversized pencil glyphs */
.hero-glyphs { position: absolute; inset: 0; pointer-events: none; user-select: none; }
.hero-glyphs span {
  position: absolute; font-family: var(--font-display);
  color: var(--ink); opacity: .07; line-height: 1;
}
.hero-glyphs .g1 { font-size: clamp(7rem, 18vw, 13rem); top: -1.5rem; inset-inline-start: -1rem; transform: rotate(-10deg); }
.hero-glyphs .g2 { font-size: clamp(6rem, 15vw, 11rem); bottom: -2.5rem; inset-inline-end: 2vw; transform: rotate(8deg); }
.hero-glyphs .g3 { font-size: clamp(4rem, 9vw, 7rem); top: 12%; inset-inline-end: 14vw; transform: rotate(-4deg); opacity: .05; }
/* staggered page-load rise */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero .container > * { animation: rise .65s cubic-bezier(.2, .7, .3, 1) both; }
.hero .container > :nth-child(1) { animation-delay: .05s; }
.hero .container > :nth-child(2) { animation-delay: .15s; }
.hero .container > :nth-child(3) { animation-delay: .25s; }
.hero .container > :nth-child(4) { animation-delay: .35s; }
.hero .container > :nth-child(5) { animation-delay: .45s; }
.hero .container > :nth-child(6) { animation-delay: .55s; }
.hero .container > :nth-child(7) { animation-delay: .65s; }

/* ---------- sections ---------- */
.section { padding-block: clamp(2.6rem, 6vw, 4.2rem); }
.section-alt { background: var(--paper-soft); border-block: 1.5px dashed rgba(34, 48, 60, .22); }
.section-head { max-width: 640px; margin: 0 auto 2.2rem; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); }
/* red-pen squiggle under section titles */
.section-head h2::after {
  content: ""; display: block; width: 128px; height: 10px;
  margin: .45rem auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 10' preserveAspectRatio='none'%3E%3Cpath d='M2 7 C 20 1, 42 9, 66 5 S 106 2, 138 6' fill='none' stroke='%23C0392B' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.section-head p { color: var(--ink-soft); }

/* subject cards (home) — folder dividers with index tabs */
.subject-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); padding-top: 14px; }
.subject-card {
  position: relative; display: block; text-decoration: none; color: var(--ink);
  background: #fff; border: 1.5px solid var(--ink); border-radius: 4px 4px 14px 14px;
  padding: 1.7rem 1.5rem 1.4rem;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .18s ease, box-shadow .18s ease;
}
.subject-card::before {
  content: ""; position: absolute; top: -13px; inset-inline-start: 22px;
  width: 64px; height: 14px;
  border: 1.5px solid var(--ink); border-bottom: none;
  border-radius: 7px 7px 0 0;
}
.subject-grid .subject-card:nth-child(1) { transform: rotate(-.7deg); }
.subject-grid .subject-card:nth-child(2) { transform: rotate(.5deg); }
.subject-grid .subject-card:nth-child(3) { transform: rotate(-.4deg); }
.subject-card:hover { transform: translate(-3px, -4px) rotate(0deg); box-shadow: 8px 8px 0 var(--ink); }
.subject-card .glyph {
  font-family: var(--font-display); font-size: 2.4rem; line-height: 1;
  width: 62px; height: 62px; border-radius: 4px;
  border: 1.5px solid var(--ink);
  display: grid; place-items: center; margin-bottom: 1rem;
  transform: rotate(-5deg);
}
.subject-card h3 { font-size: 1.45rem; margin-bottom: .3em; }
.subject-card p { color: var(--ink-soft); font-size: .97rem; margin-bottom: 1.1em; }
.subject-card .card-link { font-weight: 700; }
.subject-card.card-english::before, .subject-card.card-english .glyph { background: #F9E4CF; color: #97400F; }
.subject-card.card-math::before,    .subject-card.card-math .glyph    { background: #D8EEE7; color: #0A5A4F; }
.subject-card.card-physics::before, .subject-card.card-physics .glyph { background: #E0E4F8; color: #333F96; }
.subject-card.card-english .card-link { color: #97400F; }
.subject-card.card-math .card-link    { color: #0A5A4F; }
.subject-card.card-physics .card-link { color: #333F96; }

/* offerings — a checked list in the notebook, not a card grid */
.offer-grid {
  display: grid; gap: .4rem 3rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  max-width: 860px; margin-inline: auto;
}
.offer { padding: 1rem 0 .9rem; border-bottom: 1.5px dashed rgba(34, 48, 60, .25); }
.offer .offer-icon { display: none; }
.offer h3 {
  font-size: 1.18rem; font-family: var(--font-body); font-weight: 700;
  margin-bottom: .15em; display: flex; align-items: baseline; gap: .55rem;
}
/* green-pen checkmark */
.offer h3::before {
  content: ""; flex: none; width: 22px; height: 22px; align-self: center;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.5 13.5 C 6 16, 8.5 19, 9.5 20 C 12 14, 17 6.5, 21.5 3.5' fill='none' stroke='%232E7D46' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.offer p { color: var(--ink-soft); font-size: .95rem; margin: 0; padding-inline-start: calc(22px + .55rem); }

/* format + waitlist */
.format-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-bottom: 2.2rem; }
.format-card {
  background: #fff; border: 1.5px solid var(--ink); border-radius: 4px;
  padding: 1.6rem 1.5rem; box-shadow: 5px 5px 0 rgba(34, 48, 60, .8);
}
.format-grid .format-card:nth-child(1) { transform: rotate(-.5deg); }
.format-grid .format-card:nth-child(2) { transform: rotate(.5deg); }
.format-card .tag {
  display: inline-block; font-size: .82rem; font-weight: 700;
  background: var(--postit-yellow); color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: 3px;
  box-shadow: 2px 2px 0 var(--ink);
  padding: .15rem .7rem; margin-bottom: .9rem; transform: rotate(-2.5deg);
}
.format-card h3 { font-size: 1.35rem; }
.format-card p { color: var(--ink-soft); margin: 0; }
/* the waitlist note — a page taped into the notebook */
.waitlist {
  position: relative; background: #fff;
  border: 1.5px solid var(--ink); border-radius: 4px;
  box-shadow: 6px 6px 0 var(--ink);
  padding: 2.1rem 1.6rem 1.9rem; text-align: center;
  transform: rotate(-.4deg);
}
.waitlist::before, .waitlist::after {
  content: ""; position: absolute; top: -14px;
  width: 96px; height: 28px; background: var(--tape);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .14);
}
.waitlist::before { inset-inline-start: 8%; transform: rotate(-5deg); }
.waitlist::after { inset-inline-end: 8%; transform: rotate(4deg); }
.waitlist h3 { font-size: clamp(1.35rem, 3.5vw, 1.7rem); color: var(--pen-red); }
.waitlist p { max-width: 42rem; margin-inline: auto; color: var(--ink); }

/* about — polaroid photo */
.about-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 2.4rem; justify-content: center; }
.about-photo { flex: 0 0 auto; }
.about-photo .photo-frame {
  width: 218px; padding: 11px 11px 46px;
  background: #fff; border: 1px solid rgba(34, 48, 60, .25);
  box-shadow: 4px 6px 16px rgba(34, 48, 60, .22);
  transform: rotate(-2.5deg); position: relative;
}
.about-photo .photo-frame img, .about-photo .photo-frame svg {
  width: 100%; aspect-ratio: 1; object-fit: cover; display: block;
}
.about-photo .photo-frame::before {
  content: ""; position: absolute; top: -13px; inset-inline-start: 50%;
  width: 92px; height: 26px; margin-inline-start: -46px;
  background: var(--tape); transform: rotate(-3deg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .14);
}
.about-photo .photo-frame::after {
  content: "אנתוני"; position: absolute; bottom: 4px; inset-inline: 0;
  text-align: center; font-family: var(--font-hand);
  font-size: 1.5rem; color: var(--ink); transform: rotate(-1deg);
}
.about-text { flex: 1 1 320px; max-width: 34rem; }
.about-text h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); }
.about-text p { color: var(--ink-soft); }

/* testimonials — post-it notes */
.quote-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); padding-top: 10px; }
.quote {
  position: relative; margin: 0;
  background: var(--postit-yellow);
  border-radius: 2px;
  padding: 2rem 1.4rem 1.2rem;
  box-shadow: 3px 7px 14px rgba(34, 48, 60, .18);
  transform: rotate(-1.6deg);
}
.quote-grid .quote:nth-child(2) { background: var(--postit-mint); transform: rotate(1.3deg); }
.quote-grid .quote:nth-child(3) { background: var(--postit-pink); transform: rotate(-.7deg); }
.quote::before {
  content: ""; position: absolute; top: -12px; inset-inline-start: 50%;
  width: 88px; height: 24px; margin-inline-start: -44px;
  background: var(--tape); transform: rotate(-2deg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
}
.quote p { font-size: 1.02rem; margin: 0 0 .8rem; }
.quote footer { font-family: var(--font-hand); font-size: 1.35rem; color: var(--ink); }

/* how it works — red-pen circled numbers */
.steps { display: grid; gap: 1.6rem 2rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); max-width: 920px; margin-inline: auto; }
.step { padding: .4rem 0; }
.step .step-num {
  width: 62px; height: 62px; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.9rem; line-height: 1;
  color: var(--pen-red); border: 3px solid var(--pen-red);
  border-radius: 255px 25px 225px 25px / 25px 225px 25px 255px;
  margin-bottom: .8rem; transform: rotate(-4deg);
}
.steps .step:nth-child(2) .step-num { transform: rotate(3deg); border-radius: 25px 255px 25px 225px / 225px 25px 255px 25px; }
.steps .step:nth-child(3) .step-num { transform: rotate(-2deg); }
.step h3 { font-size: 1.2rem; font-family: var(--font-body); font-weight: 700; }
.step p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* final CTA — chalkboard */
.cta-band {
  position: relative; overflow: hidden;
  background: #2E463C;
  background-image:
    radial-gradient(ellipse at 25% 15%, rgba(255, 255, 255, .07), transparent 55%),
    radial-gradient(ellipse at 80% 90%, rgba(255, 255, 255, .05), transparent 50%);
  border-block: 6px solid #1E3129;
  color: #F6F3E8; text-align: center;
  padding-block: clamp(3rem, 7vw, 4.5rem);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23c)'/%3E%3C/svg%3E");
  opacity: .1; mix-blend-mode: screen;
}
.cta-band .container { position: relative; }
.cta-band h2 {
  font-size: clamp(1.8rem, 5vw, 2.6rem); color: #FDFBF2;
  text-shadow: 0 0 6px rgba(255, 255, 255, .25);
}
/* chalk squiggle */
.cta-band h2::after {
  content: ""; display: block; width: 150px; height: 10px; margin: .45rem auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 10' preserveAspectRatio='none'%3E%3Cpath d='M2 7 C 20 1, 42 9, 66 5 S 106 2, 138 6' fill='none' stroke='%23FDFBF2' stroke-width='3' stroke-linecap='round' opacity='.85'/%3E%3C/svg%3E") no-repeat center / contain;
}
.cta-band p { color: rgba(246, 243, 232, .8); max-width: 36rem; margin-inline: auto; }
.cta-band .btn-wa { margin-top: 1.2rem; border-color: #1E3129; box-shadow: 4px 4px 0 #1E3129; }
.cta-band .btn-wa:hover { box-shadow: 6px 6px 0 #1E3129; }

/* footer */
.site-footer { background: #1A2530; color: rgba(255, 255, 255, .65); font-size: .9rem; padding-block: 1.6rem; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; align-items: center; justify-content: space-between; }
.site-footer a { color: rgba(255, 255, 255, .85); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* ---------- floating WhatsApp bubble ---------- */
.wa-float {
  position: fixed; bottom: 1.2rem; left: 1.2rem; z-index: 150;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa);
  border: 2px solid var(--ink);
  color: #fff; display: grid; place-items: center;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.08) rotate(-4deg); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::after {
  content: ""; position: absolute; inset: -2px; border-radius: 50%;
  border: 2px solid var(--wa); animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .8; }
  70%, 100% { transform: scale(1.55); opacity: 0; }
}

/* ---------- reveal on scroll (visible by default; JS adds the
   hidden state only while its reveal loop is alive) ---------- */
.reveal { transition: opacity .6s ease, translate .6s ease; }
.reveal.reveal-hidden { opacity: 0; translate: 0 18px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.reveal-hidden { opacity: 1; translate: none; transition: none; }
  .wa-float::after { animation: none; }
  .hero .container > * { animation: none; }
  .btn, .subject-card, .wa-float { transition: none; }
}

/* ---------- legal page (accessibility statement) ---------- */
.legal { max-width: 720px; padding-block: 3rem; }
.legal h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); }
.legal h2 { font-size: 1.3rem; font-family: var(--font-body); font-weight: 700; margin-top: 2rem; }
.legal ul { color: var(--ink-soft); padding-inline-start: 1.3rem; }
.legal li { margin-bottom: .4rem; }
