/* ==========================================================================
   CONCEPT C — editorial warm-neutral direction (v2)
   Inspired by Maven Clinic, Robinson MD, Parsley Health (fonts/colors/layout
   only). Revised after feedback: dropped the terracotta accent (read as
   generic "AI site" color), reduced to a single accent — your green, which
   already sits naturally next to the deep teal ink since they're the same
   family. Fewer background transitions than v1 (more whitespace, calmer).
   Icon treatment borrowed from Concept B: organic gradient blobs with a
   grain overlay, here in one hue only instead of three.

   Lora (headline serif, italic logo) stands in for Teodor/Libre Caslon
   Text. Sora (body sans) stands in for Euclid Circular B/Helvetica Now.
   ========================================================================== */

:root {
  --paper: #faf6ec;
  --card: #fffcf6;
  --ink: #24403e;
  --ink-soft: rgba(36, 64, 62, 0.82);
  --green: #1f6b48;
  --green-deep: #154d34;
  --green-tint: #eaf1ec;
  --violet: #9d8dea;
  --violet-deep: #2b0050;
  --violet-tint: #f1eefb;
  --line: rgba(36, 64, 62, 0.13);

  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* type scale — 17px root */
  --text-xs:   0.82rem;   /* 14px · uppercase letterspaced labels ONLY */
  --text-sm:   0.88rem;   /* 15px · meta, captions, fine print */
  --text-base: 0.94rem;   /* 16px · body copy default */
  --text-lg:   1.18rem;   /* 20px · lead paragraphs, schedule times */
  --text-xl:   1.35rem;   /* 23px · card titles, h3 */
  --text-2xl:  clamp(1.6rem, 2vw + 1rem, 2rem);
  --text-3xl:  clamp(1.9rem, 3vw + 0.6rem, 2.6rem);      /* h2 */
  --text-4xl:  clamp(2.3rem, 4vw + 0.5rem, 3.4rem);      /* h1 */

  --container: 1160px;
  --gutter: 1.25rem;
  --radius: 18px;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4.5rem;
  --space-6: 7rem;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}
@media (min-width: 640px) { :root { --gutter: 2rem; } }
@media (min-width: 1024px) { :root { --gutter: 2.5rem; } }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; font-size: 106.25%; }
a, button { -webkit-tap-highlight-color: transparent; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; padding: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); line-height: 1.14; }
h3 { font-size: var(--text-xl); line-height: 1.28; }
em { font-style: italic; color: var(--green); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--green-deep);
}
.eyebrow::before { content: ""; width: 1.4rem; height: 1px; background: currentColor; }

.lead { font-size: var(--text-lg); line-height: 1.55; color: var(--ink-soft); }
.text-link { color: var(--violet-deep); font-weight: 400; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.text-link:hover { color: #1c0034; }
p { max-width: 62ch; }
.section-head p.lead { max-width: 52ch; }

/* ---------- Header ---------- */
.skip-link {
  position: absolute; left: 1rem; top: -100px;
  background: var(--ink); color: var(--paper);
  padding: 0.75rem 1.25rem; border-radius: 999px; z-index: 200;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  padding-block: 1.2rem;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(247, 241, 230, 0.9);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -20px rgba(36, 64, 62, 0.3);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 34px; width: auto; display: block; flex-shrink: 0; }

.nav-links { display: none; align-items: center; gap: 1.5rem; }
@media (min-width: 1080px) { .nav-links { display: flex; } }
.nav-links a { font-size: var(--text-sm); font-weight: 500; color: var(--ink-soft); position: relative; padding-block: 0.55rem; white-space: nowrap; transition: color 0.2s var(--ease); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--violet-deep); transform: scaleX(0); transform-origin: right; transition: transform 0.25s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: none; align-items: center; flex-shrink: 0; }
@media (min-width: 1080px) { .nav-cta { display: flex; } }

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 44px; height: 44px; margin-inline: -0.5rem;
}
@media (min-width: 1080px) { .nav-toggle { display: none; } }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); transition: transform 0.25s var(--ease), opacity 0.25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--paper);
  display: flex; flex-direction: column;
  padding: 6rem var(--gutter) var(--space-4);
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
}
@media (min-width: 1080px) { .mobile-menu { display: none; } }
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu > a { font-family: var(--font-display); font-weight: 400; font-size: var(--text-2xl); padding-block: 0.6rem; border-bottom: 1px solid var(--line); }
.mobile-menu .btn-row { margin-top: var(--space-4); flex-direction: column; align-items: stretch; }
.mobile-menu .btn { width: 100%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.9rem 1.7rem; border-radius: 20px;
  font-family: var(--font-body); font-weight: 500; font-size: var(--text-base); white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--violet-deep); color: var(--paper); border: 1.5px solid var(--violet-deep); box-shadow: 0 1px 2px rgba(43, 0, 80, 0.15); }
