/* calm-authority preset (spec 3.3, design A "Calm authority"): editorial
   look - ink-blue brand on warm sand, one bronze accent, hairline rules
   instead of boxes and shadows, 2-4px corners. Fonts are Spectral (headings)
   and Source Sans 3 (body), latin + latin-ext, self-hosted from /fonts/
   under OFL-1.1 (license texts in /fonts/LICENSES/). */

@font-face {
  font-family: "Spectral";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/spectral/spectral-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Spectral";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/spectral/spectral-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Spectral";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/fonts/spectral/spectral-latin-600-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Spectral";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/fonts/spectral/spectral-latin-ext-600-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Spectral";
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/spectral/spectral-latin-400-italic.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Spectral";
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/spectral/spectral-latin-ext-400-italic.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/source-sans-3/source-sans-3-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/source-sans-3/source-sans-3-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/fonts/source-sans-3/source-sans-3-latin-600-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/fonts/source-sans-3/source-sans-3-latin-ext-600-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/fonts/source-sans-3/source-sans-3-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/fonts/source-sans-3/source-sans-3-latin-ext-700-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

html[data-preset="calm-authority"] {
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Spectral", Georgia, "Times New Roman", serif;
  --radius: 4px;
  --radius-sm: 2px;
  --container: 1200px;
  --container-wide: 1200px;
  --gutter: clamp(24px, 4vw, 40px);
  --section-pad: clamp(80px, 3rem + 5vw, 120px);
  --header-height: 73px;
  --on-dark: #ede8dc;
  --on-dark-muted: #b9b0a0;
  --on-dark-line: rgba(237, 232, 220, 0.18);
}

html[data-preset="calm-authority"] body {
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

html[data-preset="calm-authority"] h1,
html[data-preset="calm-authority"] h2,
html[data-preset="calm-authority"] h3,
html[data-preset="calm-authority"] h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--brand);
  margin: 0 0 0.6em;
}

html[data-preset="calm-authority"] [data-variant="dark"] h1,
html[data-preset="calm-authority"] [data-variant="dark"] h2,
html[data-preset="calm-authority"] [data-variant="dark"] h3,
html[data-preset="calm-authority"] [data-variant="dark"] h4 {
  color: var(--on-dark);
}

html[data-preset="calm-authority"] :focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

html[data-preset="calm-authority"] [data-variant="dark"] :focus-visible,
html[data-preset="calm-authority"] .site-footer :focus-visible {
  outline-color: var(--on-dark);
}

/* ---------- buttons ---------- */
html[data-preset="calm-authority"] .button {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.8rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--brand);
  color: var(--on-brand);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

html[data-preset="calm-authority"] .button:hover {
  background: var(--accent);
  color: #ffffff;
}

html[data-preset="calm-authority"] .button--secondary {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}

html[data-preset="calm-authority"] .button--secondary:hover {
  background: var(--brand);
  color: var(--on-brand);
}

html[data-preset="calm-authority"] [data-variant="dark"] .button {
  background: var(--on-dark);
  color: var(--brand-ink);
}

html[data-preset="calm-authority"] [data-variant="dark"] .button:hover {
  background: #ffffff;
  color: var(--brand-ink);
}

html[data-preset="calm-authority"] [data-variant="dark"] .button--secondary {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(237, 232, 220, 0.55);
}

html[data-preset="calm-authority"] [data-variant="dark"] .button--secondary:hover {
  background: var(--on-dark);
  color: var(--brand-ink);
}

/* ---------- header ---------- */
html[data-preset="calm-authority"] .site-header {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(6px);
}

html[data-preset="calm-authority"] .site-header .wrap {
  min-height: 72px;
  padding-top: 0;
  padding-bottom: 0;
}

html[data-preset="calm-authority"] .site-header__brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--brand);
  white-space: nowrap;
  flex-shrink: 0;
}

html[data-preset="calm-authority"] .site-header__nav {
  display: none;
  flex: 1 1 0;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 1.8vw, 28px);
}

html[data-preset="calm-authority"] .site-header__menu {
  gap: clamp(16px, 1.8vw, 28px);
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 0;
}

html.nav-js[data-preset="calm-authority"] .site-header__menu {
  flex-wrap: nowrap;
  overflow: hidden;
  padding: 4px 2px;
  margin: -4px -2px;
}

