/* The Client page, 3 Nov 2026 (her ask: "it should look like the othr pages"): the Features page's design - a painted hero,
   per group an eyebrow + big heading + coloured rule, coloured platform cards in columns, pictures beside text. Built on
   css/features-page.css (.fx-page, .fx-hero, .fx-group, .fx-feature, .fx-cta) and css/fun.css colours. Light only. */
.client-page { --client-copy: #374151; }
.client-guide a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
.client-page a:focus-visible, .client-page button:focus-visible { outline: 3px solid var(--text-main); outline-offset: 4px; }
.client-guide section[id] { scroll-margin-top: 90px; }

/* Hero: the painted Gate of the World, text over the hills on the right */
.client-hero { min-height: 480px; }
.client-hero > img { object-position: left 30%; }
.client-hero::after { background: linear-gradient(90deg, rgba(10,14,22,0) 25%, rgba(10,14,22,0.55) 52%, rgba(10,14,22,0.85) 100%); }
.client-hero .fx-hero-text { justify-self: end; max-width: 620px; }
.client-hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.4rem); }
.client-hero p.fx-lede { font-size: clamp(1rem, 2vw, 1.15rem); line-height: 1.6; }
.client-guide .features-jump a { text-decoration: none; }
.client-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.client-actions .btn, .client-cta-actions .btn { text-shadow: none; }
.client-actions .btn-primary { background: var(--surface); color: var(--text-main); }
.client-actions .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.client-actions .btn-secondary:hover { background: rgba(255,255,255,0.14); }

/* Where will you play: four coloured cards */
.client-intro { margin: 0; max-width: 86ch; font-size: 1.06rem; line-height: 1.7; color: var(--client-copy); }
.client-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.client-card { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 24px 22px 20px; background: var(--bg-main); border: 1px solid var(--border-color); border-top: 4px solid var(--accent); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.client-icon { flex: none; width: 56px; height: 56px; padding: 12px; margin-bottom: 14px; border-radius: 50%; background: var(--c); color: var(--accent); }
.client-card h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 8px; }
.client-card p { color: var(--client-copy); font-size: 0.96rem; line-height: 1.6; margin: 0 0 16px; }
.client-card a { margin-top: auto; font-size: 0.95rem; font-weight: 700; padding-block: 4px; color: var(--accent); }

/* Install: one card per device, numbered steps in the device colour */
.client-install-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.client-platform { min-width: 0; padding: 22px 24px 24px; background: var(--bg-gray); border-left: 4px solid var(--accent); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.client-platform h3 { font-size: clamp(1.3rem, 2.6vw, 1.5rem); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 10px; color: var(--accent); }
.client-platform p, .client-platform ol, .client-install-notes p { color: var(--client-copy); font-size: 1rem; line-height: 1.65; }
.client-platform p { margin: 0 0 14px; }
.client-platform ol { list-style: none; counter-reset: step; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.client-platform li { counter-increment: step; position: relative; padding-left: 40px; min-height: 28px; }
.client-platform li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 700; font-size: 0.85rem; }
.client-platform > :last-child { margin-bottom: 0; }
.client-platform a { color: var(--text-main); }
.client-install-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.client-install-notes p { margin: 0; padding: 16px 20px; background: var(--bg-main); border: 1px solid var(--border-color); border-top: 3px solid var(--accent); border-radius: var(--radius-md); }

/* Inside the client: the Features rows (pictures beside text) */
.client-topics .fx-shot { aspect-ratio: 16 / 10; object-fit: cover; }

/* Need a hand: the Features closing card */
.client-help.fx-cta { scroll-margin-top: 90px; }
.client-help p { max-width: 64ch; }
.client-help p a { color: #fff; }
.client-cta-actions { margin: 0 !important; }

@media (max-width: 1000px) {
  .client-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .client-install-grid, .client-install-notes { grid-template-columns: minmax(0, 1fr); }
  .client-help img { width: 140px; }
}
@media (max-width: 599px) {
  .client-hero { min-height: 560px; }
  .client-hero > img { object-position: 8% top; }
  .client-hero::after { background: linear-gradient(180deg, rgba(10,14,22,0.45) 0%, rgba(10,14,22,0.72) 35%, rgba(10,14,22,0.92) 100%); }
  .client-hero .fx-hero-text { justify-self: stretch; }
  .client-cards { grid-template-columns: minmax(0, 1fr); }
  .client-card { padding: 20px; }
  .client-platform { padding: 18px 18px 20px; }
}
