/* Caterpillar Garden – one type family; colours only from the brand palette
   (CG color map) plus the deck navy: navy text on white and Alice Blue,
   Queen Blue links, China Rose marks, Raw Sienna on navy. Change values here, not selectors. */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/inter-latin-wght-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: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/inter-latin-ext-wght-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;
}

:root {
    /* Brand palette – CG color map */
    --raw-sienna: #d38d5f;
    --rich-black: #000000;
    --china-rose: #ab4e68;
    --alice-blue: #e9f1f7;
    --queen-blue: #3a6ea5;
    --deck-navy: #1d3147;            /* background of the CG decks */
    --teal: #39a78e;                 /* old brand teal – frames only, never text (2.6:1) */

    /* Roles. Deck navy replaces black as the dark colour, so the site and
       the presentations match. Contrast checked (WCAG AA): navy text 13.3:1
       on white; queen-blue and china-rose text 5.3:1 / 5.2:1 on white and
       4.6:1 on alice-blue; raw-sienna only on navy (4.9:1) – on light
       backgrounds it is decoration, never text. */
    --bg: #ffffff;
    --bg-tint: var(--alice-blue);
    --ink: var(--deck-navy);
    --muted: #4b5a6b;                 /* deck navy, softened: 7.2:1 on white */
    --line: #d4e1ec;                  /* alice blue, deepened */
    --link: var(--queen-blue);
    --mark: var(--china-rose);
    --dark: var(--deck-navy);
    --dark-text: var(--alice-blue);
    --dark-muted: #b3c2d1;            /* 7.3:1 on navy */
    --dark-line: #34495f;
    --dark-mark: var(--raw-sienna);
    --font-body: var(--gh-font-body, "Inter", system-ui, -apple-system, "Segoe UI", sans-serif);
    --font-display: var(--gh-font-heading, var(--font-body));
    --wrap: 1180px;
    --wrap-text: 720px;
    --gutter: 16px;
    --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 17px/1.6 var(--font-body);
    font-feature-settings: "cv11", "ss01";
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; margin: 0 0 0.5em; }
h1 { font-size: clamp(36px, 6vw, 68px); font-weight: 600; }
h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 600; }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--text { max-width: calc(var(--wrap-text) + 2 * var(--gutter)); }
@media (min-width: 760px) { :root { --gutter: 32px; } }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: var(--gutter); top: var(--gutter); z-index: 10; background: var(--bg); padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.eyebrow a { color: inherit; text-decoration: none; }

.button {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--ink); color: var(--bg); text-decoration: none;
    padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 16px;
}
.button::after { content: "↗"; color: var(--raw-sienna); }
.button:hover { background: var(--queen-blue); }
.section--dark .button { background: var(--alice-blue); color: var(--deck-navy); }
.button--small { padding: 8px 16px; font-size: 14px; }
.link-arrow { font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.link-arrow::after { content: "\00a0→"; color: var(--link); } /* no-break space: the arrow never wraps alone */
.nowrap { white-space: nowrap; }
.link-arrow:hover { border-color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin: 28px 0; }

/* header / footer */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; min-height: 64px; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; color: var(--ink); text-decoration: none; }
.site-brand img { border-radius: 6px; }
.site-nav { margin-left: auto; }
.site-nav ul, .site-footer ul { display: flex; flex-wrap: wrap; gap: 0 22px; list-style: none; margin: 0; padding: 0; }
.site-nav a, .site-footer a { color: var(--ink); text-decoration: none; font-size: 15px; }
/* Touch targets of at least 24 px (WCAG 2.2 AA 2.5.8): the links get height,
   the row gap shrinks so the menu does not grow. */