html[data-preset="calm-authority"] .site-header__menu li {
  flex: none;
}

html[data-preset="calm-authority"] .site-header__menu a {
  font-size: 0.95rem;
  white-space: nowrap;
}

html[data-preset="calm-authority"] .site-header__menu a:hover,
html[data-preset="calm-authority"] .site-header__more-button:hover {
  color: var(--accent);
}

html[data-preset="calm-authority"] .lang-switcher {
  gap: 4px;
  font-size: 0.85rem;
  color: var(--muted);
  flex-shrink: 0;
}

html[data-preset="calm-authority"] .lang-switcher a {
  padding: 2px 4px;
  border-radius: 2px;
  color: var(--muted);
}

html[data-preset="calm-authority"] .lang-switcher a[aria-current="true"] {
  color: var(--brand);
  background: none;
  font-weight: 600;
}

html[data-preset="calm-authority"] .site-header__cta {
  display: none;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

html[data-preset="calm-authority"] .site-header__toggle {
  display: inline-block;
}

html[data-preset="calm-authority"] .site-header__toggle summary {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}

html[data-preset="calm-authority"] .site-header__toggle[open] summary {
  border-color: var(--brand);
}

html[data-preset="calm-authority"] .site-header__toggle-panel {
  background: var(--surface);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 0.5rem 1.25rem 1.25rem;
}

html[data-preset="calm-authority"] .site-header__toggle-menu a {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}

html[data-preset="calm-authority"] .site-header__toggle-menu li:last-child a {
  border-bottom: none;
}

/* Shares .site-header__cta with the desktop button, hidden below 48rem. */
html[data-preset="calm-authority"] .site-header__cta--mobile {
  display: block;
  margin-top: 10px;
  text-align: center;
}

html[data-preset="calm-authority"] .site-header__menu a[aria-current="page"],
html[data-preset="calm-authority"] .site-header__more-menu a[aria-current="page"],
html[data-preset="calm-authority"] .site-header__toggle-menu a[aria-current="page"] {
  color: var(--brand);
  font-weight: 600;
}

html[data-preset="calm-authority"] .site-header__menu a[aria-current="page"] {
  box-shadow: 0 1px 0 var(--accent);
}

html[data-preset="calm-authority"] .site-header__more[hidden],
html[data-preset="calm-authority"] .site-header__more-menu[hidden],
html[data-preset="calm-authority"] .site-header__menu li[hidden],
html[data-preset="calm-authority"] .site-header__more-menu li[hidden] {
  display: none;
}

html[data-preset="calm-authority"] .site-header__more {
  position: relative;
  flex: none;
}

html[data-preset="calm-authority"] .site-header__more-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 2px;
  border: 0;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  white-space: nowrap;
}

html[data-preset="calm-authority"] .site-header__more-button[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

html[data-preset="calm-authority"] .site-header__more-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 20;
  min-width: 12rem;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

html[data-preset="calm-authority"] .site-header__more-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 2px;
  color: var(--text);
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
}

html[data-preset="calm-authority"] .site-header__more-menu a:hover {
  background: var(--bg);
  color: var(--accent);
}

html[data-preset="calm-authority"] .site-header__brand img {
  max-height: 40px;
  max-width: min(100%, 14rem);
  object-fit: contain;
  width: auto;
}

@media (min-width: 48rem) {
  html[data-preset="calm-authority"] .site-header .wrap {
    flex-wrap: nowrap;
  }
  html[data-preset="calm-authority"] .site-header__nav {
    display: flex;
  }
  html[data-preset="calm-authority"] .site-header__cta {
    display: inline-flex;
  }
  html[data-preset="calm-authority"] .site-header__toggle {
    display: none;
  }
  html[data-preset="calm-authority"] .site-header__brand img {
    max-height: 48px;
  }
}

/* ---------- section shell ---------- */
html[data-preset="calm-authority"] .section {
  position: relative;
  isolation: isolate;
}

/* Tinted and dark backgrounds bleed edge to edge behind the centred
   content column. */
html[data-preset="calm-authority"] .section[data-variant="surface"]::before,
html[data-preset="calm-authority"] .section[data-variant="dark"]::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  z-index: -1;
  background: var(--surface);
}

html[data-preset="calm-authority"] .section[data-variant="dark"]::before {
  background: var(--brand-ink);
}

