/* =====================================================================
   CALM - landing page template for coaches and advisors for Super (calm-template.super.site)
   Sections = top-level callouts keyed by their Notion icon; nested callouts = cards;
   quote blocks = button rows; the first line of a callout is its label.
   Source and docs: https://github.com/super-so/super-so.github.io
   The same section icons work on every page: home, Services, Approach, About.
   ===================================================================== */
:root {
  --calm-bg: #f7f5ef;
  --calm-paper: #ffffff;
  --calm-ink: #1d2a26;
  --calm-muted: #5c6b66;
  --calm-green: #2f5d50;
  --calm-green-dark: #234a3f;
  --calm-sage: #e3ede9;
  --calm-sage-line: #cfdcd6;
  --calm-line: #e4e0d5;
  --calm-head: "Lora", "Georgia", serif;
  --calm-radius: 20px;
  --calm-shadow: 0 20px 44px -30px rgba(29, 42, 38, .35);
}
.notion-root { padding-top: 24px; }
.notion-root .notion-heading { scroll-margin-top: 90px; }
.notion-root > .notion-callout > .notion-callout__icon { display: none; }
.notion-root > .notion-callout {
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}
.notion-root > .notion-callout > .notion-callout__content { padding: 0; margin: 0; width: 100%; max-width: none; }
.notion-root > .notion-callout + .notion-callout { margin-top: 104px; }
.notion-root > .notion-callout:last-of-type { margin-bottom: 56px; }
.notion-root .notion-callout__content > span.notion-semantic-string:empty { display: none; }
.notion-root figcaption { display: none; }
.notion-root .notion-heading__anchor { position: absolute; }
.notion-root > a.notion-page { display: none; }
.notion-root .notion-column { flex: 1 1 0 !important; width: auto !important; margin: 0 !important; min-width: 0; }
.notion-root .notion-column-list { gap: 22px; }

/* --- type --- */
.notion-root h1.notion-heading,
.notion-root h2.notion-heading,
.notion-root h3.notion-heading { font-family: var(--calm-head); color: var(--calm-ink); line-height: 1.14; letter-spacing: -.01em; margin: 0; font-weight: 600; }
.notion-root h2.notion-heading { font-size: clamp(30px, 1.4rem + 1.5vw, 42px); margin: 0 0 20px; }
.notion-root p.notion-text { font-size: 17px; line-height: 1.7; color: var(--calm-ink); margin: 0 0 14px; }
.notion-root .notion-semantic-string .link { opacity: 1; color: var(--calm-green); text-decoration: underline; text-underline-offset: 3px; }

/* --- eyebrow: first line of a top-level callout, and the hero's first line --- */
.notion-root > .notion-callout > .notion-callout__content > span.notion-semantic-string:empty + p.notion-text,
.notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/rocket_"]) .notion-column:first-child > p.notion-text:first-child {
  display: inline-block;
  align-self: flex-start;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--calm-green);
  background: var(--calm-sage);
  border-radius: 999px;
  padding: 8px 16px;
  margin: 0 0 20px;
  line-height: 1.3;
}

/* --- cards (nested callouts) --- */
.notion-root .notion-callout .notion-callout {
  background: var(--calm-paper);
  border: 1px solid var(--calm-line);
  border-radius: var(--calm-radius);
  padding: 30px 28px;
  margin: 0;
  box-shadow: var(--calm-shadow);
  height: 100%;
}
.notion-root .notion-callout .notion-callout > .notion-callout__icon { display: none; }
.notion-root .notion-callout .notion-callout > .notion-callout__content { padding: 0; margin: 0; width: 100%; max-width: none; }
.notion-root .notion-callout .notion-callout > .notion-callout__content > span.notion-semantic-string:empty + p.notion-text {
  font-family: var(--calm-head);
  font-size: 22px;
  font-weight: 600;
  color: var(--calm-ink);
  margin: 0 0 10px;
  line-height: 1.25;
}
.notion-root .notion-callout .notion-callout p.notion-text { font-size: 16px; color: var(--calm-muted); margin: 0 0 6px; line-height: 1.6; }
.notion-root .notion-callout .notion-callout p.notion-text strong { color: var(--calm-ink); }

/* --- buttons (quote blocks) --- */
.notion-root .notion-quote {
  border: 0;
  padding: 0;
  margin: 30px 0 0;
  background: transparent;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  align-items: center;
  font-style: normal;
  font-size: 16px;
}
.notion-root .notion-quote > .notion-semantic-string { display: contents; }
.notion-root .notion-quote a.link,
.notion-root .notion-quote a {
  display: inline-flex;
  align-items: center;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--calm-green);
  font-family: "Inter", sans-serif;
  background: transparent;
  color: var(--calm-green);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none !important;
  opacity: 1;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.notion-root .notion-quote a.link:hover, .notion-root .notion-quote a:hover { background: var(--calm-sage); }
