/* Concern pages (/concerns/<slug>/). A symptom-led template, distinct from the treatment pages.
   Loaded after style.css, theme.css, pages.css and treatment.css (author box, sources). */

/* ------------------------------------------------ Hero (same start position as the other inner pages) */
.page .panel.cnhero {
  padding-top: calc(var(--hdr-h) + var(--hdr-inset) + clamp(28px, 3.4vw, 48px));
  padding-bottom: clamp(28px, 3.4vw, 52px);
  background:
    radial-gradient(40% 55% at 92% 25%, color-mix(in srgb, #c4b3f0 45%, transparent) 0%, transparent 70%),
    radial-gradient(45% 60% at 0% 100%, color-mix(in srgb, #e4e4e8 90%, transparent) 0%, transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #f8f8fa 100%);
}
.cnhero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.cnhero__copy { display: grid; gap: 22px; justify-items: start; min-width: 0; }
.cnhero__pill { min-height: 31px; background: rgb(255 255 255 / .8); }
.cnhero__pill .i { color: var(--accent); }
.cnhero__title { font-family: var(--f-head); font-size: clamp(2.5rem, 1rem + 3.3vw, 4.75rem); font-weight: 600; line-height: 1; letter-spacing: -.035em; color: var(--ink); max-width: 15ch; }
.cnhero__soft { color: color-mix(in srgb, var(--ink) 45%, #8d81af); }
.cnhero__body { display: grid; gap: 22px; width: 100%; padding-top: 24px; border-top: 1px solid rgb(22 18 31 / .1); }
.cnhero__intro { max-width: 58ch; font: 400 1.05rem/1.7 "Raleway", var(--f-body); color: var(--ink-2); }
.cnhero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.cnhero__call { padding: 0 24px; gap: 10px; }

/* triage card */
.cntri { justify-self: end; width: min(100%, 520px); display: grid; border-radius: 32px; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -50px rgb(40 30 80 / .55); overflow: hidden; }
.cntri__head { padding: 26px 26px 18px; }
.cntri__k { font: 700 .7rem/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.cntri__h { margin-top: 6px; font-size: clamp(1.5rem, 1.2rem + .9vw, 1.9rem); line-height: 1.1; letter-spacing: -.03em; }
.cntri__list { display: grid; gap: 10px; margin: 0; padding: 0 18px 18px; list-style: none; }
.cntri__row { position: relative; display: flex; gap: 14px; padding: 16px 18px 16px 16px; border-radius: 20px; border: 1px solid transparent; }
.cntri__row--home { background: #eef7f3; border-color: #dcefe6; }
.cntri__row--book { background: #f4f1fb; border-color: #e7e1f6; }
.cntri__row--urgent { background: #fbeef1; border-color: #f3d8de; }
.cntri__ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: #fff; }
.cntri__row--home .cntri__ico { color: #17695b; }
.cntri__row--book .cntri__ico { color: var(--accent); }
.cntri__row--urgent .cntri__ico { color: #b2435b; }
.cntri__ico .i { width: 18px; height: 18px; }
.cntri__t { display: grid; gap: 3px; }
.cntri__lvl { font: 700 .64rem/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cntri__t strong { font: 650 1.04rem/1.3 var(--f-head); color: var(--ink); }
.cntri__t > span:last-child { font-size: .86rem; line-height: 1.5; color: var(--ink-2); }
.cntri__src { padding: 14px 26px 18px; background: var(--surface); font-size: .78rem; line-height: 1.5; color: var(--muted); }
.cntri__src a, .cnsrc a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }

/* ------------------------------------------------ What's happening + causes */
.page .panel.cnwhat { background: #fff; }
.cnwhat__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.cnwhat__copy { display: grid; gap: 18px; justify-items: start; }
.cnwhat__copy > p:not(.pill):not(.cnsrc) { font: 400 1.02rem/1.75 "Raleway", var(--f-body); color: var(--ink-2); }
.cnwhat__copy .cnwhat__lead { font-size: 1.14rem; color: var(--ink); }
.cnsrc { font: 400 .84rem/1.6 var(--f-body); color: var(--muted); }
.cnsrc--center { margin-top: 20px; text-align: center; }
.cnwhat__k { margin-bottom: 14px; font: 700 .74rem/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cncause__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: cause; }
.cncause { display: flex; gap: 16px; padding: 18px 20px; border-radius: 20px; background: #f7f7f7; }
.cncause__ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #fff; color: var(--accent); }
.cncause__ico .i { width: 20px; height: 20px; }
.cncause > span:last-child { display: grid; gap: 3px; padding-top: 1px; }
.cncause strong { font: 600 1.04rem/1.3 var(--f-head); color: var(--ink); }
.cncause small { font-size: .9rem; line-height: 1.5; color: var(--ink-2); }

/* ------------------------------------------------ Home care */
.page .panel.cnhome { background: #f7f7f7; }
.cnhome__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 14px; max-width: 1040px; margin-inline: auto; }
.cnhome__col { padding: 28px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.cnhome__col h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 1.3rem; }
.cnhome__col h3 span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; }
.cnhome__col--do h3 span { background: #e3f3ee; color: #17695b; }
.cnhome__col--dont h3 span { background: #f6e7ea; color: #9b3a4f; }
.cnhome__col h3 .i { width: 18px; height: 18px; }
.cnhome__col ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.cnhome__col li { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); font-size: .96rem; line-height: 1.55; color: var(--ink-2); }
.cnhome__col li:last-child { border-bottom: 0; }
.cnhome__col li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 8px; height: 8px; border-radius: 50%; }
.cnhome__col--do li::before { background: #2f9e83; }
.cnhome__col--dont li::before { background: #c4566d; }

/* ------------------------------------------------ What I check (dark) */
.page .panel.cnchair { color: #d1ced9;
  background: radial-gradient(60% 80% at 0% 0%, color-mix(in srgb, #7356c4 22%, #1e1d23) 0%, transparent 60%), radial-gradient(50% 70% at 100% 100%, color-mix(in srgb, #7356c4 14%, #1e1d23) 0%, transparent 70%), #1e1d23; }
.cnchair__head { display: grid; gap: 16px; justify-items: start; max-width: 720px; margin-bottom: clamp(26px, 3.4vw, 44px); }
.cnchair .pill { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .14); color: #c4b3f0; }
.cnchair .h2 { color: #fff; }
.cnchair__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.cnchair__grid li { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 22px; background: #29282f; border: 1px solid #35343c; }
.cnchair__n { font: 600 1.6rem/1 var(--f-head); letter-spacing: -.03em; color: #c4b3f0; font-variant-numeric: tabular-nums; }
.cnchair__grid h3 { margin-top: 6px; font-size: 1.12rem; color: #fff; }
.cnchair__grid p { font: 400 .94rem/1.65 "Raleway", var(--f-body); }

/* ------------------------------------------------ Treatments that help */
.page .panel.cntreat { background: #fff; }
.cntreat__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.cntreat__card { position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 26px; border-radius: 24px; background: #f7f7f7; border: 1px solid #f7f7f7; color: var(--ink); text-decoration: none; transition: background-color .25s, border-color .25s, transform .3s var(--ease); }
.cntreat__card:hover { background: #fff; border-color: var(--ink); transform: translateY(-2px); }
.cntreat__card:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.cntreat__ico { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 12px; border-radius: 15px; background: var(--ink); color: #fff; }
.cntreat__ico .i { width: 21px; height: 21px; }
.cntreat__card strong { font: 600 1.2rem/1.25 var(--f-head); letter-spacing: -.015em; padding-right: 40px; }
.cntreat__price { font: 600 .84rem/1.3 var(--f-body); color: var(--accent); }
.cntreat__why { margin-top: 6px; font-size: .93rem; line-height: 1.55; color: var(--ink-2); }
.cntreat__go { position: absolute; top: 24px; right: 24px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease); }
.cntreat__card:hover .cntreat__go { transform: rotate(45deg); }
.cntreat__go .i { width: 16px; height: 16px; }
.cnrel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.cnrel > span { margin-right: 6px; font: 700 .72rem/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cnrel a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font: 600 .88rem/1.2 var(--f-body); color: var(--ink); text-decoration: none; transition: border-color .2s, background-color .2s; }
.cnrel a:hover { background: #fff; border-color: var(--ink); }
.cnrel .i { width: 15px; height: 15px; color: var(--accent); }

/* ------------------------------------------------ Responsive (stacked hero matches the other inner pages) */
@media (max-width: 1180px) {
  .cnchair__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .cnhero__grid { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
  .cnhero__copy { display: contents; }
  .cnhero__grid .crumbs { order: 1; }
  .cnhero__pill { order: 2; }
  .cnhero__title { order: 3; max-width: 18ch; }
  .cntri { order: 4; align-self: center; margin: 6px 0; }
  .cnhero__body { order: 5; }
  .cnwhat__grid, .cnhome__grid { grid-template-columns: minmax(0, 1fr); }
  .cntreat__grid { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
}
@media (max-width: 720px) {
  .cnhero__title { font-size: clamp(2.3rem, 1.2rem + 5vw, 3rem); line-height: 1.02; }
  .cnhero__cta .btn { width: 100%; justify-content: center; }
  .cntri__head { padding: 22px 20px 14px; }
  .cntri__list { padding: 0 12px 12px; }
  .cntri__src { padding: 12px 20px 16px; }
  .cnchair__grid { grid-template-columns: minmax(0, 1fr); }
  .cnhome__col, .cntreat__card, .cnchair__grid li { padding: 22px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .cntreat__card, .cntreat__go, .cnrel a { transition: none; }
}