html[data-preset="calm-authority"] [data-section-type="stats"][data-variant="dark"]::before {
  background: var(--brand);
}

html[data-preset="calm-authority"] [data-variant="dark"] {
  color: var(--on-dark);
}

html[data-preset="calm-authority"] [data-section-type="cards"] > h2,
html[data-preset="calm-authority"] [data-section-type="faq"] > h2,
html[data-preset="calm-authority"] [data-section-type="goalChooser"] > h2,
html[data-preset="calm-authority"] [data-section-type="lifePlan"] > h2,
html[data-preset="calm-authority"] [data-section-type="steps"] > h2,
html[data-preset="calm-authority"] [data-section-type="contactForm"] > h2,
html[data-preset="calm-authority"] [data-section-type="cta"] > h2,
html[data-preset="calm-authority"] .section-text-image__text > h2 {
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  max-width: 40rem;
}

/* ---------- hero ---------- */
html[data-preset="calm-authority"] [data-section-type="hero"] {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  text-align: left;
  padding-top: clamp(56px, 8vw, 80px);
}

@media (min-width: 900px) {
  html[data-preset="calm-authority"] [data-section-type="hero"] {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 64px;
  }
}

html[data-preset="calm-authority"] [data-section-type="hero"] h1 {
  font-size: clamp(2.25rem, 1.6rem + 3vw, 3.75rem);
  max-width: 16ch;
}

html[data-preset="calm-authority"] .section-hero__subline {
  margin: 0;
  font-size: 1.1875rem;
  color: var(--muted);
  max-width: 46ch;
}

html[data-preset="calm-authority"] [data-variant="dark"] .section-hero__subline,
html[data-preset="calm-authority"] [data-variant="dark"] .section-cards__text,
html[data-preset="calm-authority"] [data-variant="dark"] .section-goalChooser__text,
html[data-preset="calm-authority"] [data-variant="dark"] .section-steps__text,
html[data-preset="calm-authority"] [data-variant="dark"] .section-social__intro,
html[data-preset="calm-authority"] [data-variant="dark"] .section-contact-form__intro,
html[data-preset="calm-authority"] [data-variant="dark"] .section-faq__answer,
html[data-preset="calm-authority"] [data-variant="dark"] .section-lifePlan__intro,
html[data-preset="calm-authority"] [data-variant="dark"] .section-lifePlan__notes,
html[data-preset="calm-authority"] [data-variant="dark"] .section-lifePlan__meta dd,
html[data-preset="calm-authority"] [data-variant="dark"] .section-lifePlan__legend-item {
  color: var(--on-dark-muted);
}

html[data-preset="calm-authority"] .section-hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 32px 0 0;
}

html[data-preset="calm-authority"] .section-hero__visual {
  position: relative;
  margin: 0;
}

html[data-preset="calm-authority"] .section-hero__image {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-top: 0;
}

html[data-preset="calm-authority"] .section-hero__badge {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text);
}

html[data-preset="calm-authority"] .section-hero__visual:has(.section-hero__image) .section-hero__badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  margin: 0;
}

html[data-preset="calm-authority"] .section-hero__badge-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--brand);
}

