/* Concept seven is isolated from the other homepage experiments. */
.concept-8 { --ink: #191b22; --muted: #626777; --line: #e3e6ec; --blue: #275bd4; --nav: 92px; --ground: var(--c8-ground, #fafbfc); --tile: 62px; color: var(--ink); font-family: Inter, sans-serif; font-size: 16px; line-height: 1.6; background: var(--ground); }
.concept-8 *, .concept-8 *::before, .concept-8 *::after { box-sizing: border-box; }
.concept-8 [hidden] { display: none !important; }
.concept-8 h1, .concept-8 h2, .concept-8 p { margin: 0; }
.concept-8 h1, .concept-8 h2 { font-weight: 600; letter-spacing: -.05em; }
.concept-8 a { text-decoration: none; color: inherit; }
.concept-8 button { font: inherit; color: inherit; cursor: pointer; }
.concept-8 img { display: block; max-width: 100%; }
.concept-8 a:focus-visible, .concept-8 button:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.concept-8 .c8-wrap { width: min(1160px, 100%); margin-inline: auto; padding-inline: 32px; }
.concept-8 .c8-skip { position: absolute; left: 24px; top: -100px; z-index: 100; background: white; padding: 12px; }
.concept-8 .c8-skip:focus { top: 160px; }
.concept-8 .c8-button { display: inline-flex; justify-content: center; align-items: center; gap: 22px; border: 1px solid var(--ink); background: var(--ink); color: white; border-radius: 999px; padding: 14px 24px; min-height: 50px; font-size: 15px; font-weight: 500; transition: background .2s, transform .2s; white-space: nowrap; }
.concept-8 .c8-button:hover { background: #303644; transform: translateY(-2px); }
.concept-8 .c8-button-light { background: white; color: var(--ink); border-color: #d7dbe2; }
.concept-8 .c8-button-light:hover { background: #f1f2f5; }
.concept-8 .c8-button-large { font-size: 17px; padding: 18px 30px; min-height: 60px; box-shadow: 0 12px 32px #191b2230; }
.concept-8 .c8-text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; }
.concept-8 .c8-text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.concept-8 .c8-example-note { color: var(--muted); font-size: 11px; text-align: center; margin-top: 14px; }

/* The stage stays pinned through a tall track; scrolling moves the tiles through their formations. */
.concept-8 .c8-track { position: relative; height: 280svh; z-index: 1; }
.concept-8 .c8-hero { position: sticky; top: var(--nav); height: calc(100svh - 206px); min-height: 560px; overflow: hidden; display: grid; place-items: center; }
.concept-8 .c8-orbit { position: absolute; inset: 0; }
.concept-8 .c8-tile { position: absolute; left: 0; top: 0; width: var(--tile); height: var(--tile); display: grid; place-items: center; padding: 0; border: 1px solid #ffffffb3; border-radius: 22%; background: linear-gradient(160deg, #fff 0%, var(--tint) 100%); box-shadow: 0 1px 2px #1c1f2a12, 0 12px 28px -10px #1c1f2a30; will-change: transform; transition: box-shadow .2s; }
.concept-8 .c8-tile.is-behind { opacity: .12; pointer-events: none; }
.concept-8 .c8-tile:hover, .concept-8 .c8-tile:focus-visible { box-shadow: 0 2px 4px #1c1f2a1a, 0 18px 36px -10px #1c1f2a45; z-index: 3; }
.concept-8 .c8-tile img { width: 44%; height: 44%; opacity: .85; }
.concept-8 .c8-tile[data-ring="2"] { --tile: 44px; }
.concept-8 .c8-orbit.is-single .c8-tile[data-ring="2"] { display: none; }
.concept-8 .c8-tile[data-chapter="0"] { --tint: #fde5d8; }
.concept-8 .c8-tile[data-chapter="1"] { --tint: #dcf1e6; }
.concept-8 .c8-tile[data-chapter="2"] { --tint: #dcebfb; }
.concept-8 .c8-tile[data-chapter="3"] { --tint: #e8e3fb; }
.concept-8 .c8-tile[data-chapter="4"] { --tint: #fbf0d2; }
.concept-8 .c8-tile[data-chapter="5"] { --tint: #fbe0e8; }
 .concept-8 .c8-tile-label { position: absolute; top: calc(100% + 9px); left: 50%; transform: translateX(-50%); color: #536071; font-size: 11px; font-weight: 500; line-height: 1.15; text-align: center; width: max-content; max-width: 124px; text-wrap: balance; pointer-events: none; opacity: var(--label-opacity, 0); }
.concept-8 .c8-tile:hover .c8-tile-label, .concept-8 .c8-tile:focus-visible .c8-tile-label { opacity: 1 !important; color: var(--ink); background: #fff; border-radius: 5px; padding: 5px 8px; top: calc(100% + 5px); box-shadow: 0 4px 12px #17243815; z-index: 8; }
.concept-8 .c8-hero-copy { position: relative; z-index: 2; text-align: center; width: min(720px, calc(100% - 48px)); padding-inline: 20px; pointer-events: none; }
.concept-8 .c8-hero-copy.is-gone { pointer-events: none; visibility: hidden; }
.concept-8 .c8-hero-copy.is-gone > * { pointer-events: none; }
.concept-8 .c8-hero-copy > * { pointer-events: auto; }
.concept-8 h1 { font-size: clamp(38px, min(5vw, 8.4vh), 68px); line-height: 1.06; text-wrap: balance; }
.concept-8 .c8-hero-copy p { color: var(--muted); font-size: clamp(15px, 1.25vw, 17px); max-width: 640px; margin: 18px auto 0; }
.concept-8 .c8-actions { display: flex; justify-content: center; align-items: center; gap: 26px; margin-top: 24px; flex-wrap: wrap; }
.concept-8 .c8-agents { display: flex; justify-content: center; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; margin-top: 20px; }
.concept-8 .c8-agents img { width: 22px; height: 22px; }
.concept-8 .c8-hero-hint { position: absolute; right: 32px; bottom: 22px; z-index: 2; color: var(--muted); font-size: 12px; transition: opacity .25s; }
.concept-8 .c8-statement { opacity: 0; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; width: min(720px, calc(100% - 48px)); text-align: center; font-size: clamp(22px, 2.9vw, 40px); line-height: 1.25; letter-spacing: -.035em; font-weight: 500; text-wrap: balance; pointer-events: none; }
.concept-8 .c8-statement span { opacity: 1; color: var(--ink); }
.concept-8 .c8-tile.is-off { opacity: 0; pointer-events: none; }
.concept-8 .c8-hero-hint span { color: var(--ink); font-weight: 500; }

/* Example dialog */
.concept-8 .c8-dialog { border: 1px solid var(--line); border-radius: 15px; padding: 0; width: min(1000px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); color: var(--ink); background: white; }
.concept-8 .c8-dialog::backdrop { background: #111827a6; }
.concept-8 .c8-dialog[open] { display: flex; flex-direction: column; }
.concept-8 .c8-dialog-head { display: flex; align-items: center; gap: 20px; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.concept-8 .c8-dialog-head h2 { font-size: 21px; }
.concept-8 .c8-dialog-head button { border: 1px solid var(--line); border-radius: 7px; background: white; padding: 9px 14px; font-size: 13px; white-space: nowrap; }
.concept-8 .c8-dialog-body { padding: 25px; overflow-y: auto; overscroll-behavior: contain; }
.concept-8 .c8-dialog-prompt { font-size: 19px; font-weight: 500; margin-bottom: 15px; }
.concept-8 #c8-dialog-response { font-size: 14px; color: var(--muted); margin-bottom: 25px; }
.concept-8 .c8-dialog-shot { position: relative; aspect-ratio: 2592 / 1515; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #f3f5f8; }
.concept-8 .c8-dialog-shot.is-loading::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, #f3f5f8 30%, #e9edf2 50%, #f3f5f8 70%); background-size: 200% 100%; animation: c8-shimmer 1.2s linear infinite; }
.concept-8 #c8-dialog-image { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .2s; }
.concept-8 .c8-dialog-shot.is-loading #c8-dialog-image { opacity: 0; }
@keyframes c8-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.concept-8 .c8-dialog .c8-button { margin-top: 25px; }
html:has(#c8-dialog:modal) { overflow: hidden; }

@media (max-width: 1100px) {
    .concept-8 .c8-tile[data-ring="2"], .concept-8 .c8-tile[data-ring="1"][data-index="24"] ~ .c8-tile[data-ring="1"] { display: none; }
    .concept-8 .c8-hero-copy { max-width: 520px; }
}
@media (max-width: 800px) {
    .concept-8 .c8-feature { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 50px; }
    .concept-8 .c8-feature:nth-child(even) .c8-feature-copy { order: 0; }
    .concept-8 .c8-build { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 640px) {
    .concept-8 { --tile: 46px; }
    .concept-8 .c8-tile[data-ring="1"][data-index="14"] ~ .c8-tile[data-ring="1"] { display: none; }
    .concept-8 .c8-wrap { padding-inline: 20px; }
    .concept-8 .c8-hero { min-height: 520px; }
    .concept-8 .c8-hero-copy { max-width: 320px; padding-inline: 0; }
    .concept-8 h1 { font-size: 34px; }
    .concept-8 h1 .c8-wide-break { display: none; }
    .concept-8 .c8-hero-copy p { font-size: 14px; margin-top: 14px; }
    .concept-8 .c8-actions { gap: 16px; margin-top: 20px; }
    .concept-8 .c8-button { font-size: 13px; padding: 12px 18px; min-height: 44px; gap: 14px; }
    .concept-8 .c8-agents { flex-wrap: wrap; gap: 8px; font-size: 11px; margin-top: 18px; }
    .concept-8 .c8-agents span:last-child { flex-basis: 100%; }
    .concept-8 .c8-hero-hint { left: 20px; right: 20px; bottom: 12px; text-align: center; font-size: 11px; }
    .concept-8 .c8-close { padding-block: 56px 50px; }
    .concept-8 .c8-close h2 { font-size: 32px; }
    .concept-8 .c8-close-actions { flex-direction: column; gap: 16px; }
    .concept-8 .c8-close-actions .c8-button-large { width: 100%; justify-content: space-between; }
    .concept-8 .c8-dialog-head, .concept-8 .c8-dialog-body { padding: 17px; }
    .concept-8 .c8-version { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
    .concept-8 .c8-track { height: auto; }
    .concept-8 .c8-hero { position: relative; top: 0; }
    .concept-8 .c8-statement { opacity: 0; position: static; transform: none; width: min(720px, calc(100% - 48px)); margin: 40px auto 0; }
    .concept-8 .c8-statement span { opacity: 1; }
    .concept-8 .c8-hero { height: auto; min-height: calc(100svh - var(--nav)); padding-block: 40px; }
    .concept-8 .c8-button, .concept-8 .c8-feature-shot, .concept-8 .c8-tile { transition: none; }
    .concept-8 .c8-button:hover, .concept-8 .c8-feature-shot:hover { transform: none; }
}

/* Preserve the mixed tile tints and the standard marquee. All choreography styles stay local. */
.concept-8 .c8-motion { position: absolute; left: 30px; bottom: 17px; z-index: 5; padding: 8px 12px; font-size: 11px; min-height: 36px; border: 1px solid #d7dfe9; border-radius: 7px; background: #ffffffb0; }
.concept-8 .c8-orbit { z-index: 1; }
.concept-8 .c8-hero-copy, .concept-8 .c8-statement { z-index: 3; }
.concept-8 .c8-hero { contain: layout; }
.concept-8 .c8-after { box-shadow: none; border-top: 0; background: var(--ground); }
.concept-8 .c8-features { padding-top: 15px; }
.concept-8 .c8-feature { padding-block: 80px; }
.concept-8 .c8-feature-shot { background: white; }
.concept-8 .c8-feature-request { background: #fff; }
.concept-8 .c8-hero-hint { bottom: 24px; }
.concept-8 .c8-statement { line-height: 1.3; text-wrap: balance; font-size: clamp(26px, 3.15vw, 44px); }
.concept-8 .c8-statement span { transition: none; }
.concept-8 .c8-hero-copy, .concept-8 .c8-hero-hint { transition: none; }
.concept-8 .c8-tile { --label-opacity: 0; }

.concept-8 .c8-tile[data-ring="2"] { --tile: 48px; }
.concept-8 .c8-skip:focus { top: 220px; }
@media (max-width: 1100px) { .concept-8 .c8-hero-copy { width: min(540px, calc(100% - 44px)); } }
@media (max-width: 640px) {
    .concept-8 .c8-tile-label { font-size: 10px; max-width: 98px; }
    .concept-8 .c8-motion { bottom: 8px; left: 14px; padding: 5px 8px; font-size: 10px; }
    .concept-8 .c8-hero-hint { left: auto; right: 16px; bottom: 16px; max-width: 235px; font-size: 10px; text-align: right; }
    .concept-8 .c8-statement { width: calc(100% - 68px); font-size: 27px; }
    .concept-8 .c8-feature { padding-block: 48px; }
}
@media (prefers-reduced-motion: reduce) {
    .concept-8 .c8-motion { display: none; }
    .concept-8 .c8-statement { opacity: 1; }
    .concept-8 .c8-track { height: auto; }
}

@media (prefers-reduced-motion: reduce) {
 .concept-8 .c8-hero { display: flex; flex-direction: column; justify-content: center; gap: 48px; padding-block: 100px 70px; }
 .concept-8 .c8-statement { margin: 0 auto; }
 .concept-8 .c8-orbit { opacity: .15; pointer-events: none; }
 .concept-8 .c8-tile { visibility: hidden; }
 .concept-8 .c8-hero-hint { display: none; }
}

/* Concept eight: circular geometry, an editorial callout, and the original homepage grey. */
body:has(.homepage-concept-eight) > div:has(> .tools-marquee-container) { display: block; }
.concept-8 { --tile: 52px; }
.concept-8 .c8-tile[data-ring="2"] { --tile: 40px; }
.concept-8 .c8-hero-copy { width: 448px; max-width: calc(100% - 56px); padding: 0; }
.concept-8 h1 { font-size: 43px; line-height: 1.12; letter-spacing: -.055em; }
.concept-8 h1 > span { display: block; }
.concept-8 .c8-title-line { white-space: nowrap; }
.concept-8 .c8-hero-copy .c8-intro { max-width: 395px; font-size: 14px; line-height: 1.55; margin-top: 20px; }
.concept-8 .c8-intro strong { display: block; font-weight: 500; color: var(--ink); font-size: 16px; line-height: 1.45; margin-bottom: 10px; }
.concept-8 .c8-intro > span { display: block; }
.concept-8 .c8-actions { margin-top: 22px; gap: 22px; }
.concept-8 .c8-button { min-height: 46px; padding: 12px 20px; font-size: 13px; }
.concept-8 .c8-text-link { font-size: 13px; }
.concept-8 .c8-logo-slot { --logo-step: 38px; display: inline-block; position: relative; width: 40px; height: 64px; margin: -14px 4px; vertical-align: -.17em; overflow: hidden; mask-image: linear-gradient(transparent, #000 28%, #000 72%, transparent); }
.concept-8 .c8-logo-reel { position: absolute; top: -6px; left: 0; width: 100%; animation: c8-logos 9s linear infinite; will-change: transform; }
.concept-8 .c8-logo-reel > span { display: grid; place-items: center; height: var(--logo-step); }
.concept-8 .c8-logo-reel img { width: 30px; height: 30px; }
@keyframes c8-logos { to { transform: translateY(calc(var(--logo-step) * -3)); } }
.concept-8.is-motion-idle .c8-logo-reel { animation-play-state: paused; }
.concept-8 .c8-leader { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; color: #9aa1ad; z-index: 2; }
.concept-8 .c8-callout { position: absolute; z-index: 4; border: 0; padding: 0; background: none; text-align: left; cursor: pointer; }
.concept-8 .c8-callout-eyebrow { display: block; font-size: 10px; color: #7b818c; margin-bottom: 10px; }
.concept-8 .c8-callout strong { display: block; font-size: 19px; font-weight: 500; line-height: 1.2; letter-spacing: -.025em; }
.concept-8 #c8-callout-description { display: block; color: var(--muted); font-size: 13px; line-height: 1.65; margin-top: 11px; }
.concept-8 .c8-callout-link { display: block; margin-top: 14px; font-size: 11px; }
.concept-8 .c8-tile.is-featured { box-shadow: 0 1px 3px #1c1f2a12, 0 14px 30px -8px #1c1f2a38; border-color: #fff; }
.homepage-concept-eight .c5-story { background: var(--c8-ground, #fafbfc); border-top: 0; }
@media (max-width: 640px) {
    .concept-8 { --tile: 40px; }
    .concept-8 .c8-hero { height: calc(100svh - 246px); min-height: 590px; }
    .concept-8 .c8-hero-copy { width: 290px; max-width: calc(100% - 56px); }
    .concept-8 h1 { font-size: clamp(25px, 7.1vw, 30px); }
    .concept-8 .c8-logo-slot { width: 28px; height: 46px; --logo-step: 28px; margin: -10px 1px; }
    .concept-8 .c8-logo-reel img { width: 23px; height: 23px; }
    .concept-8 .c8-hero-copy .c8-intro { font-size: 12px; margin-top: 17px; max-width: 270px; }
    .concept-8 .c8-intro strong { font-size: 14px; }
    .concept-8 .c8-actions { gap: 14px; flex-wrap: nowrap; }
    .concept-8 .c8-button, .concept-8 .c8-text-link { font-size: 11px; }
    .concept-8 .c8-button { padding: 11px 15px; }
    .concept-8 .c8-hero-hint { width: 100%; max-width: none; right: 0; bottom: 18px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    .concept-8 .c8-logo-reel { animation: none; }
    .concept-8 .c8-callout, .concept-8 .c8-leader { display: none; }
}

.concept-8 .c8-logo-slot { height: 76px; margin-block: -18px; vertical-align: -.32em; mask-image: linear-gradient(transparent, #000 23%, #000 77%, transparent); }
.concept-8 .c8-logo-reel { top: -19px; }
@media (max-width: 640px) { .concept-8 .c8-logo-slot { height: 56px; margin-block: -14px; } .concept-8 .c8-logo-reel { top: -14px; } }

.concept-8 .c8-title-line { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 80px; }
.concept-8 .c8-logo-slot { flex-shrink: 0; margin: 0; vertical-align: middle; }
@media (max-width: 640px) {
    .concept-8 .c8-title-line { min-height: 58px; gap: 4px; }
    .concept-8 .c8-logo-slot { margin: 0; }
}

@media (min-width: 641px) and (max-height: 850px) {
    .concept-8 .c8-hero-copy { width: 400px; }
    .concept-8 h1 { font-size: 37px; }
    .concept-8 .c8-hero-copy .c8-intro { max-width: 345px; font-size: 13px; margin-top: 14px; }
    .concept-8 .c8-intro strong { font-size: 14px; margin-bottom: 8px; }
    .concept-8 .c8-actions { margin-top: 18px; }
}

/* Larger circles pass behind the top and bottom on wide screens. */
.homepage-concept-eight { --c8-ground: #fafbfc; }
.concept-8 .c8-orbit { mask-image: linear-gradient(transparent, #000 6%, #000 94%, transparent); }
.concept-8 .c8-callout { padding: 22px; border: 1px solid #e5e8ee; border-radius: 18px; background: #ffffffed; box-shadow: 0 8px 30px -12px #26364a20; }
.concept-8 .c8-callout-heading { display: flex; align-items: center; gap: 11px; }
.concept-8 .c8-callout strong { font-size: 19px; font-weight: 600; line-height: 1.2; letter-spacing: -.035em; }
.concept-8 .c8-callout-icon { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 11px; background: #f1f3f7; }
.concept-8 .c8-callout-icon img { width: 22px; height: 22px; }
.concept-8 #c8-callout-description { font-size: 13px; line-height: 1.65; margin-top: 15px; color: #666d79; }
.concept-8 .c8-callout-link { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #edf0f4; margin-top: 18px; padding-top: 14px; font-size: 12px; font-weight: 500; }
.concept-8 .c8-callout-link > span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: #f4f5f8; font-size: 15px; }
.concept-8 .c8-callout:hover { border-color: #cfd5df; }
.concept-8 .c8-appearance { position: absolute; z-index: 6; left: 26px; bottom: 18px; font-size: 12px; }
.concept-8 .c8-appearance summary { display: flex; align-items: center; gap: 9px; cursor: pointer; list-style: none; padding: 10px 12px; border: 1px solid #dfe3e9; border-radius: 10px; background: #ffffffed; box-shadow: 0 4px 14px #24334a08; color: #626777; }
.concept-8 .c8-appearance summary::-webkit-details-marker { display: none; }
.concept-8 .c8-appearance summary strong { color: var(--ink); font-weight: 500; }
.concept-8 .c8-current-swatch { width: 17px; height: 17px; border: 1px solid #d7dce3; border-radius: 50%; background: var(--ground); }
.concept-8 .c8-colour-panel { position: absolute; bottom: calc(100% + 10px); left: 0; width: 316px; padding: 16px; background: #fff; border: 1px solid #e3e7ed; border-radius: 15px; box-shadow: 0 14px 40px #26364a18; }
.concept-8 .c8-colour-panel > p { font-size: 13px; font-weight: 500; margin-bottom: 13px; }
.concept-8 .c8-colour-panel [role="group"] { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.concept-8 .c8-colour-panel button { display: flex; flex-direction: column; align-items: center; gap: 5px; border: 1px solid #e4e7ec; border-radius: 10px; background: #fff; padding: 9px 4px; }
.concept-8 .c8-colour-panel button > span { width: 34px; height: 26px; border: 1px solid #dfe3e8; border-radius: 6px; background: var(--swatch); }
.concept-8 .c8-colour-panel button strong { font-size: 11px; font-weight: 500; }
.concept-8 .c8-colour-panel button small { font-size: 9px; color: #7b818c; }
.concept-8 .c8-colour-panel button[aria-pressed="true"] { border-color: #687d9f; box-shadow: 0 0 0 1px #687d9f; }
@media (min-width: 1600px) {
    .concept-8 { --tile: 62px; }
    .concept-8 .c8-tile[data-ring="2"] { --tile: 48px; }
    .concept-8 .c8-hero-copy { width: 570px; }
    .concept-8 h1 { font-size: 54px; }
    .concept-8 .c8-hero-copy .c8-intro { font-size: 15px; max-width: 445px; margin-top: 26px; }
    .concept-8 .c8-intro strong { font-size: 18px; }
    .concept-8 .c8-actions { margin-top: 28px; }
    .concept-8 .c8-button, .concept-8 .c8-text-link { font-size: 14px; }
}
@media (max-width: 640px) {
    .concept-8 .c8-appearance { left: 14px; bottom: 14px; }
    .concept-8 .c8-appearance summary { font-size: 10px; gap: 6px; padding: 8px; }
    .concept-8 .c8-colour-panel { width: min(300px, calc(100vw - 28px)); }
    .concept-8 .c8-hero-hint { width: 155px; right: 12px; bottom: 17px; font-size: 9px; text-align: right; }
}

/* Coordinated page palettes. The small differences extend to the marquee and module surfaces. */
body:has(.homepage-concept-eight) { --c8-ground: #fafbfc; --c8-band: #f0f2f5; --c8-surface: #fff; --c8-edge: #e2e6ec; --c8-soft: #f5f7fa; --c8-accent: #315b91; --c8-dark: #1d2532; --c8-a: #f3e6df; --c8-b: #e4ede7; --c8-c: #e3ebf6; --c8-d: #e8eaf0; --c8-e: #f0ece3; --c8-f: #eee4e5; }
body[data-c8-theme="paper"] { --c8-ground: #fff; --c8-band: #f7f8fa; --c8-soft: #fafbfc; --c8-a: #efe9e5; --c8-b: #e9efe9; --c8-c: #e8edf5; --c8-d: #eceef2; --c8-e: #f1eee7; --c8-f: #f0e9e9; }
body[data-c8-theme="silver"] { --c8-ground: #f6f7f8; --c8-band: #eaeef1; --c8-soft: #eef1f4; --c8-edge: #dbe1e6; --c8-a: #e9e6e3; --c8-b: #e2e9e5; --c8-c: #dfe7ef; --c8-d: #e4e7ed; --c8-e: #eae9e3; --c8-f: #e9e3e5; }
body[data-c8-theme="chalk"] { --c8-ground: #fafaf8; --c8-band: #f0f0ec; --c8-soft: #f5f5f1; --c8-edge: #e3e4de; --c8-accent: #4d6259; --c8-dark: #262d29; --c8-a: #ece8e1; --c8-b: #e6ece1; --c8-c: #e7eceb; --c8-d: #e9eae6; --c8-e: #eeece2; --c8-f: #ede7e3; }
body[data-c8-theme="sage"] { --c8-ground: #f7f9f6; --c8-band: #edf1e9; --c8-soft: #f1f4ee; --c8-edge: #dfe5d9; --c8-accent: #4a6651; --c8-dark: #253129; --c8-a: #eae8df; --c8-b: #e1ebdc; --c8-c: #e2eae7; --c8-d: #e5e9e1; --c8-e: #e9eadf; --c8-f: #eae5e0; }
body[data-c8-theme="graphite"] { --c8-ground: #f8f9fa; --c8-band: #ebedf0; --c8-soft: #f0f2f4; --c8-accent: #4b5767; --c8-dark: #22272e; --c8-a: #e3e6ea; --c8-b: #eaedf0; --c8-c: #dfe4e9; --c8-d: #e6e9ed; --c8-e: #edf0f3; --c8-f: #e2e7ec; }
.homepage-concept-eight { --c8-ground: inherit; background: var(--c8-ground); }
body:has(.homepage-concept-eight) [data-marketing-nav] { background: var(--c8-surface); border-color: var(--c8-edge); }
body:has(.homepage-concept-eight) > div:has(> .tools-marquee-container) { background: var(--c8-band); border-color: var(--c8-edge); }
body:has(.homepage-concept-eight) .tools-marquee-content a:hover { background: var(--c8-surface); }
.homepage-concept-eight .concept-5 { --line: var(--c8-edge); --blue: var(--c8-accent); background: var(--c8-ground); }
.homepage-concept-eight .c5-explore, .homepage-concept-eight .c5-close { background: var(--c8-soft); border-color: var(--c8-edge); }
.homepage-concept-eight .c5-savings { background: var(--c8-surface); }
.homepage-concept-eight .c5-new-stack, .homepage-concept-eight .c5-brand { background: var(--c8-soft); border-color: var(--c8-edge); }
.homepage-concept-eight .c5-build { background: var(--c8-dark); }
.homepage-concept-eight .c8-tile[data-chapter="0"] { --tint: var(--c8-a); }
.homepage-concept-eight .c8-tile[data-chapter="1"] { --tint: var(--c8-b); }
.homepage-concept-eight .c8-tile[data-chapter="2"] { --tint: var(--c8-c); }
.homepage-concept-eight .c8-tile[data-chapter="3"] { --tint: var(--c8-d); }
.homepage-concept-eight .c8-tile[data-chapter="4"] { --tint: var(--c8-e); }
.homepage-concept-eight .c8-tile[data-chapter="5"] { --tint: var(--c8-f); }
.homepage-concept-eight .c5-directory-item img, .homepage-concept-eight .c5-match > img { box-sizing: content-box; padding: 10px; border-radius: 12px; background: var(--c8-c); }
.homepage-concept-eight .c5-chapter:nth-child(3n + 2) .c5-directory-item img { background: var(--c8-b); }
.homepage-concept-eight .c5-chapter:nth-child(3n + 3) .c5-directory-item img { background: var(--c8-a); }
.concept-8 .c8-appearance { position: fixed; bottom: 18px; z-index: 60; }
.concept-8 .c8-colour-panel { width: 350px; }
.concept-8 .c8-colour-panel button small { font-size: 9px; text-align: center; }
.concept-8 .c8-colour-panel button[data-colour="cloud"] { --swatch: #fafbfc; }
.concept-8 .c8-colour-panel button > span { width: 64px; background: linear-gradient(90deg, var(--swatch) 60%, var(--c8-c) 60%, var(--c8-c) 80%, var(--c8-b) 80%); }
.concept-8 .c8-tile.is-previewed { outline: 2px solid var(--c8-accent); outline-offset: 5px; }
/* Align these sections to the navigation's 80rem container and 24px gutters. */
.homepage-concept-eight .c5-savings > .c5-wrap, .homepage-concept-eight .c5-explore > .c5-wrap, .homepage-concept-eight .c5-questions, .homepage-concept-eight .c8-value { width: min(80rem, 100%); max-width: 80rem; padding-inline: 24px; }
.homepage-concept-eight .c5-subscriptions { grid-template-columns: minmax(0, 1.6fr) 64px minmax(0, 1fr); align-items: stretch; }
.homepage-concept-eight .c5-brand-grid { grid-template-columns: repeat(3,minmax(0,1fr)); min-height: 0; align-content: start; }
.homepage-concept-eight .c5-stack-arrow { align-self: center; }
.homepage-concept-eight .c5-new-stack { display: flex; flex-direction: column; justify-content: center; }
.homepage-concept-eight .c5-explore-heading p { max-width: 670px; font-size: 16px; }
.homepage-concept-eight .c5-personalise { border: 1px solid var(--c8-edge); border-radius: 20px; padding: 28px; background: var(--c8-surface); }
.homepage-concept-eight .c5-personalise:focus-within { border-color: var(--c8-accent); box-shadow: 0 8px 35px #24334a08; }
.homepage-concept-eight .c5-match { border-radius: 18px; padding: 25px; transition: border-color .2s, box-shadow .2s; }
.homepage-concept-eight .c5-match:hover { box-shadow: 0 10px 28px #24334a0d; }
.homepage-concept-eight .c5-match > strong { font-size: 20px; line-height: 1.3; letter-spacing: -.025em; }
.homepage-concept-eight .c5-match > .c8-match-module { margin: 10px 0 0; font-size: 12px; color: var(--c8-accent); }
.homepage-concept-eight .c5-match > p { background: var(--c8-soft); border-radius: 12px; padding: 16px; font-size: 14px; }
.homepage-concept-eight .c5-match > span { font-size: 13px; line-height: 1.65; }
.homepage-concept-eight .c8-story-context { font-size: 13px; color: var(--muted); margin-top: 15px; }
.homepage-concept-eight .c8-value { display: grid; grid-template-columns: 1.5fr 1fr; gap: 70px; padding-block: 90px 45px; align-items: center; }
.homepage-concept-eight .c8-value h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; max-width: 480px; letter-spacing: -.045em; }
.homepage-concept-eight .c8-value > div > p { color: var(--muted); margin-top: 22px; font-size: 16px; max-width: 590px; }
.homepage-concept-eight .c8-value-price { padding: 25px 35px; border-left: 1px solid var(--c8-edge); }
.homepage-concept-eight .c8-value-price > strong { display: block; font-size: 56px; line-height: 1.2; letter-spacing: -.04em; }
.homepage-concept-eight .c8-value-price small { font-size: 20px; font-weight: 400; letter-spacing: -.02em; }
.homepage-concept-eight .c8-value-price > span, .homepage-concept-eight .c8-value-price > a { font-size: 12px; color: var(--muted); }
.homepage-concept-eight .c8-value .c8-value-price p { margin: 15px 0 5px; font-size: 18px; color: var(--ink); }
.homepage-concept-eight .c5-questions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; align-items: start; }
.homepage-concept-eight .c5-questions details { border: 1px solid var(--c8-edge); border-radius: 15px; background: var(--c8-surface); padding-inline: 23px; }
.homepage-concept-eight .c5-questions summary { min-height: 82px; display: flex; align-items: center; gap: 20px; line-height: 1.45; }
.homepage-concept-eight .c5-questions summary > span { margin-left: auto; flex-shrink: 0; width: 26px; height: 26px; display: grid; place-items: center; background: var(--c8-soft); border-radius: 50%; }
@media (max-width: 900px) {
    .homepage-concept-eight .c5-subscriptions { grid-template-columns: minmax(0,1fr); max-width: none; }
    .homepage-concept-eight .c5-new-stack { padding: 30px; }
    .homepage-concept-eight .c8-value { gap: 25px; }
}
@media (max-width: 640px) {
    .homepage-concept-eight .c5-brand-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .homepage-concept-eight .c5-personalise { padding: 20px; }
    .homepage-concept-eight .c5-questions, .homepage-concept-eight .c8-value { grid-template-columns: 1fr; }
    .homepage-concept-eight .c8-value { padding-top: 55px; }
    .homepage-concept-eight .c8-value-price { border-left: 0; border-top: 1px solid var(--c8-edge); padding: 25px 0 0; }
    .concept-8 .c8-colour-panel { width: min(350px, calc(100vw - 28px)); }
}

body:has(.homepage-concept-eight) > footer { background: var(--c8-dark); border-color: #ffffff20; color: #fff; }

@media (max-width: 640px) {
    .homepage-concept-eight .c5-old-stack, .homepage-concept-eight .c5-new-stack { min-width: 0; }
    .homepage-concept-eight .c5-new-stack { padding-inline: 18px; }
    .homepage-concept-eight .c5-stack-equation { gap: 14px; }
    .homepage-concept-eight .c5-saving-result strong { font-size: clamp(34px, 10vw, 48px); }
    .homepage-concept-eight .c5-brand-mark { flex-wrap: wrap; }
}

/* A readable screenshot is the main event in both hover and click exploration. */
body:has(.homepage-concept-eight):not([data-c8-theme]) { --c8-ground: #f6f7f8; --c8-band: #eaeef1; --c8-soft: #eef1f4; --c8-edge: #dbe1e6; }
.concept-8 .is-switching img { opacity: .65; }
.concept-8 .c8-viewer { width: calc(100vw - 48px); max-width: 1920px; height: calc(100dvh - 48px); max-height: none; border: 1px solid #ffffff45; border-radius: 20px; background: var(--c8-ground); box-shadow: 0 35px 120px #0c172970; overflow: hidden; margin: auto; }
.concept-8 .c8-viewer[open] { display: grid; grid-template-rows: auto minmax(0,1fr) auto; gap: 0; }
.concept-8 .c8-viewer::backdrop { background: #151c2bba; backdrop-filter: blur(5px); }
.concept-8 .c8-viewer-head { display: flex; align-items: center; gap: 13px; padding: 17px 25px; background: white; border-bottom: 1px solid var(--c8-edge); }
.concept-8 .c8-viewer-head > img { width: 30px; height: 30px; }
.concept-8 .c8-viewer-head h2 { font-size: 20px; letter-spacing: -.025em; }
.concept-8 .c8-viewer-head p { font-size: 11px; color: var(--muted); margin-top: 2px; }
.concept-8 .c8-viewer-controls { display: flex; gap: 7px; margin-left: auto; }
.concept-8 .c8-viewer-controls button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--c8-edge); border-radius: 50%; background: var(--c8-soft); font-size: 18px; }
.concept-8 .c8-viewer-controls button:hover { background: var(--c8-band); }
.concept-8 .c8-viewer-canvas { position: relative; display: grid; place-items: center; min-width: 0; min-height: 0; padding: 18px 25px; overflow: hidden; }
.concept-8 .c8-viewer #c8-dialog-image { width: 100%; height: 100%; min-height: 0; object-fit: contain; filter: drop-shadow(0 6px 16px #17243816); border-radius: 7px; }
.concept-8 #c8-viewer-status { position: absolute; bottom: 30px; left: 38px; padding: 10px 16px; border-radius: 9px; background: #fffffff2; box-shadow: 0 3px 18px #17243812; color: var(--muted); font-size: 13px; }
.concept-8 .c8-viewer-foot { display: flex; gap: 28px; align-items: center; justify-content: space-between; padding: 17px 25px; border-top: 1px solid var(--c8-edge); background: white; }
.concept-8 #c8-dialog-prompt { font-size: 15px; font-weight: 500; line-height: 1.5; }
.concept-8 .c8-viewer #c8-dialog-response { font-size: 12px; line-height: 1.45; color: var(--muted); margin: 5px 0 0; }
.concept-8 .c8-viewer-foot > a { display: flex; gap: 22px; padding: 12px 18px; background: var(--c8-dark); color: white; border-radius: 999px; white-space: nowrap; font-size: 12px; }
.homepage-concept-eight .c5-window-top > .c8-workspace-logo { width: 98px; height: auto; object-fit: contain; }
.homepage-concept-eight .c8-agent-window { border: 1px solid #d8dce2; border-radius: 13px; background: #fff; overflow: hidden; box-shadow: 0 8px 22px #17243809; margin-bottom: 0; }
.homepage-concept-eight .c8-agent-window-label { display: flex; justify-content: space-between; gap: 16px; padding: 10px 15px; border-bottom: 1px solid #eceef2; font-size: 11px; color: #626777; }
.homepage-concept-eight .c8-agent-window-label span:first-child { font-weight: 600; color: var(--ink); }
.homepage-concept-eight .c8-external-command { border: none; margin: 0; }
.homepage-concept-eight .c8-agent-connection { display: flex; justify-content: center; gap: 10px; align-items: center; color: var(--muted); font-size: 10px; height: 34px; }
.homepage-concept-eight .c8-signed-stamp { margin-left: auto; color: #2d6c4d; font-size: 10px; padding: 3px 6px; background: #edf5ef; border-radius: 5px; white-space: nowrap; }
.homepage-concept-eight .c5-questions summary > span { font-size: 0; position: relative; line-height: 1; }
.homepage-concept-eight .c5-questions summary > span::before, .homepage-concept-eight .c5-questions summary > span::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; border-radius: 1px; background: currentColor; transform: translate(-50%,-50%); }
.homepage-concept-eight .c5-questions summary > span::after { transform: translate(-50%,-50%) rotate(90deg); }
.homepage-concept-eight .c5-brand[data-saving-app="Typeform"] .c5-brand-mark img { width: 77px; height: 20px; object-fit: contain; }
.homepage-concept-eight .c8-start-prompt { max-width: 710px; text-align: left; margin: 30px auto 0; padding: 23px 26px; border: 1px solid var(--c8-edge); border-radius: 17px; background: white; }
.homepage-concept-eight .c8-start-prompt > span:first-child { font-size: 11px; font-weight: 500; color: var(--muted); }
.homepage-concept-eight .c8-start-prompt #c8-start-request { margin: 10px 0 15px; color: var(--ink); font-size: 16px; line-height: 1.65; }
.homepage-concept-eight #c8-copy-request { padding: 0; border: none; background: none; font-size: 12px; color: var(--c8-accent); cursor: pointer; }
.homepage-concept-eight #c8-copy-status { display: block; font-size: 11px; margin-top: 8px; color: var(--muted); }
@media (max-width: 640px) {
    .concept-8 .c8-viewer { width: calc(100vw - 16px); height: calc(100dvh - 16px); border-radius: 13px; }
    .concept-8 .c8-viewer-head { padding: 13px; gap: 8px; }
    .concept-8 .c8-viewer-head h2 { font-size: 16px; }
    .concept-8 .c8-viewer-controls { gap: 4px; }
    .concept-8 .c8-viewer-controls button { width: 32px; height: 32px; }
    .concept-8 .c8-viewer-canvas { padding: 8px; }
    .concept-8 .c8-viewer-foot { align-items: start; flex-direction: column; padding: 16px; gap: 12px; }
    .concept-8 .c8-viewer #c8-dialog-prompt { font-size: 13px; }
    .homepage-concept-eight .c8-agent-window-label { font-size: 9px; padding: 8px 10px; }
    .homepage-concept-eight .c5-window-top > .c8-workspace-logo { width: 78px; }
    .homepage-concept-eight .c8-start-prompt { padding: 20px; }
}
.homepage-concept-eight .c5-brand-mark { min-height: 26px; }
.homepage-concept-eight .c5-brand[data-saving-app="Otter.ai"] .c5-brand-mark img { width: 42px; height: 18px; object-fit: contain; }
.homepage-concept-eight .c5-brand[data-saving-app="Toggl Track"] .c5-brand-mark img { width: 65px; height: 24px; object-fit: contain; }
.homepage-concept-eight .c5-brand[data-saving-app="Bitly"] .c5-brand-mark img { width: 54px; height: 25px; object-fit: contain; }
.homepage-concept-eight .c5-brand[data-saving-app="Toggl Track"] .c5-brand-mark strong, .homepage-concept-eight .c5-brand[data-saving-app="Bitly"] .c5-brand-mark strong { display: none; }

/* Keep the illustrative workspace and its explanation visible together. */
@media (min-width: 961px) and (max-height: 850px) { .homepage-concept-eight .c5-window-body { min-height: 0; height: min(440px, calc(100svh - 370px)); } }
@media (min-width: 961px) {
    .homepage-concept-eight .c5-stage-column { padding-top: max(20px, calc((100svh - var(--nav) - 700px) / 2)); }
}
@media (max-width: 640px) {
    .homepage-concept-eight .c5-window-body { height: clamp(180px, 27svh, 250px); grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr); }
    .homepage-concept-eight .c5-tasks { display: none; }
    .homepage-concept-eight .c5-stage.past-5 .c5-record { display: none; }
    .homepage-concept-eight .c5-stage.past-5 .c5-tasks { display: block; }
    .homepage-concept-eight .c8-agent-connection { height: 27px; }
    .homepage-concept-eight .c5-example-note { font-size: 9px; }
}
