/* HubNex: light, photographic design.
   Loaded after the legacy styles.css on every public page. Rules are scoped to
   body.home so they win over the old dark theme without !important. */

/* Archivo for headings (self-hosted variable font; see assets/fonts/README.md) */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('assets/fonts/archivo-latin-wdth-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Document scrolling ──
   styles.css makes <body> the scroll container; restore normal window
   scrolling so anchors, sticky elements and the navbar state all work. */
html { height: auto; overflow: visible; scroll-behavior: smooth; }
html.nav-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.home {
  /* Palette */
  --navy: #15336f;
  --ink: #3b4d6b;
  --muted: #5b7194;
  --teal: #0e9bb5;
  --teal-dark: #0a7f97;
  --bg: #f4f9fd;
  --bg-2: #eaf4fb;
  --card: rgba(255, 255, 255, 0.78);
  --line: rgba(21, 51, 111, 0.08);
  --shadow: 0 10px 40px rgba(31, 90, 150, 0.10);
  --shadow-sm: 0 4px 18px rgba(31, 90, 150, 0.08);
  --nav-h: 76px;
  --font-heading: 'Archivo', 'Inter', system-ui, sans-serif;

  /* Re-point the legacy theme variables so old components (cookie banner,
     modal, buttons) pick up the new palette */
  --primary: var(--teal);
  --primary-light: var(--teal-dark);
  --primary-glow: rgba(14, 155, 181, 0.3);
  --secondary: var(--teal);
  --text-white: var(--navy);
  --text-primary: var(--navy);
  --text-secondary: var(--ink);
  --text-muted: var(--muted);
  --text-dim: #7f93ad;
  --border: var(--line);
  --border-hover: rgba(21, 51, 111, 0.14);
  --border-glow: rgba(14, 155, 181, 0.22);
  --bg-card: var(--card);

  height: auto;
  overflow: visible;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  cursor: auto;
}
body.home::after { display: none; } /* legacy film-grain overlay */
body.home section[id] { scroll-margin-top: 84px; }

body.home .container { max-width: 1180px; padding: 0 32px; margin: 0 auto; position: relative; z-index: 2; }
body.home h1, body.home h2, body.home h3 { color: var(--navy); font-family: 'Archivo', 'Inter', system-ui, sans-serif; letter-spacing: -0.015em; text-wrap: balance; }
body.home h2 { font-size: clamp(28px, 3.4vw, 34px); line-height: 1.15; font-weight: 600; margin: 0 0 18px; }
body.home p { line-height: 1.6; }
body.home .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.home .eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin: 0 0 16px; }
body.home .ico { width: 44px; height: 44px; fill: none; stroke: var(--teal); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
body.home .ico-fill { fill: var(--teal); stroke: none; }
body.home section { position: relative; }
body.home a:focus-visible, body.home button:focus-visible, body.home summary:focus-visible,
body.home input:focus-visible, body.home textarea:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
body.home .skip-link { background: var(--navy); }

/* ── Buttons & links ── */
body.home .pill-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; border-radius: 999px; background: var(--teal); color: #fff; font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; border: 0; cursor: pointer; box-shadow: 0 8px 24px rgba(14, 155, 181, .28); transition: background .2s, transform .2s, box-shadow .2s; }
body.home .pill-btn:hover { background: var(--teal-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 28px rgba(14, 155, 181, .34); }
body.home .pill-btn:disabled { opacity: .8; cursor: progress; transform: none; }
body.home .text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--teal-dark); font-weight: 600; font-size: 14.5px; text-decoration: none; }
body.home .text-link span { transition: transform .2s; }
body.home .text-link:hover span { transform: translateX(3px); }
body.home .text-link:hover { color: var(--navy); }