html[data-preset="calm-authority"] .section-hero__badge-label {
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ---------- textImage ---------- */
html[data-preset="calm-authority"] [data-section-type="textImage"] {
  gap: clamp(32px, 5vw, 64px);
}

html[data-preset="calm-authority"] .section-text-image__body {
  color: var(--muted);
  font-size: 1.0625rem;
  max-width: 60ch;
}

html[data-preset="calm-authority"] .section-text-image__body a,
html[data-preset="calm-authority"] .section-faq__answer a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

html[data-preset="calm-authority"] .section-text-image__body a:hover,
html[data-preset="calm-authority"] .section-faq__answer a:hover {
  color: var(--accent);
}

html[data-preset="calm-authority"] .section-text-image__body ul {
  list-style: none;
  padding: 0;
  margin: 1em 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

html[data-preset="calm-authority"] .section-text-image__body li {
  position: relative;
  padding-left: 22px;
}

html[data-preset="calm-authority"] .section-text-image__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 12px;
  height: 2px;
  background: var(--accent);
}

html[data-preset="calm-authority"] .section-text-image__image {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* ---------- cards ---------- */
html[data-preset="calm-authority"] .section-cards__grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  margin-top: clamp(32px, 5vw, 48px);
}

html[data-preset="calm-authority"] .section-cards__item {
  padding: 32px 0 0;
  border: none;
  border-top: 1px solid var(--line);
  border-radius: 0;
  transition: border-color 0.2s ease;
}

html[data-preset="calm-authority"] a.section-cards__item:hover {
  border-top-color: var(--accent);
}

html[data-preset="calm-authority"] [data-variant="dark"] .section-cards__item {
  border-top-color: var(--on-dark-line);
}

html[data-preset="calm-authority"] .section-cards__image {
  border-radius: var(--radius);
  margin-bottom: 20px;
}

html[data-preset="calm-authority"] .section-cards__title {
  font-size: 1.1875rem;
}

html[data-preset="calm-authority"] .section-cards__text {
  font-size: 0.95rem;
}

/* ---------- faq ---------- */
html[data-preset="calm-authority"] .section-faq__list {
  max-width: 720px;
  gap: 0;
  margin-top: clamp(32px, 5vw, 48px);
}

html[data-preset="calm-authority"] .section-faq__item {
  padding: 0;
  border: none;
  border-top: 1px solid var(--line);
  border-radius: 0;
}

html[data-preset="calm-authority"] .section-faq__item:last-child {
  border-bottom: 1px solid var(--line);
}

html[data-preset="calm-authority"] [data-variant="dark"] .section-faq__item {
  border-color: var(--on-dark-line);
}

html[data-preset="calm-authority"] .section-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.0625rem;
  color: var(--brand);
  list-style: none;
}

html[data-preset="calm-authority"] [data-variant="dark"] .section-faq__item summary {
  color: var(--on-dark);
}

html[data-preset="calm-authority"] .section-faq__item summary::-webkit-details-marker {
  display: none;
}

html[data-preset="calm-authority"] .section-faq__item summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1;
  color: var(--accent);
}

html[data-preset="calm-authority"] [data-variant="dark"] .section-faq__item summary::after {
  color: var(--on-dark-muted);
}

html[data-preset="calm-authority"] .section-faq__item[open] summary::after {
  content: "-";
}

html[data-preset="calm-authority"] .section-faq__answer {
  margin: 0;
  padding-bottom: 20px;
  max-width: 60ch;
  color: var(--muted);
}

/* ---------- contactForm ---------- */
html[data-preset="calm-authority"] [data-section-type="contactForm"] {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

@media (min-width: 900px) {
  html[data-preset="calm-authority"] [data-section-type="contactForm"] {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    column-gap: 64px;
    grid-template-areas: "title form" "intro form" ". form";
    grid-template-rows: auto auto 1fr;
    align-items: start;
  }
  html[data-preset="calm-authority"] [data-section-type="contactForm"] > h2 {
    grid-area: title;
  }
  html[data-preset="calm-authority"] [data-section-type="contactForm"] > .section-contact-form__intro {
    grid-area: intro;
  }
  html[data-preset="calm-authority"] [data-section-type="contactForm"] > .section-contact-form__form,
  html[data-preset="calm-authority"] [data-section-type="contactForm"] > .section-contact-form__success {
    grid-area: form;
  }
}

html[data-preset="calm-authority"] .section-contact-form__intro {
  margin: 0;
  color: var(--muted);
  font-size: 1.0625rem;
  max-width: 40ch;
}

html[data-preset="calm-authority"] .section-contact-form__form {
  max-width: none;
  gap: 20px;
}

html[data-preset="calm-authority"] .section-contact-form__form > p {
  margin: 0;
}

html[data-preset="calm-authority"] .section-contact-form__field label {
  font-size: 0.9rem;
  font-weight: 600;
}

html[data-preset="calm-authority"] .section-contact-form__field input,
html[data-preset="calm-authority"] .section-contact-form__field textarea {
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--surface);
  color: var(--text);
}

html[data-preset="calm-authority"] [data-variant="surface"] .section-contact-form__field input,
html[data-preset="calm-authority"] [data-variant="surface"] .section-contact-form__field textarea {
  background: var(--bg);
}

