/* ABS Ingredients
   Layout concept: coral flyer gradient up top, white and blush working sections,
   one deep-wine band for performance; chamfered corners as the recurring shape. */
:root {
  --coral: #E5474E;        /* flyer red, primary */
  --coral-soft: #F27B7E;   /* gradient partner */
  --coral-deep: #C9333D;   /* pressed / text on blush */
  --wine: #8A1C2B;         /* headlines, from "Platform Technology" */
  --ink: #2B0D13;          /* body text, dark band */
  --ink-2: #5E3A40;        /* secondary text */
  --blush: #FFF1EE;        /* section wash */
  --blush-2: #FBDCD8;      /* lines, tiles */
  --paper: #FFFFFF;
  --slate: #59607A;        /* cool contrast for reference data */

  --f-display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  --step-4: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem);

  --chamfer: 28px;
  --radius: 14px;
  --wrap: 1200px;
  --header-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--coral); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-deep); }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h2 { font-size: var(--step-3); color: var(--wine); font-weight: 800; }
h3 { font-size: var(--step-1); font-weight: 700; color: var(--ink); }
p { margin: 0; }
.mono { font-family: var(--f-mono); }
.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; }
:focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; border-radius: 4px; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

.eyebrow {
  font-family: var(--f-display);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 14px;
}
.eyebrow--light { color: #FFE3E0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--f-display); font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--small { padding: 9px 18px; font-size: 0.9rem; }
.btn--white { background: var(--paper); color: var(--coral-deep); box-shadow: 0 6px 20px rgba(138, 28, 43, .18); }
.btn--white:hover { color: var(--wine); }
.btn--ghost-light { color: var(--paper); border-color: rgba(255,255,255,.7); }
.btn--ghost-light:hover { background: rgba(255,255,255,.14); }
.btn--coral { background: var(--coral); color: var(--paper); }
.btn--coral:hover { background: var(--coral-deep); }

.link-arrow {
  font-family: var(--f-display); font-weight: 700; color: var(--coral-deep); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.link-arrow::after { content: "→"; transition: transform .2s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* Dot texture from the flyer */
.dots {
  position: absolute; pointer-events: none;
  background-image: radial-gradient(currentColor 1.6px, transparent 1.8px);
  background-size: 16px 16px;
}
.dots--hero { color: rgba(255,255,255,.35); top: 0; right: 0; width: 46%; height: 70%;
  -webkit-mask-image: radial-gradient(ellipse at top right, #000 10%, transparent 70%);
          mask-image: radial-gradient(ellipse at top right, #000 10%, transparent 70%); }
.dots--platform { color: rgba(229, 71, 78, .16); top: 40px; left: 0; width: 40%; height: 60%;
  -webkit-mask-image: radial-gradient(ellipse at top left, #000 10%, transparent 70%);
          mask-image: radial-gradient(ellipse at top left, #000 10%, transparent 70%); }
.dots--contact { color: rgba(255,255,255,.28); bottom: 0; left: 0; width: 50%; height: 70%;
  -webkit-mask-image: radial-gradient(ellipse at bottom left, #000 10%, transparent 70%);
          mask-image: radial-gradient(ellipse at bottom left, #000 10%, transparent 70%); }

/* Header */
.site-header {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50;
  transition: background-color .25s ease, box-shadow .25s ease;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--paper); }
.brand-mark { width: 36px; height: 36px; object-fit: contain; }
.brand-mark--color { display: none; }
.brand-word { font-family: var(--f-display); font-weight: 800; font-size: 0.95rem; line-height: 1.05; letter-spacing: .04em; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) { color: var(--paper); text-decoration: none; font-family: var(--f-display); font-weight: 600; font-size: .95rem; }
.site-nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 6px; }

.site-header.is-solid { background: var(--paper); box-shadow: 0 1px 0 var(--blush-2), 0 8px 24px rgba(43,13,19,.06); }
.site-header.is-solid .brand { color: var(--wine); }
.site-header.is-solid .brand-mark--light { display: none; }
.site-header.is-solid .brand-mark--color { display: block; }
.site-header.is-solid .site-nav a:not(.btn) { color: var(--ink); }
.site-header.is-solid .btn--white { background: var(--coral); color: var(--paper); box-shadow: none; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; flex-direction: column; gap: 6px; }
.nav-toggle .bar { display: block; width: 24px; height: 2px; background: var(--paper); border-radius: 2px; transition: transform .2s ease; }
.site-header.is-solid .nav-toggle .bar { background: var(--ink); }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: var(--paper);
  background: linear-gradient(160deg, var(--coral) 0%, #EC5F63 45%, var(--coral-soft) 100%);
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: 72px;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-copy { min-width: 0; }
.hero h1 { font-size: var(--step-4); font-weight: 800; color: var(--paper); margin-bottom: 24px; letter-spacing: -0.025em; }
.hero .lead { font-size: var(--step-1); max-width: 34em; color: #FFF5F3; margin-bottom: 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { position: relative; margin: 0; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover;
  clip-path: polygon(14% 0, 100% 0, 100% 84%, 86% 100%, 0 100%, 0 16%);
  border-radius: 6px;
}
.hero-badge {
  position: absolute; left: -28px; bottom: 28px; max-width: 290px;
  background: rgba(229, 71, 78, .92); color: var(--paper);
  padding: 18px 22px; border-radius: 22px 22px 22px 4px;
  display: grid; gap: 4px; box-shadow: 0 16px 40px rgba(138,28,43,.3);
  font-size: .95rem; line-height: 1.4;
}
.hero-badge .mono { font-size: 1.6rem; font-weight: 500; letter-spacing: .04em; }

/* Fact bar */
.factbar { background: var(--paper); border-bottom: 1px solid var(--blush-2); }
.factbar-grid { display: grid; grid-template-columns: repeat(5, 1fr); padding-block: 28px; gap: 0; }
.fact { padding: 6px 18px; border-left: 1px solid var(--blush-2); display: grid; gap: 2px; min-width: 0; }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact strong { font-family: var(--f-display); font-size: 1.45rem; color: var(--coral); font-weight: 800; font-variant-numeric: tabular-nums; }
.fact span { font-size: .875rem; color: var(--ink-2); line-height: 1.4; }

/* Sections */
.section { position: relative; padding-block: clamp(64px, 8vw, 112px); }
.section--blush { background: var(--blush); }
.section--ink { background: var(--ink); color: #F6E7E5; }
.section-head { max-width: 760px; margin-bottom: 48px; display: grid; gap: 16px; }
.section-head p:not(.eyebrow) { color: var(--ink-2); font-size: var(--step-1); }
.section-head .eyebrow { margin-bottom: 0; }
.section-head--light h2 { color: var(--paper); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.col-text { display: grid; gap: 18px; min-width: 0; max-width: 36em; }
.col-text h2 { margin-bottom: 4px; }
.col-text p { color: var(--ink-2); }

.function-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.function-grid li {
  background: var(--paper); padding: 18px 20px; display: grid; gap: 2px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
  border-radius: 4px;
}
.function-grid b { font-family: var(--f-display); color: var(--wine); font-size: 1.05rem; }
.function-grid span { font-size: .9rem; color: var(--ink-2); }

.why-now { margin-top: 72px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; border-top: 2px solid var(--coral); padding-top: 28px; }
.why-item { display: grid; gap: 8px; align-content: start; }
.why-item strong { font-family: var(--f-display); font-size: 2.6rem; font-weight: 800; color: var(--coral); line-height: 1; }
.why-item p { color: var(--ink); }
.why-item cite { font-style: normal; font-size: .8rem; color: var(--ink-2); letter-spacing: .02em; }

/* Platform */
.platform { overflow: hidden; }
.platform .wrap { position: relative; }
.platform-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.stack { display: grid; gap: 4px; }
.layer {
  display: grid; grid-template-columns: minmax(0, 1fr) 56px 260px; align-items: center; gap: 0;
  background: none; border: 0; padding: 0; margin: 0; text-align: left; cursor: pointer; color: inherit; font: inherit;
  border-radius: 12px;
}
.layer-label { display: grid; gap: 4px; padding: 10px 16px 10px 0; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.layer-label b { font-family: var(--f-display); font-size: 1.2rem; color: var(--wine); font-weight: 800; }
.layer-label span { font-size: .9rem; color: var(--ink-2); line-height: 1.4; }
.layer-line { height: 2px; background: var(--ink); position: relative; transition: background-color .3s ease; }
.layer-line::after { content: ""; position: absolute; right: -4px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.slab {
  width: 100%; height: auto; overflow: visible;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), filter .3s ease, opacity .3s ease;
  filter: drop-shadow(0 10px 10px rgba(138,28,43,.14));
}
.layer:hover .slab, .layer:focus-visible .slab { transform: translate(6px, -8px); filter: drop-shadow(0 18px 16px rgba(138,28,43,.22)) brightness(1.05); }
.layer:hover .layer-label b { color: var(--coral); }

.stack.has-active .layer:not(.is-active) .slab { opacity: .38; transform: scale(.97); }
.stack.has-active .layer:not(.is-active) .layer-label { opacity: .6; }
.stack.has-active .layer:not(.is-active) .layer-line { background: var(--blush-2); }
.layer.is-active .slab { transform: translate(26px, -10px) rotate(-2deg); filter: drop-shadow(0 24px 20px rgba(138,28,43,.28)) brightness(1.06); }
.layer.is-active .layer-label { transform: translateX(6px); }
.layer.is-active .layer-label b { color: var(--coral); }
.layer.is-active .layer-line { background: var(--coral); }
.layer.is-active .layer-line::after { background: var(--coral); box-shadow: 0 0 0 5px rgba(229,71,78,.2); }

/* assemble animation, starts from a visible state */
.stack.assemble .layer .slab { animation: settle .8s cubic-bezier(.2,.8,.2,1) backwards; animation-delay: calc(var(--i) * 90ms); }
@keyframes settle { from { transform: translateY(-26px); opacity: .35; } to { transform: none; opacity: 1; } }

.layer-panel {
  position: sticky; top: calc(var(--header-h) + 24px);
  background: var(--paper);
  border: 1px solid var(--blush-2);
  box-shadow: 0 24px 60px rgba(138,28,43,.12);
  clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, var(--chamfer) 100%, 0 calc(100% - var(--chamfer)));
  border-radius: 6px;
  padding: 36px 34px;
  min-height: 360px;
  outline: none;
}
.panel-inner { display: grid; gap: 16px; }
.panel-inner.swap { animation: panelIn .45s cubic-bezier(.2,.8,.2,1); }
@keyframes panelIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.panel-kicker { font-family: var(--f-mono); font-size: .8rem; color: var(--coral); letter-spacing: .04em; text-transform: uppercase; }
.layer-panel h3 { font-size: var(--step-2); color: var(--wine); font-weight: 800; }
.panel-lead { color: var(--ink); }
.layer-panel p { color: var(--ink-2); }
.panel-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.panel-list li { position: relative; padding-left: 26px; color: var(--ink); font-size: .95rem; }
.panel-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 8px; background: var(--coral); clip-path: polygon(25% 0, 100% 0, 75% 100%, 0 100%); }
.panel-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.panel-chips a { font-size: .85rem; font-weight: 600; text-decoration: none; color: var(--wine); background: var(--blush); border: 1px solid var(--blush-2); padding: 6px 12px; border-radius: 999px; }
.panel-chips a:hover { background: var(--coral); color: var(--paper); border-color: var(--coral); }
.panel-links { display: flex; flex-wrap: wrap; gap: 12px 24px; padding-top: 6px; border-top: 1px solid var(--blush-2); padding-top: 16px; }
.panel-hint { font-family: var(--f-display); font-weight: 700; color: var(--coral) !important; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Plug-ins */
.plugin-family { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 40px; padding-block: 40px; border-top: 1px solid var(--blush-2); }
.family-head { display: grid; gap: 10px; align-content: start; }
.family-head h3 { font-size: var(--step-2); color: var(--wine); font-weight: 800; }
.family-head p { color: var(--ink-2); }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product { background: var(--paper); padding: 14px 14px 24px; display: grid; gap: 8px; align-content: start; border-radius: 6px;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }
.product img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; margin-bottom: 8px; }
.product .code { font-size: .85rem; color: var(--coral); padding-inline: 6px; }
.product h4 { font-family: var(--f-display); font-size: 1.25rem; color: var(--ink); padding-inline: 6px; }
.product p:not(.code) { color: var(--ink-2); font-size: .95rem; padding-inline: 6px; }

.family-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 40px; border-top: 1px solid var(--blush-2); }
.family-card { background: var(--paper); padding: 26px; display: grid; gap: 10px; align-content: start; border-radius: 6px; border-top: 4px solid var(--coral); }
.family-card h3 { color: var(--wine); font-weight: 800; }
.family-card p { color: var(--ink-2); font-size: .95rem; }
.tag { justify-self: start; font-size: .78rem; font-weight: 600; letter-spacing: .03em; color: var(--coral-deep); background: var(--blush); padding: 4px 10px; border-radius: 999px; margin-top: 4px; }

.not-listed {
  margin-top: 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--coral), var(--coral-soft)); color: var(--paper);
  padding: 36px 40px; border-radius: 6px;
  clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, var(--chamfer) 100%, 0 calc(100% - var(--chamfer)));
}
.not-listed > div { display: grid; gap: 8px; max-width: 46em; min-width: 0; }
.not-listed h3 { color: var(--paper); font-size: var(--step-2); font-weight: 800; }
.not-listed p { color: #FFF5F3; }

/* Deep dive */
.deep-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; padding-block: 44px; border-top: 1px solid var(--blush-2); align-items: start; }
.deep-num span {
  display: grid; place-items: center; width: 56px; height: 56px; font-family: var(--f-mono); font-size: 1.3rem; color: var(--paper);
  background: var(--coral); clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
}
#deep-base .deep-num span { background: none; color: var(--ink); outline: 2px dashed var(--ink); outline-offset: -2px; clip-path: none; border-radius: 4px; }
.deep-body { display: grid; gap: 14px; max-width: 36em; }
.deep-body h3 { font-size: var(--step-2); color: var(--wine); font-weight: 800; }
.deep-lead { font-family: var(--f-display); font-weight: 600; color: var(--coral-deep); font-size: 1.1rem; }
.deep-body p:not(.deep-lead):not(.fineprint) { color: var(--ink-2); }
.deep-media { margin: 0; }
.deep-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%); }
.deep-media--chart { background: var(--blush); padding: 20px 20px 16px; border-radius: 6px; }
.deep-media--chart svg { width: 100%; height: auto; overflow: visible; }
.chart-grid line { stroke: var(--ink-2); stroke-width: 1.2; }
.chart-grid line.faint { stroke: var(--blush-2); stroke-dasharray: 3 4; }
.chart-label { font-family: var(--f-body); font-size: 12px; fill: var(--ink-2); }
.c-sucrose { fill: none; stroke: var(--slate); stroke-width: 2.5; stroke-dasharray: 7 5; }
.c-abs { fill: none; stroke: var(--coral); stroke-width: 4; stroke-linecap: round; }
.c-hip { fill: none; stroke: #C7A9A5; stroke-width: 2.5; }
.deep-media--chart figcaption { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .85rem; color: var(--ink-2); padding-top: 8px; }
.key { display: inline-flex; align-items: center; gap: 8px; }
.key i { display: inline-block; width: 22px; height: 0; border-top: 3px solid; }
.k-abs { border-color: var(--coral) !important; border-top-width: 4px !important; }
.k-sucrose { border-color: var(--slate) !important; border-top-style: dashed !important; }
.k-hip { border-color: #C7A9A5 !important; }
.note { flex-basis: 100%; font-size: .78rem; font-style: italic; }

.deep-media--model { background: var(--blush); padding: 22px; border-radius: 6px; display: grid; gap: 12px; }
.model-in { display: flex; flex-wrap: wrap; gap: 8px; }
.model-in span { background: var(--paper); border: 1px solid var(--blush-2); padding: 6px 12px; font-size: .85rem; border-radius: 999px; color: var(--ink); }
.model-core, .model-out { display: grid; gap: 2px; padding: 16px 18px; border-radius: 6px; position: relative; }
.model-core { background: var(--paper); border: 2px solid var(--coral); margin-top: 18px; }
.model-out { background: var(--coral); color: var(--paper); margin-top: 18px; }
.model-core::before, .model-out::before { content: "↓"; position: absolute; top: -26px; left: 50%; transform: translateX(-50%); color: var(--coral); font-weight: 700; }
.model-core b, .model-out b { font-family: var(--f-display); }
.model-core b { color: var(--wine); }
.model-core span { font-size: .85rem; color: var(--ink-2); }
.model-out span { font-size: .85rem; color: #FFF0EE; }

.fineprint { font-size: .8rem; color: var(--ink-2); line-height: 1.5; }
#regulatory > .wrap > .fineprint { margin-top: 28px; max-width: 60em; }

/* Performance */
.apart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.apart h3 { color: var(--coral-soft); font-size: var(--step-2); font-weight: 800; margin-bottom: 18px; }
.apart dl { margin: 0; display: grid; gap: 0; }
.apart dl > div { display: grid; grid-template-columns: 11em 1fr; gap: 16px; padding-block: 14px; border-top: 1px solid rgba(255,255,255,.14); }
.apart dt { font-family: var(--f-display); font-weight: 700; color: var(--paper); }
.apart dd { margin: 0; color: #E9D3D1; font-size: .95rem; }
.table-title { color: var(--paper); font-size: var(--step-2); font-weight: 800; margin: 72px 0 20px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 820px; border-collapse: separate; border-spacing: 0; font-size: .9rem; }
.compare th, .compare td { padding: 16px 10px; text-align: center; border-bottom: 1px solid rgba(255,255,255,.12); }
.compare thead th { font-family: var(--f-display); font-weight: 600; color: #E9D3D1; font-size: .82rem; vertical-align: bottom; line-height: 1.3; }
.compare tbody th { text-align: left; font-family: var(--f-display); font-weight: 800; color: var(--coral-soft); letter-spacing: .06em; text-transform: uppercase; font-size: .9rem; white-space: nowrap; }
.compare td.num { text-align: left; color: var(--paper); font-variant-numeric: tabular-nums; white-space: nowrap; }
.compare td.num small { color: #C9AFAC; }
.compare .row-abs th, .compare .row-abs td { background: var(--coral); color: var(--paper); border-bottom: 0; }
.compare .row-abs th { border-radius: 10px 0 0 10px; }
.compare .row-abs td:last-child { border-radius: 0 10px 10px 0; font-weight: 700; }
.compare i { display: inline-block; width: 20px; height: 20px; }
.compare i.yes { background: currentColor; color: var(--paper); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 10.5l4.5 4.5L17 4' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 10.5l4.5 4.5L17 4' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.compare i.no { width: 16px; height: 3px; background: #8E6E6B; border-radius: 2px; vertical-align: middle; }
.compare i.part { width: 20px; height: 20px; background: #C9AFAC; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M2 12c3-5 5-5 8-2s5 3 8-2' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M2 12c3-5 5-5 8-2s5 3 8-2' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; }

/* Regulatory */
.claims-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.claims { width: 100%; min-width: 480px; border-collapse: collapse; font-size: .95rem; }
.claims caption { text-align: left; font-family: var(--f-display); font-weight: 700; color: var(--ink); padding-bottom: 12px; caption-side: top; }
.claims th, .claims td { text-align: left; padding: 14px 12px; border-top: 1px solid var(--blush-2); vertical-align: top; }
.claims thead th { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); border-top: 0; padding-bottom: 8px; }
.claims tbody th { font-family: var(--f-display); color: var(--wine); white-space: nowrap; font-weight: 700; }
.claims td { color: var(--ink-2); }
.health-claims { display: grid; gap: 16px; }
.small-head { font-family: var(--f-display); font-weight: 700; color: var(--ink); }
.hc { background: var(--blush); padding: 24px; border-radius: 6px; display: grid; gap: 10px;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }
.hc h3 { color: var(--wine); font-weight: 800; }
.hc .quote { font-size: .95rem; color: var(--ink); font-style: italic; }
.hc .req { font-size: .88rem; color: var(--ink-2); }

/* Partnering */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { counter-increment: step; background: var(--paper); padding: 26px 24px 28px; display: grid; gap: 10px; align-content: start; position: relative; border-radius: 6px; }
.steps li:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 34px; width: 8px; height: 8px; border-top: 2px solid var(--coral); border-right: 2px solid var(--coral); transform: rotate(45deg); }
.steps h3 { color: var(--wine); font-weight: 800; }
.steps p { color: var(--ink-2); font-size: .95rem; }
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.audience { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 22px; background: var(--paper); padding: 14px; border-radius: 6px; align-items: center; }
.audience img { width: 100%; height: 100%; min-height: 170px; object-fit: cover; border-radius: 4px; }
.audience > div { display: grid; gap: 8px; padding: 10px 12px 10px 0; }
.audience h3 { color: var(--wine); font-weight: 800; font-size: var(--step-1); }
.audience p { color: var(--ink-2); font-size: .95rem; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px; align-items: start; }
.faq { border-top: 1px solid var(--blush-2); }
.faq details { border-bottom: 1px solid var(--blush-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-family: var(--f-display); font-weight: 700; font-size: 1.08rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 500; color: var(--coral); transition: transform .25s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--coral-deep); }
.faq details p { padding: 0 48px 24px 0; color: var(--ink-2); }

/* About */
.two-col--media { align-items: center; }
.about-media { margin: 0; }
.about-media img { width: 100%; border-radius: 6px; clip-path: polygon(12% 0, 100% 0, 100% 88%, 88% 100%, 0 100%, 0 12%); }

/* Contact */
.contact { background: linear-gradient(150deg, var(--coral) 0%, #EC5F63 50%, var(--coral-soft) 100%); color: var(--paper); overflow: hidden; }
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.contact-copy { display: grid; gap: 18px; }
.contact-copy .eyebrow { margin-bottom: 0; }
.contact h2 { color: var(--paper); font-size: var(--step-3); }
.contact-copy > p { color: #FFF5F3; font-size: var(--step-1); }
.contact-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 12px; }
.contact-list li { display: grid; grid-template-columns: 6em 1fr; gap: 12px; color: var(--paper); }
.contact-list span { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #FFE3E0; padding-top: 3px; }
.contact-list a { color: var(--paper); }
.selectable { user-select: all; word-break: break-all; }
.contact-form {
  background: var(--paper); color: var(--ink); padding: 34px; display: grid; gap: 16px; border-radius: 6px;
  clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, var(--chamfer) 100%, 0 calc(100% - var(--chamfer)));
  box-shadow: 0 30px 60px rgba(138,28,43,.25);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-family: var(--f-display); font-weight: 600; font-size: .88rem; color: var(--wine); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--blush); border: 1px solid var(--blush-2); border-radius: 8px; padding: 12px 14px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px rgba(229,71,78,.18); background: var(--paper); }
.contact-form .btn { justify-self: start; }
.form-status { font-size: .95rem; color: var(--wine); min-height: 1.4em; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: var(--ink); color: #E9D3D1; padding-block: 48px; }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 40px; height: 40px; }
.footer-brand b { color: var(--paper); font-family: var(--f-display); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: center; }
.footer-nav a, .footer-legal a { color: #E9D3D1; text-decoration: none; font-size: .9rem; }
.footer-nav a:hover, .footer-legal a:hover { color: var(--paper); text-decoration: underline; }
.footer-legal { font-size: .82rem; text-align: right; line-height: 1.6; }

/* Responsive */
@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; background: var(--paper);
    padding: 8px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px));
    box-shadow: 0 20px 40px rgba(43,13,19,.12);
  }
  .site-nav:not(.is-open) { display: none; }
  .site-nav a:not(.btn) { color: var(--ink) !important; padding: 14px 0; border-bottom: 1px solid var(--blush-2); }
  .site-nav .btn { margin-top: 16px; background: var(--coral) !important; color: var(--paper) !important; }
}
@media (max-width: 1080px) {
  .platform-grid { grid-template-columns: 1fr; }
  .layer-panel { position: relative; top: 0; }
  .deep-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li::after { display: none; }
  .factbar-grid { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .fact:nth-child(4) { border-left: 0; padding-left: 0; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .hero-grid, .two-col, .claims-grid, .contact-grid, .faq-wrap, .apart-grid, .audience-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { max-width: 560px; }
  .hero-badge { left: 12px; bottom: -22px; }
  .plugin-family { grid-template-columns: 1fr; gap: 24px; }
  .family-row { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; text-align: left; }
  .footer-nav { justify-content: flex-start; }
  .footer-legal { text-align: left; }
}
@media (max-width: 640px) {
  .layer { grid-template-columns: minmax(0, 1fr) 132px; gap: 12px; }
  .layer-line { display: none; }
  .layer-label b { font-size: 1.05rem; }
  .layer-label span { font-size: .8rem; }
  .layer.is-active .slab { transform: translate(8px, -8px) rotate(-2deg); }
  .layer-panel { padding: 28px 22px; min-height: 0; }
  .product-grid, .field-row, .steps { grid-template-columns: 1fr; }
  .factbar-grid { grid-template-columns: 1fr 1fr; }
  .fact { border-left: 0; padding-left: 0; }
  .fact:last-child { grid-column: 1 / -1; }
  .apart dl > div { grid-template-columns: 1fr; gap: 4px; }
  .audience { grid-template-columns: 1fr; }
  .audience img { min-height: 0; aspect-ratio: 16 / 9; }
  .audience > div { padding: 4px 8px 10px; }
  .deep-row { grid-template-columns: 1fr; gap: 18px; }
  .deep-media { grid-column: auto; }
  .not-listed { padding: 30px 24px; }
  .contact-form { padding: 26px 20px; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .faq summary { padding-right: 36px; }
  .faq details p { padding-right: 0; }
}
/* v2 additions */
.family-card--lead .sub-apps { grid-template-columns: repeat(3, 1fr) !important; }
.lead-text p { color: var(--ink-2); font-size: .95rem; }
.deep-media--process img { aspect-ratio: 4 / 3; object-position: 70% center; }
.deep-media--belly img { object-position: center 30%; }
.deep-media--polyols { background: var(--blush); padding: 24px; border-radius: 6px; display: grid; gap: 10px; }
.pol-sub { font-size: .85rem; color: var(--ink-2); }
.pol-bars { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 9px; }
.pol-bars li { display: grid; grid-template-columns: 6.2em minmax(0, 1fr) 2.4em 2.4em; align-items: center; gap: 10px; font-size: .9rem; font-variant-numeric: tabular-nums; }
.pol-name { font-family: var(--f-display); font-weight: 700; color: var(--wine); }
.pol-bar { height: 12px; background: var(--paper); border-radius: 999px; overflow: hidden; }
.pol-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--coral-soft), var(--coral)); border-radius: 999px; }
.pol-bars li.ref .pol-bar i { background: var(--slate); }
.pol-bars li.ref .pol-name { color: var(--slate); }
.pol-val { text-align: right; color: var(--ink); font-weight: 600; }
.pol-kcal { text-align: right; color: var(--ink-2); font-family: var(--f-mono); font-size: .8rem; }
.pol-legend { display: grid; gap: 2px; font-size: .75rem; color: var(--ink-2); margin-top: 6px; }
.deep-media--gut { background: linear-gradient(150deg, var(--coral) 0%, var(--coral-soft) 100%); color: var(--paper); padding: 26px; border-radius: 6px; display: grid; gap: 18px;
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%); }
.gut-title { font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; }
.gut-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gut-grid li { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); border-radius: 6px; padding: 16px; display: grid; gap: 4px; align-content: start; }
.gut-grid svg { width: 32px; height: 32px; fill: none; stroke: var(--paper); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.gut-grid b { font-family: var(--f-display); font-size: 1rem; }
.gut-grid span { font-size: .85rem; color: #FFF1EE; line-height: 1.4; }
.gut-status { display: flex; align-items: center; gap: 10px; background: var(--paper); color: var(--wine); font-family: var(--f-display); font-weight: 700; padding: 12px 16px; border-radius: 999px; font-size: .95rem; justify-self: start; }
.gut-status span { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); animation: pulse 2s infinite; flex: none; }
.sugar-roles { margin: 4px 0 0; display: grid; gap: 0; background: var(--paper); border-radius: 6px; padding: 4px 16px; }
.sugar-roles > div { padding: 10px 0; border-top: 1px solid var(--blush-2); display: grid; gap: 2px; }
.sugar-roles > div:first-child { border-top: 0; }
.sugar-roles dt { font-family: var(--f-display); font-weight: 700; color: var(--wine); font-size: .92rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.sugar-roles dt em { font-style: normal; font-family: var(--f-body); font-weight: 600; font-size: .75rem; color: var(--coral); text-transform: uppercase; letter-spacing: .05em; }
.sugar-roles dd { margin: 0; font-size: .85rem; color: var(--ink-2); line-height: 1.45; }
@media (max-width: 640px) { .family-card--lead .sub-apps, .gut-grid { grid-template-columns: 1fr !important; } }
.function-grid em { font-style: normal; font-size: .8rem; font-weight: 600; color: var(--coral); margin-top: 4px; }
.why-grid { grid-template-columns: repeat(4, 1fr); }
.panel-close { background: none; border: 0; padding: 0; margin-bottom: 14px; font: 600 .9rem var(--f-display); color: var(--coral-deep); cursor: pointer; }
.panel-close:hover { text-decoration: underline; text-underline-offset: 4px; }
.us-block { margin-top: 40px; display: grid; gap: 14px; }
.us-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.us-grid > div { border-top: 3px solid var(--wine); padding-top: 14px; display: grid; gap: 6px; align-content: start; }
.us-grid h3 { font-size: 1.05rem; color: var(--wine); font-weight: 800; }
.us-grid p { font-size: .92rem; color: var(--ink-2); }
@media (max-width: 1080px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .us-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .why-grid { grid-template-columns: 1fr; } }
.table-note { margin-top: 16px; font-size: .85rem; color: #C9AFAC; }
.tag--ready { background: var(--coral); color: var(--paper); }
.codev { padding-top: 40px; border-top: 1px solid var(--blush-2); display: grid; gap: 24px; }
.codev-head { display: grid; gap: 6px; max-width: 46em; }
.codev-head h3 { font-size: var(--step-2); color: var(--wine); font-weight: 800; }
.codev-head p { color: var(--ink-2); }
.codev .family-row { grid-template-columns: repeat(3, 1fr); padding-top: 0; border-top: 0; }
.family-card--lead { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; align-items: center; }
.lead-text { display: grid; gap: 10px; align-content: start; }
.family-card--lead .sub-apps { grid-template-columns: 1fr 1fr; }
.tag-lead { stroke: var(--ink-2); stroke-width: 1; }
.sub-apps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sub-apps li { display: grid; gap: 2px; padding: 10px 14px; background: var(--blush); border-radius: 6px; font-size: .9rem; color: var(--ink-2); }
.sub-apps b { font-family: var(--f-display); color: var(--ink); font-size: .95rem; }

.reform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reform-card { padding: 28px 26px; border: 1px solid var(--blush-2); border-radius: 6px; display: grid; gap: 10px; align-content: start; background: var(--paper);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }
.reform-card h3 { color: var(--wine); font-weight: 800; font-size: var(--step-1); }
.reform-card p { color: var(--ink-2); font-size: .95rem; }
.reform-flow { margin-top: 40px; background: var(--blush); padding: 30px 32px; border-radius: 6px; display: grid; gap: 20px; }
.reform-flow ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.reform-flow li { display: grid; gap: 4px; align-content: start; padding-top: 14px; border-top: 3px solid var(--coral); }
.reform-flow li b { font-family: var(--f-display); color: var(--wine); }
.reform-flow li span { font-size: .9rem; color: var(--ink-2); }
.reform-flow .btn { justify-self: start; }

.status-pill { justify-self: start; display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; font-size: .95rem;
  color: var(--wine) !important; background: var(--blush); border: 1px solid var(--blush-2); padding: 8px 16px; border-radius: 999px; }
.status-pill span { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(229,71,78,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(229,71,78,.5); } 70% { box-shadow: 0 0 0 10px rgba(229,71,78,0); } 100% { box-shadow: 0 0 0 0 rgba(229,71,78,0); } }

.deep-media--health { position: relative; }
.deep-media--health img { aspect-ratio: 4 / 3.6; }
.health-card { position: absolute; left: 16px; right: 16px; bottom: 16px; background: rgba(255,255,255,.95); border-radius: 6px; padding: 18px 20px; display: grid; gap: 8px;
  box-shadow: 0 16px 40px rgba(43,13,19,.18); }
.health-card b { font-family: var(--f-display); color: var(--wine); }
.health-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.health-card li { position: relative; padding-left: 22px; font-size: .88rem; color: var(--ink); line-height: 1.4; }
.health-card li::before { content: ""; position: absolute; left: 0; top: .35em; width: 11px; height: 7px; border-left: 2.5px solid var(--coral); border-bottom: 2.5px solid var(--coral); transform: rotate(-45deg); }

.c-polyol { fill: none; stroke: var(--ink-2); stroke-width: 2; stroke-dasharray: 2 5; stroke-linecap: round; }
.c-hip { stroke: #B89692; }
.k-hip { border-color: #B89692 !important; }
.k-polyol { border-color: var(--ink-2) !important; border-top-style: dotted !important; }
.chart-tag text { font-family: var(--f-display); font-size: 11.5px; font-weight: 700; fill: #9C7672; }
.chart-tag .tag-polyol { fill: var(--ink-2); }
.model-step { font-family: var(--f-display); font-weight: 700; color: var(--wine); font-size: .95rem; }

@media (max-width: 900px) {
  .codev .family-row { grid-template-columns: 1fr; }
  .reform-grid { grid-template-columns: 1fr; }
  .reform-flow ul { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .codev .family-row, .reform-flow ul, .family-card--lead, .family-card--lead .sub-apps { grid-template-columns: 1fr; }
  .reform-flow { padding: 24px 20px; }
  .health-card { position: static; margin-top: 12px; box-shadow: none; background: var(--blush); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
#challenge .col-text p { font-size: 1.075rem; line-height: 1.65; }
#challenge .col-text { gap: 26px; }

/* v3: hero video, CTAs, tags */
.hero--video { min-height: 620px; display: flex; align-items: center; padding-bottom: 96px; }
.hero--video .hero-grid { grid-template-columns: minmax(0, 1fr); width: 100%; }
.hero--video .hero-copy { max-width: 640px; position: relative; z-index: 2; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(229,71,78,.96) 0%, rgba(229,71,78,.9) 42%, rgba(229,71,78,.25) 60%, rgba(229,71,78,0) 76%); }
.hero--video .dots { z-index: 1; }
.hero--video .wrap { position: relative; z-index: 2; }
.codev-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.codev-cta span { font-family: var(--f-display); font-weight: 800; color: var(--wine); font-size: 1.05rem; }
.codev-cta .btn { font-weight: 800; }
.tag--open { background: var(--paper); color: var(--wine); border: 1.5px solid var(--wine); }
.btn--cta { background: var(--paper); color: var(--wine); font-weight: 800; font-size: 1.1rem; padding: 16px 32px;
  border: 3px solid var(--wine); box-shadow: 0 0 0 5px rgba(255,255,255,.45), 0 10px 26px rgba(138,28,43,.25); }
.btn--cta:hover { background: var(--wine); color: var(--paper); }
.btn--big { font-size: 1.05rem; font-weight: 800; padding: 16px 30px; }
.reform-title { font-size: var(--step-2) !important; color: var(--wine) !important; font-weight: 800; }
.reform-flow li { transition: transform .25s ease, box-shadow .25s ease; background: var(--paper); padding: 16px 18px 18px; border-radius: 6px; border-top: 4px solid var(--coral); }
.reform-flow li:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(138,28,43,.12); }
.reform-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-top: 8px; }
.reform-cta p { color: var(--ink); max-width: 38em; }
.reform-cta b { font-family: var(--f-display); color: var(--wine); }
@media (max-width: 640px) { .hero--video { min-height: 0; } .hero-overlay { background: rgba(229,71,78,.86); } }

/* v3.1: clean full-bleed video hero, no red */
.hero.hero--video { background: #0b0b0b; }
.hero--video .hero-overlay { background: none; }
.hero--video .dots--hero { display: none; }
.hero--video .eyebrow--light { color: rgba(255,255,255,.78); }
.hero--video .lead { color: rgba(255,255,255,.88); }
@media (max-width: 640px) {
  .hero--video .hero-video { object-position: 72% center; }
  .hero--video .hero-overlay { background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.35)); }
}
body::before { background: #0b0b0b; }
@media (min-width: 1081px) { .fact { padding-inline: 14px; } .fact span { white-space: nowrap; } }
@media (min-width: 1081px) and (max-width: 1240px) { .fact span { font-size: .8rem; } }
.why-now { margin-top: 40px; } #challenge { padding-bottom: clamp(48px, 6vw, 80px); }

/* v3.2: faint photo backgrounds on application cards */
.family-card.has-bg { position: relative; overflow: hidden; isolation: isolate; }
.family-card.has-bg::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--bg) center / cover no-repeat; }
.family-card.has-bg::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.74)); }
#plugin-dairy { --bg: url("../img/bg-dairy.jpg"); }
#plugin-jam { --bg: url("../img/bg-jam.jpg"); }
#plugin-candy { --bg: url("../img/bg-candy.jpg"); }
.sub-apps li.has-bg { position: relative; overflow: hidden; isolation: isolate; background: none; }
.sub-apps li.has-bg::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--bg) center / cover no-repeat; }
.sub-apps li.has-bg::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(255,241,238,.88), rgba(255,241,238,.78)); }
.sub-apps li.bg-energy { --bg: url("../img/bg-energy.jpg"); }
.sub-apps li.bg-icedtea { --bg: url("../img/bg-icedtea.jpg"); }
.sub-apps li.bg-milk { --bg: url("../img/bg-milk.jpg"); }

/* v3.3: portrait beverage tiles with visible photos */
.family-card--lead { align-items: stretch; }
.family-card--lead .sub-apps { gap: 14px; }
.sub-apps li.has-bg { aspect-ratio: 3 / 4; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; border-radius: 8px; color: #fff; font-size: .9rem; }
.sub-apps li.has-bg::before { background-position: center; }
.sub-apps li.has-bg::after { background: linear-gradient(180deg, rgba(20,8,10,0) 35%, rgba(20,8,10,.55) 65%, rgba(20,8,10,.85) 100%); }
.sub-apps li.has-bg b { color: #fff; font-size: 1.1rem; margin-bottom: 4px; }
@media (max-width: 640px) { .sub-apps li.has-bg { aspect-ratio: 4 / 3; min-height: 0; } }
.sub-apps li.has-bg { aspect-ratio: auto; min-height: 0; height: 320px; }
.family-card--lead { grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); }
@media (max-width: 640px) { .sub-apps li.has-bg { height: 240px; } }
.codev-head { max-width: none; }
.codev-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
@media (min-width: 1081px) { .codev-line > p:first-child { white-space: nowrap; } }
.sub-apps li.has-bg .sub-desc { display: block; min-height: calc(3 * 1.45em); line-height: 1.45; }

/* v3.4: application cards like beverage tiles: full photo, white text */
.family-card.has-bg { min-height: 320px; align-content: end; border-top: 0; border-radius: 8px; color: #fff; }
.family-card.has-bg::after { background: linear-gradient(180deg, rgba(20,8,10,.05) 20%, rgba(20,8,10,.6) 58%, rgba(20,8,10,.88) 100%); }
.family-card.has-bg h3 { color: #fff; }
.family-card.has-bg p { color: rgba(255,255,255,.9); }

/* v3.5: tighter vertical rhythm */
.section { padding-block: clamp(48px, 5.5vw, 80px); }
.section-head { margin-bottom: 32px; }
.plugin-family { padding-block: 32px; }
.codev, .family-row { padding-top: 32px; }
.not-listed { margin-top: 32px; }
.deep-row { padding-block: 32px; }
.reform-flow { margin-top: 28px; }
.table-title { margin-top: 48px; }
.hero--video { min-height: 560px; padding-bottom: 72px; }

/* v3.6: even tighter */
.section { padding-block: clamp(36px, 4vw, 56px); }
.section-head { margin-bottom: 24px; gap: 10px; }
.plugin-family { padding-block: 24px; gap: 28px; }
.codev, .family-row { padding-top: 24px; }
.not-listed { margin-top: 24px; }
.deep-row { padding-block: 24px; gap: 28px; }
.why-now { margin-top: 28px; }
.why-grid { padding-top: 18px; }
#challenge { padding-bottom: 40px; }
.table-title { margin-top: 36px; }
.apart dl > div { padding-block: 10px; }
.layer-panel { min-height: 0; }
.factbar-grid { padding-block: 20px; }
.hero--video { min-height: 500px; padding-bottom: 56px; padding-top: calc(var(--header-h) + 32px); }
.reform-grid, .steps { gap: 16px; }
.faq summary { padding-block: 16px; }
