/* Sections 06–10 (night 20.10): stories, weeks timeline, tracks, author, apply.
   Same language as the hero and section 05: white cards, pastel tone pairs, 1.5px line icons. */

/* ================= 06 · Participant stories (steep.app testimonial pattern) ================= */
.section-cases .section-lead { margin-bottom: 40px; }
.stories { display: grid; gap: 22px; }
.stories__tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.stories__tabs [role="tab"] { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; overflow: hidden; border: 1px solid rgba(13, 33, 48, .08); border-radius: 999px; color: rgba(13, 33, 48, .62); background: rgba(255, 255, 255, .5); font: inherit; text-align: left; cursor: pointer; transition: background-color .25s ease, color .25s ease, box-shadow .25s ease; }
.stories__tabs [role="tab"] b { display: block; color: inherit; font-size: 15px; font-weight: 650; }
.stories__tabs [role="tab"] small { display: block; color: rgba(13, 33, 48, .5); font-size: 12px; }
.stories__tabs [role="tab"]:hover { background: rgba(255, 255, 255, .8); }
.stories__tabs [role="tab"].is-active { color: #0d2130; background: #fff; box-shadow: 0 10px 26px -14px rgba(24, 55, 80, .3); }
.stories__tabs [role="tab"]:focus-visible { outline: 2px solid #2b94c8; outline-offset: 2px; }
.stories__progress { position: absolute; left: 22px; right: 22px; bottom: 0; height: 2px; border-radius: 2px; background: #2b7fd0; transform: scaleX(0); transform-origin: left; opacity: 0; }
.stories__tabs .is-active .stories__progress { opacity: 1; }
.stories.is-manual .stories__progress { display: none; }
.stories__avatar { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; color: var(--tone-ink); background: var(--tone-bg); font-size: 13px; font-weight: 700; }
.stories__avatar--blue { --tone-bg: #E9F1FE; --tone-ink: #1c5a80; }
.stories__avatar--green { --tone-bg: #E6F4EB; --tone-ink: #2B552C; }
.stories__avatar--peach { --tone-bg: #FBEBE2; --tone-ink: #7A3A20; }
.stories__placeholder { margin-left: auto; padding: 5px 10px; border: 1px dashed rgba(13, 33, 48, .2); border-radius: 999px; color: rgba(13, 33, 48, .5); font-size: 11.5px; font-weight: 600; }

.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); padding: clamp(28px, 3vw, 44px); border: 1px solid rgba(13, 33, 48, .07); border-radius: 28px; background: rgba(255, 255, 255, .86); box-shadow: 0 24px 60px -24px rgba(24, 55, 80, .25); }
.story[hidden] { display: none; }
.story__copy h3 { margin: 0 0 18px; color: #0d2130; font-family: var(--display); font-size: clamp(28px, 2.6vw, 38px); font-weight: 400; letter-spacing: -.02em; line-height: 1.1; }
html[data-font="manrope"] .story__copy h3 { font-weight: 600; letter-spacing: -.04em; }
.story__copy blockquote { margin: 0 0 24px; padding-left: 18px; border-left: 2px solid #b9d4ee; color: #213a4d; font-size: 17px; line-height: 1.5; }
.story__facts { display: grid; gap: 0; margin: 0 0 24px; }
.story__facts > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(13, 33, 48, .07); }
.story__facts dt { color: rgba(13, 33, 48, .5); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding-top: 2px; }
.story__facts dd { margin: 0; color: #1a2e3d; font-size: 14.5px; line-height: 1.45; }
.story__switch { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(13, 33, 48, .05); }
.story__switch button { padding: 9px 16px; border: 0; border-radius: 999px; color: rgba(13, 33, 48, .6); background: none; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color .25s ease, color .25s ease, box-shadow .25s ease; }
.story__switch button.is-active { color: #0d2130; background: #fff; box-shadow: 0 2px 8px rgba(13, 33, 48, .1); }
.story__switch button:focus-visible { outline: 2px solid #2b94c8; outline-offset: 2px; }

.story__visual { position: relative; display: grid; min-height: 420px; border-radius: 22px; background: linear-gradient(160deg, #EEF4FB, #F6F2FB); overflow: hidden; }
.story__view { grid-area: 1 / 1; display: grid; place-items: center; padding: 28px; transition: opacity .45s var(--e-power3, ease), transform .6s var(--e-expo, ease); }
.story__visual:not(.is-improved) .story__view--improved, .story__visual.is-improved .story__view--result { opacity: 0; transform: scale(.94); pointer-events: none; }

/* mini UIs */
.sv-phone { width: min(340px, 100%); border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px rgba(13, 33, 48, .06), 0 24px 48px -18px rgba(24, 55, 80, .35); overflow: hidden; }
.sv-chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid rgba(13, 33, 48, .07); }
.sv-chat-head .stories__avatar { width: 32px; height: 32px; font-size: 11px; }
.sv-chat-head b { display: block; color: #0d2130; font-size: 14px; }
.sv-chat-head small { color: rgba(13, 33, 48, .5); font-size: 12px; }
.sv-bubble { margin: 14px; padding: 14px 16px; border-radius: 16px 16px 16px 6px; background: #F3F6F9; }
.sv-bubble__title { margin: 0 0 10px; color: #0d2130; font-size: 14.5px; font-weight: 650; }
.sv-links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; color: #1a2e3d; font-size: 13.5px; }
.sv-links li small { display: block; margin-top: 2px; color: rgba(13, 33, 48, .55); font-size: 12px; }
.sv-tag { display: inline-block; margin-right: 6px; padding: 1px 7px; border-radius: 999px; color: var(--tone-ink); background: var(--tone-bg); font-size: 11px; font-weight: 650; }
.sv-tag--blue { --tone-bg: #E9F1FE; --tone-ink: #1c5a80; }
.sv-tag--purple { --tone-bg: #F2EDFC; --tone-ink: #4D2F87; }
.sv-tag--green { --tone-bg: #E6F4EB; --tone-ink: #2B552C; }
.sv-more { display: block; margin-top: 10px; color: #2b7fd0; font-size: 12.5px; font-weight: 600; }
.sv-journal { width: min(380px, 100%); padding: 20px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgba(13, 33, 48, .06), 0 24px 48px -18px rgba(24, 55, 80, .35); }
.sv-journal header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.sv-journal header b { color: #0d2130; font-size: 15px; }
.sv-journal header small { color: rgba(13, 33, 48, .5); font-size: 12px; }
.sv-bars { display: grid; grid-template-columns: repeat(7, 1fr); align-items: end; gap: 8px; height: 120px; margin-bottom: 18px; }
.sv-bars span { position: relative; height: var(--h); border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, #9fd3ad, #E6F4EB); }
.sv-bars i { position: absolute; left: 0; right: 0; bottom: -18px; color: rgba(13, 33, 48, .45); font-size: 10.5px; font-style: normal; text-align: center; }
.sv-entries { display: grid; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; color: #1a2e3d; font-size: 13.5px; }
.sv-listing { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; background: #fff; }
.sv-listing__img { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 10px; color: #7A3A20; background: #FBEBE2; }
.sv-listing__img svg { width: 22px; height: 22px; }
.sv-listing b { display: block; color: #0d2130; font-size: 14px; }
.sv-listing small { color: rgba(13, 33, 48, .55); font-size: 12px; }
.sv-checks { display: grid; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; color: #2B552C; font-size: 13px; }
.sv-checks li { display: flex; align-items: center; gap: 6px; }
.sv-checks svg { width: 14px; height: 14px; stroke-width: 2.2; }
.sv-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; }
.sv-version { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(13, 33, 48, .06), 0 16px 34px -18px rgba(24, 55, 80, .3); }
.sv-version p { margin: 0; color: #1a2e3d; font-size: 13.5px; line-height: 1.45; }
.sv-version small { margin-top: auto; color: rgba(13, 33, 48, .55); font-size: 12px; font-weight: 600; }
.sv-version__label { align-self: flex-start; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.sv-version--before .sv-version__label { color: #7A3A20; background: #FBEBE2; }
.sv-version--after .sv-version__label { color: #2B552C; background: #E6F4EB; }
.sv-lines { display: grid; gap: 6px; }
.sv-lines i { display: block; height: 6px; border-radius: 3px; background: rgba(13, 33, 48, .1); }
.sv-lines i:nth-child(3n) { width: 75%; }
.sv-lines--short i { background: #b9e0c4; }
.sv-msg { padding: 10px 12px; border-radius: 12px 12px 12px 4px; background: #F3F6F9; color: #1a2e3d; font-size: 13px; }

/* ================= 07 · Four weeks: a timeline that fills on scroll ================= */
.weeks-timeline { position: relative; }
.weeks-line { position: absolute; left: 0; right: 0; top: 23px; height: 2px; border-radius: 2px; background: rgba(13, 33, 48, .1); }
.weeks-line i { position: absolute; inset: 0; border-radius: 2px; background: #2b7fd0; transform: scaleX(var(--fill, 0)); transform-origin: left; }
.weeks-grid { position: relative; }
.weeks-grid article { position: relative; padding-top: 64px !important; transition: transform .3s ease-out, box-shadow .3s ease-out, background-color .3s ease !important; }
.weeks-grid article::before { content: ''; position: absolute; top: -1px; left: clamp(22px, 2vw, 30px); width: 14px; height: 14px; margin-top: 17px; border: 2px solid rgba(13, 33, 48, .2); border-radius: 50%; background: #fff; transition: border-color .4s ease, background-color .4s ease, transform .4s cubic-bezier(.34, 1.56, .64, 1); }
.weeks-grid article.is-reached::before { border-color: #2b7fd0; background: #2b7fd0; transform: scale(1.15); box-shadow: 0 0 0 5px rgba(43, 127, 208, .14); }
.week-more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .45s cubic-bezier(.25, .1, .25, 1), opacity .35s cubic-bezier(.25, .1, .25, 1) .1s; }
.week-more > div { overflow: hidden; }
.week-more ul { display: grid; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; color: #2d4a5e; font-size: 13.5px; }
.week-more li { display: flex; gap: 8px; }
.week-more li::before { content: ''; flex: none; width: 5px; height: 5px; margin-top: 7px; border-radius: 50%; background: #2b7fd0; }
.weeks-grid article:hover .week-more, .weeks-grid article:focus-within .week-more { grid-template-rows: 1fr; opacity: 1; }
@media (hover: none) { .week-more { grid-template-rows: 1fr; opacity: 1; } }
.week-outcome { display: flex; gap: 8px; align-items: flex-start; margin-top: auto; padding-top: 18px; color: #2B552C; font-size: 13px; font-weight: 600; line-height: 1.4; }
.week-outcome svg { flex: none; width: 16px; height: 16px; margin-top: 1px; stroke-width: 2.2; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .5s cubic-bezier(.215, .61, .355, 1) .2s; }
.weeks-grid article.is-reached .week-outcome svg { stroke-dashoffset: 0; }

/* ================= 08 · Tracks: spec rows, choose button ================= */
.track-specs { display: grid; gap: 0; margin: 26px 0 0; padding: 0; list-style: none; }
.track-specs li { display: grid; grid-template-columns: 22px 120px 1fr; gap: 12px; align-items: start; padding: 12px 0; border-top: 1px solid rgba(13, 33, 48, .07); color: #1a2e3d; font-size: 14.5px; line-height: 1.45; }
.track-specs svg { width: 18px; height: 18px; margin-top: 1px; color: #2b7fd0; }
.track-specs b { color: rgba(13, 33, 48, .5); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding-top: 2px; }
.track-choose { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 24px; padding: 13px 20px; border: 1px solid rgba(13, 33, 48, .12); border-radius: 999px; color: #0d2130; background: #fff; font: inherit; font-size: 15px; font-weight: 650; text-decoration: none; cursor: pointer; transition: background-color .25s ease, transform .2s ease; }
.track-choose:hover { background: #f4f7fa; }
.track-choose--primary { border-color: transparent; background: #D6F7A3; box-shadow: 0 10px 24px rgba(123, 159, 59, .2); }
.track-choose--primary:hover { background: #cdf192; }
.track-choose span { display: inline-block; }
.tracks-grid article .track-plus { margin: 18px 0 0; color: #2b7fd0; font-size: 13.5px; font-weight: 650; }
.tracks-teasers { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(13, 33, 48, .08); color: rgba(13, 33, 48, .62); font-size: 14px; }
.tracks-teasers b { color: #0d2130; font-weight: 650; }
.tracks-teasers a { color: #1f6fa8; font-weight: 600; text-decoration: none; }
.tracks-teasers a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tracks-teasers .soon { padding: 2px 8px; border-radius: 999px; color: rgba(13, 33, 48, .55); background: rgba(13, 33, 48, .06); font-size: 11.5px; font-weight: 600; }

/* ================= 09 · Author ================= */
.author-portrait.author-portrait--path { display: flex; flex-direction: column; justify-content: center; gap: 0; padding: 40px 36px; place-items: initial; }
.author-portrait--path > span, .author-portrait--path > div:not(.career) { display: none; }
.career { position: relative; display: grid; gap: 22px; margin: 0; padding: 0 0 0 34px; list-style: none; }
.career::before { content: ''; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: rgba(13, 33, 48, .1); }
.career::after { content: ''; position: absolute; left: 7px; top: 10px; width: 2px; height: calc((100% - 20px) * var(--draw, 0)); border-radius: 2px; background: #2b7fd0; transition: height 1.4s cubic-bezier(.215, .61, .355, 1); }
.career li { position: relative; opacity: .35; transform: translateX(-6px); transition: opacity .5s ease, transform .5s cubic-bezier(.215, .61, .355, 1); transition-delay: var(--d, 0s); }
.career li::before { content: ''; position: absolute; left: -33px; top: 5px; width: 12px; height: 12px; border: 2px solid #2b7fd0; border-radius: 50%; background: #fff; }
.career li:last-child::before { background: #2b7fd0; box-shadow: 0 0 0 5px rgba(43, 127, 208, .16); }
.career b { display: block; color: #0d2130; font-family: var(--display); font-size: 24px; font-weight: 400; letter-spacing: -.01em; }
html[data-font="manrope"] .career b { font-weight: 600; letter-spacing: -.03em; font-size: 21px; }
.career small { color: rgba(13, 33, 48, .55); font-size: 13px; }
.career-wrap.is-drawn .career { --draw: 1; }
.career-wrap.is-drawn .career li { opacity: 1; transform: none; }
.author-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.author-links a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid rgba(13, 33, 48, .1); border-radius: 999px; color: #0d2130; background: rgba(255, 255, 255, .7); font-size: 14px; font-weight: 600; text-decoration: none; transition: background-color .25s ease; }
.author-links a:hover { background: #fff; }
.author-links svg { width: 18px; height: 18px; color: #0a66c2; }

@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
  .story__facts > div { grid-template-columns: 1fr; gap: 4px; }
  .stories__placeholder { margin-left: 0; }
  .sv-compare { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .story__view, .career li, .career::after, .week-more, .weeks-grid article::before { transition: none !important; }
}

.week-outcome small { display: block; margin-bottom: 2px; color: rgba(43, 85, 44, .7); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.weeks-grid article { display: flex; flex-direction: column; }
.tracks-grid ul.track-specs { display: grid; gap: 0; margin: 26px 0 0; padding-left: 0; color: inherit; font-size: inherit; }
.tracks-grid ul.track-specs li::marker { content: none; }
.tracks-grid article { min-height: 0 !important; }
.tracks-grid article .track-choose { align-self: flex-start; margin-top: auto; }
.tracks-grid article .track-specs { margin-bottom: 26px; }
/* timeline sits above the cards; each dot sits on the line */
.weeks-timeline { padding-top: 34px; }
.weeks-line { top: 10px; }
.weeks-grid article { padding-top: 26px !important; }
.weeks-grid article::before { top: -30px; left: 22px; width: 12px; height: 12px; margin-top: 0; }
.weeks-grid article.is-reached::before { transform: none; box-shadow: 0 0 0 4px rgba(43, 127, 208, .16); }
.weeks-grid h3 { margin-top: 22px; }
.tracks-grid h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.02em; }
html[data-font="manrope"] .tracks-grid h3 { font-weight: 600; letter-spacing: -.05em; }
.career::after { z-index: 0; }
.career li::before { z-index: 1; }
/* author photo: tinted into the site's palette, like steep.app's testimonial portraits */
.author-photo { display: flex; align-items: center; gap: 16px; margin: 0 0 34px; }
.author-photo img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: #DCE8F7; mix-blend-mode: multiply; box-shadow: 0 0 0 4px #fff, 0 14px 30px -12px rgba(24, 55, 80, .4); }
.author-photo b { display: block; color: #0d2130; font-size: 16px; font-weight: 650; }
.author-photo small { color: rgba(13, 33, 48, .55); font-size: 13px; }
.author-portrait.author-portrait--path { justify-content: center; }

/* 10 · apply card title in the display face like the rest of the headings */
.apply-card h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.02em; }
html[data-font="manrope"] .apply-card h3 { font-weight: 600; letter-spacing: -.05em; }

/* ---------- Review 1 fixes ---------- */
/* 06: stable height between stories; real text in the before/after view */
.story { min-height: 600px; align-items: start; }
.sv-mini { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; color: #1a2e3d; font-size: 12.5px; }
.sv-mini li { display: flex; align-items: center; gap: 6px; padding: 7px 9px; border-radius: 8px; background: #F5F7FA; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-mini--faded li { color: rgba(13, 33, 48, .5); }
.sv-mini svg { width: 14px; height: 14px; color: #2B552C; stroke-width: 2.2; }
.sv-mini .sv-tag { margin-right: 2px; }
/* 07: details replace the description in place, so cards never grow */
.weeks-grid article { min-height: 300px; }
.week-swap { display: grid; }
.week-swap > p, .week-swap > .week-more { grid-area: 1 / 1; }
.week-swap > p { transition: opacity .3s ease; }
.week-more { grid-template-rows: 1fr !important; opacity: 0; transition: opacity .35s ease .05s; }
.week-more ul { margin-top: 0; }
.weeks-grid article:hover .week-more, .weeks-grid article:focus-within .week-more { opacity: 1; }
.weeks-grid article:hover .week-swap > p, .weeks-grid article:focus-within .week-swap > p { opacity: 0; }
@media (hover: none) { .week-swap > p { display: none; } .week-more { opacity: 1; } }
/* small labels up to a readable size */
.weeks-grid article > span, .tracks-grid article > span { font-size: 11.5px; }
.apply-card label { font-size: 13px; }
.theme-light .site-header .header-cta { min-height: 34px; padding-inline: 16px; font-size: 14px; }

/* ---------- Review 2 fixes ---------- */
.story { min-height: 640px; }
.sv-mini li { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-mini svg { display: inline-block; vertical-align: -2px; margin-right: 6px; }
.week-outcome small { font-size: 11.5px; }
.apply-card > span { font-size: 11.5px; }
.author-facts span { font-size: 12.5px; }
.tracks-grid h3 { line-height: 1.1; }
.theme-light .site-header .header-cta { font-weight: 600; }
.apply-card .button { min-height: 48px; padding: 0 24px; font-size: 15px; font-weight: 600; }
/* 06: the veil fades in from the top, so there is no hard line under section 05 */
.section-cases::before { background: linear-gradient(180deg, rgba(244, 250, 253, 0) 0, rgba(240, 249, 251, .22) 260px, rgba(244, 250, 253, .12) 100%) !important; }

/* ---------- Feedback 21.10 · screen 06: fits one screen, switch under the picture ---------- */
.story { min-height: 0 !important; align-items: stretch; padding: clamp(24px, 2.4vw, 36px); }
.story__copy h3 { margin-bottom: 14px; font-size: clamp(26px, 2.3vw, 34px); }
.story__copy blockquote { margin-bottom: 16px; font-size: 16px; line-height: 1.48; }
.story__facts { margin-bottom: 0; }
.story__facts > div { grid-template-columns: 140px 1fr; padding: 10px 0; }
.story__facts dd { font-size: 14px; }
.story__media { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.story__media .story__visual { flex: 1; min-height: 400px; }
.story__media .story__switch { align-self: center; }
html:not(.is-dev) .stories__placeholder { display: none; }
.section-cases .section-lead { margin-bottom: 30px; }
.section-cases .stories { gap: 16px; }
.story { padding: 26px 30px; min-height: 500px !important; }
.story__media { gap: 10px; }
.story__media .story__visual { min-height: 360px; }

/* ---------- Feedback 21.10 · screen 07 ---------- */
/* rows line up across the four cards: labels, titles, text and "By the end of the week" */
.weeks-grid { grid-template-rows: auto auto 1fr auto; row-gap: 0; }
.weeks-grid article { display: grid !important; grid-row: span 4; grid-template-rows: subgrid; min-height: 0 !important; }
.weeks-grid article .week-outcome { margin-top: 0; align-self: start; }
.weeks-grid article .week-swap { min-height: 112px; }
/* the line has a glowing head while it crawls */
.weeks-line i::after { content: ''; position: absolute; right: -1px; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: #2b7fd0; box-shadow: 0 0 0 5px rgba(43, 127, 208, .18), 0 0 16px rgba(43, 127, 208, .6); transform: translate(50%, -50%) scaleX(calc(1 / max(var(--fill, 1), .01))); opacity: 0; transition: opacity .3s ease; }
.weeks-timeline.is-playing .weeks-line i::after { opacity: 1; }
/* cards wait a little lower and lighter, then rise when the line reaches them */
.weeks-timeline:not(.is-static) .weeks-grid article { transition: transform .7s var(--e-expo), opacity .6s var(--e-power3), box-shadow .3s ease-out, background-color .3s ease !important; }
.weeks-grid article:not(.is-reached) { opacity: .5; transform: translateY(18px); }
.weeks-grid article:not(.is-reached) h3 { color: rgba(21, 49, 69, .55); }
.weeks-grid article h3 { transition: color .5s ease; }
.weeks-grid article.is-reached > span { color: #2b7fd0; }
/* hover: lift, white card, details in place of the description */
@media (hover: hover) {
  .weeks-grid article.is-reached:hover { transform: translateY(-8px) scale(1.02); background-color: #fff; box-shadow: 0 34px 70px -20px rgba(43, 100, 150, .32); border-color: rgba(43, 127, 208, .3); }
  .weeks-grid article:hover .week-outcome { color: #1f6b33; }
}
.week-more li { opacity: 0; transform: translateX(-6px); transition: opacity .35s ease, transform .45s var(--e-expo); }
.weeks-grid article:hover .week-more li, .weeks-grid article:focus-within .week-more li { opacity: 1; transform: none; }
.weeks-grid article:hover .week-more li:nth-child(2) { transition-delay: .06s; }
.weeks-grid article:hover .week-more li:nth-child(3) { transition-delay: .12s; }
@media (hover: none) { .week-more li { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .weeks-grid article:not(.is-reached) { opacity: 1; transform: none; } }
@media (max-width: 1100px) { .weeks-grid { grid-template-rows: none; } .weeks-grid article { grid-row: auto; grid-template-rows: auto auto 1fr auto; } }
.weeks-grid article:not(.is-reached)::before { transform: translateY(-18px); }

/* ---------- Feedback 21.10 · screen 08: comparable tracks, neat extras ---------- */
.section-tracks { padding-top: 110px !important; padding-bottom: 110px !important; }
.section-tracks .section-lead { margin-bottom: 36px; }
/* both cards share one row grid, so the same row sits at the same height in each */
.tracks-grid { grid-template-rows: repeat(10, auto); row-gap: 0; }
.tracks-grid article.track { display: grid !important; grid-row: span 10; grid-template-rows: subgrid; padding: 30px 34px 32px; }
.tracks-grid article.track .track-specs { display: contents; }
.tracks-grid h3 { margin: 18px 0 10px !important; font-size: clamp(30px, 2.8vw, 40px) !important; }
.tracks-grid article.track > p { margin: 0 0 18px; font-size: 15.5px; }
.track-specs li { grid-template-columns: 130px 1fr !important; gap: 14px !important; align-items: baseline !important; padding: 11px 0 !important; font-size: 14.5px; }
.track-specs li:last-child { border-bottom: 1px solid rgba(13, 33, 48, .07); }
.track-specs svg { display: none; }
.tracks-grid article.track .track-choose { justify-self: start; align-self: end; margin-top: 22px; }

/* how each track runs, in one line */
.track-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 16px; }
.track-flow i { color: rgba(13, 33, 48, .35); font-style: normal; font-size: 13px; }
.track-flow__step { padding: 6px 11px; border: 1px solid rgba(13, 33, 48, .1); border-radius: 999px; color: #1a2e3d; background: rgba(255, 255, 255, .75); font-size: 13px; font-weight: 600; }
.track-flow--lime .track-flow__step.is-agent { border-color: rgba(92, 122, 31, .3); color: #2F4A12; background: #E3F3C2; }
.track-flow--peri .track-flow__step.is-agent { border-color: rgba(77, 70, 160, .26); color: #2E2A78; background: #E3E4FB; }
.track-flow--peri .track-flow__step:first-child { color: #2E2A78; }

/* specializations and services: two small cards */
.tracks-teasers { display: none; }
.tracks-extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.tracks-extra { display: flex; flex-direction: column; gap: 10px; padding: 22px 26px; border: 1px solid rgba(40, 98, 125, .14); border-radius: 22px; background: rgba(246, 250, 253, .7); box-shadow: 0 14px 34px -22px rgba(36, 74, 99, .35); }
.tracks-extra header { display: flex; align-items: center; gap: 10px; }
.tracks-extra header b { color: #0d2130; font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.tracks-extra .soon { padding: 3px 9px; border-radius: 999px; color: #6F4E17; background: #F8F5E2; font-size: 11.5px; font-weight: 650; }
.tracks-extra p { margin: 0; color: #4b6275; font-size: 14.5px; line-height: 1.45; }
.tracks-extra__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tracks-extra__chips span { padding: 5px 11px; border-radius: 999px; color: #1c5a80; background: #E9F1FE; font-size: 13px; font-weight: 600; }
.tracks-extra a { color: #1f6fa8; font-size: 14.5px; font-weight: 650; text-decoration: none; }
.tracks-extra a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tracks-extra > a, .tracks-extra__links { margin-top: auto; padding-top: 6px; }
.tracks-extra__links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
@media (max-width: 760px) {
  .tracks-grid { grid-template-rows: none; }
  .tracks-grid article.track { grid-row: auto; display: flex !important; flex-direction: column; }
  .tracks-grid article.track .track-specs { display: grid; }
  .tracks-extras { grid-template-columns: 1fr; }
  .track-specs li { grid-template-columns: 1fr !important; gap: 2px !important; }
}
.section-tracks .section-lead { margin-bottom: 28px; }
.tracks-grid article.track { padding: 26px 32px 28px; }
.tracks-grid h3 { margin: 14px 0 8px !important; }
.tracks-grid article.track > p { margin-bottom: 14px; }
.track-flow { margin-bottom: 12px; }
.track-specs li { padding: 9px 0 !important; }
.tracks-grid article.track .track-choose { margin-top: 18px; padding: 11px 18px; }
.tracks-extra__chips span { border: 1px solid rgba(23, 77, 128, .16); background: #fff; }

/* ---------- Feedback 21.10 · screen 09: a large portrait with a living ring ---------- */
.author-photo { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 38px; }
.author-photo__frame { position: relative; display: block; width: 212px; height: 212px; }
.author-photo__frame img { position: relative; z-index: 1; width: 200px !important; height: 200px !important; margin: 6px; box-shadow: 0 0 0 5px #fff, 0 26px 50px -18px rgba(24, 55, 80, .45) !important; transition: transform .9s var(--e-expo), clip-path 1.1s var(--e-expo); }
.author-photo__ring { position: absolute; inset: -6px; border-radius: 50%; background: conic-gradient(from 0deg, #a6d95a, #8fd1f0, #b9b0f2, transparent 70%, #a6d95a); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); animation: ring-spin 9s linear infinite; }
@keyframes ring-spin { to { transform: rotate(1turn); } }
.author-photo__badge { position: absolute; z-index: 2; padding: 7px 12px; border: 1px solid rgba(13, 33, 48, .08); border-radius: 999px; color: #0d2130; background: rgba(255, 255, 255, .92); box-shadow: 0 12px 26px -14px rgba(24, 55, 80, .45); font-size: 12.5px; font-weight: 650; white-space: nowrap; transition: opacity .6s ease, transform .8s var(--e-expo); }
.author-photo__badge--a { left: 176px; top: 34px; transition-delay: .35s; animation: badge-float 6s ease-in-out infinite; }
.author-photo__badge--b { left: 150px; bottom: 22px; transition-delay: .55s; animation: badge-float 7s ease-in-out infinite reverse; }
.author-photo__badge--a::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #a6d95a; vertical-align: 1px; }
.author-photo__badge--b::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #2b7fd0; vertical-align: 1px; }
@keyframes badge-float { 50% { translate: 0 -6px; } }
/* on arrival the portrait opens from the centre and the badges slide in */
.career-wrap:not(.is-drawn) .author-photo__frame img { clip-path: circle(0% at 50% 50%); transform: scale(1.12); }
.career-wrap.is-drawn .author-photo__frame img { clip-path: circle(50% at 50% 50%); }
.career-wrap:not(.is-drawn) .author-photo__badge { opacity: 0; transform: translateX(-14px); }
.author-photo figcaption b { font-size: 17px; }
@media (prefers-reduced-motion: reduce) { .author-photo__ring, .author-photo__badge { animation: none; } }

/* ---------- Feedback 21.10 · screen 10: twelve questions, the form starts level with the heading ---------- */
.faq-main .section-lead { margin-bottom: 26px; }
.faq-list summary { padding: 17px 36px 17px 0; font-size: clamp(16px, 1.35vw, 19px); }
.faq-list summary::after { top: 16px; }
.faq-list details p { margin-bottom: 18px; font-size: 14.5px; }
.faq-grid .apply-card { position: sticky; top: 88px; }
@media (max-width: 620px) { .author-photo__badge--b { left: 70px; bottom: -12px; } .author-photo__badge--a { left: 160px; } }

/* ---------- Feedback 22.10 · screens 06 and 08 ---------- */
.story__copy blockquote { margin-bottom: 28px !important; }
.track-flow__step.is-place { display: inline-flex; align-items: center; gap: 6px; }
.track-flow__step svg { width: 15px; height: 15px; }
.track-specs li { grid-template-columns: 150px 1fr !important; }
/* two strips, as in the wireframe: a framed strip for future programs, a quiet one for services */
.tracks-extras { display: none !important; }
.tracks-strips { display: grid; gap: 0; margin-top: 30px; }
.tracks-strip { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 18px 32px; }
.tracks-strip b { display: block; margin-top: 6px; color: #0d2130; font-size: 19px; font-weight: 650; letter-spacing: -.01em; }
.tracks-strip p { max-width: 560px; margin: 6px 0 0; color: #4b6275; font-size: 14.5px; line-height: 1.45; }
.tracks-strip a { color: #1f6fa8; font-size: 15px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.tracks-strip a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tracks-strip--programs { padding: 22px 28px; border: 1px solid rgba(40, 98, 125, .16); border-radius: 22px; background: rgba(233, 241, 254, .72); }
.tracks-strip__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tracks-strip__chips span { padding: 6px 12px; border: 1px solid rgba(23, 77, 128, .16); border-radius: 999px; color: #1c5a80; background: #fff; font-size: 13px; font-weight: 600; }
.tracks-strip--services { grid-template-columns: minmax(0, 1fr) auto; align-items: end; margin-top: 26px; padding: 24px 28px 0; border-top: 1px solid rgba(13, 33, 48, .1); }
.tracks-strip--services b { color: rgba(13, 33, 48, .85); font-size: 17px; }
.tracks-strip__links { display: flex; gap: 24px; }
.tracks-strip__links a { font-size: 14px; }
@media (max-width: 1000px) { .tracks-strip, .tracks-strip--services { grid-template-columns: 1fr; align-items: start; } .tracks-strip__links { flex-wrap: wrap; } }

/* ---------- Feedback 22.10 · screen 10: short FAQ by default, a clearer form ---------- */
.faq-main:not(.is-all) .faq-more { display: none; }
.faq-all { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 11px 20px; border: 1px solid rgba(13, 33, 48, .14); border-radius: 999px; color: #0d2130; background: rgba(255, 255, 255, .7); font: inherit; font-size: 15px; font-weight: 650; cursor: pointer; transition: background-color .2s ease; }
.faq-all:hover { background: #fff; }
.faq-all span { display: inline-block; transition: transform .3s var(--e-out); }
.faq-main.is-all .faq-all span { transform: rotate(180deg); }
.apply-card .req { color: #c2410c; font-style: normal; font-weight: 700; }
.apply-card label { font-size: 13px !important; }
/* track as three pills */
.track-pick { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.track-pick legend { width: 100%; margin-bottom: 8px; padding: 0; color: #335b72; font-size: 13px; font-weight: 700; }
.track-pick label { display: block !important; position: relative; border-radius: 999px; }
.track-pick input { position: absolute; inset: 0; width: 100% !important; min-height: 0 !important; margin: 0; padding: 0 !important; opacity: 0; cursor: pointer; }
.track-pick span { display: inline-block; padding: 9px 15px; border: 1px solid rgba(13, 33, 48, .14); border-radius: 999px; color: #1a2e3d; background: #fff; font-size: 14px; font-weight: 600; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.track-pick input:checked + span { border-color: rgba(120, 160, 70, .5); color: #0d2130; background: #E3F6C3; }
.track-pick input:focus-visible + span { outline: 2px solid #2b94c8; outline-offset: 2px; }
/* consent checkboxes */
.apply-card label.check { display: flex !important; align-items: flex-start; gap: 10px; color: #3b5064; font-size: 13px !important; font-weight: 500 !important; line-height: 1.4; }
.apply-card label.check input { flex: none; width: 18px !important; height: 18px; min-height: 0 !important; margin: 1px 0 0; padding: 0 !important; accent-color: #2b7fd0; }
.apply-card label.check a { color: #1f6fa8; }

/* 09–10: the light veil runs edge to edge, so no frame shows on wide screens */
/* 09–10: the light veil keeps its width but fades out at the sides, so it has no visible edge */
.section-author::before, .section-faq::before { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); }
.apply-card label:not(.check) { grid-template-columns: auto 1fr; column-gap: 4px; align-items: baseline; }
.apply-card label:not(.check) > input, .apply-card label:not(.check) > textarea { grid-column: 1 / -1; }
.track-specs li { grid-template-columns: 128px 1fr !important; font-size: 14px !important; }
.track-flow { flex-wrap: nowrap; }
.section-cases .section-lead p { max-width: 980px !important; }
.section-cases .section-lead h2 { margin-bottom: 16px; }
.story__media .story__visual { min-height: 336px; }
.track-specs li { padding: 8px 0 !important; }
.tracks-grid article.track .track-choose { margin-top: 14px; }

/* ---------- Feedback 20.10 evening · screen 06 ---------- */
.story__facts > div:first-child { border-top: 0; }
/* quiet hover: a fact row lights up, the pictured result lifts a little (translate only, stays crisp) */
.story__facts > div { margin: 0 -12px; padding-left: 12px !important; padding-right: 12px !important; border-radius: 12px; transition: background-color .25s ease; }
.story__facts > div + div { border-top-color: rgba(13, 33, 48, .07); }
.story__facts dt { transition: color .25s ease; }
.story__view > * { transition: transform .5s var(--e-expo), box-shadow .5s var(--e-expo); }
@media (hover: hover) {
  .story__facts > div:hover { background: rgba(233, 241, 254, .7); }
  .story__facts > div:hover dt { color: #1c5a80 !important; }
  .story__visual:hover .story__view > * { transform: translateY(-6px); }
  .story__visual:hover .sv-phone, .story__visual:hover .sv-journal { box-shadow: 0 34px 60px -24px rgba(24, 55, 80, .45); }
}

/* ---------- Crisp hover (07, 08) ----------
   Scaling a card scales its text as a bitmap, so it blurs. Only surfaces scale now; text moves
   by whole pixels. 07: lift without scale. 08: the hovered card's surface grows, the other card's
   surface shrinks and its content slides with it, so padding stays even and text stays sharp. */
@media (hover: hover) {
  .weeks-grid article.is-reached:hover { transform: translateY(-8px) !important; }
}
/* 08 · shorter steps in the scheme */
.track-flow__step { white-space: nowrap; }
/* 08 · strips: no divider, closer together; the services text on one line with its links beside it */
.tracks-strip--services { margin-top: 14px; padding-top: 6px; border-top: 0; }
.tracks-strip--services { grid-template-columns: minmax(0, 1fr); }
.tracks-strip__row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-top: 6px; }
.tracks-strip__row p { max-width: none; margin: 0; }
.apply-card label:not(.check) { grid-template-columns: 1fr !important; }
.apply-card .lbl { display: block; }
/* mobile: the track scheme may wrap, cards never push the page wider than the screen */
@media (max-width: 760px) {
  .track-flow { flex-wrap: wrap !important; }
  .track-flow__step { white-space: normal !important; }
  .tracks-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .tracks-grid article.track { min-width: 0; }
}

/* ---------- evening 20.10 · 06–09 ---------- */
/* 06: a lower card; the pictured result fills more of its backdrop */
.story__media .story__visual { min-height: 300px !important; }
.story { padding: 24px 28px !important; min-height: 470px !important; }
.story__view { padding: 18px !important; }
.story__view .sv-phone, .story__view .sv-journal { width: min(100%, 440px) !important; max-width: none !important; }
.story__view .sv-compare { width: 100%; }
/* 09: career in the text face, the bio leads; a placeholder for Artem's own quote */
.career b { font-family: var(--body) !important; font-size: 16px !important; font-weight: 600 !important; letter-spacing: -.01em !important; line-height: 1.3; }
.career { gap: 16px !important; }
.author-quote { margin: 22px 0 6px; padding: 14px 18px; border-left: 3px solid #a6d95a; border-radius: 0 14px 14px 0; color: #0d2130; background: rgba(255, 255, 255, .55); font-family: var(--display); font-size: 21px; line-height: 1.4; }
.author-quote small { display: block; margin-top: 6px; color: #9a4b1c; font-family: var(--body); font-size: 12px; font-weight: 600; }
.author-quote.is-placeholder { border-style: dashed; border-left-style: solid; }
/* services and future programs now live in the footer, quieter */
.site-footer { flex-wrap: wrap; }
.footer-strips { flex: 1 0 100%; order: -1; margin: 0 0 28px !important; }
.footer-strips .tracks-strip--programs { padding: 16px 22px; background: rgba(233, 241, 254, .5); }
.footer-strips .tracks-strip b { font-size: 16px; }
.footer-strips .tracks-strip--services { margin-top: 8px; padding: 8px 22px 0; }
.footer-strips .tracks-strip p { font-size: 13.5px; color: rgba(13, 33, 48, .66); }

/* 10 · a wider, lower form: two fields in a row, track pills on one line */
.faq-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; gap: clamp(32px, 4vw, 64px) !important; }
.apply-card { padding: 30px 34px !important; }
.apply-card h3 { font-size: clamp(30px, 2.6vw, 38px) !important; margin-bottom: 8px; text-wrap: balance; }
.apply-card > p { margin-bottom: 0; }
.apply-card form { gap: 12px !important; margin-top: 18px !important; }
.apply-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.track-pick { flex-wrap: nowrap; }
.track-pick span { padding: 8px 13px; font-size: 13.5px; white-space: nowrap; }
.apply-card input, .apply-card textarea { font-size: 16px !important; }
@media (max-width: 1100px) { .faq-grid { grid-template-columns: 1fr !important; } .faq-grid .apply-card { position: static; } }
@media (max-width: 620px) { .apply-row { grid-template-columns: 1fr; } .track-pick { flex-wrap: wrap; } }
.author-quote.is-placeholder { border: 1px dashed rgba(154, 75, 28, .35) !important; border-left: 3px solid #a6d95a !important; }

.author-quote small { display: block; margin-top: 6px; color: #9a4b1c; font-family: var(--body); font-size: 12px; font-weight: 600; }
.author-quote.is-placeholder { border-style: dashed; border-left-style: solid; }
/* services and future programs now live in the footer, quieter */
.site-footer { flex-wrap: wrap; }
.footer-strips { flex: 1 0 100%; order: -1; margin: 0 0 28px !important; }
.footer-strips .tracks-strip--programs { padding: 16px 22px; background: rgba(233, 241, 254, .5); }
.footer-strips .tracks-strip b { font-size: 16px; }
.footer-strips .tracks-strip--services { margin-top: 8px; padding: 8px 22px 0; }
.footer-strips .tracks-strip p { font-size: 13.5px; color: rgba(13, 33, 48, .66); }

/* 10 · a wider, lower form: two fields in a row, track pills on one line */
.faq-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; gap: clamp(32px, 4vw, 64px) !important; }
.apply-card { padding: 30px 34px !important; }
.apply-card h3 { font-size: clamp(30px, 2.6vw, 38px) !important; margin-bottom: 8px; text-wrap: balance; }
.apply-card > p { margin-bottom: 0; }
.apply-card form { gap: 12px !important; margin-top: 18px !important; }
.apply-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.track-pick { flex-wrap: nowrap; }
.track-pick span { padding: 8px 13px; font-size: 13.5px; white-space: nowrap; }
.apply-card input, .apply-card textarea { font-size: 16px !important; }
@media (max-width: 1100px) { .faq-grid { grid-template-columns: 1fr !important; } .faq-grid .apply-card { position: static; } }
@media (max-width: 620px) { .apply-row { grid-template-columns: 1fr; } .track-pick { flex-wrap: wrap; } }
.author-quote.is-placeholder { border: 1px dashed rgba(154, 75, 28, .35) !important; border-left: 3px solid #a6d95a !important; }

/* 08 · same hover as section 04: the hovered card's surface grows (text stays 1:1), the other card shrinks as a whole */
.tracks-grid article.track { transition: transform .3s ease-out !important; }
.tracks-grid article.track:first-child { transform-origin: left bottom; }
.tracks-grid article.track:last-child { transform-origin: right bottom; }
@media (hover: hover) {
  .tracks-grid:has(article:hover) article.track:not(:hover) { transform: scale(.96) !important; box-shadow: none !important; }
}
.author-quote small { color: rgba(13, 33, 48, .55) !important; }
/* 06: all three stories share one height; more air between the title and the quote */
.story__copy h3 { margin-bottom: 22px !important; }
.story { min-height: 524px !important; }

/* Specializations and services: a short separate form above the footer */
.contact-block { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: start; margin: 0 var(--gutter) 72px; padding: 30px 34px; border: 1px solid rgba(40, 98, 125, .14); border-radius: 26px; background: rgba(246, 250, 253, .72); box-shadow: 0 18px 44px -26px rgba(36, 74, 99, .35); scroll-margin-top: 96px; }
.contact-block__copy h3 { margin: 10px 0 10px; color: #0d2130; font-family: var(--display); font-size: clamp(26px, 2.2vw, 32px); font-weight: 400; letter-spacing: -.015em; }
.contact-block__copy p { margin: 0; color: #4b6275; font-size: 15px; line-height: 1.5; }
.contact-form { display: grid; gap: 12px; }
.contact-form label { display: grid; gap: 6px; color: #335b72; font-size: 13px; font-weight: 700; }
.contact-form input:not([type="radio"]):not([type="checkbox"]), .contact-form textarea { width: 100%; min-height: 43px; padding: 10px 13px; border: 1px solid rgba(53, 117, 160, .22); border-radius: 13px; color: #10283a; background: #fff; font: inherit; font-size: 16px; font-weight: 500; }
.contact-form .check { display: flex; align-items: flex-start; gap: 10px; color: #3b5064; font-weight: 500; }
.contact-form .check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: #2b7fd0; }
.contact-form .check a { color: #1f6fa8; }
.contact-form .button { justify-self: start; min-height: 46px; padding: 0 22px; font-size: 15px; font-weight: 600; }
.contact-form .req { color: #c2410c; font-style: normal; }
.contact-form .apply-status { margin: 0; color: #6b8091; font-size: 12px; }
.contact-topic { flex-wrap: wrap !important; }
@media (max-width: 900px) { .contact-block { grid-template-columns: 1fr; margin-inline: 20px; padding: 24px; } }

/* contact form for specializations and services: a popup, not a block on the page */
dialog.contact-block { width: min(860px, calc(100vw - 32px)); max-height: min(88svh, 760px); margin: auto; padding: 34px 36px 30px; border: 0; border-radius: 26px; background: #F7FAFC; box-shadow: 0 40px 100px -30px rgba(13, 33, 48, .5); overflow: auto; }
dialog.contact-block[open] { display: grid; animation: ucx-in .5s var(--e-expo); }
dialog.contact-block::backdrop { background: rgba(13, 33, 48, .32); backdrop-filter: blur(4px); }
dialog.contact-block .contact-close { position: absolute; top: 14px; right: 14px; }
/* Artem's quote: a soft card with all corners rounded, as wide as its text */
.author-quote { width: fit-content; max-width: 100%; border: 1px solid rgba(40, 98, 125, .12) !important; border-left: 3px solid #a6d95a !important; border-radius: 16px !important; padding: 16px 22px !important; }
.author-links { margin-top: 22px; }
dialog.contact-block { position: fixed !important; inset: 0 !important; height: fit-content; z-index: auto; }
dialog.contact-block:not([open]) { display: none !important; }
