.home-page { --home-paper: #fafaf5; --home-red: #a62b2d; --home-green: #204d3d; --home-sage: #eaf1e8; --home-ink: #292b29; background: var(--home-paper); color: var(--home-ink); line-height: 1.65; }
.home-page .site-header { position: relative; background: var(--home-paper); border-bottom: 3px solid var(--home-red); }
.home-page .brand { color: var(--home-green); }
.home-page .site-nav a:hover { color: var(--home-green); }
.home-page h1, .home-page h2, .home-page h3 { max-width: none; line-height: 1.15; letter-spacing: 0; }
.home-page h1 { font-size: 2.25rem; color: var(--home-green); }
.home-page h1 span { color: var(--home-red); }
.home-page h2 { font-size: 2rem; }
.home-page h3 { font-size: 1.4rem; }
.home-page a { text-underline-offset: 4px; }
.home-page :focus-visible { outline: 3px solid var(--home-green); outline-offset: 5px; }
.home-container { width: min(1120px, calc(100% - 3rem)); margin: 0 auto; }
.home-intro { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-top: 1.75rem; padding-bottom: 1.75rem; }
.home-eyebrow { margin: 0 0 0.7rem; color: #52665a; font-size: 0.74rem; font-weight: 750; text-transform: uppercase; }
.home-intro > p { margin: 0; color: #5a645e; font-size: 1.05rem; }
.feature-stage { min-width: 0; }
.feature-slide { --feature-accent: var(--home-green); background: #eff4f0; }
.feature-slide[hidden] { display: none; }
.feature-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); height: 460px; align-items: center; gap: 2rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }
.feature-copy { min-width: 0; }
.feature-copy h2 { max-width: 19ch; font-size: 2.65rem; color: var(--feature-accent); }
.feature-copy .home-eyebrow { color: var(--feature-accent); }
.feature-tagline { max-width: 38ch; margin-top: 1rem; font-size: 1.15rem; font-weight: 650; line-height: 1.4; }
.feature-description { max-width: 48ch; color: #47534b; }
.home-button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; margin-top: 1.4rem; padding: 0.7rem 1.1rem; border: 1px solid var(--feature-accent); border-radius: 6px; background: var(--feature-accent); color: #fff; text-decoration: none; font-weight: 750; }
.home-button:hover { text-decoration: underline; }
.feature-media { display: flex; align-items: center; justify-content: center; gap: 1rem; min-width: 0; height: 352px; }
.feature-screen { display: block; width: auto; height: 100%; max-width: 46%; object-fit: contain; }
.feature-logo { display: block; width: 300px; height: 300px; max-width: 100%; object-fit: contain; }
.feature-logo-secondary { width: 160px; height: 160px; max-width: 38%; }
.feature-logo-mugi { width: 340px; height: 340px; }
.feature-recettes { --feature-accent: #865018; background: #fff5d9; }
.feature-tracapro { --feature-accent: #b71c1c; background: #fff2f1; }
.feature-caddie { --feature-accent: #28642e; background: #edf6e8; }
.feature-boucle { --feature-accent: var(--home-green); background: #e7f0ec; }
.feature-mugi { --feature-accent: #8b303e; background: #f3eff3; }
.feature-controls { display: flex; justify-content: space-between; align-items: center; min-height: 72px; gap: 1rem; border-bottom: 1px solid #e1e7e2; }
.feature-controls[hidden] { display: none; }
.feature-arrows { display: flex; align-items: center; gap: 0.45rem; }
.home-icon-button { display: inline-grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; padding: 0; border: 1px solid #d8e0db; border-radius: 6px; background: #fff; cursor: pointer; }
.home-icon-button:hover { background: #eef3ee; }
.home-icon-button img { display: block; }
.feature-counter { min-width: 65px; margin-left: 0.6rem; color: #59645d; font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.feature-pagination { display: flex; }
.feature-dot { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.feature-dot span { display: block; width: 8px; height: 8px; border-radius: 50%; background: #abb7ae; }
.feature-dot[aria-current="true"] span { background: var(--home-green); outline: 1px solid var(--home-green); outline-offset: 4px; }
.home-section { padding: 3.5rem 0; scroll-margin-top: 1rem; }
.home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; }
.home-text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--home-green); font-weight: 700; }
.home-app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; margin-top: 1rem; }
.home-app { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 1.2rem; padding: 2rem 0; border-bottom: 1px solid #e1e7e2; }
.home-app:last-child { grid-column: 1 / -1; }
.home-app-icon { display: block; width: 80px; height: 80px; border-radius: 8px; }
.home-app-icon img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.home-app-category { margin: 0 0 0.5rem; color: #68736b; font-size: 0.72rem; text-transform: uppercase; font-weight: 700; }
.home-app h3 a { text-decoration: none; }
.home-app h3 a:hover { text-decoration: underline; }
.home-app p:not(.home-app-category) { max-width: 60ch; color: #59645d; }
.home-app-links { display: flex; flex-wrap: wrap; gap: 0 1.3rem; margin-top: 1rem; font-size: 0.9rem; }
.home-app-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--home-green); }
.home-about { padding: 3rem 0; background: var(--home-sage); }
.home-about .home-container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 3rem; }
.home-about p:not(.home-eyebrow) { margin-top: 0; color: #59645d; }
.home-footer { padding: 2rem 0; border-top: 3px solid var(--home-red); background: var(--home-green); color: var(--home-paper); }
.home-footer .home-container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.home-footer .brand { color: #fff; }
.home-footer .brand-mark { background: #fff; color: #253c30; }
.home-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.home-footer nav a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.home-footer :focus-visible { outline-color: #fff; }
.home-skip { position: fixed; z-index: 30; top: 0.5rem; left: 1rem; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; background: #fff; }
.home-skip:focus { width: auto; height: auto; padding: 0.6rem 1rem; clip-path: none; }
.home-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 820px) {
  .home-page .site-header { flex-direction: row; align-items: center; }
  .feature-copy h2 { font-size: 2.15rem; }
  .feature-description { font-size: 0.92rem; }
  .feature-media { height: 320px; gap: 0.5rem; }
  .feature-logo-secondary { width: 110px; height: 110px; }
  .home-app-grid { grid-template-columns: 1fr; }
  .home-about .home-container { gap: 2rem; }
}

@media (max-width: 600px) {
  .home-container { width: calc(100% - 2rem); }
  .home-page .site-header { padding: 0.8rem 1rem; gap: 0.8rem; }
  .home-page .site-nav { width: auto; font-size: 0.85rem; gap: 0.8rem; }
  .home-intro { padding-top: 1.25rem; padding-bottom: 1.25rem; align-items: start; }
  .home-page h1 { font-size: 1.8rem; }
  .home-intro > p { max-width: 15ch; font-size: 0.8rem; }
  .home-intro .home-eyebrow { font-size: 0.62rem; margin-bottom: 0.5rem; }
  .feature-layout { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) 180px; height: 470px; gap: 1rem; padding-top: 1.4rem; padding-bottom: 1rem; }
  .home-page .feature-copy h2 { max-width: 20ch; font-size: 2rem; }
  .feature-copy .home-eyebrow { font-size: 0.7rem; margin-bottom: 0.65rem; }
  .feature-tagline { max-width: 36ch; font-size: 1rem; margin-top: 0.75rem; }
  .feature-description { display: none; }
  .home-button { min-height: 44px; margin-top: 1rem; padding: 0.55rem 0.9rem; font-size: 0.9rem; }
  .feature-media { height: 180px; }
  .feature-logo { width: 180px; height: 180px; }
  .feature-logo-secondary { width: 120px; height: 120px; }
  .feature-controls { min-height: 68px; gap: 0.3rem; }
  .feature-counter { display: none; }
  .feature-arrows { gap: 0.3rem; }
  .feature-dot { width: 28px; height: 44px; }
  .feature-dot[aria-current="true"] span { outline-offset: 3px; }
  .home-page h2 { font-size: 1.65rem; }
  .home-section { padding: 2.5rem 0; }
  .home-section-heading { display: block; }
  .home-section-heading > a { margin-top: 0.75rem; }
  .home-app { grid-template-columns: 64px minmax(0, 1fr); gap: 1rem; padding: 1.5rem 0; }
  .home-app-icon { width: 64px; height: 64px; }
  .home-page h3 { font-size: 1.25rem; }
  .home-about .home-container { grid-template-columns: 1fr; }
  .home-footer nav { display: grid; gap: 0.3rem; }
}