.site-nav a, .site-footer .nav a, .lang-switch { display: inline-block; min-height: 24px; padding: 4px 0; line-height: 16px; }
.site-nav a:hover { color: var(--link); }
.lang-switch { font-size: 14px; color: var(--muted); text-decoration: none; }
/* Phones: one compact row, the menu in a panel under the header */
.menu-mobile { display: none; }
@media (max-width: 759px) {
    .site-header__inner { flex-wrap: nowrap; gap: 10px; min-height: 56px; }
    .site-brand { font-size: 16px; gap: 8px; min-width: 0; }
    .site-brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .site-nav, .header-cta { display: none; }
    .site-header .lang-switch { margin-left: auto; white-space: nowrap; }
    .menu-mobile { display: block; flex: none; }
    .menu-mobile summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fff; }
    .menu-mobile summary::-webkit-details-marker { display: none; }
    .menu-mobile__close { display: none; }
    .menu-mobile[open] summary { background: var(--deck-navy); border-color: var(--deck-navy); color: #fff; }
    .menu-mobile[open] .menu-mobile__open { display: none; }
    .menu-mobile[open] .menu-mobile__close { display: block; }
    @media (max-width: 380px) { .site-brand { font-size: 15px; } .site-header .lang-switch { font-size: 13px; } .site-brand img { width: 28px; height: 28px; } }
    .menu-mobile__panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -20px rgba(29,49,71,.45); padding: 4px 16px 20px; }
    .menu-mobile__panel ul { display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; }
    .menu-mobile__panel li a { display: block; padding: 13px 0; font-size: 17px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
    .menu-mobile__panel .button { display: flex; justify-content: center; margin-top: 18px; }
}
.site-main { min-height: 60vh; }
.site-footer { background: var(--dark); color: var(--dark-muted); padding: 28px 0 40px; font-size: 14px; }
.site-footer a { color: var(--dark-text); }
.site-footer p { margin: 14px 0 0; }

/* sections */
.section { padding: clamp(64px, 10vw, 120px) 0; scroll-margin-top: 64px; }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--dark); color: var(--dark-text); }
.section--dark .eyebrow, .section--dark .section__lede { color: var(--dark-muted); }
.section__head { max-width: 760px; margin-bottom: 48px; }
.section__lede { font-size: 19px; color: var(--muted); }
#challanges, #services { position: relative; top: -64px; display: block; }