.notion-root .notion-quote a.link:first-child, .notion-root .notion-quote a:first-child { background: var(--calm-green); border-color: var(--calm-green); color: #fff; }
.notion-root .notion-quote a.link:first-child:hover, .notion-root .notion-quote a:first-child:hover { background: var(--calm-green-dark); border-color: var(--calm-green-dark); }

/* --- HERO (rocket): text left, note card right --- */
.notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/rocket_"]) { padding: 40px 0 8px !important; }
.notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/rocket_"]) > .notion-callout__content > .notion-column-list {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/rocket_"]) h1.notion-heading {
  font-size: clamp(36px, 1.8rem + 1.8vw, 52px);
  line-height: 1.08;
  margin: 0 0 22px;
}
.notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/rocket_"]) .notion-column:first-child > p.notion-text { font-size: 19px; color: var(--calm-muted); max-width: 600px; }
.notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/rocket_"]) .notion-column:last-child > .notion-callout {
  background: var(--calm-green);
  border: 0;
  padding: 40px 36px;
  border-radius: 28px;
  height: auto;
}
.notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/rocket_"]) .notion-column:last-child > .notion-callout > .notion-callout__content > span.notion-semantic-string:empty + p.notion-text {
  font-family: inherit;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, .72);
  margin: 0 0 16px;
}
.notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/rocket_"]) .notion-column:last-child > .notion-callout > .notion-callout__content > span.notion-semantic-string:empty + p.notion-text + p.notion-text {
  font-family: var(--calm-head);
  font-size: 25px;
  line-height: 1.4;
  color: #fff;
  margin: 0;
}

/* hero tagline: plain line instead of a pill (it is a full sentence) */
.notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/rocket_"]) .notion-column:first-child > p.notion-text:first-child {
  background: transparent; padding: 0; border-radius: 0; text-transform: none; letter-spacing: 0; font-size: 16px; max-width: none; color: var(--calm-green);
}

/* --- Intro band (user): sage band, heading left, text right --- */
.notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/user_"]) {
  background: var(--calm-sage) !important;
  border-radius: 28px;
  padding: 56px !important;
}
.notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/user_"]) > .notion-callout__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  column-gap: 56px;
  align-items: start;
}
.notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/user_"]) > .notion-callout__content > span.notion-semantic-string:empty + p.notion-text {
  grid-column: 1; grid-row: 1; justify-self: start; background: var(--calm-paper);
}
.notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/user_"]) > .notion-callout__content > h2.notion-heading { grid-column: 1; grid-row: 2; margin: 0; }
.notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/user_"]) > .notion-callout__content > h2.notion-heading + p.notion-text {
  grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 18px; color: var(--calm-ink); margin: 0;
}

/* --- Services (target): three cards with a leaf-green marker --- */
.notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/target_"]) .notion-callout > .notion-callout__content > span.notion-semantic-string:empty + p.notion-text::before {
  content: "";
  display: block;
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: var(--calm-green);
  margin: 0 0 18px;
}

/* --- Process (checkmark): four numbered cards --- */
.notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/checkmark_"]) .notion-callout { background: transparent; box-shadow: none; border: 0; border-top: 2px solid var(--calm-green); border-radius: 0; padding: 22px 0 0; }
.notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/checkmark_"]) .notion-callout > .notion-callout__content > span.notion-semantic-string:empty + p.notion-text {
  font-family: var(--calm-head);
  font-size: 40px;
  line-height: 1;
  font-weight: 500;
  color: var(--calm-green);
  margin: 0 0 16px;
}
.notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/checkmark_"]) .notion-callout p.notion-text strong { font-family: var(--calm-head); font-size: 20px; line-height: 1.3; display: block; margin-bottom: 4px; }

/* --- Contact (megaphone): green band --- */
.notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/megaphone_"]) {
  background: var(--calm-green) !important;
  border-radius: 28px;
  padding: 64px 56px !important;
}
.notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/megaphone_"]) > .notion-callout__content > span.notion-semantic-string:empty + p.notion-text { background: rgba(255, 255, 255, .14); color: #fff; }
.notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/megaphone_"]) h2.notion-heading { color: #fff; margin-bottom: 16px; }
.notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/megaphone_"]) > .notion-callout__content > h2.notion-heading + p.notion-text { color: rgba(255, 255, 255, .9); max-width: 660px; font-size: 18px; }
.notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/megaphone_"]) .notion-quote { margin: 26px 0 28px; }
.notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/megaphone_"]) .notion-quote a,
.notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/megaphone_"]) .notion-quote a.link { border-color: rgba(255, 255, 255, .7); color: #fff; }
.notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/megaphone_"]) .notion-quote a:hover,
.notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/megaphone_"]) .notion-quote a.link:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/megaphone_"]) .notion-quote a:first-child,
.notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/megaphone_"]) .notion-quote a.link:first-child { background: #fff; border-color: #fff; color: var(--calm-green-dark); }
.notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/megaphone_"]) .notion-quote a:first-child:hover,
.notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/megaphone_"]) .notion-quote a.link:first-child:hover { background: var(--calm-bg); }
/* small print after the buttons */
.notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/megaphone_"]) > .notion-callout__content > .notion-quote ~ p.notion-text {
  font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .74); max-width: 660px; margin: 0 0 6px;
}