.btn-primary:hover { background: #3a1268; border-color: #3a1268; }
.btn-primary:active { background: #1c0034; border-color: #1c0034; box-shadow: none; }
.btn-outline { background: transparent; color: var(--violet-deep); border: 1.5px solid var(--violet-deep); }
.btn-outline:hover { background: rgba(43, 0, 80, 0.08); }
.btn-outline:active { background: rgba(43, 0, 80, 0.14); }
.btn-ghost {
  padding: 0; border-radius: 0;
  font-family: var(--font-body); font-weight: 500; font-size: var(--text-base); color: var(--violet-deep);
  border-bottom: 1.5px solid rgba(43, 0, 80, 0.2);
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: border-color 0.2s var(--ease);
}
.btn-ghost:hover { border-color: var(--violet-deep); }
.btn-ghost svg { transition: transform 0.2s var(--ease); }
.btn-ghost:hover svg { transform: translateY(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.hero-links { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: var(--space-3); }

.nav-phone {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.7rem 1.3rem; border-radius: 20px;
  border: 1.5px solid var(--violet-deep);
  font-weight: 600; font-size: var(--text-base); color: var(--violet-deep);
  white-space: nowrap; flex-shrink: 0;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav-phone svg { color: var(--violet-deep); flex-shrink: 0; }
.nav-phone:hover { background: rgba(43, 0, 80, 0.08); }
.nav-phone:active { background: rgba(43, 0, 80, 0.14); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 2.5rem var(--space-5);
  background: var(--paper);
}
@media (min-width: 900px) {
  .hero { padding-block: var(--space-5) var(--space-6); }
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  mix-blend-mode: overlay;
  opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.75 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  pointer-events: none;
}
.hero-flex { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.hero-inner { position: relative; z-index: 1; }
.hero-photo { display: block; order: -1; width: 100%; height: auto; border-radius: var(--radius); }
@media (min-width: 640px) and (max-width: 899px) {
  .hero-flex { align-items: flex-start; }
  .hero-photo { width: 460px; max-width: 100%; }
}
@media (min-width: 900px) {
  .hero-flex { flex-direction: row; align-items: center; justify-content: space-between; gap: var(--space-5); }
  .hero-inner { flex: 1 1 auto; min-width: 0; }
  .hero-photo { order: 0; width: clamp(360px, 38vw, 520px); height: auto; flex-shrink: 0; }
}
.hero .eyebrow { margin-bottom: var(--space-3); }
.hero h1 { margin-bottom: var(--space-3); }
.hero .lead { margin-bottom: var(--space-4); max-width: 42ch; }

/* ---------- Section ---------- */
.section { padding-block: var(--space-6); }
.section--tint { background: transparent; }

#meeskond {
  background-color: var(--paper);
}

main > section {
  border-top: 1px solid var(--line);
}
main > section:first-child { border-top: none; }
main > section:last-child { border-bottom: 1px solid var(--line); }
.section-head { max-width: 42rem; margin-bottom: var(--space-5); }
.section-head h2 { margin-top: 0.75rem; }
.section-head .lead { margin-top: 0.9rem; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: var(--space-3); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; gap: 0; }
@media (min-width: 700px) {
  .grid--2 { grid-template-columns: 1fr 1fr; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
}

/* ---------- Generic + team cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-3); }
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--ink-soft); font-size: var(--text-base); }
#meeskond .grid--4 { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.team-card {
  display: grid; grid-template-columns: 96px 1fr; align-items: center; column-gap: 1rem;
  padding: var(--space-3); border-bottom: 1px solid var(--line);
  background: transparent; border-left: none; border-right: none; border-top: none; border-radius: 0;
}
.team-card:last-child { border-bottom: none; }
.team-card__photo {
  display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: calc(var(--radius) - 8px); background: var(--line);
}
.team-card__info { display: flex; flex-direction: column; }
.team-card h3 { padding: 0; margin-bottom: 0; font-weight: 400; font-size: var(--text-lg); }
.team-card__role { display: block; margin-top: 0.15rem; font-size: var(--text-xs); font-weight: 500; letter-spacing: 0.12em; color: var(--green-deep); }
@media (min-width: 1024px) {
  #meeskond .grid--4 { background: transparent; border: none; border-radius: 0; overflow: visible; }
  .team-card {
    display: block; padding: 0; border-bottom: none;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  }
  .team-card__photo { aspect-ratio: 3 / 4; border-radius: 0; }
  .team-card__info { display: block; }
  .team-card h3 { padding: 0.85rem 1rem 0; font-size: var(--text-xl); }
  .team-card__role { margin-top: 0.15rem; padding: 0 1rem 1rem; }
}

/* ---------- Service cards — Concept B's organic blob icon, single hue ---------- */
.service-card {
  padding: var(--space-3); border-radius: var(--radius); background: var(--card);
  border: 1px solid var(--line);
}
.service-card h3 { margin-bottom: 0.4rem; font-weight: 400; font-size: var(--text-xl); }
.service-card p { color: var(--ink-soft); font-size: var(--text-base); }
.service-card .icon {
  width: 3.4rem; height: 3.1rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-3); position: relative;
  color: #fff;
  background: linear-gradient(145deg, #3f8562, #16412b);
  border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
  box-shadow: 0 10px 18px -10px rgba(21, 77, 52, 0.4);
}
.service-card .icon::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  mix-blend-mode: overlay; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 90px 90px; pointer-events: none;
}
.service-card .icon svg { position: relative; z-index: 1; }

/* ---------- Schedule (structure carried over from the original site) ---------- */
.schedule-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.schedule-card__head { padding: var(--space-3); border-bottom: 1px solid var(--line); }
.schedule-card__head h3 { font-size: var(--text-xl); }
.schedule-card__head address { font-style: normal; color: var(--ink-soft); font-size: var(--text-base); margin-top: 0.35rem; }
.schedule-card__body { padding: var(--space-3); display: flex; flex-direction: column; gap: var(--space-3); }
.schedule-row { display: flex; flex-direction: column; gap: 0.6rem; padding-bottom: var(--space-2); border-bottom: 1px solid var(--line); }
.schedule-row:last-child { border-bottom: none; padding-bottom: 0; }
.schedule-row__top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; }
.schedule-row__label { font-weight: 600; color: var(--ink); font-size: var(--text-base); }
.schedule-row__who { font-weight: 400; color: var(--ink-soft); font-size: var(--text-sm); }
.schedule-row__slot { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; }
.day-pills { display: flex; flex-wrap: nowrap; flex-shrink: 0; gap: 0.3rem; }
.day-pills span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.7rem; padding: 0.3rem 0.35rem;
  background: rgba(36, 64, 62, 0.08); border-radius: 8px;
  font-size: var(--text-xs); font-weight: 600; color: var(--ink);
}
.schedule-row__time { font-family: var(--font-display); font-weight: 400; font-size: var(--text-lg); color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.schedule-row__note { font-family: var(--font-body); font-size: var(--text-sm); color: var(--ink-soft); text-align: right; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: var(--space-4); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.1fr 0.9fr; gap: var(--space-5); } }
.contact-list { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-4); }
.contact-item { display: block; }
.contact-item__label { display: block; font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.08em; color: var(--ink-soft); margin-bottom: 0.3rem; }
.contact-item__value { display: block; font-family: var(--font-display); font-weight: 400; font-size: var(--text-base); color: var(--ink); }

.last-resort { margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--line); }
.last-resort p { color: var(--ink-soft); font-size: var(--text-base); }

.emergency-card { background: var(--ink); border: 1px solid var(--ink); border-radius: var(--radius); padding: 1.75rem; display: flex; flex-direction: column; gap: var(--space-3); }
.emergency-card .btn-outline { background: transparent; color: var(--paper); border-color: var(--paper); }
.emergency-card .btn-outline:hover { background: rgba(247, 241, 230, 0.1); }
.emergency-card .btn-outline:active { background: rgba(247, 241, 230, 0.18); }
.emergency-card__footer { padding-top: var(--space-3); border-top: 1px solid rgba(247, 241, 230, 0.16); display: flex; justify-content: center; }
.emergency-card__logo { height: 34px; width: auto; opacity: 1; }
.emergency-card strong { color: var(--paper); font-family: var(--font-display); font-size: var(--text-xl); font-weight: 400; }
.emergency-card p { color: rgba(247, 241, 230, 0.72); font-size: var(--text-base); }

/* ---------- Footer ---------- */
.site-footer { padding-block: var(--space-5); background: var(--ink); color: rgba(247, 241, 230, 0.68); }
.footer-grid { display: grid; gap: var(--space-4); grid-template-columns: 1fr; padding-bottom: var(--space-4); border-bottom: 1px solid rgba(247, 241, 230, 0.14); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand-logo { height: 34px; width: auto; display: block; margin-bottom: var(--space-2); }
.footer-col h4 { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--paper); margin-bottom: var(--space-2); }
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { display: inline-block; padding-block: 0.4rem; }
.footer-col a:hover { color: var(--paper); }
.footer-bottom { padding-top: var(--space-3); display: flex; flex-direction: column; gap: var(--space-2); font-size: var(--text-sm); }
@media (min-width: 700px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }

/* ---------- Interior page hero (kodukord) ---------- */
.page-hero { padding-block: var(--space-4); border-bottom: 1px solid var(--line); }
@media (min-width: 1024px) { .page-hero { padding-block: var(--space-5); } }
.page-hero h1 { font-size: var(--text-3xl); margin-bottom: var(--space-2); }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: var(--text-sm); font-weight: 500; color: var(--ink-soft); margin-bottom: var(--space-3); }
.breadcrumb a:hover { color: var(--violet-deep); }