/* hero */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 96px); }
.hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.35fr 1fr; gap: 64px; } }
.hero__title { max-width: 14ch; }
.hero__lede { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 40ch; }
.hero__portrait img { width: 100%; max-width: 520px; margin: 0 auto; }
.hero__byline { display: none; }
@media (max-width: 899px) {
    .hero__byline { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
    .hero__byline img { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
    .hero__byline p { margin: 0; line-height: 1.3; }
    .hero__byline strong { display: block; color: var(--ink); font-size: 17px; }
    .hero__byline span { color: var(--muted); font-size: 15px; }
    .hero__portrait { display: none; }
}
.principles { list-style: none; padding: 24px 0 0; margin: 8px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px 28px; color: var(--muted); font-size: 15px; }
@media (min-width: 600px) { .principles { grid-template-columns: 1fr 1fr; } }
.principles li::before { content: "— "; color: var(--mark); }

/* situations */
.situations { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .situations { grid-template-columns: 1fr 1fr; column-gap: 56px; } }
.situations li { counter-increment: s; padding: 28px 0 28px 52px; border-bottom: 1px solid var(--line); position: relative; }
.situations li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 30px; font-size: 14px; font-weight: 600; color: var(--mark); font-variant-numeric: tabular-nums; }
.situations__quote { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; margin-bottom: 8px; }
.situations li p:not(.situations__quote) { color: var(--muted); }

/* offer cards */
.cards { display: grid; gap: 20px; }
@media (min-width: 700px) { .cards { grid-template-columns: 1fr 1fr; } .cards > .card:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; color: var(--ink); text-decoration: none; transition: border-color .15s; }
.card:hover { border-color: var(--ink); }
.card__meta { font-size: 14px; font-weight: 600; color: var(--mark); margin-bottom: 10px; }
.card h3, .card__title { font-size: 22px; }
.card p:last-child { color: var(--muted); margin: 0; }
.note { color: var(--muted); margin: 28px 0 56px; }
.situations + .note { margin: 28px 0 0; }
.lite { margin: 16px 0 0; max-width: 720px; }
.ladder { display: grid; gap: 20px; }
@media (min-width: 760px) { .ladder { grid-template-columns: repeat(3, 1fr); } }
.ladder > div { background: #fff; border: 2px solid var(--frame, var(--line)); border-radius: var(--radius); padding: 26px 28px; }
.ladder > div:nth-child(1) { --frame: var(--teal); }
.ladder > div:nth-child(2) { --frame: var(--china-rose); }
.ladder > div:nth-child(3) { --frame: var(--queen-blue); }
.ladder p { color: var(--muted); font-size: 16px; margin-bottom: 0; }

/* method */
.steps { list-style: none; counter-reset: st; padding: 0; margin: 0 0 64px; display: grid; gap: 24px; }
@media (min-width: 600px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(6, 1fr); gap: 20px; } }
.steps li { counter-increment: st; border-top: 2px solid var(--ink); padding-top: 14px; }
.steps li::before { content: counter(st); display: block; font-size: 13px; font-weight: 600; color: var(--mark); margin-bottom: 6px; }
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15px; margin: 0; }
.paths { display: grid; gap: 20px; }
@media (min-width: 760px) { .paths { grid-template-columns: 1fr 1fr; } }
.path { background: var(--bg-tint); border-radius: var(--radius); padding: 28px; }
.path__quote { font-size: 21px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.path p:last-child { color: var(--muted); margin: 0; }

/* results */
.cases { display: grid; gap: 20px; }
@media (min-width: 760px) { .cases { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .cases { grid-template-columns: repeat(3, 1fr); } }
.case { border: 1px solid var(--dark-line); border-radius: var(--radius); padding: 28px; }
.case__client { font-size: 14px; color: var(--dark-muted); }
.case__figure { font-size: clamp(44px, 6vw, 64px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--dark-mark); margin: 8px 0 4px; }
.case__figure-label { font-size: 14px; color: var(--dark-muted); margin-bottom: 18px; }
.case p:last-child { margin: 0; color: var(--dark-text); }
.testimonial { margin: 56px auto 0; max-width: 860px; text-align: center; border: 2px solid var(--dark-mark); border-radius: var(--radius); padding: 32px 24px; }
@media (min-width: 760px) { .testimonial { padding: 44px 56px; } }
.testimonial blockquote { margin: 0; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.4; letter-spacing: -0.01em; }
.testimonial figcaption { margin-top: 16px; color: var(--dark-muted); }
.testimonial figcaption::before { content: "— "; color: var(--dark-mark); }

/* about */
.about { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .about { grid-template-columns: 0.8fr 1.2fr; gap: 72px; } }
.about__portrait img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about__role { color: var(--muted); font-size: 18px; }
.chips { list-style: none; padding: 0; margin: 24px 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; font-size: 14px; }

/* contact */
.contact { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; } }
.contact__title { font-size: clamp(38px, 10.5vw, 104px); letter-spacing: -0.04em; }
.contact > * { min-width: 0; }
.contact__cards a { overflow-wrap: anywhere; }
.contact__hours { color: var(--dark-muted); font-size: 15px; }
.contact__cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact__cards a { display: block; border: 1px solid var(--dark-line); border-radius: var(--radius); padding: 18px 22px; color: var(--dark-text); text-decoration: none; font-size: 18px; font-weight: 600; }
.contact__cards a:hover { border-color: var(--dark-mark); }
.contact__cards .eyebrow { display: block; margin-bottom: 4px; font-size: 12px; color: var(--dark-muted); }

/* lists */
.post-feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px; padding: 0 0 40px; }
.post-card__link { color: inherit; text-decoration: none; }
.post-card__image { border-radius: var(--radius); }
.post-card__title { font-size: 21px; margin: 14px 0 6px; }
.post-card__excerpt { color: var(--muted); margin: 0; }
.empty { color: var(--muted); }
.pagination { display: flex; gap: 16px; justify-content: center; color: var(--muted); }

/* articles and offers */
.article__header { padding-top: 64px; }
.article__title, .offer__title { font-size: clamp(34px, 5vw, 54px); margin: 0 0 14px; }
.article__lede { font-size: 20px; color: var(--muted); }
.article__meta { color: var(--muted); font-size: 14px; }
.article__image { margin: 32px auto; }
.article__image figcaption { color: var(--muted); font-size: 14px; text-align: center; }
.article, .offer { padding-bottom: 80px; }
.offer__head { background: var(--bg-tint); padding: 64px 0 24px; margin-bottom: 48px; }
.offer__meta { font-size: 19px; font-weight: 600; color: var(--mark); }
.offer__cta { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.gh-content > * + * { margin-top: 1.1em; }
.gh-content h2 { font-size: clamp(24px, 3vw, 30px); margin-top: 2em; }
.gh-content h3 { margin-top: 1.6em; }
.gh-content blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 3px solid var(--china-rose); font-size: 20px; }
.gh-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.gh-content th, .gh-content td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.gh-content pre { overflow-x: auto; padding: 16px; border: 1px solid var(--line); border-radius: 8px; }
.gh-content .table-wrap { overflow-x: auto; }