/* ── Navbar ── */
body.home .navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 16px 0; background: transparent; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transition: background .25s, box-shadow .25s, padding .25s; }
body.home .navbar.scrolled, body.home .navbar.menu-open { padding: 10px 0; background: rgba(244, 249, 253, .9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(21, 51, 111, .06); }
body.home .navbar-inner { max-width: 1240px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; gap: 28px; }
body.home .navbar-logo { flex: none; display: block; }
body.home .navbar-logo img { height: 48px; width: auto; display: block; filter: invert(1) hue-rotate(180deg); }
body.home .navbar-logo:hover img { transform: none; }
body.home .nav-links { position: static; display: flex; flex-direction: row; align-items: center; gap: 30px; min-width: 0; margin: 0 auto 0 24px; padding: 0; background: none; border: 0; border-radius: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.home .nav-links > a { position: relative; padding: 6px 0; color: var(--muted); font-size: 14.5px; font-weight: 500; text-decoration: none; white-space: nowrap; background: none; border-radius: 0; transition: color .2s; }
body.home .nav-links > a:hover { color: var(--navy); background: none; }
body.home .nav-links > a[aria-current] { color: var(--navy); }
body.home .nav-links > a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--teal); }
body.home .nav-menu-extra { display: none; }
body.home .nav-actions { display: flex; align-items: center; gap: 22px; margin-left: auto; }
body.home .nav-login { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; color: var(--navy); font-size: 14px; font-weight: 600; white-space: nowrap; text-decoration: none; background: none; }
body.home .nav-login svg { width: 16px; height: 16px; color: var(--teal); }
body.home .nav-login:hover { color: var(--teal-dark); background: none; border: 0; }
body.home .nav-actions .pill-btn { padding: 12px 22px; font-size: 14px; }
body.home .mobile-toggle { display: none; position: relative; width: 44px; height: 44px; padding: 0; border-radius: 12px; background: rgba(255, 255, 255, .7); box-shadow: var(--shadow-sm); }
body.home .mobile-toggle span { position: absolute; left: 12px; width: 20px; height: 2px; margin: 0; border-radius: 2px; background: var(--navy); transition: transform .25s, opacity .2s; }
body.home .mobile-toggle span:nth-child(1) { top: 15px; }
body.home .mobile-toggle span:nth-child(2) { top: 21px; }
body.home .mobile-toggle span:nth-child(3) { top: 27px; }
body.home .mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.home .mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
body.home .mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1000px) {
  body.home .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px 32px 28px; max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow-y: auto; background: #f7fbfe; border-top: 1px solid var(--line); box-shadow: 0 24px 40px rgba(21, 51, 111, .14); }
  body.home .nav-links.open { display: flex; }
  body.home .nav-links > a { padding: 15px 0; font-size: 17px; color: var(--navy); border-bottom: 1px solid var(--line); }
  body.home .nav-links > a[aria-current] { color: var(--teal-dark); }
  body.home .nav-links > a[aria-current]::after { display: none; }
  body.home .nav-menu-extra { display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding-top: 22px; }
  body.home .nav-menu-extra .nav-login { justify-content: center; padding: 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
  body.home .nav-actions .nav-login { display: none; }
  body.home .mobile-toggle { display: block; }
}
@media (max-width: 600px) {
  body.home .navbar-inner { padding: 0 20px; gap: 16px; }
  body.home .nav-links { padding: 4px 20px 24px; }
  body.home .nav-actions .pill-btn { display: none; }
  body.home .navbar-logo img { height: 40px; }
}

/* ── Hero ── */
body.home .hero { display: block; height: 690px; min-height: 0; padding: 130px 0; box-sizing: border-box; background: linear-gradient(180deg, var(--bg), var(--bg-2)); overflow: hidden; }
body.home .hero-photo { position: absolute; top: 0; right: 0; width: 62%; height: 100%; background: url(assets/home/hero.jpg?v=3) 70% center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%), linear-gradient(0deg, transparent 0, #000 22%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 38%), linear-gradient(0deg, transparent 0, #000 22%); mask-composite: intersect; }
body.home .hero-content { max-width: 500px; margin: 0; padding: 0 0 0 24px; text-align: left; align-items: flex-start; border-left: 1px solid rgba(14, 155, 181, .35); }
body.home .hero h1 { font-size: clamp(38px, 4.6vw, 54px); line-height: 1.08; font-weight: 600; margin: 0 0 18px; color: var(--navy); }
body.home .hero h1 .accent { background: linear-gradient(90deg, #0e9bb5, #2fb7c9); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.home .hero-sub { max-width: 480px; margin: 0 0 26px; font-size: 15.5px; color: var(--ink); text-align: left; }
body.home .hero-buttons { display: flex; align-items: center; justify-content: flex-start; gap: 28px; flex-wrap: wrap; margin: 0; }
body.home .hero-anim { opacity: 0; transform: translateY(14px); transition: opacity .7s, transform .7s; }
body.home .hero-anim.in { opacity: 1; transform: none; }

/* ── Pillars ── */
body.home .pillars { padding: 0 0 40px; margin-top: -50px; background: linear-gradient(180deg, transparent, var(--bg) 30%); }
body.home .pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 960px; margin: 0 auto; }
body.home .pillar { background: var(--card); border: 1px solid rgba(255, 255, 255, .9); border-radius: 22px; padding: 26px 24px; text-align: center; box-shadow: var(--shadow); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
body.home .pillar .ico { width: 50px; height: 50px; margin-bottom: 14px; }
body.home .pillar h3 { font-size: 20px; font-weight: 600; margin: 0 0 8px; }
body.home .pillar p { margin: 0; font-size: 15px; }

/* ── Challenge ── */
body.home .challenge { padding: 40px 0 70px; }
body.home .challenge-grid { display: grid; grid-template-columns: 1.1fr 1fr 0.7fr; align-items: center; gap: 24px; }
body.home .challenge-copy p:not(.eyebrow) { max-width: 400px; font-size: 16px; }
body.home .challenge-photo { height: 260px; background: url(assets/home/challenge.jpg) center / cover; border-radius: 28px; -webkit-mask-image: radial-gradient(ellipse at center, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse at center, #000 55%, transparent 100%); }
body.home .challenge-list { list-style: none; margin: 0; padding: 28px; display: grid; gap: 26px; background: var(--card); border-radius: 22px; box-shadow: var(--shadow); }
body.home .challenge-list li { display: flex; align-items: center; gap: 16px; color: var(--navy); font-weight: 600; font-size: 15px; }
body.home .challenge-list .ico { width: 36px; height: 36px; }

/* ── Wave dividers (flowing section edges) ── */
body.home .hero::after, body.home .capacity::before, body.home .capacity::after, body.home .impact::after, body.home .contact::before {
  content: ""; position: absolute; left: 0; width: 100%; height: 90px; z-index: 1; pointer-events: none; background: 0 0 / 100% 100% no-repeat; }
body.home .hero::after { bottom: -1px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'><path d='M0 50 C240 100 480 10 760 40 S1200 90 1440 20 V90 H0Z' fill='%23f4f9fd'/></svg>"); }
body.home .capacity::before { top: -1px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'><path d='M0 0H1440V30 C1200 80 900 0 600 40 S200 80 0 30Z' fill='%23f4f9fd'/></svg>"); }
body.home .capacity::after { bottom: -1px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'><path d='M0 60 C300 10 600 90 900 50 S1300 20 1440 50 V90 H0Z' fill='%23f4f9fd'/></svg>"); }
body.home .impact::after { bottom: -1px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'><path d='M0 50 C300 90 700 0 1000 40 S1350 70 1440 30 V90 H0Z' fill='%23f4f9fd'/></svg>"); }
body.home .contact::before { top: -1px; height: 80px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'><path d='M0 0H1440V20 C1100 90 800 0 500 40 S150 70 0 30Z' fill='%23e6f1f9'/></svg>"); }

/* ── Capacity band (dark) ── */
body.home .capacity { padding: 120px 0 110px; background: linear-gradient(100deg, #0c2a5c, #14437f 60%, #1b5a98); color: #dbe9f7; overflow: hidden; }
body.home .capacity-photo { position: absolute; inset: 0 auto 0 0; width: 55%; background: url(assets/home/capacity.jpg) left center / cover; opacity: .9; -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent); mask-image: linear-gradient(90deg, #000 40%, transparent); }
body.home .capacity-copy { margin-left: auto; max-width: 560px; }
body.home .capacity h2 { color: #fff; }
body.home .capacity .eyebrow { color: #7fd6e6; }
body.home .capacity p:not(.eyebrow) { color: #cfe0f2; font-size: 16px; margin: 0; }

/* ── Impact ── */
body.home .impact { padding: 70px 0 120px; background: linear-gradient(180deg, var(--bg), #e8f2fa); overflow: hidden; }
body.home .impact-copy { max-width: 520px; }
body.home .impact-copy p:not(.eyebrow) { font-size: 16px; }
body.home .impact-photo { position: absolute; top: 0; right: 0; width: 52%; height: 100%; background: url(assets/home/impact.jpg) center / cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%); }

/* ── Audiences ── */
body.home .audiences { padding: 50px 0 60px; }
body.home .audiences-grid { display: grid; grid-template-columns: 0.8fr 1.4fr; gap: 48px; align-items: center; }
body.home .audience-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
body.home .audience-card { background: var(--card); border-radius: 18px; padding: 28px 18px; text-align: center; box-shadow: var(--shadow); }
body.home .audience-card .ico { margin-bottom: 12px; }
body.home .audience-card h3 { font-size: 15.5px; font-weight: 600; margin: 0 0 8px; }
body.home .audience-card p { font-size: 14px; margin: 0; }

/* ── How it works ── */
body.home .process { padding: 60px 0; background: linear-gradient(180deg, var(--bg), var(--bg-2) 50%, var(--bg)); }
body.home .process-grid { display: grid; grid-template-columns: 0.8fr 1.5fr; gap: 48px; align-items: center; }
body.home .steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
body.home .step-ico { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); }
body.home .step h3 { font-size: 16px; font-weight: 600; margin: 0 0 6px; }
body.home .step p { font-size: 14px; margin: 0; }
body.home .flow-arc { height: 34px; margin: 18px 40px 0; border: 1.5px dotted rgba(14, 155, 181, .6); border-top: 0; border-radius: 0 0 50% 50% / 0 0 100% 100%; }
body.home .flow-badge { display: flex; align-items: center; justify-content: center; gap: 10px; margin: -22px 0 0; font-size: 14px; font-weight: 600; color: var(--navy); }
body.home .badge-ico { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: #fff; box-shadow: var(--shadow); }
body.home .badge-ico .ico { width: 24px; height: 24px; }

/* ── Integration & trust ── */
body.home .trust { padding: 70px 0 60px; overflow: hidden; }
body.home .trust-photo { position: absolute; top: 0; right: 0; width: 52%; height: 100%; background: url(assets/home/trust.jpg) center top / cover;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%), linear-gradient(0deg, transparent, #000 25%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 40%), linear-gradient(0deg, transparent, #000 25%); mask-composite: intersect; }
body.home .trust-copy { max-width: 440px; }
body.home .trust-cards { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 760px; }
body.home .trust-cards li { display: flex; gap: 14px; align-items: flex-start; background: rgba(255, 255, 255, .88); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); }
body.home .trust-cards .ico { width: 32px; height: 32px; }
body.home .trust-cards h3 { font-size: 15px; font-weight: 600; margin: 0 0 4px; }
body.home .trust-cards p { font-size: 14px; margin: 0; }

/* ── About ── */
body.home .about { padding: 60px 0 110px; background: linear-gradient(180deg, var(--bg), #e6f1f9); overflow: hidden; }
body.home .about-grid { display: grid; grid-template-columns: 1.2fr 0.9fr 0.7fr; align-items: center; gap: 32px; }
body.home .about-photo { height: 260px; background: url(assets/home/about.jpg) center 35% / cover;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 80%, transparent), linear-gradient(180deg, transparent, #000 18%, #000 78%, transparent); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 22%, #000 80%, transparent), linear-gradient(180deg, transparent, #000 18%, #000 78%, transparent); mask-composite: intersect; }
body.home .about-quote { margin: 0; padding-left: 20px; border-left: 2px solid var(--teal); font-size: 20px; line-height: 1.4; color: var(--navy); font-weight: 500; }

/* ── Contact ── */
body.home .contact { padding: 110px 0 90px; background: linear-gradient(120deg, rgba(10, 34, 80, .55), rgba(15, 58, 115, .25)), url(assets/home/contact-bg.jpg) center / cover, #0a2250; color: #cfe0f2; }
body.home .contact h2 { color: #fff; }
body.home .contact .eyebrow { color: #7fd6e6; }
body.home .contact-copy p:not(.eyebrow) { color: #dbe9f7; }
body.home .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
body.home .contact-meta { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; font-size: 14.5px; }
body.home .contact-meta li { display: flex; align-items: center; gap: 12px; color: #dbe9f7; }
body.home .contact-meta svg { width: 18px; height: 18px; flex: none; fill: none; stroke: #7fd6e6; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
body.home .contact-meta a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .3); }
body.home .contact-meta a:hover { border-bottom-color: #fff; }
body.home .contact-card { display: grid; gap: 12px; padding: 28px; border-radius: 22px; background: rgba(255, 255, 255, .95); box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
body.home .contact-card input, body.home .contact-card textarea { width: 100%; box-sizing: border-box; padding: 14px 16px; border: 1px solid #dbe6f1; border-radius: 12px; background: #f6fafe; font: inherit; font-size: 14.5px; color: var(--navy); transition: border-color .2s, background .2s; }
body.home .contact-card input::placeholder, body.home .contact-card textarea::placeholder { color: #8195b2; }
body.home .contact-card textarea { min-height: 96px; resize: vertical; }
body.home .contact-card input:focus, body.home .contact-card textarea:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: transparent; background: #fff; }
body.home .form-note { font-size: 13px; margin: 0; color: var(--muted); }
body.home .form-note a { color: var(--teal-dark); }
body.home .btn-submit { justify-self: start; }
body.home .btn-submit.is-sent { background: #12866f; }
body.home .btn-submit.is-error { background: #c2410c; }

/* ── Footer ── */
body.home .footer { padding: 56px 0 28px; background: #081c42; border: 0; color: #9db5d3; }
body.home .footer-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(157, 181, 211, .15); }
body.home .footer-logo { display: inline-block; margin-left: -15px; } /* svg viewBox starts at x=-16 */
body.home .footer-logo img { height: 40px; width: auto; display: block; }
body.home .footer-brand p { max-width: 300px; margin: 16px 0 18px; font-size: 13.5px; line-height: 1.6; color: #9db5d3; }
body.home .footer-social { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(157, 181, 211, .1); color: #cfe0f2; transition: background .2s, color .2s; }
body.home .footer-social:hover { background: var(--teal); color: #fff; }
body.home .footer-social svg { width: 16px; height: 16px; fill: currentColor; }
body.home .footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
body.home .footer-col h2 { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
body.home .footer-col a, body.home .footer-col button { padding: 0; border: 0; background: none; font: inherit; font-size: 14px; color: #9db5d3; text-decoration: none; text-align: left; cursor: pointer; transition: color .2s; }
body.home .footer-col a:hover, body.home .footer-col button:hover { color: #fff; }
body.home .footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; font-size: 13px; color: #7f97b8; }
body.home .footer-bottom p { margin: 0; }

/* ── Cookie banner & preferences ── */
body.home .cookie-icon { background: rgba(14, 155, 181, .1); border-color: rgba(14, 155, 181, .2); color: var(--teal); }
body.home .cookie-text h4 { color: var(--navy); }
body.home .cookie-link { color: var(--teal-dark); }
body.home .btn-ghost { padding: 11px 20px; border: 1px solid var(--border-hover); border-radius: 999px; background: #fff; color: var(--navy); font-size: 14px; font-weight: 600; }
body.home .btn-ghost:hover { border-color: var(--teal); color: var(--teal-dark); background: #fff; }
body.home .btn-cookie-accept, body.home .btn-modal-save { padding: 11px 22px; border: 0; border-radius: 999px; background: var(--teal); color: #fff; font-size: 14px; font-weight: 600; box-shadow: none; }
body.home .btn-cookie-accept:hover, body.home .btn-modal-save:hover { background: var(--teal-dark); }
body.home .cookie-modal-overlay { background: rgba(8, 28, 66, .45); }
body.home .cookie-modal { border: 0; border-radius: 22px; background: #fff; box-shadow: 0 30px 80px rgba(8, 28, 66, .3); }
body.home .cookie-always-on { color: var(--teal-dark); background: rgba(14, 155, 181, .1); border-color: rgba(14, 155, 181, .2); }
body.home .cookie-toggle-slider { background: #e3ebf3; border-color: #cfdbe8; }
body.home .cookie-toggle-slider::before { background: #fff; box-shadow: 0 1px 3px rgba(21, 51, 111, .25); }
body.home .cookie-modal-close { width: 36px; height: 36px; border-radius: 50%; color: var(--muted); }
body.home .cookie-modal-close:hover { background: var(--bg-2); color: var(--navy); }

/* ── Inner pages (About, Integration & Trust, FAQ, legal) ── */
body.home.legal-page .navbar { background: transparent; }
body.home.legal-page .navbar.scrolled, body.home.legal-page .navbar.menu-open { background: rgba(244, 249, 253, .9); }
body.home .legal-hero { padding: 150px 0 56px; background: radial-gradient(ellipse 60% 80% at 50% 0, #d9ebf8, transparent 70%), linear-gradient(180deg, var(--bg-2), var(--bg)); }
body.home .legal-hero::before { display: none; }
body.home .legal-hero-content { max-width: 720px; }
body.home .legal-hero .eyebrow { margin-bottom: 14px; font-size: 12px; letter-spacing: .14em; color: var(--teal); }
body.home .legal-hero h1 { margin: 0 0 16px; font-size: clamp(34px, 4.4vw, 50px); line-height: 1.12; font-weight: 600; letter-spacing: -0.02em; color: var(--navy); }
body.home .legal-hero-content > p:not(.eyebrow) { max-width: 600px; margin: 0 auto; font-size: 17px; color: var(--ink); }
body.home .legal-hero .legal-meta { flex-wrap: wrap; gap: 10px; color: var(--muted); }
body.home .legal-hero .legal-meta span { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .8); box-shadow: var(--shadow-sm); }
body.home .legal-hero .legal-meta svg { color: var(--teal); opacity: 1; }
body.home .legal-body { padding: 24px 0 96px; background: transparent; }
body.home .legal-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 48px; }
body.home .legal-toc { top: 96px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .8); box-shadow: var(--shadow-sm); }
body.home .legal-toc h4 { margin-bottom: 12px; font-family: inherit; font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--muted); }
body.home .legal-toc a { padding: 7px 0 7px 14px; font-size: 13.5px; line-height: 1.4; color: var(--muted); border-left: 2px solid transparent; text-decoration: none; }
body.home .legal-toc a:hover, body.home .legal-toc a.active { color: var(--teal-dark); border-left-color: var(--teal); background: none; }
body.home .legal-content { max-width: 800px; color: var(--ink); }
body.home .legal-section { margin-bottom: 24px; padding: 36px 40px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 255, 255, .85); box-shadow: var(--shadow-sm); scroll-margin-top: 96px; }
body.home .legal-section:hover { border-color: var(--line); }
body.home .legal-section h2 { margin: 0 0 18px; font-size: 24px; line-height: 1.25; font-weight: 600; color: var(--navy); gap: 14px; align-items: center; }
body.home .legal-section h2 .section-num { width: 32px; height: 32px; border: 0; border-radius: 10px; background: rgba(14, 155, 181, .1); color: var(--teal-dark); font-size: 13px; letter-spacing: 0; }
body.home .legal-section h3 { margin: 26px 0 8px; font-size: 16.5px; font-weight: 600; color: var(--navy); }
body.home .legal-section p, body.home .legal-section li { font-size: 15.5px; line-height: 1.7; color: var(--ink); }
body.home .legal-section p:last-child { margin-bottom: 0; }
body.home .legal-section ul li::before { top: 11px; background: var(--teal); }
body.home .legal-section strong { color: var(--navy); font-weight: 600; }
body.home .legal-section a { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 3px; }
body.home .legal-section a:hover { color: var(--navy); }
body.home .legal-highlight { background: rgba(14, 155, 181, .07); border-left-color: var(--teal); border-radius: 0 12px 12px 0; }
body.home .legal-highlight p { color: var(--navy); }
body.home .about-logos { gap: 24px 44px; }
body.home .about-logos img { height: 48px; filter: brightness(0) opacity(.55); opacity: 1; }
body.home .about-logos img.kbc-logo { height: 30px; }
body.home .legal-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; padding: 28px 32px; border-radius: 20px; background: linear-gradient(120deg, #0c2a5c, #14437f 60%, #1b5a98); color: #dbe9f7; }
body.home .legal-cta div { flex: 1 1 280px; }
body.home .legal-cta h2 { margin: 0 0 4px; font-size: 20px; color: #fff; }
body.home .legal-cta p { margin: 0; font-size: 14.5px; color: #cfe0f2; }
body.home .legal-cta .pill-btn { box-shadow: none; }
body.home .legal-back-link { margin-top: 24px; padding: 0; border: 0; background: none; color: var(--teal-dark); font-size: 14.5px; }
body.home .legal-back-link:hover { color: var(--navy); background: none; border: 0; }

/* FAQ page */
body.home .faq-list { max-width: none; margin: 0; border: 0; }
body.home .faq-list details { margin-bottom: 12px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .85); box-shadow: var(--shadow-sm); transition: box-shadow .2s; }
body.home .faq-list details[open] { box-shadow: var(--shadow); }
body.home .faq-list summary { padding: 20px 24px; font-family: inherit; font-size: 16.5px; font-weight: 600; color: var(--navy); border-radius: 16px; }
body.home .faq-list summary::after { content: ""; width: 28px; height: 28px; border-radius: 50%; background: rgba(14, 155, 181, .1) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a7f97' stroke-width='2.4' stroke-linecap='round'><path d='M12 6v12M6 12h12'/></svg>") center / 14px no-repeat; transition: transform .25s; }
body.home .faq-list details[open] summary::after { content: ""; transform: rotate(45deg); }
body.home .faq-list summary:focus-visible { outline-offset: 0; }
body.home .faq-list details p { max-width: none; margin: 0; padding: 0 24px 22px; font-size: 15.5px; color: var(--ink); }

/* ── Tablet ── */
@media (max-width: 1100px) {
  body.home .challenge-grid { grid-template-columns: 1fr 1fr; }
  body.home .challenge-copy { grid-column: 1 / -1; }
  body.home .audiences-grid, body.home .process-grid { grid-template-columns: 1fr; gap: 32px; }
  body.home .about-grid { grid-template-columns: 1.2fr 1fr; }
  body.home .about-quote { grid-column: 1 / -1; }
  body.home .footer-top { grid-template-columns: repeat(3, 1fr); }
  body.home .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  body.home .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  body.home .legal-toc { position: static; display: flex; flex-wrap: wrap; gap: 8px; }
  body.home .legal-toc h4 { width: 100%; margin-bottom: 4px; }
  body.home .legal-toc a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13px; }
  body.home .legal-toc a:hover, body.home .legal-toc a.active { border-color: var(--teal); background: rgba(14, 155, 181, .06); }
}
@media (max-width: 1000px) {
  body.home .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  body.home .trust-cards { grid-template-columns: 1fr; max-width: 460px; }
  body.home .trust-photo { width: 60%; opacity: .55; }
}

/* ── Phone & small tablet ── */
@media (max-width: 860px) {
  body.home .hero { height: auto; padding: 0 0 72px; }
  body.home .hero-photo { position: relative; width: 100%; height: 340px; background-position: 84% 30%;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
  body.home .hero-content { max-width: 600px; margin-top: -48px; padding-left: 0; border-left: 0; }
  body.home .hero-sub { max-width: none; font-size: 16px; }
  body.home .hero-buttons { flex-direction: row; align-items: center; justify-content: flex-start; }

  body.home .hero::after, body.home .capacity::before, body.home .capacity::after, body.home .impact::after, body.home .contact::before { height: 44px; }

  body.home .pillars { margin-top: -28px; padding-bottom: 24px; }
  body.home .pillar-grid { grid-template-columns: 1fr; gap: 14px; max-width: 560px; }
  body.home .pillar { display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; align-items: center; padding: 20px 22px; text-align: left; }
  body.home .pillar .ico { grid-row: span 2; width: 44px; height: 44px; margin: 0; }
  body.home .pillar h3 { font-size: 17px; margin-bottom: 2px; }
  body.home .pillar p { font-size: 14.5px; }

  body.home .challenge { padding: 48px 0 64px; }
  body.home .challenge-grid { grid-template-columns: 1fr; gap: 20px; }
  body.home .challenge-photo { height: 240px; }

  body.home .capacity { padding: 84px 0; }
  body.home .capacity-photo { width: 100%; opacity: .28; -webkit-mask-image: none; mask-image: none; }

  body.home .impact { padding: 56px 0 88px; }
  body.home .impact-photo { position: relative; width: auto; height: 240px; margin: 28px 20px 0; border-radius: 24px; background-position: 65% center;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 60%, transparent 100%); mask-image: radial-gradient(ellipse at center, #000 60%, transparent 100%); }

  body.home .audiences { padding: 48px 0; }
  body.home .process { padding: 48px 0; }
  body.home .steps { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  body.home .step-ico { width: 72px; height: 72px; }
  body.home .flow-arc { display: none; }
  body.home .flow-badge { justify-content: flex-start; margin: 28px 0 0; text-align: left; }

  body.home .trust { display: flex; flex-direction: column; padding: 56px 0 24px; }
  body.home .trust-photo { order: 2; position: relative; width: auto; height: 260px; margin: 28px 20px 0; opacity: 1; border-radius: 24px; background-position: center 20%;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 60%, transparent 100%); mask-image: radial-gradient(ellipse at center, #000 60%, transparent 100%); }
  body.home .trust .container { width: 100%; box-sizing: border-box; }
  body.home .trust-cards { max-width: none; }

  body.home .about { padding: 48px 0 84px; }
  body.home .about-grid { grid-template-columns: 1fr; gap: 24px; }
  body.home .about-photo { height: 240px; }
  body.home .about-quote { font-size: 18px; }

  body.home .contact { padding: 84px 0 64px; }
  body.home .contact-card { padding: 22px; }
  body.home .btn-submit { justify-self: stretch; }

  body.home .footer { padding-top: 44px; }
  body.home .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  body.home .footer-bottom { flex-direction: column; }

  body.home .legal-hero { padding: 104px 0 36px; }
  body.home .legal-hero-content > p:not(.eyebrow) { font-size: 16px; }
  body.home .legal-body { padding-bottom: 72px; }
  body.home .legal-section { padding: 26px 22px; border-radius: 18px; }
  body.home .legal-section h2 { font-size: 20px; align-items: flex-start; }
  body.home .legal-section h2 .section-num { margin-top: -2px; }
  body.home .legal-section p, body.home .legal-section li { font-size: 15px; }
  body.home .legal-cta { padding: 24px; }
  body.home .faq-list summary { padding: 18px 20px; font-size: 15.5px; }
  body.home .faq-list details p { padding: 0 20px 20px; font-size: 15px; }

}
@media (max-width: 600px) {
  body.home .container { padding: 0 20px; }
  body.home .hero-photo { height: 290px; }
  body.home .hero h1 { font-size: 36px; }
  body.home .hero-buttons { gap: 20px; }
  body.home .audience-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  body.home .audience-card { padding: 22px 14px; }
  body.home .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  body.home .hero-anim, body.home .reveal { transition: none; opacity: 1; transform: none; }
  body.home .mobile-toggle span, body.home .faq-list summary::after { transition: none; }
}

/* FAQ page layout */
body.home .faq-container { max-width: 820px; }
body.home .faq-more { margin: 24px 0 0; text-align: center; font-size: 15px; color: var(--muted); }

/* "Supported by" band (homepage, under the intro cards) */
body.home .backing { padding: 8px 0 24px; }
body.home .backing-card { display: flex; align-items: center; gap: 32px; max-width: 1080px; margin: 0 auto; padding: 22px 36px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255, 255, 255, .6); }
body.home .backing-title { flex: none; margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
body.home .backing-row { list-style: none; flex: 1; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
body.home .backing-row li { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 10px; padding: 0 16px; text-align: center; }
body.home .backing-row li + li { border-left: 1px solid var(--line); }
body.home .backing-row img { display: block; width: auto; height: 46px; filter: brightness(0) opacity(.72); }
body.home .backing-row img.logo-kbc { height: 28px; margin-bottom: 9px; }
body.home .backing-row img.logo-fit { height: 58px; margin-bottom: -6px; }
body.home .backing-row span { font-size: 12.5px; line-height: 1.35; color: var(--muted); }

/* Footer "Supported by" row */
body.home .footer-backing { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; padding: 24px 0; border-bottom: 1px solid rgba(157, 181, 211, .15); }
body.home .footer-backing p { margin: 0 8px 0 0; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
body.home .footer-backing img { display: block; width: auto; height: 36px; filter: brightness(0) invert(1) opacity(.75); }
body.home .footer-backing img.logo-kbc { height: 22px; }
body.home .footer-backing img.logo-fit { height: 44px; }

@media (max-width: 860px) {
  body.home .backing { padding: 4px 0 8px; }
  body.home .backing-card { flex-direction: column; align-items: stretch; gap: 16px; max-width: 560px; padding: 20px 16px; }
  body.home .backing-title { text-align: center; }
  body.home .backing-row li { padding: 0 8px; }
  body.home .backing-row img { height: 34px; }
  body.home .backing-row img.logo-kbc { height: 18px; margin-bottom: 8px; }
  body.home .backing-row img.logo-fit { height: 44px; margin-bottom: -5px; }
  body.home .backing-row span { font-size: 11.5px; }
  body.home .footer-backing { gap: 16px 24px; }
  body.home .footer-backing p { width: 100%; }
  body.home .footer-backing img { height: 30px; }
  body.home .footer-backing img.logo-kbc { height: 18px; }
  body.home .footer-backing img.logo-fit { height: 38px; }
}
@media (max-width: 600px) {
  body.home .backing-row { grid-template-columns: 1fr; }
  body.home .backing-row li { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 16px; padding: 12px 4px; text-align: left; }
  body.home .backing-row li + li { border-left: 0; border-top: 1px solid var(--line); }
  body.home .backing-row img, body.home .backing-row img.logo-kbc, body.home .backing-row img.logo-fit { margin: 0; justify-self: start; }
  body.home .backing-row img.logo-kbc { height: 21px; }
  body.home .backing-row span { font-size: 13px; }
}

/* Biovia logo includes its tagline, so it needs a little more height */
body.home .backing-row img.logo-biovia { height: 36px; margin-bottom: 0; }
body.home .footer-backing img.logo-biovia { height: 30px; }
body.home .about-logos img.logo-biovia { height: 36px; }
@media (max-width: 1100px) and (min-width: 861px) { body.home .backing-row li { padding: 0 10px; } body.home .backing-row span { font-size: 11.5px; } }
@media (max-width: 860px) and (min-width: 601px) { body.home .backing-row { grid-template-columns: repeat(2, 1fr); row-gap: 20px; } body.home .backing-row li:nth-child(3) { border-left: 0; } }
@media (max-width: 860px) { body.home .backing-row img.logo-biovia { height: 28px; } body.home .footer-backing img.logo-biovia { height: 26px; } }

/* Supported-by logos link out (no captions) */
body.home .backing-row li { justify-content: center; min-height: 64px; }
body.home .backing-row a, body.home .footer-backing a, body.home .about-logos a { display: inline-flex; align-items: center; border-radius: 8px; }
body.home .backing-row img, body.home .backing-row img.logo-kbc, body.home .backing-row img.logo-fit, body.home .backing-row img.logo-biovia { margin: 0; transition: filter .2s, transform .2s; }
body.home .backing-row a:hover img { filter: brightness(0) opacity(.95); transform: translateY(-1px); }
body.home .footer-backing img, body.home .about-logos img { transition: filter .2s; }
body.home .footer-backing a:hover img { filter: brightness(0) invert(1) opacity(1); }
body.home .about-logos a:hover img { filter: brightness(0) opacity(.9); }
@media (max-width: 860px) {
  body.home .backing-row, body.home .backing-row li { grid-template-columns: repeat(2, 1fr); }
  body.home .backing-row { row-gap: 8px; }
  body.home .backing-row li { display: flex; padding: 10px 8px; min-height: 56px; border: 0; }
  body.home .backing-row li + li { border: 0; }
}

/* ── Contact form fields ── */
body.home .contact-card { gap: 0; }
body.home .contact-form-fields { display: grid; gap: 14px; }
body.home .contact-form-fields[hidden], body.home .form-error[hidden] { display: none; }
body.home .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
body.home .field { display: grid; gap: 6px; min-width: 0; }
body.home .field label { font-size: 13px; font-weight: 600; color: var(--navy); }
body.home .contact-card select { width: 100%; box-sizing: border-box; padding: 14px 40px 14px 16px; border: 1px solid #dbe6f1; border-radius: 12px; font: inherit; font-size: 14.5px; color: var(--navy); cursor: pointer; appearance: none; -webkit-appearance: none;
  background: #f6fafe url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b7194' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>") right 14px center / 16px no-repeat; }
body.home .contact-card select:invalid { color: #8195b2; }
body.home .contact-card select:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: transparent; background-color: #fff; }
body.home .contact-card [aria-invalid="true"] { border-color: #d9534f; background-color: #fff7f7; }
body.home .form-error { margin: 0; padding: 10px 14px; border-radius: 10px; background: #fdecec; color: #a12d2a; font-size: 13.5px; }
body.home .form-success { display: grid; justify-items: start; gap: 10px; padding: 12px 4px; outline: none; }
body.home .form-success[hidden] { display: none; }
body.home .form-success-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(14, 155, 181, .12); }
body.home .form-success-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--teal-dark); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
body.home .form-success h3 { margin: 6px 0 0; font-size: 22px; font-weight: 600; }
body.home .form-success p { margin: 0; font-size: 15px; color: var(--ink); }
body.home .form-success p a { color: var(--teal-dark); }
body.home .form-success .text-link { margin-top: 6px; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; font-size: 14.5px; font-weight: 600; }
@media (max-width: 600px) { body.home .field-row { grid-template-columns: 1fr; } }

/* ── Compact cookie banner ── */
body.home .cookie-banner { left: 20px; right: auto; bottom: 20px; width: auto; max-width: 380px; display: grid; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .97); box-shadow: 0 12px 40px rgba(21, 51, 111, .16); transform: translateY(calc(100% + 40px)); }
body.home .cookie-banner.visible { transform: none; }
body.home .cookie-banner .cookie-text { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink); }
body.home .cookie-banner .cookie-link { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
body.home .cookie-banner .cookie-actions { display: flex; flex-direction: row; align-items: center; gap: 8px; width: auto; justify-content: flex-end; }
body.home .cookie-banner .cookie-actions button { width: auto; }
body.home .cookie-banner .btn-ghost, body.home .cookie-banner .btn-cookie-accept { padding: 8px 16px; font-size: 13px; }
body.home .cookie-settings-btn { margin-right: auto; padding: 4px 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
body.home .cookie-settings-btn:hover { color: var(--navy); }
@media (max-width: 600px) {
  body.home .cookie-banner { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); max-width: none; border-radius: 16px; padding: 14px 16px; }
}

/* ── Compact cookie settings ── */
body.home .cookie-modal { max-width: 460px; padding: 22px 24px; }
body.home .cookie-modal-header { margin-bottom: 6px; }
body.home .cookie-modal-header h3 { font-size: 17px; }
body.home .cookie-modal-intro { margin-bottom: 12px; font-size: 13px; }
body.home .cookie-cat { padding: 12px 0; }
body.home .cookie-cat:last-of-type { margin-bottom: 16px; }
body.home .cookie-cat-name { font-size: 14px; }
body.home .cookie-cat-desc { font-size: 12.5px; line-height: 1.45; }
body.home .cookie-modal-actions { gap: 8px; }
body.home .cookie-modal-actions .btn-ghost, body.home .cookie-modal-actions .btn-modal-save { padding: 9px 16px; font-size: 13px; }
@media (max-width: 600px) {
  body.home .cookie-modal { max-height: 85vh; padding: 20px 18px calc(18px + env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; }
  body.home .cookie-modal-actions { display: grid; grid-template-columns: 1fr 1fr; }
  body.home .cookie-modal-actions .btn-modal-save { grid-column: 1 / -1; order: -1; }
}

/* ── 404 page ── */
body.home .notfound { min-height: 62vh; padding-bottom: 96px; }
body.home .notfound-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; margin: 28px 0 36px; }
body.home .notfound-links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; }
body.home .notfound-links a { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font-size: 14px; font-weight: 500; text-decoration: none; }
body.home .notfound-links a:hover { border-color: var(--teal); color: var(--teal-dark); }


/* ── Icons: Health Icons (healthicons.org, MIT) on a soft tile ── */
body.home .hi-tile { display: inline-grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 18px; background: linear-gradient(145deg, #e6f4f8, #dbeaf6); color: var(--teal-dark); }
body.home .hi { width: 38px; height: 38px; display: block; }
body.home .pillar .hi-tile { margin: 0 auto 16px; }
body.home .audience-card .hi-tile { width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 14px; }
body.home .audience-card .hi { width: 32px; height: 32px; }
body.home .challenge-list li, body.home .trust-cards li { display: flex; align-items: center; gap: 14px; }
body.home .trust-cards li { align-items: flex-start; }
body.home .challenge-list .hi-tile, body.home .trust-cards .hi-tile { width: 44px; height: 44px; border-radius: 12px; }
body.home .challenge-list .hi, body.home .trust-cards .hi { width: 26px; height: 26px; }
body.home .badge-ico { color: var(--teal-dark); }
body.home .badge-ico .hi { width: 24px; height: 24px; }

/* ── How it works: product cards ── */
body.home .process-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; margin-bottom: 28px; }
body.home .process-head h2 { max-width: 560px; margin: 0; }
body.home .flow-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
body.home .flow-card { position: relative; display: grid; align-content: start; gap: 12px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
body.home .flow-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
body.home .flow-step { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-dark); }
body.home .chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
body.home .chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
body.home .chip-urgent { color: #b5530b; background: #fdf0e3; }
body.home .chip-live { color: var(--teal-dark); background: rgba(14, 155, 181, .1); }
body.home .chip-done { color: #12866f; background: #e5f5f0; }
body.home .flow-card h3 { margin: 0; font-size: 16.5px; line-height: 1.3; font-weight: 600; }
body.home .flow-card dl { margin: 0; display: grid; gap: 0; font-size: 13.5px; }
body.home .flow-card dl div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); }
body.home .flow-card dt { color: var(--muted); flex: none; }
body.home .flow-card dd { margin: 0; color: var(--navy); font-weight: 500; text-align: right; }
@media (max-width: 860px) {
  body.home .pillar .hi-tile { grid-row: span 2; width: 56px; height: 56px; margin: 0; }
  body.home .pillar .hi { width: 32px; height: 32px; }
  body.home .pillar { grid-template-columns: 56px 1fr; }
}

/* ── How it works: closed loop ──
   Arrows run Request → Match → Report → Return, and a dotted return path
   carries the report back to Request, with the HubNex badge on it. */
body.home .flow-cards { position: relative; gap: 28px; margin-bottom: 52px; }
body.home .flow-card::after, body.home .flow-card::before { content: ""; position: absolute; pointer-events: none; }
body.home .flow-card:not(:last-child)::after { top: 31px; left: 100%; width: 18px; border-top: 2px dotted var(--teal); }
body.home .flow-card:not(:last-child)::before { top: 26px; left: calc(100% + 17px); border-left: 8px solid var(--teal); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
/* return path under the row */
body.home .flow-cards::before { content: ""; position: absolute; top: calc(100% + 2px); left: 12.5%; right: 12.5%; height: 34px; border: 2px dotted var(--teal); border-top: 0; border-radius: 0 0 22px 22px; }
body.home .flow-cards::after { content: ""; position: absolute; top: calc(100% + 1px); left: calc(12.5% - 5px); border-bottom: 8px solid var(--teal); border-left: 6px solid transparent; border-right: 6px solid transparent; }
body.home .process .flow-badge { position: relative; z-index: 1; justify-content: center; width: max-content; max-width: 100%; margin: -34px auto 0; padding: 6px 18px 6px 6px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); font-size: 14px; }
body.home .process .flow-badge .badge-ico { width: 36px; height: 36px; box-shadow: none; background: rgba(14, 155, 181, .1); }
body.home .flow-note { margin: 14px 0 0; text-align: center; font-size: 12.5px; color: var(--muted); }

/* Tablet: 2×2 loop, clockwise 1 → 2 ↓ 3 ← 4 ↑ */
@media (max-width: 1100px) {
  body.home .flow-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "a b" "d c"; gap: 36px; margin-bottom: 0; }
  body.home .flow-cards > .flow-card:nth-child(1) { grid-area: a; } body.home .flow-cards > .flow-card:nth-child(2) { grid-area: b; }
  body.home .flow-cards > .flow-card:nth-child(3) { grid-area: c; } body.home .flow-cards > .flow-card:nth-child(4) { grid-area: d; }
  body.home .flow-cards::before, body.home .flow-cards::after { display: none; }
  body.home .flow-cards > .flow-card::after, body.home .flow-cards > .flow-card::before { all: unset; content: ""; position: absolute; pointer-events: none; }
  /* 1 → 2 */
  body.home .flow-cards > .flow-card:nth-child(1)::after { top: 24px; left: 100%; width: 26px; border-top: 2px dotted var(--teal); }
  body.home .flow-cards > .flow-card:nth-child(1)::before { top: 19px; left: calc(100% + 26px); border-left: 8px solid var(--teal); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
  /* 2 ↓ 3 */
  body.home .flow-cards > .flow-card:nth-child(2)::after { top: 100%; left: 50%; height: 26px; border-left: 2px dotted var(--teal); }
  body.home .flow-cards > .flow-card:nth-child(2)::before { top: calc(100% + 26px); left: calc(50% - 5px); border-top: 8px solid var(--teal); border-left: 6px solid transparent; border-right: 6px solid transparent; }
  /* 3 ← 4 */
  body.home .flow-cards > .flow-card:nth-child(3)::after { top: 24px; right: 100%; width: 26px; border-top: 2px dotted var(--teal); }
  body.home .flow-cards > .flow-card:nth-child(3)::before { top: 19px; right: calc(100% + 26px); border-right: 8px solid var(--teal); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
  /* 4 ↑ 1 */
  body.home .flow-cards > .flow-card:nth-child(4)::after { bottom: 100%; left: 50%; height: 26px; border-left: 2px dotted var(--teal); }
  body.home .flow-cards > .flow-card:nth-child(4)::before { bottom: calc(100% + 26px); left: calc(50% - 5px); border-bottom: 8px solid var(--teal); border-left: 6px solid transparent; border-right: 6px solid transparent; }
  body.home .process .flow-badge { margin-top: 28px; }
}

/* Phone: one column, arrows down, return path up the left side */
@media (max-width: 600px) {
  body.home .flow-cards { grid-template-columns: minmax(0, 1fr); grid-template-areas: none; gap: 30px; margin-left: 22px; }
  body.home .flow-cards > .flow-card:nth-child(n) { grid-area: auto; }
  body.home .flow-cards > .flow-card:nth-child(-n+3)::after { all: unset; content: ""; position: absolute; top: 100%; left: 50%; height: 20px; border-left: 2px dotted var(--teal); }
  body.home .flow-cards > .flow-card:nth-child(-n+3)::before { all: unset; content: ""; position: absolute; top: calc(100% + 20px); left: calc(50% - 5px); border-top: 8px solid var(--teal); border-left: 6px solid transparent; border-right: 6px solid transparent; }
  body.home .flow-cards > .flow-card:nth-child(4)::after, body.home .flow-cards > .flow-card:nth-child(4)::before { display: none; }
  body.home .flow-cards::before { display: block; top: 24px; bottom: 31px; left: -22px; right: auto; width: 16px; height: auto; border: 2px dotted var(--teal); border-right: 0; border-radius: 14px 0 0 14px; }
  body.home .flow-cards::after { display: block; top: 19px; left: -9px; border: 0; border-left: 8px solid var(--teal); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
  body.home .process .flow-badge { width: auto; padding-right: 14px; font-size: 13.5px; }
}

/* Compact step cards and real logo marks */
body.home .flow-card { gap: 8px; padding: 14px 16px; border-radius: 16px; }
body.home .flow-card h3 { font-size: 15px; }
body.home .flow-card dl { font-size: 13px; }
body.home .flow-card dl div { padding: 5px 0; }
body.home .flow-step { font-size: 11px; }
body.home .chip { padding: 2px 8px; font-size: 11px; }
body.home .flow-cards { gap: 28px; }
body.home .flow-card:not(:last-child)::after { top: 24px; }
body.home .flow-card:not(:last-child)::before { top: 19px; }
body.home .badge-ico img { width: 24px; height: 24px; display: block; }

/* ── Inside the platform: compact interface cards (same style as the step cards) ── */
body.home .platform { padding: 56px 0 32px; }
body.home .platform-head { max-width: 640px; margin-bottom: 24px; }
body.home .snip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
body.home .snip-card { margin: 0; display: grid; gap: 12px; }
body.home .snip-card figcaption { font-size: 14px; line-height: 1.55; color: var(--ink); }
body.home .snip-card figcaption strong { display: block; color: var(--navy); font-weight: 600; font-size: 15px; margin-bottom: 2px; }
body.home .snip { display: grid; gap: 10px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); color: var(--navy); font-size: 12.5px; line-height: 1.35; font-variant-numeric: tabular-nums; }
body.home .snip-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
body.home .snip-label { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-dark); }
body.home .snip-chip.ok { color: #12866f; background: #e5f5f0; }
body.home .snip-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: #16a37f; }
body.home .snip-dot.warn { background: #e0912b; }
/* Command Center */
body.home .sk-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
body.home .sk { display: grid; gap: 1px; padding: 8px 0 6px; border-bottom: 1px solid var(--line); }
body.home .sk:nth-child(odd) { padding-right: 12px; border-right: 1px solid var(--line); }
body.home .sk:nth-child(even) { padding-left: 12px; }
body.home .sk-label { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); }
body.home .sk-label b { font-weight: 600; color: #12866f; }
body.home .sk-value { font-size: 17px; font-weight: 600; }
body.home .sk-value small { font-size: 11.5px; font-weight: 500; color: var(--muted); }
body.home .spark { width: 100%; height: 18px; overflow: visible; }
body.home .spark polygon { fill: rgba(14, 155, 181, .10); }
body.home .spark polyline { fill: none; stroke: var(--teal); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
body.home .spark circle { fill: var(--teal); }
body.home .snip-alert { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12px; }
body.home .snip-alert time { margin-left: auto; color: var(--muted); font-size: 11px; }
/* Routing decision */
body.home .snip-study { display: flex; align-items: center; gap: 9px; margin: 0; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
body.home .snip-study > span:nth-child(2) { flex: 1; min-width: 0; display: grid; font-weight: 600; }
body.home .snip-study small { font-weight: 400; color: var(--muted); font-size: 11px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
body.home .snip-mod { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 8px; background: var(--navy); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .04em; }
body.home .snip-cands { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
body.home .snip-cands li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; }
body.home .sc-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.home .snip-cands li.selected .sc-name { font-weight: 600; }
body.home .sc-score { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; color: var(--muted); }
body.home .snip-cands li.selected .sc-score { color: var(--teal-dark); font-weight: 600; }
body.home .snip-cands li.excluded { color: var(--muted); }
body.home .snip-cands li.excluded .sc-score { font-family: inherit; font-size: 11px; padding: 1px 7px; border-radius: 6px; background: #eef2f6; }
body.home .snip-bar { grid-column: 1 / -1; display: flex; height: 6px; overflow: hidden; border-radius: 99px; background: #edf2f7; }
body.home .snip-bar i { display: block; height: 100%; }
body.home .snip-bar .c { background: #2f6fca; } body.home .snip-bar .s { background: #16a37f; } body.home .snip-bar .p { background: #c58a1d; }
body.home .snip-cands li:not(.selected) .snip-bar i { opacity: .55; }
/* Edge fleet */
body.home .sn-nodes { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
body.home .sn-nodes li { display: grid; grid-template-columns: 7px minmax(0, 1fr) minmax(44px, 30%) 50px; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
body.home .sn-host { display: grid; min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.home .sn-host small { font-family: 'Inter', system-ui, sans-serif; font-size: 10.5px; color: var(--muted); }
body.home .sn-strip { display: grid; grid-template-columns: repeat(24, 1fr); gap: 1.5px; }
body.home .sn-strip i { height: 11px; border-radius: 1px; background: #3cb894; }
body.home .sn-strip i.warn { background: #e0912b; }
body.home .sn-ms { text-align: right; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; color: #12866f; }
body.home .sn-ms.warn { color: #a5560b; font-weight: 600; }
@media (max-width: 1200px) and (min-width: 701px) {
  body.home .snip-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  body.home .snip-card { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); align-items: center; gap: 32px; }
  body.home .snip-card figcaption { max-width: 340px; }
}
@media (max-width: 700px) {
  body.home .platform { padding: 44px 0 24px; }
  body.home .snip-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  body.home .snip-card { max-width: 420px; }
}
body.home .snip-rule { display: flex; justify-content: space-between; gap: 8px; margin: -2px 0 0; font-size: 11px; color: var(--muted); }
body.home .snip-rule b { font-weight: 600; color: var(--navy); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
body.home .sn-nodes li:last-child { border-bottom: 0; }
@media (min-width: 1201px) {
  body.home .snip-grid { align-items: stretch; }
  body.home .snip-card { grid-template-rows: 1fr auto; }
  body.home .snip { align-content: start; }
  body.home .snip > :last-child { align-self: end; }
}

/* ── CTA: reassurance, next steps, investor route ── */
body.home .hero-assure { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 18px 0 0; font-size: 13.5px; color: var(--muted); }
body.home .hero-assure svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--teal); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
body.home .hero-assure span { color: #9fb1c8; }
body.home .next-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
body.home .next-steps li { display: flex; gap: 14px; align-items: flex-start; }
body.home .next-steps li > span { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: rgba(127, 214, 230, .16); border: 1px solid rgba(127, 214, 230, .45); color: #bfeaf2; font-size: 13px; font-weight: 600; }
body.home .next-steps strong { display: block; color: #fff; font-weight: 600; font-size: 15px; margin-bottom: 2px; }
body.home .next-steps div { font-size: 14px; line-height: 1.5; color: #cfe0f2; }
body.home .contact-copy .contact-meta { margin-top: 18px; }

/* ── Wider layout on large screens ── */
@media (min-width: 1400px) {
  body.home .container { max-width: 1320px; }
  body.home .navbar-inner { max-width: 1400px; }
}
@media (min-width: 1800px) {
  body.home .container { max-width: 1440px; }
  body.home .navbar-inner { max-width: 1520px; }
}

/* ── Audience cards: 2×2, icon beside text ── */
@media (min-width: 1101px) { body.home .audiences-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr); } }
body.home .audience-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
body.home .audience-card { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; align-items: start; padding: 20px 22px; text-align: left; }
body.home .audience-card .hi-tile { grid-row: span 2; width: 52px; height: 52px; margin: 0; border-radius: 14px; }
body.home .audience-card .hi { width: 30px; height: 30px; }
body.home .audience-card h3 { margin: 2px 0 4px; font-size: 16px; }
body.home .audience-card p { font-size: 14px; line-height: 1.5; }
@media (max-width: 600px) {
  body.home .audience-cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  body.home .audience-card { padding: 16px 18px; }
}
@media (min-width: 1400px) { body.home .trust-cards { max-width: 880px; } body.home .trust-copy { max-width: 500px; } }

/* Loop arrows: keep tips clear of the next card and drawn above it */
body.home .flow-cards > .flow-card::before, body.home .flow-cards > .flow-card::after { z-index: 2; }
@media (max-width: 1100px) { body.home .process .flow-cards { gap: 36px; } }
@media (max-width: 600px) { body.home .process .flow-cards { gap: 30px; } }
body.home .snip-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; padding-top: 8px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
body.home .snip-legend span { display: inline-flex; align-items: center; gap: 5px; }
body.home .snip-legend i { width: 8px; height: 8px; border-radius: 2px; }
body.home .snip-legend .c { background: #2f6fca; } body.home .snip-legend .s { background: #16a37f; } body.home .snip-legend .p { background: #c58a1d; }

/* ── Contact card: hospitals / investors switch ── */
body.home .contact-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 20px; padding: 4px; border-radius: 999px; background: #eaf1f8; }
body.home .contact-tabs [role="tab"] { padding: 10px 14px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
body.home .contact-tabs [role="tab"]:hover { color: var(--navy); }
body.home .contact-tabs [role="tab"][aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(21, 51, 111, .12); }
body.home .contact-panel[hidden] { display: none; }
/* Investor panel */
body.home .investor-form { display: grid; gap: 14px; }
body.home .investor-form h3 { margin: 4px 0 0; font-size: 22px; font-weight: 600; }
body.home .investor-intro { margin: -6px 0 0; font-size: 15px; color: var(--ink); }
body.home .investor-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; }
body.home .investor-row[hidden] { display: none; }
body.home .investor-btn { padding: 14px 24px; }
body.home .investor-msg { margin: 0; padding: 12px 14px; border-radius: 10px; background: #e5f5f0; color: #0f6e5a; font-size: 14px; }
body.home .investor-msg.error { background: #fdecec; color: #a12d2a; }
body.home .investor-msg[hidden] { display: none; }
@media (max-width: 460px) { body.home .investor-row { grid-template-columns: minmax(0, 1fr); } body.home .investor-btn { justify-self: stretch; } }
@media (min-width: 1001px) { body.home .contact-card { min-height: 660px; align-content: start; } body.home #panel-investor { padding-top: 12px; } }

/* Hospital / investor switch: clearer */
body.home .contact-tabs-label { margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
body.home .contact-tabs { gap: 8px; padding: 0; background: none; margin-bottom: 22px; }
body.home .contact-tabs [role="tab"] { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 14px; border: 1.5px solid #cfdcea; border-radius: 14px; background: #fff; color: var(--navy); font-size: 15px; box-shadow: none; }
body.home .contact-tabs [role="tab"] svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
body.home .contact-tabs [role="tab"]:hover { border-color: var(--teal); color: var(--teal-dark); }
body.home .contact-tabs [role="tab"][aria-selected="true"] { border-color: var(--teal); background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(14, 155, 181, .28); }
body.home .contact-tabs [role="tab"]:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
body.home .contact-tabs [role="tab"] { white-space: nowrap; }


/* ── Investor panel: visual redesign (same content) ── */
body.home #panel-investor:not([hidden]) { display: grid; align-content: center; min-height: 470px; position: relative; overflow: hidden; margin: 0 -28px -28px; padding: 32px 28px 28px; border-radius: 0 0 22px 22px;
  background: radial-gradient(ellipse 70% 55% at 50% 38%, rgba(14, 155, 181, .12), transparent 70%); }
body.home #panel-investor::before { content: ""; position: absolute; right: -70px; bottom: -70px; width: 170px; height: 170px; background: url(assets/favicon.svg) center / contain no-repeat; opacity: .06; pointer-events: none; }
body.home #panel-investor .investor-form { position: relative; justify-items: center; text-align: center; gap: 12px; max-width: 420px; margin: 0 auto; }
body.home .inv-badge { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: linear-gradient(145deg, var(--teal), var(--teal-dark)); box-shadow: 0 12px 28px rgba(14, 155, 181, .35); }
body.home .inv-badge svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
body.home #panel-investor .investor-form h3 { margin: 10px 0 0; font-size: 26px; line-height: 1.2; }
body.home #panel-investor .investor-intro { margin: 0 0 8px; font-size: 15.5px; }
/* email + button as one pill */
body.home #panel-investor .investor-row { position: relative; display: block; width: 100%; }
body.home #panel-investor .investor-row .field { display: block; }
body.home #panel-investor .investor-row label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.home #panel-investor .investor-row input { width: 100%; box-sizing: border-box; height: 58px; padding: 0 140px 0 22px; border: 1.5px solid #cfdcea; border-radius: 999px; background: #fff; font-size: 15px; box-shadow: 0 8px 24px rgba(21, 51, 111, .08); }
body.home #panel-investor .investor-row input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(14, 155, 181, .15); }
body.home #panel-investor .investor-btn { position: absolute; top: 6px; right: 6px; bottom: 6px; padding: 0 22px; box-shadow: none; }
body.home #panel-investor .form-note { margin-top: 4px; text-align: center; }
body.home #panel-investor .investor-msg { width: 100%; box-sizing: border-box; }
@media (max-width: 860px) { body.home #panel-investor:not([hidden]) { margin: 0 -22px -22px; padding: 28px 22px 22px; min-height: 0; } }
@media (max-width: 420px) { body.home #panel-investor .investor-row input { padding-right: 112px; } body.home #panel-investor .investor-btn { padding: 0 16px; } }

/* Hero text lines up with the other sections; the teal rule sits in the gutter */
@media (min-width: 861px) { body.home .hero-content { margin-left: -25px; } }

/* Trust cards: four, in a 2×2 grid */
body.home .trust-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; }
@media (min-width: 1400px) { body.home .trust-cards { max-width: 760px; } }
@media (max-width: 1000px) { body.home .trust-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; } }
@media (max-width: 600px) { body.home .trust-cards { grid-template-columns: minmax(0, 1fr); } }
