/* Homepage art direction. Shared tokens and all other pages stay in site.css. */
.home-hero{position:relative;padding-block:72px 62px;background:var(--cream);overflow:hidden}
.home-hero-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:48px;align-items:center}
.home-hero-copy .eyebrow{color:var(--green);margin-bottom:20px}
.home-hero h1{font-size:clamp(2.5rem,4.3vw,4.5rem);line-height:1.08;letter-spacing:-.045em;margin-bottom:24px;text-wrap:initial}
.home-hero h1 span{display:block;color:#487257}
.home-lead{font-size:1.0625rem;max-width:510px;line-height:1.65;margin-bottom:28px}
.home-hero .layout-actions{gap:16px 24px}
.home-hero .button-primary{padding:14px 28px;min-height:52px}
.home-audience{font-size:.8125rem;color:var(--green);margin:24px 0 0;max-width:380px}
.home-hero-media{min-width:0;position:relative}
.home-showcase-stage{position:relative;aspect-ratio:3/2;background:var(--cream)}
.home-showcase-slide{position:absolute;inset:0;margin:0;opacity:0;visibility:hidden;transition:opacity 420ms ease,visibility 420ms;pointer-events:none}
.home-showcase-slide.is-active{opacity:1;visibility:visible}
.home-showcase-slide img{display:block;width:100%;height:100%;object-fit:contain}
.home-showcase.is-ready{animation:home-showcase-enter 480ms ease-out both}
.home-showcase-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:20px}
.home-showcase-controls[hidden]{display:none}
.home-showcase-controls button{min-height:44px;padding:12px 8px;text-align:left;border:1px solid transparent;border-radius:var(--radius-control);background:transparent;color:var(--green)}
.home-showcase-controls button:hover{background:#eeefe8}
.home-showcase-controls button[aria-pressed="true"]{border-color:#487257;background:#eeefe8}
.home-showcase-controls button[aria-pressed="true"] .home-showcase-name{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:2px}
.home-showcase-controls button:focus-visible{outline:3px solid var(--green);outline-offset:3px}
.home-showcase-name{display:block;font-size:.875rem;font-weight:700}
.home-showcase-audience{display:block;font-size:.6875rem;line-height:1.5;margin-top:8px}
@keyframes home-showcase-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.home-showcase.is-ready{animation:none}.home-showcase-slide{transition:none}}
@media(max-width:782px){.home-showcase-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.home-showcase-controls button{padding:12px}.home-showcase-audience{font-size:.75rem}}
.home-proof{background:var(--white);padding-block:34px;border-bottom:1px solid #e1e6e1}
.home-proof-grid{display:grid;grid-template-columns:200px 1fr;gap:48px;align-items:center}
.home-proof .eyebrow{font-size:.8125rem;margin-bottom:8px}
.home-proof-rating{font-size:1.375rem;letter-spacing:4px;color:#487257;margin:0}
.home-proof blockquote{font-size:clamp(1rem,1.6vw,1.25rem);line-height:1.6;font-weight:500;color:var(--green);max-width:800px}
.home-proof figcaption{font-size:.8125rem;font-weight:700;margin-top:12px;color:var(--green)}
.home-proof figcaption span{font-weight:400}
.home-products{padding-block:70px;background:#fff}
.home-products-heading{max-width:650px;margin-bottom:32px}
.home-products-heading .eyebrow{margin-bottom:12px}
.home-products-heading h2{font-size:clamp(1.75rem,2.8vw,2.5rem);margin-bottom:16px}
.home-products-heading p:last-child{margin:0}
.home-product-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.home-product-link{display:flex;flex-direction:column;padding:28px;text-decoration:none;background:var(--cream);border:1px solid #e1e6e1;border-radius:var(--radius-card);color:var(--text);transition:border-color .18s,background-color .18s}
.home-product-link:hover{background:#eeefe8;border-color:#487257}
.home-product-link h3{font-size:1.5rem;margin-bottom:12px}
.home-product-link .home-product-audience{font-size:.8125rem;font-weight:700;color:#487257;margin-bottom:18px}
.home-product-link p{font-size:.9375rem;line-height:1.6;margin-bottom:24px}
.home-product-action{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;margin-top:auto;color:var(--green);font-size:.875rem;font-weight:700}
.home-product-action>span{font-size:1.5rem}
body[data-page="/"] #home-connect{background:#fff}
body[data-page="/"] #home-id{background:#fff}
@media(min-width:1440px){.home-hero-grid{gap:64px}.home-hero-media{margin-right:-40px}}
@media(max-width:1439px) and (min-width:783px){.home-product-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1100px) and (min-width:783px){.home-hero-grid{grid-template-columns:1fr;gap:36px}.home-hero-copy{max-width:760px}.home-hero h1{font-size:3.5rem;max-width:700px}.home-hero-media{max-width:800px}.home-product-link{padding:22px}.home-product-link h3{font-size:1.2rem}}
@media(max-width:782px){.home-hero{padding-block:40px 36px}.home-hero-grid{grid-template-columns:1fr;gap:32px}.home-hero h1{font-size:clamp(2.2rem,8vw,3.4rem);letter-spacing:-.04em}.home-lead{font-size:1rem}.home-audience{margin-top:20px}.home-proof{padding-block:28px}.home-proof-grid{grid-template-columns:1fr;gap:16px}.home-proof-grid>div{display:flex;gap:20px;align-items:center;flex-wrap:wrap}.home-proof .eyebrow{margin:0}.home-proof-rating{font-size:1.125rem}.home-products{padding-block:44px}.home-product-links{grid-template-columns:1fr}.home-product-link{padding:24px}.home-product-name{margin-bottom:12px}.home-product-link p{margin-bottom:16px}}
@media print{.home-hero-grid,.home-proof-grid{display:block}.home-product-links{grid-template-columns:1fr}.home-product-link{break-inside:avoid}}

/* Feature tree: grouped Edun CRM capabilities, shared by the homepage and /core-crm/. */
.feature-tree-heading{max-width:760px;margin-bottom:40px}
.feature-tree{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.feature-tree-group{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius-card);box-shadow:var(--shadow-card);padding:28px 24px;min-width:0}
.feature-tree-group h3{font-size:1.1875rem;color:var(--green);margin:0 0 16px;padding-bottom:12px;border-bottom:2px solid var(--medium-green)}
.feature-tree-group ul{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.feature-tree-group li{display:grid;gap:2px;padding-left:20px;position:relative}
.feature-tree-group li::before{content:"";position:absolute;left:0;top:.6em;width:8px;height:8px;border-radius:50%;background:var(--medium-green)}
.feature-tree-group li strong{color:var(--green)}
.feature-tree-group li span{font-size:.9375rem}
.feature-tree.is-compact .feature-tree-group{padding:22px 24px}
.feature-tree.is-compact ul{gap:8px}
.feature-tree-action{margin-top:36px}
@media(max-width:1100px){.feature-tree{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:782px){.feature-tree{grid-template-columns:1fr}.feature-tree-heading{margin-bottom:28px}}

/* Feature rows list the capabilities in each group. */
.section-feature ul{list-style:none;margin:20px 0;padding:0;display:grid;gap:12px;text-align:left}
.section-feature li{position:relative;padding-left:20px}
.section-feature li::before{content:"";position:absolute;left:0;top:.6em;width:8px;height:8px;border-radius:50%;background:var(--medium-green)}
.section-feature li strong{display:block;color:var(--green)}

/* The About page centres its section headings, so the product links heading follows. */
body[data-page="/about/"] .home-products-heading{margin-inline:auto;text-align:center}
.home-products-developers{margin:28px 0 0}.home-products-developers a{margin-left:4px;font-weight:700}
.home-product-links.home-insights-links{grid-template-columns:repeat(3,minmax(0,1fr))}.home-insights-all{margin:28px 0 0}.home-insights-all a{font-weight:700}@media(max-width:782px){.home-product-links.home-insights-links{grid-template-columns:1fr}}