html[data-preset="calm-authority"] [data-variant="dark"] .section-contact-form__field input,
html[data-preset="calm-authority"] [data-variant="dark"] .section-contact-form__field textarea {
  background: rgba(237, 232, 220, 0.06);
  border-color: rgba(237, 232, 220, 0.35);
  color: var(--on-dark);
}

html[data-preset="calm-authority"] .section-contact-form__field input:focus,
html[data-preset="calm-authority"] .section-contact-form__field textarea:focus {
  border-color: var(--brand);
}

html[data-preset="calm-authority"] [data-variant="dark"] .section-contact-form__field input:focus,
html[data-preset="calm-authority"] [data-variant="dark"] .section-contact-form__field textarea:focus {
  border-color: var(--on-dark);
}

html[data-preset="calm-authority"] .section-contact-form__field textarea {
  min-height: 120px;
  resize: vertical;
}

html[data-preset="calm-authority"] .section-contact-form__consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--muted);
}

html[data-preset="calm-authority"] [data-variant="dark"] .section-contact-form__consent label {
  color: var(--on-dark-muted);
}

html[data-preset="calm-authority"] .section-contact-form__form a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

html[data-preset="calm-authority"] [data-variant="dark"] .section-contact-form__form a {
  color: inherit;
}

html[data-preset="calm-authority"] .section-contact-form__consent input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--brand);
  flex-shrink: 0;
}

html[data-preset="calm-authority"] .section-contact-form__success {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--brand);
}

html[data-preset="calm-authority"] [data-variant="dark"] .section-contact-form__success {
  color: var(--on-dark);
}

/* ---------- cta ---------- */
html[data-preset="calm-authority"] [data-section-type="cta"] {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px 32px;
  align-items: center;
  text-align: left;
}

html[data-preset="calm-authority"] [data-section-type="cta"][data-variant="light"],
html[data-preset="calm-authority"] [data-section-type="cta"][data-variant="dark"] {
  background: transparent;
}

html[data-preset="calm-authority"] [data-section-type="cta"] > h2,
html[data-preset="calm-authority"] [data-section-type="cta"] > p {
  margin: 0;
}

html[data-preset="calm-authority"] [data-section-type="cta"] > p {
  color: var(--muted);
  max-width: 52ch;
}

html[data-preset="calm-authority"] [data-section-type="cta"][data-variant="dark"] > p {
  color: var(--on-dark-muted);
}

html[data-preset="calm-authority"] [data-section-type="cta"] .button {
  justify-self: start;
  margin-top: 8px;
}