/* Koenig editor cards (required by Ghost) */
.kg-width-wide { position: relative; width: min(1000px, 100vw - 2 * var(--gutter)); left: 50%; transform: translateX(-50%); }
.kg-width-full { position: relative; width: 100vw; left: 50%; transform: translateX(-50%); }
.kg-width-full img, .kg-width-wide img { width: 100%; }

/* errors */
.error { padding: 96px 0; text-align: center; }
.error__code { font-size: 72px; margin: 0; }

/* worked example: a value stream with leaks on the arrows, then one card per leak */
.example { border-top: 1px solid var(--line); }
.marker { display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; font-size: 19px; font-weight: 700; line-height: 1; }
.marker--pain { background: var(--china-rose); color: #fff; }
.marker--leak { background: var(--raw-sienna); color: var(--deck-navy); }
.marker--chance { background: var(--teal); color: var(--deck-navy); }
.example__legend { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--muted); font-size: 15px; }
.example__legend li { display: flex; align-items: center; gap: 10px; }
.example__legend .marker { width: 18px; height: 18px; font-size: 0; }
.flow { list-style: none; padding: 0; margin: 0 0 64px; display: grid; gap: 0; }
.flow__step { display: grid; place-items: center; min-height: 72px; background: var(--deck-navy); color: var(--alice-blue); font-weight: 600; text-align: center; padding: 14px 12px; border-radius: 12px; }
.flow__leak { position: relative; padding: 16px 0 22px 40px; }
.flow__leak::before { content: ""; position: absolute; left: 15px; top: 0; bottom: 8px; border-left: 2px solid var(--line); }
.flow__leak::after { content: ""; position: absolute; left: 10px; bottom: 0; border: 6px solid transparent; border-top: 9px solid var(--line); }
.flow__leak--pain { --frame: var(--china-rose); }
.flow__leak--leak { --frame: var(--raw-sienna); }
.flow__leak--chance { --frame: var(--teal); }
.flow__link { display: flex; align-items: flex-start; gap: 12px; color: var(--ink); text-decoration: none; font-size: 15px; line-height: 1.4; }
.flow__link .marker { margin-top: 10px; }
.flow__note { flex: 1; display: block; background: #fff; border: 2px solid var(--frame); border-radius: 10px; padding: 10px 12px; }
.flow__link:hover .flow__note { box-shadow: 0 0 0 3px var(--alice-blue); }
.flow__type { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
@media (min-width: 1000px) {
    .flow { grid-template-columns: repeat(5, minmax(0, 1.25fr) minmax(0, 1.3fr)) minmax(0, 1.25fr); align-items: start; }
    .flow__step { min-height: 132px; padding: 14px 4px; font-size: 14px; }
    .flow__leak { padding: 0 8px; }
    .flow__leak::before { left: 4px; right: 12px; top: 65px; bottom: auto; border-left: 0; border-top: 2px solid var(--line); }
    .flow__leak::after { left: auto; right: 0; top: 60px; bottom: auto; border: 6px solid transparent; border-left: 9px solid var(--line); }
    .flow__link { flex-direction: column; align-items: center; text-align: center; font-size: 14px; gap: 10px; }
    .flow__link .marker { position: relative; z-index: 1; margin-top: 50px; box-shadow: 0 0 0 5px #fff; }
    .flow__link { position: relative; }
    /* Wider frames than the arrow column, staggered so neighbours never meet:
       every second note sits lower, joined to its marker by a dotted line. */
    .flow__note { flex: none; width: 216px; padding: 10px 12px; margin-top: 56px; }
    .flow__leak:nth-child(4n) .flow__note { margin-top: 180px; }
    .flow__link::after { content: ""; position: absolute; left: 50%; top: 84px; height: 60px; border-left: 2px dotted var(--frame); }
    .flow__leak:nth-child(4n) .flow__link::after { height: 184px; }
}
.example__subhead { font-size: 22px; margin: 0 0 24px; max-width: 760px; }
.hypotheses { display: grid; gap: 20px; }
@media (min-width: 700px) { .hypotheses { grid-template-columns: 1fr 1fr; } .hypotheses > .hypo:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .hypotheses { grid-template-columns: repeat(3, 1fr); } .hypotheses > .hypo:last-child:nth-child(odd) { grid-column: auto; } }
.hypo { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; scroll-margin-top: 80px; }
.hypo:target { border-color: var(--ink); box-shadow: 0 0 0 3px var(--alice-blue); }
.hypo__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.hypo__claim { font-weight: 600; line-height: 1.4; margin-bottom: 16px; }
.hypo__facts { margin: 0; display: grid; gap: 10px; font-size: 15px; }
.hypo__facts dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hypo__facts dd { margin: 2px 0 0; color: var(--ink); }
.decision { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--alice-blue); color: var(--deck-navy); border: 2px solid var(--frame, var(--line)); }
.decision--go { --frame: var(--teal); }
.decision--test { --frame: var(--queen-blue); }
.decision--stop { --frame: var(--china-rose); }
.decision--defer { --frame: var(--line); }
.example__summary { margin-top: 32px; background: var(--deck-navy); color: var(--alice-blue); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; align-items: center; }
@media (min-width: 900px) { .example__summary { grid-template-columns: 1fr auto; } .example__summary .button { grid-row: 1 / span 2; grid-column: 2; } }
.example__total, .example__value { margin: 0; }
.example__value { font-size: 20px; }
.example__value span { color: var(--raw-sienna); font-weight: 700; font-size: 28px; }
.button--light { background: var(--alice-blue); color: var(--deck-navy); }
.example__fineprint { margin: 14px 0 0; font-size: 14px; color: var(--muted); }

/* hero experience line and "how we start" */
.hero__proof { margin: 20px 0 0; font-size: 15px; color: var(--muted); max-width: 52ch; }
.hero__proof strong { color: var(--ink); }
@media (min-width: 1000px) { .steps--start { grid-template-columns: repeat(4, 1fr); } }
.steps--start { margin-bottom: 28px; }
.start__after { max-width: 760px; color: var(--muted); margin: 0 0 48px; }
.start__after strong { color: var(--ink); }

/* cooperation path page (/pl/jak-wspolpracujemy/) */
.path-hero { padding-bottom: 24px; }
.path-hero__title { max-width: 20ch; }
.stairs { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.stair { background: #fff; border: 2px solid var(--frame, var(--line)); border-radius: var(--radius); padding: 22px 24px; }
.stair--1 { --frame: var(--raw-sienna); }
.stair--2 { --frame: var(--china-rose); }
.stair--3 { --frame: var(--queen-blue); border-style: dashed; background: var(--bg-tint); }
.stair--4 { --frame: var(--teal); }
.stair h3 { font-size: 22px; margin: 4px 0 8px; }
.stair__meta { font-size: 13px; font-weight: 700; color: var(--mark); margin: 0; }
.stair__what { color: var(--muted); font-size: 15px; }
.stair__end { margin: 0; font-size: 15px; font-weight: 600; }
.stair__end span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.gate { display: grid; place-items: center; padding: 14px 0; position: relative; }
.gate span { position: relative; z-index: 1; background: var(--deck-navy); color: var(--alice-blue); font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px; }
.gate::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 2px dotted var(--line); }
@media (min-width: 1000px) {
    .stairs { grid-template-columns: 1fr 64px 1fr 64px 1fr 64px 1fr; align-items: start; }
    .stair--1 { margin-top: 120px; }
    .stair--2 { margin-top: 80px; }
    .stair--3 { margin-top: 40px; }
    .gate { padding: 0; align-self: center; }
    .gate::before { top: 50%; bottom: auto; left: 0; right: 0; border-left: 0; border-top: 2px dotted var(--line); }
    .gate span { writing-mode: vertical-rl; transform: rotate(180deg); padding: 12px 6px; font-size: 12px; }
}
.route-legend { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); font-size: 15px; }
.route-legend li { display: flex; align-items: center; gap: 8px; }
.route-dot { width: 16px; height: 16px; border-radius: 4px; display: inline-block; }
.route-dot--cg { background: var(--deck-navy); }
.route-dot--partner { border: 2px dashed var(--queen-blue); background: #fff; }
.route-dot--gate { background: var(--raw-sienna); transform: rotate(45deg) scale(.8); }
.routes { display: grid; gap: 24px; }
@media (min-width: 900px) { .routes { grid-template-columns: 1fr 1fr; gap: 40px; } }
.route { background: #fff; border-radius: var(--radius); padding: 28px; }
.route__quote { font-size: 20px; font-weight: 600; line-height: 1.3; margin-bottom: 20px; }
.route__steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; position: relative; }
.route__steps::before { content: ""; position: absolute; left: 13px; top: 8px; bottom: 8px; border-left: 2px solid var(--line); }
.route__step { position: relative; padding-left: 44px; }
.route__step::before { content: ""; position: absolute; left: 4px; top: 3px; width: 20px; height: 20px; border-radius: 5px; background: var(--deck-navy); }
.route__step--partner::before { background: #fff; border: 2px dashed var(--queen-blue); }
.route__step--gate::before { background: var(--raw-sienna); transform: rotate(45deg) scale(.85); }
.route__step--loop::after { content: "↺"; position: absolute; left: 7px; top: -1px; color: var(--alice-blue); font-size: 15px; font-weight: 700; }
.route__step strong { display: block; }
.route__step span { display: block; color: var(--muted); font-size: 15px; }
.lifecycle { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
@media (min-width: 900px) { .lifecycle { grid-template-columns: repeat(5, 1fr); gap: 0; } }
.life { position: relative; text-align: center; font-weight: 700; padding: 18px 12px; border-radius: 12px; }
@media (min-width: 900px) { .life { border-radius: 0; clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 18px 50%); padding-left: 28px; } .life--proposed { clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%); border-radius: 12px 0 0 12px; } }
.life--proposed { background: var(--alice-blue); color: var(--deck-navy); }
.life--test { background: var(--queen-blue); color: #fff; }
.life--decision { background: var(--raw-sienna); color: var(--deck-navy); }
.life--done { background: var(--deck-navy); color: var(--alice-blue); }
.life--value { background: var(--teal); color: var(--deck-navy); }
.lifecycle__else { color: var(--muted); margin: 16px 0 32px; }
.fee { border: 2px solid var(--teal); border-radius: var(--radius); padding: 24px 28px; max-width: 760px; }
.fee__title { font-weight: 700; margin-bottom: 6px; }
.fee p:last-child { margin: 0; color: var(--muted); }
.path-buy { display: grid; gap: 24px; }
@media (min-width: 900px) { .path-buy { grid-template-columns: 1fr 1.4fr; align-items: start; } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 600px) { .checks { grid-template-columns: 1fr 1fr; } }
.checks li { background: #fff; border-radius: 10px; padding: 14px 16px 14px 44px; position: relative; font-weight: 600; font-size: 15px; }
.checks li::before { content: "✓"; position: absolute; left: 16px; top: 13px; color: var(--deck-navy); background: var(--teal); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; }
.path-cta .actions { margin-top: 8px; }
.path-cta__link { color: var(--alice-blue); }

.path-link { margin-top: 28px; display: inline-block; }

/* offer product pages (partials/offers/<slug>.hbs): B's layout, C's previews */
.offer--product { padding-bottom: 80px; }
.pr-hero { padding: clamp(40px, 6vw, 72px) 0 48px; }
.pr-hero__grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .pr-hero__grid { grid-template-columns: 1.4fr 1fr; gap: 56px; } }
.pr-hero__title { font-size: clamp(34px, 5vw, 54px); max-width: 16ch; }
.pr-hero__lede { font-size: clamp(18px, 2vw, 20px); color: var(--muted); max-width: 46ch; }
.pr-price { background: #fff; border: 2px solid var(--deck-navy); border-radius: 18px; padding: 26px; box-shadow: 0 18px 40px -24px rgba(29,49,71,.45); }
.pr-price__from { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin: 0; }
.pr-price__num { font-size: 44px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; margin: 0; }
.pr-price__lite { color: var(--muted); margin: 4px 0 18px; }
.pr-price dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0 0 20px; font-size: 15px; }
.pr-price dt { color: var(--muted); }
.pr-price dd { margin: 0; font-weight: 600; }
.pr-price .button { width: 100%; justify-content: center; }
.pr-strip { background: var(--deck-navy); color: var(--alice-blue); }
.pr-strip ul { list-style: none; margin-top: 0; margin-bottom: 0; padding-top: 18px; padding-bottom: 18px; display: grid; gap: 14px 24px; }
@media (min-width: 760px) { .pr-strip ul { grid-template-columns: repeat(4, 1fr); } }
.pr-strip li { font-size: 15px; }
.pr-strip strong { display: block; color: var(--raw-sienna); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.pr-quotes { display: grid; gap: 16px; }
@media (min-width: 760px) { .pr-quotes { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.pr-quotes p { background: #fff; border-radius: var(--radius); padding: 22px; font-size: 19px; font-weight: 600; line-height: 1.35; border-left: 4px solid var(--china-rose); margin: 0; }
.pr-get { display: grid; gap: 20px; }
@media (min-width: 760px) { .pr-get { grid-template-columns: repeat(3, 1fr); } }
.pr-get article { background: #fff; border: 2px solid var(--frame); border-radius: var(--radius); padding: 24px; }
.pr-get article:nth-child(1) { --frame: var(--teal); }
.pr-get article:nth-child(2) { --frame: var(--china-rose); }
.pr-get article:nth-child(3) { --frame: var(--queen-blue); }
.pr-get p { color: var(--muted); margin: 0; }
.pr-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--alice-blue); display: grid; place-items: center; margin-bottom: 14px; font-size: 22px; }
.pr-preview { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .pr-preview { grid-template-columns: 1fr 1.3fr; gap: 48px; } }
.pr-map { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; counter-reset: none; }
.pr-map li { background: var(--deck-navy); color: var(--alice-blue); border-radius: 10px; padding: 14px 8px; text-align: center; font-weight: 600; font-size: 14px; position: relative; }
.pr-map li span { display: block; font-size: 12px; color: var(--raw-sienna); font-weight: 600; margin-top: 4px; }
.pr-score { margin: 0; background: #fff; border-radius: 18px; border: 1px solid var(--line); overflow: hidden; box-shadow: 0 18px 40px -26px rgba(29,49,71,.5); }
.pr-score__bar { background: var(--deck-navy); color: var(--alice-blue); padding: 12px 18px; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.pr-score table { width: 100%; border-collapse: collapse; font-size: 15px; }
.pr-score th { text-align: left; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.pr-score td { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.pr-num { font-weight: 700; white-space: nowrap; }
.pr-score__note { margin: 0; padding: 10px 14px; font-size: 13px; color: var(--muted); }
@media (max-width: 599px) { .pr-score th:nth-child(3), .pr-score td:nth-child(3) { display: none; } .pr-score td, .pr-score th { padding: 10px; } }
.pr-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; }
@media (min-width: 760px) { .pr-steps { grid-template-columns: repeat(3, 1fr); } }
.pr-steps li::before { content: ""; display: block; height: 4px; background: var(--deck-navy); border-radius: 4px; margin-bottom: 16px; }
.pr-steps p:last-child { color: var(--muted); margin: 0; }
.pr-when { font-size: 13px; font-weight: 700; color: var(--mark); margin-bottom: 6px; }
.pr-roles__label { margin-top: 48px; }
.pr-roles { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; margin: 0; }
.pr-roles li { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; background: #fff; }
.pr-plans { display: grid; gap: 20px; }
@media (min-width: 860px) { .pr-plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pr-plan { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; }
.pr-plan--main { border: 2px solid var(--deck-navy); box-shadow: 0 18px 40px -26px rgba(29,49,71,.5); }
.pr-plan__name { font-weight: 700; font-size: 20px; margin: 0; }
.pr-plan__price { font-size: 32px; font-weight: 700; margin: 6px 0 10px; }
.pr-plan ul { padding-left: 18px; color: var(--muted); flex: 1; }
.pr-plan .button { justify-content: center; }
.offer-details { border-top: 1px solid var(--line); }

/* Offer product pages: maturity bars, RAID views, callouts, four-step rows */
.pr-bars { list-style: none; margin: 0; padding: 16px 18px 6px; display: grid; gap: 14px; }
.pr-bars li { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 15px; }
.pr-bar__label { font-weight: 600; }
.pr-bar__track { height: 12px; background: var(--alice-blue); border-radius: 999px; overflow: hidden; }
.pr-bar__fill { display: block; height: 100%; border-radius: 999px; background: var(--deck-navy); }
.pr-bar__fill--low { background: var(--china-rose); }
.pr-bar__fill--mid { background: var(--queen-blue); }
.pr-bar__fill--high { background: var(--teal); }
.pr-bar__val { font-weight: 700; font-variant-numeric: tabular-nums; font-size: 14px; }
@media (max-width: 599px) { .pr-bars li { grid-template-columns: minmax(0, 1fr) auto; } .pr-bar__track { grid-column: 1 / -1; grid-row: 2; } }
.pr-callout { margin: 14px 18px 4px; padding: 12px 14px; border-left: 4px solid var(--teal); background: var(--alice-blue); border-radius: 8px; font-size: 15px; }
.pr-raid { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: var(--deck-navy); color: var(--alice-blue); font-weight: 700; font-size: 13px; }
.pr-views { display: inline-flex; gap: 5px; white-space: nowrap; }
.pr-views i, .pr-score__note i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: middle; border: 2px solid var(--deck-navy); }
.pr-views i.ok, .pr-score__note i.ok { background: var(--teal); border-color: var(--teal); }
.pr-views i.no, .pr-score__note i.no { background: var(--china-rose); border-color: var(--china-rose); }
.pr-views i.gap, .pr-score__note i.gap { background: #fff; border-color: var(--muted); }
@media (min-width: 760px) { .pr-steps--4 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 599px) { .pr-score--views th:nth-child(3), .pr-score--views td:nth-child(3) { display: table-cell; } .pr-score--views th:nth-child(1), .pr-score--views td:nth-child(1) { display: none; } }
/* ITOM preview: POT/PC/VC layers, insight on top */
.pr-layers { list-style: none; margin: 0; padding: 14px 18px 4px; display: grid; gap: 12px; }
.pr-layer { border: 2px solid var(--frame, var(--line)); border-radius: 12px; padding: 12px 14px; }
.pr-layer:nth-child(1) { --frame: var(--queen-blue); }
.pr-layer:nth-child(2) { --frame: var(--china-rose); }
.pr-layer:nth-child(3) { --frame: var(--teal); }
.pr-layer .pr-bars { padding: 6px 0; gap: 10px; }
.pr-layer__tag { margin: 0; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.pr-layer__tag strong { color: var(--ink); font-size: 15px; letter-spacing: .04em; margin-right: 4px; }
.pr-layer__quote { margin: 4px 0 2px; font-weight: 600; font-size: 15px; }
.pr-layer__see { margin: 0; color: var(--muted); font-size: 14px; }
.pr-layer .pr-bars li { grid-template-columns: minmax(0, 14rem) minmax(0, 1fr) auto; }
@media (max-width: 599px) { .pr-layer .pr-bars li { grid-template-columns: minmax(0, 1fr) auto; } }

/* Offer pages on phones: nothing wider than the screen, nothing split badly */
.pr-score__bar { flex-wrap: wrap; }
.pr-score__bar > span:last-child, .decision { white-space: nowrap; }
.pr-score__bar { row-gap: 2px; }
@media (max-width: 599px) {
    .pr-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pr-score td, .pr-score th { padding: 9px 6px; font-size: 13px; }
    .pr-score th { font-size: 11px; letter-spacing: .04em; }
    .pr-score td:first-child, .pr-score th:first-child { padding-left: 12px; }
    .pr-score td:last-child, .pr-score th:last-child { padding-right: 12px; }
    .decision { font-size: 12px; padding: 3px 8px; }
    .pr-score .pr-num { white-space: normal; }
    .pr-views { gap: 3px; }
    .pr-score__bar { flex-direction: column; align-items: flex-start; }
    .pr-score__bar > span:last-child { font-weight: 600; color: var(--alice-blue); opacity: .85; font-size: 14px; }
    .pr-roles li { border-radius: 12px; }
    .pr-price .button, .pr-plan .button { white-space: nowrap; font-size: 15px; padding-left: 18px; padding-right: 18px; }
}