/* ---------- Kodukord layout ---------- */
.kodukord-layout { display: grid; grid-template-columns: 1fr; gap: var(--space-5); align-items: start; }
@media (min-width: 960px) { .kodukord-layout { grid-template-columns: 240px 1fr; gap: var(--space-6); padding-top: var(--space-5); } }

.toc-pills {
  position: sticky; top: 84px; z-index: 40;
  background: rgba(247, 241, 230, 0.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); margin-bottom: var(--space-4);
}
.toc-pills-scroll { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.85rem var(--gutter); margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
.toc-pills-scroll::-webkit-scrollbar { display: none; }
.toc-pills a {
  flex-shrink: 0; font-size: var(--text-sm); font-weight: 500; padding: 0.55rem 0.9rem;
  border-radius: 999px; border: 1px solid var(--line); color: var(--ink-soft);
  white-space: nowrap; transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.toc-pills a:hover { background: rgba(43, 0, 80, 0.07); border-color: var(--violet-deep); color: var(--violet-deep); }
.toc-pills a.is-active { background: var(--violet-deep); border-color: var(--violet-deep); color: var(--paper); }

.toc-sidebar { display: none; }
@media (min-width: 960px) { .toc-sidebar { display: block; position: sticky; top: 105px; } .toc-pills { display: none; } }
.toc-sidebar h4 { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: var(--space-2); }
.toc-sidebar ul { display: flex; flex-direction: column; gap: 0.15rem; border-left: 1px solid var(--line); }
.toc-sidebar a {
  display: block; padding: 0.5rem 0 0.5rem 1rem; margin-left: -1px; border-left: 2px solid transparent;
  font-size: var(--text-base); font-weight: 500; color: var(--ink-soft); transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.toc-sidebar a:hover { color: var(--violet-deep); border-left-color: rgba(43, 0, 80, 0.3); }
.toc-sidebar a.is-active { color: var(--violet-deep); border-left-color: var(--violet-deep); }

.kodukord-content { display: flex; flex-direction: column; gap: var(--space-5); min-width: 0; }
.kd-section { scroll-margin-top: 175px; }
@media (min-width: 960px) { .kd-section { scroll-margin-top: 115px; } }
.kd-section h2 { font-size: var(--text-2xl); margin-bottom: 0.5rem; }
.kd-section > .eyebrow { margin-bottom: 0.6rem; }
.kd-section > p.lead { margin-bottom: var(--space-3); }
.kd-subhead {
  font-family: var(--font-body); font-weight: 700; font-size: var(--text-xs);
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-deep);
  margin: var(--space-3) 0 var(--space-2);
}
.kd-subhead:first-child { margin-top: 0; }

.rule-list { display: flex; flex-direction: column; }
.rule-item { display: flex; gap: var(--space-2); padding-block: 0.85rem; border-bottom: 1px solid var(--line); }
.rule-item:first-child { padding-top: 0; }
.rule-item__num { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: var(--text-lg); color: var(--green); flex-shrink: 0; min-width: 1.75rem; }
.rule-item p, .rule-item span { color: var(--ink-soft); font-size: var(--text-base); max-width: 60ch; }
.rule-item a { color: var(--violet-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.rule-item a:hover { color: #1c0034; }

.price-list { display: flex; flex-direction: column; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); padding-block: 0.75rem; border-bottom: 1px solid var(--line); }
.price-row:first-child { padding-top: 0; }
.price-row__label { color: var(--ink-soft); font-size: var(--text-base); }
.price-row__label small { display: block; color: var(--ink-soft); font-size: var(--text-sm); margin-top: 0.15rem; }
.price-row__value { font-family: var(--font-display); font-weight: 500; font-size: var(--text-lg); color: var(--green); white-space: nowrap; flex-shrink: 0; }

.info-card { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-3); height: 100%; background: var(--card); }
.info-card h4 { font-family: var(--font-display); font-size: var(--text-base); margin-bottom: 0.6rem; font-weight: 500; }
.info-card ul { display: flex; flex-direction: column; gap: 0.35rem; }
.info-card li { font-size: var(--text-base); color: var(--ink-soft); }

.callout { background: var(--green-tint); border: 1px solid rgba(31, 107, 72, 0.2); border-radius: var(--radius); padding: var(--space-3); }
.callout p { color: var(--ink-soft); font-size: var(--text-base); }
.callout p + p { margin-top: 0.5rem; }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

:focus-visible { outline: 2px solid var(--violet-deep); outline-offset: 3px; }
