@import url("design-system/tokens.css?v=2c659619");

:root {
  /* Compatibility aliases: components consume the canonical DTCG tokens above. */
  --paper: var(--jc-color-surface-paper);
  --paper-2: var(--jc-color-surface-paper-subtle);
  --paper-3: var(--jc-color-border-default);
  --ink: var(--jc-color-text-primary);
  --ink-soft: var(--jc-color-text-secondary);
  --line: color-mix(in srgb, var(--jc-color-border-default) 78%, transparent);
  --green: var(--jc-color-brand-primary);
  --signal: var(--jc-color-brand-signal);
  --display: var(--jc-font-display);
  --body: var(--jc-font-body);
  --mono: var(--jc-font-mono);
  --shell: min(var(--jc-container-max), calc(100vw - 2 * var(--jc-gutter-desktop)));
  --radius-sm: var(--jc-radius-sm);
  --radius: var(--jc-radius-md);
  --radius-lg: var(--jc-radius-lg);
  --shadow: var(--jc-shadow-raised);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

::selection { color: var(--paper); background: var(--green); }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }

.shell { width: var(--shell); margin-inline: auto; }
.section-pad { padding-block: clamp(96px, 11vw, 168px); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; z-index: 1000; left: 20px; top: 16px; padding: 10px 16px;
  color: var(--jc-color-surface-white); background: var(--green); border-radius: 6px; transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.eyebrow {
  display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .13em;
  line-height: 1.2; text-transform: uppercase;
}
.eyebrow-light { color: var(--jc-color-brand-signal); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(39, 91, 73, .12); }
.status-gold { background: var(--jc-color-brand-signal); box-shadow: 0 0 0 4px rgba(217, 169, 60, .12); }

.site-header {
  position: fixed; z-index: 100; inset: 0 0 auto; height: 80px; color: var(--ink);
  border-bottom: 1px solid transparent; transition: background .25s ease, border-color .25s ease, height .25s ease;
}
.site-header.is-scrolled {
  height: 68px; background: rgba(242, 239, 231, .9); border-color: var(--line);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.keel-page .site-header { color: var(--jc-color-text-primary); background: rgba(247, 245, 239, .96); border-color: var(--jc-color-border-default); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 17px; font-weight: 800; letter-spacing: -.03em; }
.brand-logo { width: 46px; height: auto; flex: none; }
.brand-footer .brand-logo { width: 52px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > a {
  position: relative; font-family: var(--display); font-size: 13px; font-weight: 700;
}
.site-nav > a:hover::after, .site-nav > a:focus-visible::after { right: 0; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 12px; border: 0; background: transparent; }
.menu-toggle > span:not(.sr-only) { display: block; width: 20px; height: 1.5px; margin: 5px auto; background: currentColor; transition: transform .2s ease; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 50px;
  padding: 13px 20px; border: 1px solid transparent; border-radius: 999px;
  font-family: var(--display); font-size: 13px; font-weight: 800; line-height: 1;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-dark { color: var(--paper); background: var(--ink); }
.button-dark:hover { background: var(--green); }
.button-signal { color: var(--jc-color-text-primary); background: var(--jc-color-brand-signal); }
.button-signal:hover { background: var(--jc-color-brand-electric); }
.button-ghost { color: var(--jc-color-text-inverse); border-color: rgba(232, 237, 244, .28); background: transparent; }
.button-ghost:hover { border-color: var(--jc-color-brand-signal); color: var(--jc-color-brand-signal); }
.text-link {
  display: inline-flex; align-items: center; gap: 18px; width: fit-content; padding-bottom: 6px;
  border-bottom: 1px solid currentColor; font-family: var(--display); font-size: 13px; font-weight: 800;
}
.text-link span:last-child { transition: transform .2s ease; }
.text-link:hover span:last-child { transform: translate(3px, -2px); }

.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.section-intro { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 80px; align-items: end; margin-bottom: clamp(64px, 8vw, 110px); }
.section-intro h2, .contact-copy h2, .runtime-copy h2, .principles-heading h2 {
  max-width: 860px; margin-bottom: 0; font-family: var(--display); font-size: clamp(42px, 5vw, 76px); font-weight: 600; letter-spacing: -.065em; line-height: 1.02;
}
.section-intro > p { max-width: 520px; margin: 0 0 6px auto; color: var(--ink-soft); font-size: 17px; }
.keel-hero-window, .map-window { overflow: hidden; border: 1px solid var(--jc-color-border-dark); border-radius: 18px; background: var(--jc-color-surface-dark-raised); box-shadow: 0 35px 100px rgba(0, 0, 0, .35); }
.window-bar {
  display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--jc-color-border-dark);
  color: var(--jc-color-text-inverse-secondary); background: var(--jc-color-surface-dark-raised); font-family: var(--mono); font-size: 9px;
}
.window-bar > span { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.window-bar > span:nth-child(2) { background: #febc2e; }
.window-bar > span:nth-child(3) { background: #28c840; }
.window-bar strong { margin-left: 8px; color: var(--jc-color-text-inverse); font-weight: 500; }
.window-bar em { margin-left: auto; font-style: normal; }
.keel-hero-window img, .map-window img { width: 100%; height: auto; }
.runtime-planes article > span, .principles-grid article > span { color: var(--jc-color-brand-signal); font-family: var(--mono); font-size: 9px; letter-spacing: .12em; }

.open-source { background: var(--paper); }
.oss-groups { display: grid; gap: 78px; }
.oss-group-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; margin-bottom: 22px; }
.oss-group-heading .eyebrow { margin: 0; }
.oss-group-heading p:last-child:not(.eyebrow) { max-width: 620px; margin: 12px 0 0; color: var(--ink-soft); font-size: 13px; }
.oss-group-heading > span { color: var(--green); font-family: var(--mono); font-size: 9px; letter-spacing: .12em; }
.oss-list { border-top: 1px solid var(--ink); }
.oss-list a { display: grid; grid-template-columns: 50px 1.2fr .8fr 24px; gap: 20px; align-items: center; padding: 28px 8px 28px 0; border-bottom: 1px solid var(--line); transition: padding .2s ease, background .2s ease; }
.oss-list a:hover { padding-left: 16px; background: rgba(39, 91, 73, .055); }
.oss-list strong { font-family: var(--display); font-size: clamp(20px, 2.5vw, 34px); letter-spacing: -.03em; }
.oss-list em { color: var(--ink-soft); font-size: 12px; font-style: normal; }
.oss-list b { font-weight: 400; }
.oss-package-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.oss-package-grid a { display: grid; grid-template-columns: 34px minmax(0,1fr) 20px; gap: 14px; align-items: center; min-width: 0; padding: 22px 18px 22px 0; border-bottom: 1px solid var(--line); transition: padding .2s ease, color .2s ease, background .2s ease; }
.oss-package-grid a:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
.oss-package-grid a:hover { padding-left: 12px; color: var(--green); background: rgba(39,91,73,.055); }
.oss-package-grid a:nth-child(even):hover { padding-left: 34px; }
.oss-package-grid strong { min-width: 0; overflow-wrap: anywhere; font-family: var(--display); font-size: clamp(17px,2vw,25px); letter-spacing: -.025em; }
.oss-package-grid b { justify-self: end; font-weight: 400; }

.contact { color: var(--jc-color-text-inverse); background: var(--green); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr); gap: clamp(70px, 10vw, 150px); }
.contact-copy .eyebrow { color: var(--jc-color-brand-electric); }
.contact-copy h2 { max-width: 650px; }
.contact-copy p { max-width: 560px; margin: 28px 0; color: var(--jc-color-text-inverse-secondary); }
.contact-copy > a { display: inline-block; padding-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,.5); font-family: var(--display); font-weight: 700; }
.contact-form { padding: clamp(26px, 4vw, 46px); color: var(--ink); background: var(--paper); border-radius: var(--radius); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-form label { display: block; margin-bottom: 20px; color: var(--home-ink); font-family: var(--display); font-size: 14px; font-weight: 700; }
.contact-form input, .contact-form textarea { display: block; width: 100%; margin-top: 8px; padding: 12px 14px; border: 1px solid var(--home-line); border-radius: 8px; outline: none; color: var(--home-ink); background: #fff; font-family: var(--body); font-size: 16px; font-weight: 400; resize: vertical; transition: border-color var(--jc-motion-fast) ease, box-shadow var(--jc-motion-fast) ease; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { border-color: var(--home-green); box-shadow: 0 0 0 3px rgb(14 107 61 / 18%); }
.form-honeypot { position: absolute !important; left: -10000px !important; }
.form-submit { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.form-submit p { margin: 0; color: var(--ink-soft); font-size: 11px; }
.contact-form .button-signal { background: var(--ink); color: var(--paper); }
.contact-form .button-signal:hover { background: var(--green); }

/* AulaMás product page */
.aulamas-page { background: var(--jc-color-surface-paper); }
.aulamas-page .site-header.is-scrolled { background: rgba(247,245,239,.94); border-color: var(--jc-color-border-default); }
.aulamas-hero { padding-top: 142px; padding-bottom: 78px; background: radial-gradient(circle at 78% 12%, color-mix(in srgb, var(--jc-color-brand-primary) 14%, transparent), transparent 31%), linear-gradient(180deg, var(--jc-color-surface-white), var(--jc-color-surface-paper-subtle)); }
.aulamas-hero-grid { display: grid; grid-template-columns: minmax(360px,.74fr) minmax(0,1.26fr); gap: clamp(50px,7vw,110px); align-items: center; }
.aulamas-lockup { display: flex; align-items: center; gap: 13px; margin-bottom: 38px; color: var(--green); font-family: var(--display); font-size: 21px; font-weight: 800; letter-spacing: -.04em; }
.aulamas-lockup img { width: 54px; height: 54px; object-fit: contain; }
.aulamas-hero-copy h1 { margin: 0 0 28px; font-family: var(--display); font-size: clamp(53px,6vw,88px); font-weight: 600; letter-spacing: -.075em; line-height: .94; }
.aulamas-lead { max-width: 690px; margin-bottom: 34px; color: var(--ink-soft); font-size: clamp(17px,1.45vw,21px); }
.button-aulamas { color: var(--jc-color-text-inverse); background: var(--jc-color-brand-primary); }
.button-aulamas:hover { background: var(--jc-color-surface-dark); }
.aulamas-hero-shot.image-button { position: relative; justify-self: end; width: min(100%, 720px); overflow: hidden; border: 9px solid var(--jc-color-surface-white); border-radius: 24px; background: var(--jc-color-surface-white); box-shadow: 0 35px 100px rgba(20,69,50,.18); transform: rotate(1deg); }
.aulamas-hero-shot img { width: 100%; height: auto; aspect-ratio: 1552 / 900; object-fit: contain; }
.aulamas-hero-shot > span { position: absolute; inset: auto 16px 16px; width: fit-content; max-width: calc(100% - 32px); padding: 9px 13px; color: var(--jc-color-surface-white); border-radius: 999px; background: rgba(12,49,37,.88); font-size: 10px; }
.aulamas-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 15px; align-items: stretch; margin-top: 76px; padding-top: 24px; border-top: 1px solid color-mix(in srgb, var(--jc-color-brand-primary) 25%, transparent); }
.aulamas-flow article { display: flex; flex-direction: column; gap: 7px; padding: 17px 20px; border: 1px solid color-mix(in srgb, var(--jc-color-brand-primary) 16%, transparent); border-radius: 13px; background: rgba(255,255,255,.58); }
.aulamas-flow article span { color: var(--green); font-family: var(--mono); font-size: 9px; }
.aulamas-flow article strong { font-family: var(--display); font-size: 16px; }
.aulamas-flow article small { color: var(--ink-soft); font-size: 10px; }
.aulamas-flow > i { align-self: center; color: var(--green); font-style: normal; }

.aulamas-feature { background: var(--jc-color-surface-white); }
.aulamas-feature-tint { background: var(--jc-color-surface-paper-subtle); }
.aulamas-section-head { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(320px,.7fr); gap: clamp(60px,9vw,130px); align-items: end; margin-bottom: 58px; }
.aulamas-section-head h2 { max-width: 800px; margin: 0; font-family: var(--display); font-size: clamp(43px,5.1vw,74px); font-weight: 600; letter-spacing: -.065em; line-height: 1; }
.aulamas-section-head > div:last-child > p { margin-bottom: 25px; color: var(--ink-soft); font-size: 16px; }
.aulamas-points { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.aulamas-points li { display: flex; gap: 11px; color: var(--ink-soft); font-size: 12px; }
.aulamas-points li::before { content: "↳"; color: var(--green); font-family: var(--mono); }
.product-capture.image-button { display: block; width: min(100%, 1080px); margin-inline: auto; overflow: hidden; padding: 9px; border: 1px solid color-mix(in srgb, var(--jc-color-text-primary) 13%, transparent); border-radius: 22px; background: var(--jc-color-surface-white); box-shadow: 0 28px 80px rgba(17,48,37,.13); }
.product-capture img { width: 100%; height: auto; object-fit: contain; border-radius: 14px; }

.aulamas-ai { color: var(--jc-color-text-inverse); background: var(--jc-color-surface-dark); }
.aulamas-ai .aulamas-section-head > div:last-child > p { color: var(--jc-color-text-inverse-secondary); }
.eyebrow-ai { color: var(--jc-color-brand-signal); }
.aulamas-points-light li { color: var(--jc-color-text-inverse-secondary); }
.aulamas-points-light li::before { color: var(--jc-color-brand-signal); }
.product-capture-dark { border-color: var(--jc-color-border-dark); background: var(--jc-color-surface-dark-raised); box-shadow: 0 35px 100px rgba(0,0,0,.28); }
.ai-detail { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: clamp(50px,9vw,130px); align-items: center; margin-top: 80px; padding: clamp(28px,5vw,68px); border: 1px solid var(--jc-color-border-dark); border-radius: 24px; background: var(--jc-color-surface-dark-raised); }
.ai-detail span { color: var(--jc-color-brand-signal); font-family: var(--mono); font-size: 9px; letter-spacing: .12em; }
.ai-detail h3 { max-width: 680px; margin: 24px 0 18px; font-family: var(--display); font-size: clamp(34px,4vw,58px); letter-spacing: -.055em; line-height: 1.02; }
.ai-detail p { max-width: 670px; margin: 0; color: var(--jc-color-text-inverse-secondary); }
.ai-phone { overflow: hidden; padding: 8px; border: 1px solid var(--jc-color-border-dark); border-radius: 20px; background: var(--jc-color-surface-white); box-shadow: 0 22px 55px rgba(0,0,0,.3); }
.ai-phone img { width: 100%; height: auto; aspect-ratio: 420 / 900; object-fit: contain; border-radius: 13px; }

.aulamas-ecosystem { background: var(--jc-color-surface-paper); }
.ecosystem-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.ecosystem-grid article { padding: 34px 28px 42px 0; }
.ecosystem-grid article + article { padding-left: 28px; border-left: 1px solid var(--line); }
.ecosystem-grid span { color: var(--green); font-family: var(--mono); font-size: 9px; }
.ecosystem-grid h3 { margin: 27px 0 11px; font-family: var(--display); font-size: 22px; letter-spacing: -.035em; }
.ecosystem-grid p { margin: 0; color: var(--ink-soft); font-size: 12px; }
.aulamas-final { display: grid; grid-template-columns: 90px minmax(0,1fr) auto; gap: 35px; align-items: center; margin-top: 78px; padding: 32px; border: 1px solid var(--jc-color-border-default); border-radius: 19px; background: var(--jc-color-surface-white); }
.aulamas-final > img { width: 80px; height: 80px; object-fit: contain; }
.aulamas-final h2 { max-width: 820px; margin: 0; font-family: var(--display); font-size: clamp(28px,3.4vw,47px); letter-spacing: -.05em; line-height: 1.08; }
.lightbox-aulamas { border-color: var(--jc-color-border-dark); background: var(--jc-color-surface-dark); }
.lightbox-aulamas button { color: var(--jc-color-surface-white); background: var(--green); }

/* Keel product page */
.keel-page { color: var(--jc-color-text-inverse); background: var(--jc-color-surface-dark); }
.keel-hero { min-height: 100vh; padding-top: 150px; padding-bottom: 90px; background: radial-gradient(circle at 82% 10%, rgb(99 240 68 / 9%), transparent 31%), var(--jc-color-surface-dark); }
.keel-hero-top { display: grid; grid-template-columns: minmax(280px, .65fr) minmax(0, 1.35fr); gap: clamp(50px, 9vw, 140px); align-items: center; }
.keel-product-mark { position: relative; }
.keel-product-mark::before { content: ""; position: absolute; inset: 10%; border-radius: 50%; background: rgb(99 240 68 / 13%); filter: blur(60px); }
.keel-product-mark img { position: relative; width: 100%; height: auto; mix-blend-mode: screen; }
.keel-hero-copy h1 { margin: 0 0 32px; font-family: var(--display); font-size: clamp(58px, 7vw, 108px); font-weight: 600; letter-spacing: -.075em; line-height: .9; }
.keel-hero-copy > p:not(.eyebrow) { max-width: 760px; margin-bottom: 38px; color: var(--jc-color-text-inverse-secondary); font-size: clamp(17px, 1.7vw, 23px); }
.keel-metrics { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 95px; border-top: 1px solid var(--jc-color-border-dark); border-bottom: 1px solid var(--jc-color-border-dark); }
.keel-metrics div { display: flex; flex-direction: column; gap: 7px; padding: 25px; }
.keel-metrics div + div { border-left: 1px solid var(--jc-color-border-dark); }
.keel-metrics strong { color: var(--jc-color-brand-signal); font-family: var(--display); font-size: 24px; letter-spacing: -.03em; }
.keel-metrics span { color: var(--jc-color-text-inverse-secondary); font-size: 10px; }
.keel-hero-window { margin-top: 70px; }
.keel-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: stretch; gap: 12px; margin-top: 70px; padding: 12px; border: 1px solid var(--jc-color-border-dark); border-radius: 18px; background: var(--jc-color-surface-dark); }
.keel-flow article { display: flex; flex-direction: column; min-height: 150px; padding: 20px; border-radius: 12px; background: var(--jc-color-surface-dark-raised); }
.keel-flow article span { color: var(--jc-color-brand-signal); font-family: var(--mono); font-size: 9px; }
.keel-flow article strong { margin: auto 0 16px; font-family: var(--display); font-size: 17px; line-height: 1.25; }
.keel-flow article small { color: var(--jc-color-text-inverse-secondary); font-family: var(--mono); font-size: 8px; letter-spacing: .1em; }
.keel-flow > i { align-self: center; color: var(--jc-color-brand-signal); font-style: normal; }
.image-button { display: block; width: 100%; padding: 0; border: 0; background: transparent; }
.image-button img { transition: opacity .2s ease; }
.image-button:hover img { opacity: .88; }

.keel-story { color: var(--ink); background: var(--paper); }
.story-grid { display: grid; grid-template-columns: minmax(320px, .85fr) minmax(0, 1.15fr); gap: clamp(70px, 11vw, 160px); align-items: start; }
.story-sticky { position: sticky; top: 120px; }
.story-sticky h2 { margin: 0 0 30px; font-family: var(--display); font-size: clamp(44px, 5.5vw, 78px); font-weight: 600; letter-spacing: -.065em; line-height: 1; }
.story-sticky > p:last-child { max-width: 550px; margin: 0; color: var(--ink-soft); font-size: 17px; }
.story-steps { border-top: 1px solid var(--ink); }
.story-steps article { display: grid; grid-template-columns: 40px 1fr; gap: 24px; padding: 38px 0; border-bottom: 1px solid var(--line); }
.story-steps article > span { padding-top: 3px; color: var(--green); font-family: var(--mono); font-size: 10px; }
.story-steps h3 { margin: 0 0 10px; font-family: var(--display); font-size: 24px; letter-spacing: -.025em; }
.story-steps p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.map-section { background: var(--jc-color-surface-dark); }
.section-intro-light h2 { color: var(--jc-color-text-inverse); }
.section-intro-light > p { color: var(--jc-color-text-inverse-secondary); }
.map-window { box-shadow: 0 40px 120px rgba(0,0,0,.5); }
.map-legend { display: flex; justify-content: flex-end; gap: 30px; margin-top: 24px; color: var(--jc-color-text-inverse-secondary); font-family: var(--mono); font-size: 9px; }
.map-legend div { display: flex; align-items: center; gap: 8px; }
.legend-line { display: inline-block; width: 22px; height: 2px; background: var(--jc-color-brand-signal); }
.line-purple { background: var(--jc-color-state-info); }
.line-green { background: var(--jc-color-state-success); }
.line-muted { background: var(--jc-color-border-dark); }

.keel-system { color: var(--ink); background: var(--jc-color-surface-paper-subtle); }
.keel-system-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .65fr); gap: clamp(48px, 8vw, 120px); align-items: end; margin-bottom: clamp(62px, 8vw, 108px); }
.keel-system-head h2 { max-width: 880px; margin: 0; font-family: var(--display); font-size: clamp(40px, 4.4vw, 64px); font-weight: 600; letter-spacing: -.058em; line-height: .98; }
.keel-system-head > p { max-width: 520px; margin: 0 0 5px; color: var(--ink-soft); font-size: 17px; }
.keel-workflow-story { display: grid; gap: clamp(72px, 10vw, 140px); }
.keel-workflow-step { display: grid; grid-template-columns: minmax(250px, .52fr) minmax(0, 1.48fr); gap: clamp(34px, 6vw, 88px); align-items: center; }
.keel-workflow-step-reverse { grid-template-columns: minmax(0, 1.42fr) minmax(250px, .58fr); }
.keel-workflow-copy { max-width: 380px; }
.keel-workflow-copy > span { display: block; margin-bottom: 24px; color: var(--green); font-family: var(--mono); font-size: 10px; letter-spacing: .12em; }
.keel-workflow-copy h3 { margin: 0 0 18px; font-family: var(--display); font-size: clamp(29px, 3vw, 43px); font-weight: 600; letter-spacing: -.045em; line-height: 1.04; }
.keel-workflow-copy p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.75; }
.keel-workflow-capture { overflow: hidden; border: 1px solid var(--jc-color-border-dark); border-radius: 18px; background: var(--jc-color-surface-dark-raised); box-shadow: 0 28px 80px rgba(17,21,18,.16); }
.keel-workflow-capture img { width: 100%; }

.runtime-section { background: var(--jc-color-surface-dark); }
.runtime-grid { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); gap: clamp(60px, 10vw, 150px); align-items: center; }
.runtime-logo { position: relative; }
.runtime-logo::before { content: ""; position: absolute; inset: 20%; background: rgb(99 240 68 / 16%); border-radius: 50%; filter: blur(55px); }
.runtime-logo img { position: relative; width: 100%; height: auto; mix-blend-mode: screen; }
.runtime-copy > p:not(.eyebrow) { max-width: 720px; margin: 28px 0 40px; color: var(--jc-color-text-inverse-secondary); font-size: 17px; }
.runtime-planes { margin-bottom: 38px; border-top: 1px solid var(--jc-color-border-dark); }
.runtime-planes article { display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding: 23px 0; border-bottom: 1px solid var(--jc-color-border-dark); }
.runtime-planes h3 { margin: 0 0 4px; font-family: var(--display); font-size: 17px; }
.runtime-planes p { margin: 0; color: var(--jc-color-text-inverse-secondary); font-size: 12px; }

.keel-principles { color: var(--ink); background: var(--paper); }
.principles-heading { max-width: 900px; margin-bottom: 80px; }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.principles-grid article { padding: 35px 35px 45px 0; }
.principles-grid article + article { padding-left: 35px; border-left: 1px solid var(--line); }
.principles-grid article > span { color: var(--green); }
.principles-grid h3 { margin: 32px 0 12px; font-family: var(--display); font-size: 24px; letter-spacing: -.03em; }
.principles-grid p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.availability { display: grid; grid-template-columns: 180px 1fr auto; gap: 40px; align-items: center; margin-top: 60px; padding: 28px 32px; border: 1px solid var(--line); border-radius: 12px; }
.availability > div { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; }
.availability p { margin: 0; color: var(--ink-soft); font-size: 12px; }
.availability a { font-family: var(--display); font-size: 12px; font-weight: 800; }

.lightbox { width: min(95vw, 1500px); max-width: none; padding: 0; overflow: visible; border: 1px solid var(--jc-color-border-dark); border-radius: 12px; background: var(--jc-color-surface-dark); }
.lightbox::backdrop { background: rgba(3,6,9,.88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lightbox img { width: 100%; border-radius: 12px; }
.lightbox button { position: absolute; z-index: 2; right: -12px; top: -12px; display: grid; place-items: center; width: 38px; height: 38px; color: var(--jc-color-surface-dark); border: 0; border-radius: 50%; background: var(--jc-color-brand-signal); font-size: 24px; line-height: 1; }

:focus-visible { outline: 2px solid var(--jc-focus-color); outline-offset: 4px; }
.contact :focus-visible, .product-page-cta :focus-visible { outline-color: var(--jc-focus-color-dark); }

@media (max-width: 1100px) {
  :root { --shell: min(100% - 48px, 1160px); }
  .site-nav { gap: 18px; }
  .keel-hero-top, .runtime-grid { gap: 60px; }
  .contact-grid { gap: 60px; }
  .aulamas-hero-grid { grid-template-columns: .8fr 1.2fr; gap: 48px; }
  .ecosystem-grid { grid-template-columns: 1fr 1fr; }
  .ecosystem-grid article:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .ecosystem-grid article:nth-child(4) { border-top: 1px solid var(--line); }
}

@media (max-width: 900px) {
  :root { --shell: calc(100% - 40px); }
  .site-header { height: 68px; }
  .menu-toggle { display: block; }
  .nav-open .menu-toggle > span:nth-of-type(2) { transform: translateY(3.25px) rotate(45deg); }
  .nav-open .menu-toggle > span:nth-of-type(3) { transform: translateY(-3.25px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: 68px 0 0; display: flex; flex-direction: column; align-items: flex-start; gap: 0;
    padding: 24px 20px 50px; color: var(--ink); background: var(--paper); transform: translateX(100%);
    visibility: hidden; transition: transform .3s ease, opacity .2s ease, visibility 0s linear .3s; opacity: 0;
  }
  .nav-open .site-nav { transform: none; visibility: visible; opacity: 1; transition: transform .3s ease, opacity .2s ease; }
  .site-nav > a { width: 100%; padding: 20px 4px; border-bottom: 1px solid var(--line); font-size: 23px; }
  .section-intro, .contact-grid, .story-grid { grid-template-columns: 1fr; }
  .section-intro { gap: 30px; }
  .section-intro > p { margin-left: 0; }
  .contact-grid { gap: 70px; }
  .keel-hero-top, .runtime-grid { grid-template-columns: 1fr; }
  .keel-flow { grid-template-columns: 1fr; }
  .keel-flow > i { transform: rotate(90deg); justify-self: center; }
  .keel-flow article { min-height: 130px; }
  .keel-product-mark, .runtime-logo { width: min(70vw, 460px); margin-inline: auto; }
  .keel-metrics { grid-template-columns: 1fr 1fr; }
  .keel-metrics div:nth-child(3) { border-left: 0; border-top: 1px solid var(--jc-color-border-dark); }
  .keel-metrics div:nth-child(4) { border-top: 1px solid var(--jc-color-border-dark); }
  .story-sticky { position: static; }
  .keel-system-head, .keel-workflow-step, .keel-workflow-step-reverse { grid-template-columns: 1fr; }
  .keel-system-head { gap: 28px; }
  .keel-workflow-copy { max-width: 620px; }
  .keel-workflow-step-reverse .keel-workflow-capture { order: 2; }
  .principles-grid { grid-template-columns: 1fr; }
  .principles-grid article, .principles-grid article + article { padding: 30px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .principles-grid article:last-child { border-bottom: 0; }
  .availability { grid-template-columns: 1fr; gap: 18px; }
  .aulamas-hero-grid, .aulamas-section-head { grid-template-columns: 1fr; }
  .aulamas-hero-shot { width: min(100%, 760px); transform: none; }
  .aulamas-flow { grid-template-columns: 1fr; }
  .aulamas-flow > i { justify-self: center; transform: rotate(90deg); }
  .ai-detail { grid-template-columns: 1fr; }
  .ai-phone { width: min(100%, 320px); }
  .aulamas-final { grid-template-columns: 74px 1fr; }
  .aulamas-final .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 28px); --radius-lg: 20px; }
  .section-pad { padding-block: 84px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .section-intro h2, .contact-copy h2, .runtime-copy h2, .principles-heading h2 { font-size: 42px; }
  .keel-hero-window, .map-window { border-radius: 11px; }
  .keel-hero-window .image-button, .map-window .image-button, .keel-workflow-capture .image-button { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .keel-hero-window .image-button img, .map-window .image-button img, .keel-workflow-capture .image-button img { min-width: 620px; }
  .window-bar { height: 34px; padding: 0 10px; }
  .window-bar strong { max-width: 54%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .window-bar em { display: none; }
  .oss-list em { display: none; }
  .oss-group-heading { flex-direction: column; gap: 15px; }
  .oss-package-grid { grid-template-columns: 1fr; }
  .oss-package-grid a, .oss-package-grid a:nth-child(even) { padding: 19px 4px 19px 0; border-left: 0; }
  .oss-package-grid a:hover, .oss-package-grid a:nth-child(even):hover { padding-left: 8px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-submit { align-items: flex-start; flex-direction: column; }
        .keel-hero { padding-top: 120px; }
  .keel-product-mark { width: min(52vw, 210px); }
  .runtime-logo { width: min(52vw, 210px); margin-inline: auto; }
  .keel-hero-copy h1 { font-size: clamp(50px, 14.5vw, 74px); }
  .keel-hero-copy .hero-actions { flex-direction: column; }
  .keel-metrics div { padding: 18px 14px; }
  .keel-metrics strong { font-size: 19px; }
  .keel-hero-window { margin-top: 48px; }
  .story-sticky h2 { font-size: 43px; }
  .story-steps article { grid-template-columns: 28px 1fr; gap: 12px; }
  .map-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .principles-heading { margin-bottom: 50px; }
  .lightbox { width: 98vw; }
  .aulamas-hero { padding-top: 112px; }
  .aulamas-lockup { margin-bottom: 28px; }
  .aulamas-hero-copy h1 { font-size: clamp(49px,14.5vw,70px); }
  .aulamas-section-head { gap: 28px; margin-bottom: 38px; }
  .aulamas-section-head h2 { font-size: 42px; }
  .product-capture { padding: 4px; border-radius: 13px; }
  .product-capture img { border-radius: 9px; }
  .ai-detail { margin-top: 45px; padding: 24px; }
  .ecosystem-grid { grid-template-columns: 1fr; }
  .ecosystem-grid article, .ecosystem-grid article + article { padding: 28px 0; border-left: 0; border-top: 1px solid var(--line); }
  .ecosystem-grid article:first-child { border-top: 0; }
  .aulamas-final { grid-template-columns: 55px 1fr; gap: 20px; padding: 22px; }
  .aulamas-final > img { width: 52px; height: 52px; }
  .aulamas-final .button { grid-column: 1 / -1; }
}

.product-page-hero { padding-top: 148px; padding-bottom: 88px; background: var(--jc-color-surface-paper); }
.product-page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); gap: clamp(48px, 8vw, 112px); align-items: center; }
.product-page-copy h1 { max-width: 760px; margin: 18px 0 28px; font-family: var(--jc-font-display); font-size: clamp(48px, 6vw, 82px); font-weight: 700; letter-spacing: -.065em; line-height: 1; }
.product-page-copy > p:not(.eyebrow) { max-width: 620px; margin-bottom: 32px; color: var(--jc-color-text-secondary); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.65; }
.product-page-visual { min-height: 390px; padding: clamp(22px, 3vw, 40px); border: 1px solid var(--jc-color-border-default); border-radius: var(--jc-radius-lg); background: var(--jc-color-surface-paper-subtle); }
.product-page-section { padding-block: clamp(80px, 10vw, 132px); background: var(--jc-color-surface-white); }
.product-page-section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .65fr); gap: 70px; align-items: end; margin-bottom: 54px; }
.product-page-section-head h2 { max-width: 780px; margin: 0; font-family: var(--jc-font-display); font-size: clamp(38px, 4.6vw, 64px); letter-spacing: -.06em; line-height: 1.02; }
.product-page-section-head > p { margin: 0; color: var(--jc-color-text-secondary); }
.product-page-capabilities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.product-page-capabilities article { padding-top: 22px; border-top: 1px solid var(--jc-color-border-default); }
.product-page-capabilities article > span { color: var(--jc-color-brand-primary); font-family: var(--jc-font-mono); font-size: 10px; }
.product-page-capabilities h3 { margin: 24px 0 12px; font-family: var(--jc-font-display); font-size: 22px; letter-spacing: -.03em; }
.product-page-capabilities p { margin: 0; color: var(--jc-color-text-secondary); font-size: 14px; }
.product-page-cta { padding-block: 84px; color: var(--jc-color-text-inverse); background: var(--jc-color-brand-primary); }
.product-page-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.product-page-cta h2 { max-width: 720px; margin: 0; font-family: var(--jc-font-display); font-size: clamp(34px, 4.4vw, 58px); letter-spacing: -.055em; line-height: 1.05; }
.product-page-cta p { max-width: 620px; margin: 18px 0 0; color: rgb(255 255 255 / 78%); }
.product-page-cta .button { flex: 0 0 auto; color: var(--jc-color-text-primary); background: var(--jc-color-brand-signal); }
.product-page-cta .button:hover { background: var(--jc-color-brand-electric); }

@media (max-width: 1100px) {
  .product-page-hero-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 760px) {
  .product-page-hero-grid, .product-page-section-head, .product-page-capabilities { grid-template-columns: 1fr; }
  .product-page-hero { padding-top: 116px; }
  .product-page-visual { min-height: 0; }
  .product-page-cta-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Home — light corporate design (approved mockup). Shared header styles live under .site-header-light. */
:root {
  --home-ink: #0E2A1D;
  --home-text: #2A3830;
  --home-muted: #3E4A43;
  --home-green: #0E6B3D;
  --home-green-hover: #0B5731;
  --home-green-dark: #0B4A2C;
  --home-green-bright: #3DB43A;
  --home-lime: #8BD346;
  --home-mint: #EAF6DF;
  --home-mint-line: #D3EBBE;
  --home-cream: #F8F7F2;
  --home-yellow: #DCD94A;
  --home-line: #E4E1D8;
  --home-shell: var(--shell);
}

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fill { fill: currentColor; stroke: none; }
.fill-a { fill: var(--duo-a, currentColor); }
.fill-b { fill: var(--duo-b, currentColor); }
.fill-c { fill: var(--duo-c, currentColor); }
.icon-duo { --duo-a: #1F9A3A; --duo-b: #4DBA3F; --duo-c: #8BD346; }

.site-header-light .shell, .home-hero .shell, .solutions-band .shell { width: var(--home-shell); }
.site-header-light { height: 76px; color: var(--home-ink); background: var(--home-cream); border-color: var(--home-line); }
.site-header-light.is-scrolled { height: 68px; background: color-mix(in srgb, var(--home-cream) 94%, transparent); border-color: var(--home-line); }
.site-header-light .brand { gap: 12px; color: var(--home-ink); font-size: 28px; font-weight: 800; letter-spacing: -.035em; }
.brand-chevron { width: 40px; }
.brand-footer .brand-chevron { width: 36px; }
.brand-footer:has(.brand-chevron) { font-size: 20px; }
.site-nav-groups { flex: 1; justify-content: space-between; gap: 24px; margin-left: clamp(32px, 6vw, 96px); }
.nav-groups { display: flex; align-items: center; gap: clamp(20px, 4.4vw, 70px); margin: 0; padding: 0; list-style: none; }
.nav-group { position: relative; }
.nav-group-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; color: var(--home-ink); background: transparent;
  font-family: var(--display); font-size: 16px; font-weight: 700; letter-spacing: -.01em;
}
.nav-group-toggle .icon-caret { width: 18px; height: 18px; stroke-width: 2.4; transition: transform var(--jc-motion-fast) ease; }
.nav-group.is-open > .nav-group-toggle .icon-caret { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; z-index: 20; top: calc(100% + 10px); left: -14px; display: grid; min-width: 250px; padding: 8px;
  border: 1px solid var(--home-line); border-radius: 12px; background: var(--jc-color-surface-white); box-shadow: 0 18px 48px rgb(14 42 29 / 12%);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity var(--jc-motion-fast) ease, transform var(--jc-motion-fast) ease, visibility 0s linear var(--jc-motion-fast);
}
.nav-dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav-group.is-open > .nav-dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav-dropdown a, .nav-dropdown button {
  display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 8px; color: var(--home-ink); background: transparent;
  font-family: var(--display); font-size: 15px; font-weight: 600; text-align: left;
}
.nav-dropdown a:hover, .nav-dropdown button:hover, .nav-dropdown a:focus-visible, .nav-dropdown button:focus-visible { color: var(--home-green); background: var(--home-mint); }
.nav-dropdown button[aria-current="true"] { color: var(--home-green); font-weight: 800; }
.nav-dropdown-compact { left: auto; right: -10px; min-width: 150px; }
.nav-tools { display: flex; align-items: center; gap: 22px; }
.icon-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px; color: var(--home-ink); background: transparent; }
.icon-button .icon { width: 24px; height: 24px; }
.icon-button:hover { background: var(--home-mint); }
.nav-divider { width: 1px; height: 26px; background: var(--home-line); }
.nav-language .nav-group-toggle { font-size: 17px; }

.button-primary { gap: 12px; color: #fff; background: var(--home-green); border-radius: 7px; font-size: 16px; font-weight: 700; }
.button-primary:hover { background: var(--home-green-hover); }
.button-outline { gap: 12px; color: var(--home-green); border: 1.5px solid var(--home-green); border-radius: 7px; background: transparent; font-size: 16px; font-weight: 700; }
.button-outline:hover { color: #fff; background: var(--home-green); }
.button .icon { width: 20px; height: 20px; }
.button-lg { min-height: 50px; padding: 13px 30px; font-size: 17px; }
.nav-cta { min-height: 46px; padding: 11px 22px; box-shadow: 0 6px 18px rgb(14 107 61 / 22%); }
.nav-cta .icon { width: 20px; height: 20px; }

.home-hero { position: relative; overflow: hidden; padding: clamp(118px, 15vh, 160px) 0 clamp(48px, 7vh, 80px); background: var(--home-cream); }
.home-hero-blob { position: absolute; top: -26%; left: -8%; width: 142%; height: auto; pointer-events: none; }
.home-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: 16px; align-items: center; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 7px 16px 7px 13px; color: var(--home-ink);
  border: 1px solid var(--home-mint-line); border-radius: 999px; background: var(--home-mint); font-family: var(--display); font-size: 16px; font-weight: 600;
}
.hero-chip .icon { width: 20px; height: 20px; color: #5BC236; }
.home-hero-copy h1 {
  max-width: 720px; margin: 0 0 22px; color: var(--home-ink); font-family: var(--display); font-size: clamp(38px, 3.4vw, 54px);
  font-weight: 800; letter-spacing: -.035em; line-height: 1.07;
}
.home-hero-lead { max-width: 590px; margin: 0 0 36px; color: var(--home-text); font-size: clamp(17px, 1.3vw, 20px); line-height: 1.4; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 44px; }
.hero-highlights { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.hero-highlight { display: flex; align-items: center; gap: 16px; padding: 2px 34px 2px 0; color: var(--home-text); font-size: 15px; font-weight: 500; line-height: 1.35; }
.hero-highlight + .hero-highlight { padding-left: 38px; border-left: 1px solid var(--home-line); }
.hero-highlight span { max-width: 170px; }
.hero-highlight .icon { width: 36px; height: 36px; }
.icon-bolt { color: #5BC236; }

.home-hero-visual { position: relative; aspect-ratio: 740 / 400; margin-right: -40px; }
.laptop { position: absolute; inset: 0; }
.laptop-lid {
  position: absolute; left: 16%; top: 3.5%; width: 72%; height: 83%; padding: 1.4% 1.4% 1.6%;
  border-radius: 14px; background: linear-gradient(160deg, #2A2E2D, #121514); box-shadow: 0 30px 60px rgb(14 42 29 / 22%);
  transform: perspective(1100px) rotateX(7deg) rotateZ(-2.6deg); transform-origin: 50% 100%;
}
.laptop-display { display: grid; grid-template-columns: 26% 1fr; height: 100%; overflow: hidden; border-radius: 4px; background: #F5F7F3; container-type: inline-size; }
.laptop-base {
  position: absolute; left: -3%; top: 84.5%; width: 93%; height: 7.2%;
  background: linear-gradient(180deg, #F2F3F2 0%, #C9CCCB 45%, #8E9392 100%);
  clip-path: polygon(3% 0, 97% 0, 100% 55%, 98.5% 100%, 1.5% 100%, 0 55%);
  transform: rotateZ(-2.6deg); transform-origin: 60% 0; filter: drop-shadow(0 18px 18px rgb(14 42 29 / 25%));
}
.laptop-base::after { content: ""; position: absolute; left: 41%; top: 0; width: 18%; height: 30%; border-radius: 0 0 8px 8px; background: #B5B9B8; }
.featured-head { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.2fr) auto; gap: 36px; align-items: end; margin-bottom: 36px; }
.section-kicker { margin: 0 0 8px; color: #1C7C33; font-family: var(--display); font-size: 16px; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.featured-head h2 { max-width: 440px; margin: 0; color: var(--home-ink); font-family: var(--display); font-size: clamp(28px, 2.3vw, 35px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
.featured-head > p { max-width: 500px; margin: 0 0 22px; color: var(--home-muted); font-size: 16px; line-height: 1.45; }
.underline-link { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 24px; color: var(--home-green); font-family: var(--display); font-size: 16px; font-weight: 700; }
.underline-link span { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.underline-link .icon { width: 22px; height: 22px; transition: transform var(--jc-motion-fast) ease; }
.underline-link:hover .icon { transform: translateX(3px); }

.solutions-band { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 104px) 0; color: #fff; background: linear-gradient(100deg, #0A4128 0%, #0D5131 55%, #0B4A2C 100%); }
.solutions-band::before, .solutions-band::after { content: ""; position: absolute; border: 1px solid rgb(139 211 70 / 14%); border-radius: 50%; pointer-events: none; }
.solutions-band::before { left: -12%; top: -120%; width: 58%; height: 230%; }
.solutions-band::after { right: -18%; bottom: -150%; width: 60%; height: 260%; }
.solutions-grid { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.solutions-copy .section-kicker { color: var(--home-yellow); }
.solutions-copy h2 { max-width: 500px; margin: 0; font-family: var(--display); font-size: clamp(28px, 2.5vw, 37px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.solutions-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.solution-item { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 8px clamp(12px, 1.6vw, 24px); border-left: 1px solid rgb(255 255 255 / 18%); text-align: center; }
.solution-item h3 { margin: 4px 0 0; font-family: var(--display); font-size: 17px; font-weight: 700; line-height: 1.3; }
.solution-item p { margin: 0; color: rgb(255 255 255 / 74%); font-size: 14px; line-height: 1.55; }
.solution-item .icon { width: 36px; height: 36px; color: var(--home-lime); stroke-width: 1.6; }
.solution-item-accent .icon { color: var(--home-yellow); }

.search-dialog { width: min(640px, calc(100vw - 32px)); margin-top: 12vh; padding: 0; border: 0; border-radius: 16px; background: #fff; box-shadow: 0 30px 80px rgb(14 42 29 / 25%); }
.search-dialog::backdrop { background: rgb(14 42 29 / 38%); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.search-panel { padding: 10px; }
.search-field { display: flex; align-items: center; gap: 12px; padding: 6px 8px 12px 12px; border-bottom: 1px solid var(--home-line); }
.search-field .icon { width: 22px; height: 22px; color: var(--home-green); }
.search-field input { flex: 1; min-width: 0; min-height: 44px; border: 0; outline: none; color: var(--home-ink); background: transparent; font-size: 17px; }
.search-close { min-height: 36px; padding: 0 12px; border: 1px solid var(--home-line); border-radius: 8px; color: var(--home-text); background: transparent; font-size: 13px; }
.search-results { display: grid; max-height: 50vh; margin: 0; padding: 8px 0 0; overflow-y: auto; list-style: none; }
.search-results a { display: block; padding: 11px 14px; border-radius: 8px; color: var(--home-ink); font-family: var(--display); font-weight: 600; }
.search-results a:hover, .search-results a:focus-visible { color: var(--home-green); background: var(--home-mint); }
.search-empty { margin: 0; padding: 18px 14px; color: var(--home-muted); }

#about { scroll-margin-top: 80px; }

@media (hover: hover) and (min-width: 901px) {
  .nav-group:hover > .nav-dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}

@media (max-width: 1240px) {
  .nav-groups { gap: 26px; }
  .nav-tools { gap: 14px; }
  .site-header-light .brand { font-size: 24px; }
  .hero-highlight { padding-right: 20px; }
  .hero-highlight + .hero-highlight { padding-left: 20px; }
}

@media (max-width: 1100px) {
  .home-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .home-hero-visual { width: min(100%, 760px); margin: 0 auto; }
  .featured-head { grid-template-columns: 1fr 1fr; }
  .featured-head > a { grid-column: 1 / -1; margin-bottom: 0; }
  .solutions-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 900px) {
  .site-header-light { height: 68px; }
  .site-header-light .brand { font-size: 22px; }
  .site-nav-groups { margin: 0; overflow-y: auto; justify-content: flex-start; gap: 0; background: var(--home-cream); }
  .nav-groups { flex-direction: column; align-items: stretch; width: 100%; gap: 0; }
  .nav-group { border-bottom: 1px solid var(--home-line); }
  .nav-groups .nav-group-toggle { justify-content: space-between; width: 100%; min-height: 60px; font-size: 21px; }
  .nav-dropdown { position: static; display: none; min-width: 0; margin: 0 0 12px; padding: 0; border: 0; box-shadow: none; background: transparent; opacity: 1; visibility: visible; transform: none; }
  .nav-dropdown::before { display: none; }
  .nav-group.is-open > .nav-dropdown { display: grid; }
  .nav-dropdown a, .nav-dropdown button { font-size: 17px; }
  .nav-tools { flex-wrap: wrap; width: 100%; gap: 14px; padding-top: 22px; }
  .nav-divider { display: none; }
  .nav-language .nav-dropdown-compact { position: absolute; top: auto; bottom: calc(100% + 6px); right: auto; left: 0; display: none; padding: 8px; border: 1px solid var(--home-line); background: #fff; box-shadow: 0 18px 48px rgb(14 42 29 / 12%); }
  .nav-language.is-open .nav-dropdown-compact { display: grid; }
  .nav-cta { flex-basis: 100%; }
  .home-hero { padding-top: 100px; }
  .featured-head { grid-template-columns: 1fr; gap: 14px; }
  .featured-head > p { margin: 0; }
}

@media (max-width: 620px) {
  .site-header-light .brand { font-size: 21px; gap: 10px; }
  .brand-chevron { width: 34px; }
  .hero-chip { font-size: 14px; }
  .home-hero-copy h1 { font-size: clamp(34px, 9.6vw, 42px); }
  .home-hero-lead { font-size: 17px; }
  .home-hero-actions { flex-direction: column; gap: 12px; }
  .home-hero-actions .button { width: 100%; }
  .hero-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
  .hero-highlight, .hero-highlight + .hero-highlight { flex-direction: column; align-items: flex-start; gap: 8px; padding: 0 10px; font-size: 13px; }
  .hero-highlight:first-child { padding-left: 0; }
  .hero-highlight .icon { width: 28px; height: 28px; }
  .home-hero-visual { aspect-ratio: 740 / 470; }
  .laptop-lid { top: 13%; height: 70%; left: 10%; width: 78%; }
  .laptop-base { top: 82%; width: 96%; }
}

/* Site-wide alignment with the home design: bold Manrope headings, green kickers, green dark surfaces. */
.section-pad { padding-block: clamp(72px, 8vw, 120px); }
.eyebrow { color: #1C7C33; font-family: var(--display); font-size: 14px; font-weight: 800; letter-spacing: .045em; }
.eyebrow-light, .contact-copy .eyebrow { color: var(--home-yellow); }
.section-intro h2, .contact-copy h2, .runtime-copy h2, .principles-heading h2 {
  font-size: clamp(32px, 3.4vw, 50px); font-weight: 800; letter-spacing: -.035em; line-height: 1.08;
}
.section-intro h2, .principles-heading h2 { color: var(--home-ink); }
.section-intro { margin-bottom: clamp(40px, 5vw, 72px); }
.text-link { color: var(--home-green); }
.contact { background: linear-gradient(100deg, #0E6B3D, #0B4A2C); }
.contact-form .button-signal { color: #fff; background: var(--home-green); border-radius: 7px; }
.contact-form .button-signal:hover { background: var(--home-green-hover); }
.oss-list strong, .oss-package-grid strong { font-weight: 800; }
.site-footer { background: var(--home-cream); }

/* Home — solutions call to action, process and full footer */
.solutions-lead { max-width: 460px; margin: 18px 0 30px; color: rgb(255 255 255 / 78%); font-size: 17px; line-height: 1.55; }
.button-light { gap: 12px; color: var(--home-green); background: #fff; border-radius: 7px; font-size: 16px; font-weight: 700; }
.button-light:hover { color: var(--home-green-dark); background: var(--home-mint); }

.process-section { padding: clamp(72px, 8vw, 112px) 0; background: #fff; }
.process-section .shell { width: var(--home-shell); }
.process-head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 64px); }
.process-head h2 { margin: 0; color: var(--home-ink); font-family: var(--display); font-size: clamp(30px, 2.8vw, 42px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.process-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin: 0; padding: 0; list-style: none; counter-reset: none; }
.process-step { position: relative; }
.process-step:not(:last-child)::after { content: ""; position: absolute; top: 22px; left: 60px; right: calc(-1 * clamp(24px, 3vw, 48px) + 12px); height: 2px; background: linear-gradient(90deg, var(--home-mint-line), transparent); }
.process-index { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 22px; border-radius: 50%; color: var(--home-green); background: var(--home-mint); font-family: var(--display); font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.process-step h3 { margin: 0 0 8px; color: var(--home-ink); font-family: var(--display); font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.process-step p { max-width: 280px; margin: 0; color: var(--home-muted); font-size: 15px; line-height: 1.55; }

.site-footer { padding: clamp(56px, 6vw, 80px) 0 28px; color: var(--home-ink); background: var(--home-cream); border-top: 1px solid var(--home-line); }
.site-footer .shell { width: var(--home-shell); }
.footer-main { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2.1fr); gap: clamp(40px, 6vw, 96px); padding-bottom: 48px; }
.footer-brand p { max-width: 320px; margin: 18px 0 20px; color: var(--home-muted); font-size: 15px; line-height: 1.55; }
.footer-mail { color: var(--home-green); font-family: var(--display); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.footer-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-column h2 { margin: 0 0 16px; color: var(--home-ink); font-family: var(--display); font-size: 15px; font-weight: 800; }
.footer-column ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-column a, .footer-social a { color: var(--home-muted); font-size: 14.5px; transition: color var(--jc-motion-fast) ease; }
.footer-column a:hover, .footer-social a:hover { color: var(--home-green); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--home-line); }
.footer-bottom p { margin: 0; color: var(--home-muted); font-size: 14px; }
.footer-social { display: flex; gap: 22px; }

/* Interface guidelines: balanced headings, intentional touch feedback, contained overlays. */
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: rgb(14 107 61 / 12%); }
.search-dialog, .site-nav { overscroll-behavior: contain; }

@media (max-width: 1100px) {
  .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .process-step::after { display: none; }
  .footer-main { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .solution-item p { font-size: 13px; }
  .process-steps { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

.home-hero-copy { position: relative; z-index: 1; }

/* Solutions: readable 2 x 2 grid instead of narrow centred columns */
.solutions-grid { align-items: start; }
.solutions-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.solution-item { align-items: flex-start; gap: 10px; padding: 28px 28px 30px; border-left: 0; border-top: 1px solid rgb(255 255 255 / 16%); text-align: left; }
.solution-item:nth-child(even) { border-left: 1px solid rgb(255 255 255 / 16%); }
.solution-item:nth-child(-n + 2) { border-top: 0; padding-top: 4px; }
.solution-item h3 br { display: none; }
.solution-item p { max-width: 320px; font-size: 15px; }

/* Lower sections follow the same type system: no mono labels, calmer list sizes */
.oss-list a { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 24px; padding: 22px 8px 22px 0; }
.oss-list strong { font-size: clamp(19px, 1.8vw, 24px); letter-spacing: -.02em; }
.oss-list em { font-size: 14px; }
.oss-package-grid a { grid-template-columns: minmax(0, 1fr) 20px; padding: 18px 18px 18px 0; }
.oss-package-grid strong { font-size: clamp(16px, 1.5vw, 20px); }
.oss-group-heading > span { font-family: var(--display); font-size: 13px; font-weight: 800; letter-spacing: .04em; }
@media (max-width: 620px) {
  .solutions-list { grid-template-columns: 1fr; }
  .solution-item, .solution-item:nth-child(even) { padding: 22px 0; border-left: 0; border-top: 1px solid rgb(255 255 255 / 16%); }
  .solution-item:first-child { border-top: 0; padding-top: 0; }
  .oss-list a { grid-template-columns: minmax(0, 1fr) 20px; }
}
.contact-form { background: var(--home-cream); }

/* ===== Corporate pages (catalog, solutions, company, resources, contact) ===== */
.page-hero { padding: clamp(124px, 14vh, 156px) 0 clamp(40px, 5vw, 64px); background: var(--home-cream); }
.page-hero .shell, .page-section .shell, .page-band .shell, .page-cta .shell { width: var(--home-shell); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.page-hero h1 { margin: 0; color: var(--home-ink); font-family: var(--display); font-size: clamp(38px, 4.4vw, 64px); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.page-hero-lead { max-width: 560px; margin: 0 0 6px; color: var(--home-text); font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; }
.page-section { padding: 0 0 clamp(64px, 7vw, 104px); background: var(--home-cream); }
.page-section-white { padding-top: clamp(48px, 5vw, 72px); background: #fff; }

.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.catalog-card {
  position: relative; display: grid; grid-template-columns: 60px minmax(0, 1fr); grid-template-rows: 1fr auto; gap: 14px 20px; min-height: 196px; overflow: hidden;
  padding: 24px; border: 1px solid var(--home-line); border-radius: 16px; background: #fff;
  transition: border-color var(--jc-motion-fast) ease, box-shadow var(--jc-motion-fast) ease, transform var(--jc-motion-fast) ease;
}
.catalog-card::after { content: ""; position: absolute; right: -48px; bottom: -64px; width: 170px; height: 170px; border-radius: 50%; background: var(--home-mint); opacity: .7; pointer-events: none; }
.catalog-card:hover { border-color: var(--home-mint-line); box-shadow: 0 16px 40px rgb(14 42 29 / 9%); transform: translateY(-2px); }
.catalog-mark { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 13px; font-family: var(--display); font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.catalog-mark .icon { width: 28px; height: 28px; }
.mono-dark { color: var(--home-lime); background: linear-gradient(160deg, #13633B, #0B3F27); }
.mono-bright { color: #fff; background: linear-gradient(145deg, #5FC437, #1E8E2A); }
.mono-soft { color: var(--home-green); background: var(--home-mint); }
.catalog-body { display: grid; align-content: start; gap: 8px; }
.catalog-body strong { color: var(--home-ink); font-family: var(--display); font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.catalog-body > span { color: var(--home-muted); font-size: 15.5px; line-height: 1.5; }
.catalog-cta { position: relative; z-index: 1; grid-column: 2; display: inline-flex; align-items: center; gap: 10px; color: var(--home-green); font-family: var(--display); font-size: 15px; font-weight: 800; }
.catalog-cta .icon { width: 18px; height: 18px; transition: transform var(--jc-motion-fast) ease; }
.catalog-card:hover .catalog-cta .icon { transform: translateX(3px); }

.page-band { position: relative; overflow: hidden; padding: clamp(56px, 6vw, 80px) 0; color: #fff; background: radial-gradient(circle at 92% 0%, rgb(99 240 68 / 16%), transparent 40%), linear-gradient(100deg, #0A3A24 0%, #0C4A2D 60%, #0A3F27 100%); }
.page-band-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-band .section-kicker { color: var(--home-yellow); }
.page-band h2 { max-width: 560px; margin: 0; font-family: var(--display); font-size: clamp(28px, 2.6vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.band-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.band-item { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 10px 14px; border-left: 1px solid rgb(255 255 255 / 18%); font-family: var(--display); font-size: 16.5px; font-weight: 700; line-height: 1.3; text-align: center; }
.band-item .icon { width: 34px; height: 34px; color: var(--home-lime); stroke-width: 1.7; }
.band-index { color: var(--home-lime); font-family: var(--display); font-size: 34px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }

.solution-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.solution-card { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 24px; align-items: center; min-height: 200px; padding: 32px; border: 1px solid var(--home-mint-line); border-radius: 18px; background: linear-gradient(120deg, #fff 40%, #F0F8E8); scroll-margin-top: 100px; }
.solution-mark { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 16px; color: #fff; background: var(--home-green); }
.solution-mark .icon { width: 34px; height: 34px; }
.solution-card h2 { margin: 0 0 8px; color: var(--home-ink); font-family: var(--display); font-size: clamp(21px, 1.8vw, 26px); font-weight: 800; letter-spacing: -.02em; }
.solution-card p { max-width: 460px; margin: 0; color: var(--home-text); font-size: 16px; line-height: 1.55; }
#process { scroll-margin-top: 80px; }
.page-cta { padding: clamp(56px, 6vw, 88px) 0; background: var(--home-cream); }
.page-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.page-cta h2 { margin: 0; color: var(--home-ink); font-family: var(--display); font-size: clamp(26px, 2.4vw, 36px); font-weight: 800; letter-spacing: -.03em; }

.page-hero-split-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero-split .page-hero-lead { margin: 22px 0 32px; }
.page-hero-split .home-hero-actions { margin-bottom: 0; }
.landscape-card { position: relative; overflow: hidden; margin: 0; aspect-ratio: 2 / 1; border-radius: 22px; background: var(--home-mint); }
.landscape-card .mountains { width: 100%; height: 100%; }
.landscape-card figcaption { position: absolute; top: 22px; left: 24px; padding: 12px 18px; border-radius: 12px; color: var(--home-green); background: #fff; box-shadow: 0 10px 30px rgb(14 42 29 / 12%); font-family: var(--display); font-size: 16px; font-weight: 700; }
.landscape-card-short { aspect-ratio: 4 / 1.3; margin-top: 28px; }
.value-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.value-card { padding: 26px 24px; border: 1px solid var(--home-line); border-radius: 16px; background: #fff; }
.value-card .icon { width: 26px; height: 26px; margin-bottom: 18px; color: var(--home-green); }
.value-card h2 { margin: 0 0 8px; color: var(--home-ink); font-family: var(--display); font-size: 19px; font-weight: 800; }
.value-card p { margin: 0; color: var(--home-muted); font-size: 15.5px; line-height: 1.5; }

.resource-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.resource-card { display: grid; overflow: hidden; border: 1px solid var(--home-line); border-radius: 18px; background: #fff; transition: box-shadow var(--jc-motion-fast) ease, transform var(--jc-motion-fast) ease; }
.resource-card:hover { box-shadow: 0 16px 40px rgb(14 42 29 / 9%); transform: translateY(-2px); }
.resource-art { display: grid; place-items: center; height: 150px; color: var(--home-green); background: linear-gradient(135deg, #EAF6DF, #C9EAB0); }
.resource-art .icon { width: 52px; height: 52px; stroke-width: 1.6; }
.resource-body { display: grid; gap: 8px; padding: 24px; }
.resource-body strong { color: var(--home-ink); font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.resource-body > span:not(.resource-cta) { color: var(--home-muted); font-size: 15.5px; line-height: 1.5; }
.resource-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; color: var(--home-green); font-family: var(--display); font-size: 15px; font-weight: 800; }
.resource-cta .icon { width: 18px; height: 18px; }

.contact-page { padding-bottom: clamp(64px, 7vw, 104px); }
.contact-page-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-page-copy .page-hero-lead { margin: 22px 0 28px; }
.contact-points { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.contact-points li { display: flex; align-items: center; gap: 16px; }
.contact-points li > span:last-child { display: grid; gap: 2px; color: var(--home-text); font-size: 15.5px; }
.contact-points strong { color: var(--home-ink); font-family: var(--display); font-size: 17px; font-weight: 800; }
.contact-points a { color: var(--home-green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.contact-point-icon { display: grid; flex: none; place-items: center; width: 48px; height: 48px; border-radius: 12px; color: var(--home-green); background: var(--home-mint); }
.contact-point-icon .icon { width: 22px; height: 22px; }
.contact-form-card { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--home-line); border-radius: 20px; background: #fff; box-shadow: 0 20px 60px rgb(14 42 29 / 8%); }
.contact-form-card h2 { margin: 0 0 6px; color: var(--home-ink); font-family: var(--display); font-size: clamp(24px, 2vw, 30px); font-weight: 800; letter-spacing: -.03em; }
.form-note { margin: 0 0 22px; color: var(--home-muted); font-size: 14px; }
.contact-form-card .form-note:last-child { margin: 18px 0 0; }
.contact-form select { display: block; width: 100%; margin-top: 8px; padding: 12px 14px; border: 1px solid var(--home-line); border-radius: 8px; color: var(--home-ink); background-color: #fff; font-family: var(--body); font-size: 16px; font-weight: 400; }
.contact-form select:focus-visible { outline: none; border-color: var(--home-green); box-shadow: 0 0 0 3px rgb(14 107 61 / 18%); }
.nav-dropdown-all { margin-top: 4px; border-top: 1px solid var(--home-line) !important; border-radius: 0 0 8px 8px !important; color: var(--home-green) !important; font-weight: 800 !important; }

/* ===== Dark footer (v2 reference) ===== */
.site-footer { color: #E8EFE9; background: #0F2A1E; border-top: 0; }
.site-footer .brand { color: #fff; }
.footer-brand p, .footer-bottom p { color: #B9C8BD; }
.footer-mail { color: var(--home-lime); }
.footer-column h2 { color: #fff; }
.footer-column a, .footer-social a { color: #C9D6CC; }
.footer-column a:hover, .footer-social a:hover { color: var(--home-lime); }
.footer-bottom { border-color: rgb(255 255 255 / 12%); }
.site-footer :focus-visible { outline-color: var(--jc-focus-color-dark); }

/* ===== Readability: larger body copy, no text under 14px, calmer contrast ===== */
body { font-size: 17px; }
:root { --home-muted: #36423B; --home-text: #24312A; }
.solution-item p, .process-step p { font-size: 16px; }
.oss-list em, .oss-group-heading p:last-child:not(.eyebrow) { font-size: 15px; }
.product-page-capabilities p { font-size: 16px; }
.hero-highlight { font-size: 15.5px; }

/* ===== Product pages follow the same type system ===== */
.aulamas-hero-copy h1, .keel-hero-copy h1, .product-page-copy h1 { font-size: clamp(40px, 4.6vw, 68px); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.aulamas-section-head h2, .story-sticky h2, .keel-system-head h2, .product-page-section-head h2, .section-intro-light h2 { font-size: clamp(32px, 3.4vw, 50px); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; }
.aulamas-final h2, .product-page-cta h2 { font-weight: 800; letter-spacing: -.03em; }
.product-page-capabilities h3 { font-weight: 800; }
.product-page-capabilities article > span { display: none; }
.runtime-planes article { grid-template-columns: 1fr; }
.product-page-cta { background: linear-gradient(100deg, #0E6B3D, #0B4A2C); }
.product-page-cta .button { color: var(--home-ink); background: var(--home-lime); }

/* ===== Course and blog pages: same headings and labels as the rest of the site ===== */
.pensum-body h1, .pensum-body h2, .pensum-body h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.025em; }
.pensum-body .p-eyebrow, .pensum-body .lesson-kicker { font-family: var(--display); font-size: 14px; font-weight: 800; letter-spacing: .045em; color: #1C7C33; }
.pensum-body .p-eyebrow::before { display: none; }
.pensum-body .p-back { font-family: var(--display); font-size: 15px; font-weight: 700; color: var(--home-green); }
.pensum-body .p-meta { font-family: var(--body); font-size: 14px; }
.pensum-body .p-lede { color: var(--home-text); }

@media (max-width: 1100px) {
  .catalog-grid, .resource-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-band-grid, .page-hero-split-grid, .contact-page-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .page-hero-grid { grid-template-columns: 1fr; align-items: start; gap: 18px; }
  .catalog-grid, .resource-cards, .solution-cards, .value-cards { grid-template-columns: 1fr; }
  .band-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .band-item:nth-child(odd) { border-left: 0; }
  .solution-card { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .catalog-card { grid-template-columns: 52px minmax(0, 1fr); padding: 20px; }
  .catalog-mark { width: 52px; height: 52px; font-size: 17px; }
}
.pensum-body .p-back { display: block; margin-bottom: 14px; }
.catalog-body, .catalog-mark { position: relative; z-index: 1; }
.catalog-card::after { opacity: .45; }

/* ===== Home hero: real product showcase ===== */
.home-hero-visual { aspect-ratio: auto; margin-right: 0; }
.showcase-stage { position: relative; z-index: 1; aspect-ratio: 740 / 420; }
.laptop-display { display: block; position: relative; background: #fff; container-type: normal; }
.showcase-screen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.showcase-screen[hidden] { display: none; }
.showcase-tabs { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.showcase-tab {
  min-height: 40px; padding: 8px 16px; border: 1px solid var(--home-line); border-radius: 999px; color: var(--home-ink); background: rgb(255 255 255 / 86%);
  font-family: var(--display); font-size: 15px; font-weight: 700; transition: background var(--jc-motion-fast) ease, color var(--jc-motion-fast) ease, border-color var(--jc-motion-fast) ease;
}
.showcase-tab:hover { border-color: var(--home-green); }
.showcase-tab[aria-selected="true"] { color: #fff; background: var(--home-green); border-color: var(--home-green); }
.showcase-captions { position: relative; z-index: 1; min-height: 96px; margin-top: 14px; }
.showcase-caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 16px 20px; border: 1px solid var(--home-line); border-radius: 14px; background: #fff; box-shadow: 0 12px 30px rgb(14 42 29 / 8%); }
.showcase-caption[hidden] { display: none; }
.showcase-caption p { flex: 1 1 280px; margin: 0; color: var(--home-text); font-size: 15.5px; line-height: 1.45; }
.showcase-caption strong { color: var(--home-ink); font-family: var(--display); font-weight: 800; }
.showcase-caption .underline-link { margin: 0; }

/* ===== Home products bento ===== */
.bento-section { padding: clamp(56px, 6vw, 96px) 0 clamp(64px, 7vw, 104px); background: var(--home-cream); }
.bento-section .shell { width: var(--home-shell); }
.bento-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.bento-card { grid-column: span 2; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--home-line); border-radius: 18px; background: #fff; scroll-margin-top: 96px; transition: box-shadow var(--jc-motion-fast) ease, transform var(--jc-motion-fast) ease, border-color var(--jc-motion-fast) ease; }
.bento-card:hover { border-color: var(--home-mint-line); box-shadow: 0 18px 44px rgb(14 42 29 / 10%); transform: translateY(-3px); }
.bento-wide { grid-column: span 4; }
.bento-half { grid-column: span 3; }
.bento-shot { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--home-line); background: #EEF2EC; }
.bento-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.bento-card:hover .bento-shot img { transform: scale(1.03); }
.bento-body { display: grid; gap: 6px; padding: 20px 22px 22px; }
.bento-kicker { color: #1C7C33; font-family: var(--display); font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.bento-body strong { color: var(--home-ink); font-family: var(--display); font-size: 23px; font-weight: 800; letter-spacing: -.02em; }
.bento-text { color: var(--home-muted); font-size: 16px; line-height: 1.5; }
.bento-link { display: inline-flex; gap: 10px; margin-top: 6px; color: var(--home-green); font-family: var(--display); font-size: 15px; font-weight: 800; }
.bento-dark { background: #0F2A1E; border-color: #0F2A1E; }
.bento-dark .bento-shot { border-color: rgb(255 255 255 / 10%); background: #0B2017; }
.bento-dark .bento-kicker { color: var(--home-lime); }
.bento-dark strong { color: #fff; }
.bento-dark .bento-text { color: #C9D6CC; }
.bento-dark .bento-link { color: var(--home-lime); }

/* ===== Product page captures ===== */
.product-page-shot { margin: 0; padding: 10px; border-radius: 22px; background: #fff; box-shadow: 0 30px 70px rgb(14 42 29 / 14%); min-height: 0; }
.product-page-shot img { width: 100%; height: auto; border-radius: 14px; }
.product-page-shot figcaption { padding: 10px 6px 2px; color: var(--home-muted); font-size: 14px; }

/* ===== WhatsApp ===== */
.whatsapp-float {
  position: fixed; z-index: 90; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 20px 12px 16px; border-radius: 999px;
  color: #fff; background: #1FA855; box-shadow: 0 14px 34px rgb(14 42 29 / 28%); font-family: var(--display); font-size: 16px; font-weight: 800;
  transition: transform var(--jc-motion-fast) ease, background var(--jc-motion-fast) ease;
}
.whatsapp-float:hover { background: #178F47; transform: translateY(-2px); }
.icon-wa { width: 24px; height: 24px; flex: none; }
.contact-whatsapp { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; padding-bottom: 5px; border-bottom: 1px solid rgb(255 255 255 / 50%); font-family: var(--display); font-weight: 700; }
.contact-point-icon .icon-wa { color: var(--home-green); }

@media (max-width: 1100px) {
  .bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-card, .bento-wide, .bento-half { grid-column: span 1; }
  .bento-wide { grid-column: span 2; }
}
@media (max-width: 620px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card, .bento-wide, .bento-half { grid-column: auto; }
  .whatsapp-float { padding: 14px; }
  .whatsapp-float span { display: none; }
  .showcase-stage { aspect-ratio: 740 / 470; }
  .showcase-tab { font-size: 14px; padding: 7px 12px; }
}
.showcase-links { display: inline-flex; flex-wrap: wrap; gap: 18px; }
.underline-link-muted { color: var(--home-muted); }
.home-hero { padding-bottom: clamp(32px, 4vw, 56px); }
.home-hero-grid { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(24px, 3vw, 48px); }
.bento-section { padding-top: clamp(40px, 4vw, 64px); }
.bento-dark .bento-body { flex: 1; align-content: start; }
@media (max-width: 1100px) { .home-hero-grid { grid-template-columns: 1fr; } }
.icon-wa { display: inline-block; background: currentColor; -webkit-mask: url("public/brand/whatsapp.svg") center / contain no-repeat; mask: url("public/brand/whatsapp.svg") center / contain no-repeat; }
.hero-highlight { gap: 12px; padding-right: 18px; }
.hero-highlight + .hero-highlight { padding-left: 18px; }
.hero-highlight .icon { width: 30px; height: 30px; }
.hero-highlight span { max-width: 150px; }
.button-dark { color: #fff; background: var(--home-green); border-radius: 7px; font-size: 16px; font-weight: 700; }
.button-dark:hover { background: var(--home-green-hover); }

/* ===== Showcase v2: straight laptop (16:10 screen) + phone for mobile products ===== */
.showcase-stage { aspect-ratio: auto; padding: 8px 0 18px; }
.laptop { position: relative; inset: auto; }
.laptop-lid {
  position: relative; left: auto; top: auto; width: 84%; height: auto; margin: 0 auto; padding: 1.4% 1.4% 1.8%;
  border-radius: 16px 16px 6px 6px; background: linear-gradient(180deg, #2B2F2E, #151817); transform: none;
  box-shadow: 0 30px 60px rgb(14 42 29 / 20%), inset 0 0 0 1px rgb(255 255 255 / 6%);
}
.laptop-display { aspect-ratio: 16 / 10; height: auto; border-radius: 4px; }
.laptop-base {
  position: relative; left: auto; top: auto; width: 100%; height: 16px; margin: -1px auto 0; transform: none;
  border-radius: 0 0 14px 14px; background: linear-gradient(180deg, #E7E9E8 0%, #C4C8C7 55%, #9DA2A1 100%);
  clip-path: none; filter: drop-shadow(0 16px 18px rgb(14 42 29 / 22%));
}
.laptop-base::after { left: 42%; width: 16%; height: 6px; top: 0; border-radius: 0 0 8px 8px; background: #B3B7B6; }
.showcase-phone {
  position: absolute; z-index: 2; right: 0; bottom: 4px; width: 23%; margin: 0; overflow: hidden; aspect-ratio: 780 / 1688;
  border: 7px solid #141716; border-radius: 30px; background: #141716; box-shadow: 0 24px 50px rgb(14 42 29 / 30%);
}
.showcase-phone[hidden] { display: none; }
.showcase-phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }
.product-page-phone { justify-self: center; width: min(100%, 340px); padding: 9px; border-radius: 40px; background: #141716; }
.product-page-phone img { border-radius: 32px; }
.product-page-phone figcaption { color: #C9D6CC; text-align: center; }
@media (max-width: 620px) {
  .showcase-phone { width: 27%; border-width: 4px; border-radius: 18px; }
  .showcase-phone img { border-radius: 14px; }
  .laptop-lid { width: 92%; }
}
.showcase-fit { object-fit: contain; object-position: top center; background: #F5F7F4; }
.showcase-fit-dark { background: #10262B; }
.showcase-phone { width: clamp(150px, 23%, 230px); background: #F2F4F1; }
.showcase-phone img { background: #F2F4F1; }
/* A screen still decoding never shows its alt text over the dark bezel. */
.showcase-screen, .showcase-phone img { color: transparent; }