/* --- chrome --- */
.super-navbar { backdrop-filter: blur(10px); }
.super-navbar__cta, .super-navbar .notion-link.super-navbar__cta { border-radius: 999px; font-weight: 600; }
.super-footer { margin-top: 48px; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/checkmark_"]) .notion-column-list { flex-wrap: wrap; }
  .notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/checkmark_"]) .notion-column { flex: 1 1 calc(50% - 22px) !important; }
}
@media (max-width: 820px) {
  .notion-root > .notion-callout + .notion-callout { margin-top: 64px; }
  .notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/rocket_"]) { padding-top: 16px !important; }
  .notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/rocket_"]) > .notion-callout__content > .notion-column-list { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/rocket_"]) .notion-column:last-child > .notion-callout { padding: 30px 26px; border-radius: 22px; }
  .notion-root .notion-column-list { flex-wrap: wrap; gap: 16px; }
  .notion-root .notion-column { flex: 1 1 100% !important; }
  .notion-root .notion-callout .notion-callout { height: auto; }
  .notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/user_"]) { padding: 36px 24px !important; border-radius: 22px; }
  .notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/user_"]) > .notion-callout__content { grid-template-columns: minmax(0, 1fr); }
  .notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/user_"]) > .notion-callout__content > h2.notion-heading + p.notion-text { grid-column: 1; grid-row: 3; margin-top: 16px; }
  .notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/megaphone_"]) { padding: 40px 24px !important; border-radius: 22px; }
  .notion-root .notion-quote a.link, .notion-root .notion-quote a { padding: 14px 20px; font-size: 15px; }
}
@media (max-width: 520px) {
  .notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/checkmark_"]) .notion-column { flex: 1 1 100% !important; }
  .notion-root .notion-quote a.link, .notion-root .notion-quote a { width: 100%; justify-content: center; text-align: center; }
}

/* ---------- Calm: template fixes ---------- */
/* Display headings follow the width of their own column, not the window, and never break inside a word. */
.notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/rocket_"]) .notion-column:first-child { container-type: inline-size; }
.notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/rocket_"]) h1.notion-heading { font-size: min(clamp(36px, 1.8rem + 1.8vw, 52px), 9cqi + 12px); overflow-wrap: normal; word-break: keep-all; hyphens: none; }
.notion-root h2.notion-heading, .notion-root h3.notion-heading { overflow-wrap: normal; word-break: keep-all; hyphens: none; }
/* Card titles and step titles never break inside a word on narrow cards. */
.notion-root .notion-callout .notion-callout p.notion-text { overflow-wrap: normal; word-break: normal; hyphens: none; }
/* A button row directly after the step cards sits a little lower. */
.notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/checkmark_"]) > .notion-callout__content > .notion-quote { margin-top: 36px; }
/* The green note card in the hero gets a smaller text size on narrow desktop windows. */
@media (max-width: 1024px) and (min-width: 821px) {
  .notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/rocket_"]) .notion-column:last-child > .notion-callout { padding: 32px 26px; }
  .notion-root > .notion-callout:has(> .notion-callout__icon img[src*="/rocket_"]) .notion-column:last-child > .notion-callout > .notion-callout__content > span.notion-semantic-string:empty + p.notion-text + p.notion-text { font-size: 20px; }
}

/* =====================================================================
   Template pages: the Instructions child page and its link block
   ===================================================================== */
.notion-root > a.notion-page { display: none; }
.page__instructions .notion-root { max-width: 760px; margin: 0 auto; padding-bottom: 64px; }
.page__instructions .notion-root h1.notion-heading { font-size: clamp(34px, 1.8rem + 1.6vw, 48px); margin: 24px 0 16px; }
.page__instructions .notion-root h2.notion-heading { margin: 48px 0 14px; }
.page__instructions .notion-root h3.notion-heading { margin: 32px 0 10px; }
.page__instructions .notion-root .notion-code { border-radius: 12px; font-size: 14px; margin: 12px 0 20px; }
.page__instructions .notion-root .notion-list li { margin: 0 0 8px; }
.page__instructions .notion-root .notion-code pre, .page__instructions .notion-root .notion-code code { white-space: pre-wrap !important; word-break: break-all; }
