/* ---- hero: the brand yellow as the whole first field */
.home-hero { background: var(--accent); color: var(--on-accent); padding-block: clamp(48px, 9svh, 120px) var(--gap); }
.home-hero h1 { font-size: clamp(3rem, min(10vw, 19svh), 9.5rem); line-height: .94; letter-spacing: -.055em; max-width: 11ch; }
.home-hero-foot { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; margin-top: clamp(32px, 6svh, 72px); }
.home-hero p { max-width: 40ch; font-size: var(--step-lead); font-weight: 500; line-height: 1.35; }
.home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.home-hero .button { background: var(--night); color: var(--paper); }
.home-hero .button:hover { background: var(--ink); }
.home-hero .link:hover { color: var(--on-accent); text-decoration-thickness: 4px; }
.home-hero :focus-visible { outline-color: var(--on-accent); }

/* ---- the two products, each in its own colour */
.products { padding-block: var(--gap); }
.products h2 { margin-bottom: clamp(32px, 5vw, 72px); }
.product {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 56px); align-items: center;
  padding: clamp(20px, 3.5vw, 56px); border-radius: 24px; background: var(--ink); color: var(--paper);
}
.product + .product { margin-top: 24px; }
/* the AI card wears the AI landing page's own colours */
.product.ai { background: #4c1d95; --soft: #d6c9f2; --accent: #fff; --accent-hover: #f1ebfd; --on-accent: #2e1065; --glow: #c4b5fd; }
.product h3 { font-size: var(--step-head); line-height: 1; letter-spacing: -.04em; }
.product p { margin-block: 20px 32px; color: var(--soft); max-width: 44ch; }

/* ---- categories */
.categories { background: var(--tint); color: var(--ink); padding-block: var(--gap); }
.categories ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; margin-top: clamp(32px, 5vw, 64px); }
.categories li > * { display: grid; grid-template-columns: 56px 1fr; gap: 4px 20px; align-items: center; height: 100%; padding: 28px; border-radius: 20px; text-decoration: none; }
.categories a { background: var(--ink); color: var(--paper); transition: transform .25s var(--ease); }
.categories a:hover { transform: translateY(-4px); }
.categories a p { color: var(--soft); }
.categories img, .categories .plus { grid-row: span 2; width: 56px; height: 56px; }
.categories .more { background: var(--paper); color: var(--ink); }
.categories .more p { color: var(--body-ink); }
.categories .plus { display: grid; place-items: center; border-radius: 16px; background: var(--accent); color: var(--on-accent); font-size: 2rem; font-weight: 500; line-height: 1; }
.categories .more a { display: inline; background: none; color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: .25em; }

.home-contact { background: var(--night); color: var(--paper); }
.home-contact .mail { color: var(--accent); }
.home-contact .mail:hover { color: var(--glow); }

@media (max-width: 900px) { .product { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .home-hero h1 { font-size: 15vw; } }