@media (min-width: 800px) {
  html[data-preset="calm-authority"] [data-section-type="cta"] {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  html[data-preset="calm-authority"] [data-section-type="cta"] > h2,
  html[data-preset="calm-authority"] [data-section-type="cta"] > p {
    grid-column: 1;
  }
  html[data-preset="calm-authority"] [data-section-type="cta"] .button {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 0;
  }
}

/* ---------- goalChooser ---------- */
html[data-preset="calm-authority"] .section-goalChooser__grid {
  /* minmax(0, 1fr): long Hungarian words must wrap inside the track. */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(32px, 5vw, 48px);
}

@media (max-width: 599px) {
  html[data-preset="calm-authority"] .section-goalChooser__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 600px) {
  html[data-preset="calm-authority"] .section-goalChooser__tile {
    min-height: 168px;
  }
}

@media (min-width: 1100px) {
  html[data-preset="calm-authority"] .section-goalChooser__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

html[data-preset="calm-authority"] .section-goalChooser__tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease;
}

html[data-preset="calm-authority"] .section-goalChooser__tile::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

html[data-preset="calm-authority"] [data-variant="dark"] .section-goalChooser__tile {
  background: rgba(237, 232, 220, 0.05);
  border-color: var(--on-dark-line);
}

html[data-preset="calm-authority"] [data-variant="dark"] .section-goalChooser__tile::before {
  background: var(--on-dark-muted);
}

html[data-preset="calm-authority"] .section-goalChooser__tile:hover {
  border-color: var(--accent);
}

html[data-preset="calm-authority"] .section-goalChooser__title {
  margin: 0;
  font-size: 1.25rem;
}

html[data-preset="calm-authority"] .section-goalChooser__text {
  flex: 1;
  font-size: 0.95rem;
}

/* ---------- lifePlan (signature element) ---------- */
html[data-preset="calm-authority"] .section-lifePlan__intro {
  max-width: 40rem;
  margin: 0;
  font-size: 1.0625rem;
}

html[data-preset="calm-authority"] .section-lifePlan__list {
  gap: 0;
  margin-top: clamp(32px, 5vw, 48px);
  border-top: 1px solid var(--line);
}

html[data-preset="calm-authority"] [data-variant="dark"] .section-lifePlan__list {
  border-top-color: var(--on-dark-line);
}

html[data-preset="calm-authority"] .section-lifePlan__row {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

html[data-preset="calm-authority"] [data-variant="dark"] .section-lifePlan__row {
  border-bottom-color: var(--on-dark-line);
}

@media (min-width: 820px) {
  html[data-preset="calm-authority"] .section-lifePlan__row {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 32px;
    align-items: center;
  }
}

html[data-preset="calm-authority"] .section-lifePlan__meta {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

html[data-preset="calm-authority"] .section-lifePlan__meta dt {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.1875rem;
}

html[data-preset="calm-authority"] .section-lifePlan__meta dd {
  font-size: 0.8125rem;
}

html[data-preset="calm-authority"] .section-lifePlan__bar {
  height: 28px;
  background: none;
  border: none;
  border-radius: 0;
  overflow: visible;
}

html[data-preset="calm-authority"] .section-lifePlan__bar::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: color-mix(in srgb, var(--text) 25%, transparent);
}

html[data-preset="calm-authority"] [data-variant="dark"] .section-lifePlan__bar::before {
  background: rgba(237, 232, 220, 0.25);
}

html[data-preset="calm-authority"] .section-lifePlan__seg {
  top: 50%;
  bottom: auto;
  height: 2px;
  transform: translateY(-50%);
}

html[data-preset="calm-authority"] .section-lifePlan__seg--a {
  background: var(--brand);
}

html[data-preset="calm-authority"] .section-lifePlan__seg--b {
  background: repeating-linear-gradient(90deg, var(--muted) 0 6px, transparent 6px 12px);
}

html[data-preset="calm-authority"] [data-variant="dark"] .section-lifePlan__seg--a {
  background: #c79a5e;
}

html[data-preset="calm-authority"] [data-variant="dark"] .section-lifePlan__seg--b {
  background: repeating-linear-gradient(90deg, #8e8470 0 6px, transparent 6px 12px);
}

html[data-preset="calm-authority"] .section-lifePlan__marker {
  width: 11px;
  height: 11px;
  background: var(--accent);
  border: 2px solid var(--bg);
}

html[data-preset="calm-authority"] [data-variant="surface"] .section-lifePlan__marker {
  border-color: var(--surface);
}

html[data-preset="calm-authority"] [data-variant="dark"] .section-lifePlan__marker {
  background: #c79a5e;
  border-color: var(--brand-ink);
}

html[data-preset="calm-authority"] .section-lifePlan__legend {
  margin-top: 6px;
}

html[data-preset="calm-authority"] .section-lifePlan__legend-item {
  font-size: 0.8125rem;
  color: var(--muted);
}

html[data-preset="calm-authority"] .section-lifePlan__swatch {
  width: 14px;
  height: 2px;
  border-radius: 0;
}

html[data-preset="calm-authority"] .section-lifePlan__swatch--b {
  background: repeating-linear-gradient(90deg, var(--muted) 0 3px, transparent 3px 6px);
}

html[data-preset="calm-authority"] .section-lifePlan__swatch--marker {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

html[data-preset="calm-authority"] [data-variant="dark"] .section-lifePlan__swatch--a {
  background: #c79a5e;
}

html[data-preset="calm-authority"] [data-variant="dark"] .section-lifePlan__swatch--b {
  background: repeating-linear-gradient(90deg, #8e8470 0 3px, transparent 3px 6px);
}

html[data-preset="calm-authority"] [data-variant="dark"] .section-lifePlan__swatch--marker {
  background: #c79a5e;
}

html[data-preset="calm-authority"] .section-lifePlan__notes {
  margin-top: 4px;
  font-size: 0.8125rem;
}

/* ---------- steps ---------- */
html[data-preset="calm-authority"] .section-steps__list {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  margin-top: clamp(32px, 5vw, 48px);
}

html[data-preset="calm-authority"] .section-steps__item {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

html[data-preset="calm-authority"] [data-variant="dark"] .section-steps__item {
  border-color: var(--on-dark-line);
}

@media (min-width: 900px) {
  html[data-preset="calm-authority"] .section-steps__list {
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    grid-template-columns: none;
  }
  html[data-preset="calm-authority"] .section-steps__item {
    padding: 0 28px;
    border-top: none;
    border-left: 1px solid var(--line);
  }
  html[data-preset="calm-authority"] .section-steps__item:first-child {
    padding-left: 0;
    border-left: none;
  }
  html[data-preset="calm-authority"] [data-variant="dark"] .section-steps__item {
    border-left-color: var(--on-dark-line);
  }
}

html[data-preset="calm-authority"] .section-steps__index {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--accent);
}

html[data-preset="calm-authority"] [data-variant="dark"] .section-steps__index {
  color: #c79a5e;
}

html[data-preset="calm-authority"] .section-steps__title {
  margin: 0 0 6px;
  font-size: 1.0625rem;
}

html[data-preset="calm-authority"] .section-steps__text {
  font-size: 0.9rem;
}

/* ---------- stats ---------- */
html[data-preset="calm-authority"] [data-section-type="stats"] .section-stats__grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 28px 32px;
  text-align: left;
}

@media (min-width: 640px) {
  html[data-preset="calm-authority"] [data-section-type="stats"] .section-stats__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

html[data-preset="calm-authority"] .section-stats__value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem);
  line-height: 1.15;
  color: var(--brand);
}

html[data-preset="calm-authority"] [data-variant="dark"] .section-stats__value {
  color: var(--on-dark);
}

html[data-preset="calm-authority"] .section-stats__label {
  font-size: 0.95rem;
}

html[data-preset="calm-authority"] [data-variant="dark"] .section-stats__label,
html[data-preset="calm-authority"] [data-variant="dark"] .section-stats__quote cite {
  color: #c9cbda;
}

html[data-preset="calm-authority"] .section-stats__quote {
  max-width: 640px;
  margin: 48px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  text-align: left;
}

html[data-preset="calm-authority"] [data-variant="dark"] .section-stats__quote {
  border-top-color: rgba(243, 238, 228, 0.25);
}

html[data-preset="calm-authority"] .section-stats__quote p {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3125rem;
  line-height: 1.5;
}

html[data-preset="calm-authority"] .section-stats__quote cite {
  margin-top: 12px;
  font-size: 0.875rem;
  font-style: normal;
}

/* ---------- footer ---------- */
html[data-preset="calm-authority"] .site-footer {
  background: var(--brand-ink);
  color: #c9c2b3;
  border-top: none;
  padding: 56px 0 40px;
  font-size: 0.9rem;
}

html[data-preset="calm-authority"] .site-footer .wrap {
  gap: 10px;
  padding-top: 0;
  padding-bottom: 0;
}

html[data-preset="calm-authority"] .site-footer p {
  margin: 0;
  line-height: 1.7;
}

html[data-preset="calm-authority"] .site-footer p:first-child {
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--on-dark);
}

html[data-preset="calm-authority"] .site-footer a {
  color: #c9c2b3;
  text-decoration: underline;
  text-underline-offset: 3px;
}

html[data-preset="calm-authority"] .site-footer a:hover {
  color: var(--on-dark);
}

@media (prefers-reduced-motion: reduce) {
  html[data-preset="calm-authority"] * {
    transition: none !important;
  }
}

/* ---------- social ---------- */
html[data-preset="calm-authority"] [data-section-type="social"] > h2 {
  max-width: 40rem;
}

html[data-preset="calm-authority"] .section-social__intro {
  max-width: 40rem;
}

html[data-preset="calm-authority"] .section-social__list {
  gap: 0.9rem;
}

html[data-preset="calm-authority"] .section-social__link {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--brand);
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

html[data-preset="calm-authority"] .section-social__link:hover,
html[data-preset="calm-authority"] .section-social__link:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

html[data-preset="calm-authority"] [data-variant="dark"] .section-social__link {
  border-color: var(--on-dark-line);
  color: var(--on-dark);
}

html[data-preset="calm-authority"] [data-variant="dark"] .section-social__link:hover,
html[data-preset="calm-authority"] [data-variant="dark"] .section-social__link:focus-visible {
  border-color: var(--on-dark-muted);
  color: var(--on-dark);
}
