/* Olymp brand system — shared by corporate and product pages. */

:root {
  /* Family foundation: every page keeps the same warm, editorial atmosphere. */
  --brand-bg: #faf9f6;
  --brand-surface: #ffffff;
  --brand-tint: #f0ece4;
  --brand-tint-strong: #f0ece4;
  --brand-gold: #c99647;
  --brand-gold-strong: #a96f2f;
  --brand-gold-soft: #f5ead8;
  --apollo-blue: #3157a4;
  --apollo-blue-strong: #22427f;
  --apollo-blue-soft: #e8eef9;
  --artemis-green: #266957;
  --artemis-green-strong: #174d40;
  --artemis-green-soft: #e7f1ed;

  --bg: var(--brand-bg);
  --surface: var(--brand-surface);
  --tint: var(--brand-tint);
  --tint-2: var(--brand-tint-strong);
  --navy: #224c98;
  --navy-deep: #1b3b77;
  --navy-ink: #0b1b3a;
  --navy-ink-2: #12244a;
  --green: #5ec369;
  --green-deep: #2f9e57;
  --ink: #202124;
  --text: #4f504d;
  --muted: #6f706c;
  --border: #e2e0da;
  --border-strong: #cfcbc2;
  --shadow-sm: 0 1px 2px rgba(32, 33, 36, .06), 0 1px 3px rgba(32, 33, 36, .05);
  --shadow-md: 0 12px 30px -12px rgba(32, 33, 36, .18);
  --shadow-lg: 0 30px 60px -20px rgba(32, 33, 36, .24);
  --radius: 20px;
  --radius-sm: 12px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --maxw: 1180px;
  /* Corporate is the default; product themes only replace these semantic roles. */
  --accent: var(--brand-gold);
  --accent-strong: var(--brand-gold-strong);
  --accent-hover: #d8ad66;
  --accent-soft: var(--brand-gold-soft);
  --accent-contrast: #241d18;
  --accent-deep: #202124;
  --accent-shadow: rgba(169, 111, 47, .42);
  --focus-halo: var(--accent-soft);
  --frame-image: url("/assets/images/responsive/backgrounds/showcase-frame-1-819.webp");
  --frame-image: image-set(
    url("/assets/images/responsive/backgrounds/showcase-frame-1-480.avif") type("image/avif") 1x,
    url("/assets/images/responsive/backgrounds/showcase-frame-1-819.avif") type("image/avif") 2x,
    url("/assets/images/responsive/backgrounds/showcase-frame-1-480.webp") type("image/webp") 1x,
    url("/assets/images/responsive/backgrounds/showcase-frame-1-819.webp") type("image/webp") 2x
  );
  --frame-overlay: linear-gradient(180deg, rgba(32, 33, 36, .06), rgba(32, 33, 36, .26));
  --ease-layout: cubic-bezier(.4, 0, .2, 1);
  --ease-enter: cubic-bezier(.22, 1, .36, 1);
  --duration-instant: 120ms;
  --duration-fast: 140ms;
  --duration-base: 180ms;
  --duration-slow: 240ms;
  --nav-offset: 66px;
}

/* Product identity is deliberately limited to semantic accents. */
.theme-apollo {
  --accent: var(--apollo-blue);
  --accent-strong: var(--apollo-blue-strong);
  --accent-hover: var(--apollo-blue-strong);
  --accent-soft: var(--apollo-blue-soft);
  --accent-contrast: #fff;
  --accent-deep: #10284d;
  --accent-shadow: rgba(49, 87, 164, .46);
}

.theme-artemis {
  --accent: var(--artemis-green);
  --accent-strong: var(--artemis-green-strong);
  --accent-hover: var(--artemis-green-strong);
  --accent-soft: var(--artemis-green-soft);
  --accent-contrast: #fff;
  --accent-deep: #123b31;
  --accent-shadow: rgba(38, 105, 87, .42);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  overscroll-behavior-y: none;
  background: var(--bg);
}
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background-color: var(--bg);
  background-image: url("/assets/images/grain.svg");
  background-repeat: repeat;
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overscroll-behavior-y: none;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.015em;
}
p { margin: 0; }

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 0 !important;
  box-shadow: 0 0 0 3px var(--focus-halo) !important;
}

/* Pull the first page section behind the floating navigation so its
   background reaches the very top without moving the section content. */
main { display: flow-root; }
main > section:first-child {
  margin-top: calc(0px - var(--nav-offset));
  padding-top: calc(var(--first-section-pad, 68px) + var(--nav-offset));
}
.hero { --first-section-pad: 72px; }
body.theme-apollo .hero,
body.theme-artemis .hero { --first-section-pad: 104px; }
.hero-home { --first-section-pad: clamp(58px, 6vw, 82px); }
.page-hero { --first-section-pad: 72px; }
.contact-hero { --first-section-pad: 66px; }
.about-dark { --first-section-pad: 56px; }
.impressum-hero { --first-section-pad: 88px; }
.price-hero { --first-section-pad: 64px; }

@media (max-width: 1060px) {
  .hero-home { --first-section-pad: 56px; }
}
@media (max-width: 980px) {
  body.theme-apollo .hero,
  body.theme-artemis .hero { --first-section-pad: 88px; }
}
@media (max-width: 780px) {
  .about-dark { --first-section-pad: 46px; }
}
@media (max-width: 680px) {
  .contact-hero { --first-section-pad: 48px; }
}
@media (max-width: 560px) {
  .page-hero { --first-section-pad: 48px; }
  .impressum-hero { --first-section-pad: 50px; }
  .price-hero { --first-section-pad: 44px; }
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--navy-ink);
  color: #fff;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .15s ease, transform .15s ease;
}
.skip-link:focus {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 68px 0; }
.section--tight { padding: 52px 0; }
.center { text-align: center; }
.mw-720 { max-width: 720px; margin-left: auto; margin-right: auto; }
.mw-640 { max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- Typography scale ---------- */
.display { font-size: clamp(40px, 6vw, 68px); line-height: 1.03; letter-spacing: -.02em; color: var(--ink); }
.h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -.015em; }
.h3 { font-size: clamp(21px, 2.4vw, 26px); line-height: 1.2; }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: var(--text); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.eyebrow--plain::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: 16px; line-height: 1;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform var(--duration-base) var(--ease-layout), box-shadow var(--duration-base) var(--ease-layout), background var(--duration-base) var(--ease-layout), color var(--duration-fast) var(--ease-layout);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: var(--accent-contrast); box-shadow: 0 8px 20px -8px var(--accent-shadow); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 14px 26px -10px var(--accent-shadow); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-strong); transform: translateY(-2px); }
.btn-light { background: color-mix(in srgb, var(--accent-contrast) 12%, transparent); color: var(--accent-contrast); border-color: color-mix(in srgb, var(--accent-contrast) 28%, transparent); }
.btn-light:hover { background: color-mix(in srgb, var(--accent-contrast) 20%, transparent); transform: translateY(-2px); }
.btn-lg { padding: 17px 32px; font-size: 17px; }
.btn-block { width: 100%; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 16px 8px 12px; font-size: 14px; font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(94,195,105,.18); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  padding: 13px 26px 0;
  background: transparent;
  pointer-events: none;
}
.nav__inner {
  position: relative;
  display: flex; align-items: center; gap: 20px;
  width: 100%; max-width: 1200px; height: 53px;
  margin: 0 auto; padding: 10px 14px 10px 10px;
  background: rgba(255, 253, 250, .82);
  border: 1px solid color-mix(in srgb, var(--border) 92%, transparent);
  border-radius: 13px;
  box-shadow: 0 4px 12px rgba(67, 59, 48, .10);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  pointer-events: auto;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--serif); font-size: 24px; letter-spacing: .04em; color: var(--ink); font-weight: 400; }
.brand svg { width: 28px; height: 28px; }
.brand-logo { display: block; height: 28px; width: 112px; object-fit: contain; object-position: left center; }
.nav .brand-logo { width: 132px; height: 32px; }
.nav .brand-logo--header { width: 168px; height: 42px; }
.nav .brand--product { display: none; }
body.theme-apollo .nav .brand--olymp,
body.theme-artemis .nav .brand--olymp { display: none; }
body.theme-apollo .nav .brand--apollo,
body.theme-artemis .nav .brand--artemis { display: inline-flex; }
.footer .brand-logo { filter: none; opacity: .9; }
.nav__links { display: flex; align-items: center; gap: 30px; margin: 0 auto; }
.nav__links a {
  font-size: 14px; font-weight: 600; color: #45474d; padding: 5px 0; border-radius: 0; transition: color var(--duration-fast) var(--ease-layout);
}
.nav__links a:hover { background: transparent; color: #17181a; }
.nav__links a.is-active { color: #17181a; font-weight: 650; box-shadow: inset 0 -1.5px #17181a; }
.nav__mobile-signin { display: none; }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__cta .btn { padding: 9px 17px; font-size: 14px; box-shadow: none; }
.nav__signin { font-size: 14px; font-weight: 600; color: #252629; padding: 7px 4px; }
.nav__signin:hover { color: #000; }
body .nav .nav__cta .btn-primary {
  color: #fff;
  background: #202124;
  border-color: #202124;
}
body .nav .nav__cta .btn-primary:hover {
  color: #fff;
  background: #353638;
  border-color: #353638;
  box-shadow: none;
  transform: translateY(-1px);
}

/* Hamburger — hidden on desktop, shown ≤980px where .nav__links collapses. */
.nav__toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: none; border: 0; border-radius: 10px; cursor: pointer;
}
.nav__toggle:hover { background: #f1f1ef; }
.nav__toggle .bar {
  display: block; height: 2px; width: 100%; border-radius: 2px;
  background: #202124; transition: transform var(--duration-base) var(--ease-layout), opacity var(--duration-base) var(--ease-layout);
}
.nav--open .nav__toggle .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav--open .nav__toggle .bar:nth-child(2) { opacity: 0; }
.nav--open .nav__toggle .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Nav dropdown (product sub-pages) ---------- */
.nav__item { display: inline-flex; align-items: center; }
.nav__item--has-menu { position: relative; }
.nav__menu-trigger { display: inline-flex; align-items: center; gap: 6px; }
.nav__menu-trigger::after {
  content: ""; width: 6px; height: 6px; margin-top: -3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.nav__submenu-toggle { display: none; }
/* Small box tucked directly under the trigger; items stacked vertically. */
.nav__menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 60;
  min-width: 150px; display: flex; flex-direction: column; gap: 2px;
  padding: 6px; margin: 0;
  background: rgba(255, 255, 255, .88); border: 1px solid rgba(224, 230, 239, .9);
  border-radius: 13px; box-shadow: 0 4px 4px rgba(123, 130, 156, .17);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--duration-base) var(--ease-layout), transform var(--duration-base) var(--ease-layout), visibility 0s linear var(--duration-base);
}
/* transparent bridge so the pointer can cross the gap without dropping hover */
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.nav__item--has-menu:hover .nav__menu,
.nav__item--has-menu:focus-within .nav__menu,
.nav__item--has-menu.is-open .nav__menu {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity var(--duration-base) var(--ease-layout), transform var(--duration-base) var(--ease-layout), visibility 0s;
}
.nav__menu a {
  display: block; font-size: 14px; font-weight: 600; color: #45474d;
  padding: 9px 12px; border-radius: 8px; white-space: nowrap; transition: background var(--duration-fast) var(--ease-layout), color var(--duration-fast) var(--ease-layout);
}
.nav__menu a:hover { background: #f3f3f1; color: #17181a; }

/* ---------- Webinar signup gate ---------- */
.webinar-gate {
  width: min(620px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: auto;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}
.webinar-gate::backdrop {
  background: rgba(11, 27, 58, .55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.webinar-gate > div { padding: 42px; }
.webinar-gate__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  width: 38px;
  height: 38px;
  padding: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: #f4f7fb;
  border: 1px solid var(--border);
  border-radius: 50%;
  font: 400 25px/1 var(--sans);
  cursor: pointer;
}
.webinar-gate__close:hover { color: var(--ink); background: var(--tint); }
.webinar-gate__eyebrow {
  display: inline-block;
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.webinar-gate h2 {
  margin-top: 8px;
  padding-right: 34px;
  font-size: clamp(28px, 5vw, 38px);
  line-height: 1.12;
}
.webinar-gate h2 + p { margin-top: 12px; }
.webinar-gate__form { margin-top: 26px; }
.webinar-gate__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 22px;
}
.webinar-gate__fields label { display: grid; gap: 7px; }
.webinar-gate__fields label span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.webinar-gate__fields input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  font: inherit;
}
.webinar-gate__fields input:focus {
  outline: 3px solid rgba(47, 158, 87, .18);
  border-color: var(--green-deep);
}
.webinar-gate__website {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.webinar-gate .btn-primary {
  background: var(--green-deep);
  box-shadow: 0 8px 20px -8px rgba(47, 158, 87, .6);
}
.webinar-gate .btn-primary:hover { background: #268049; }
.webinar-gate .btn-primary:disabled {
  opacity: .65;
  cursor: wait;
}
.webinar-gate__status {
  margin-top: 12px;
  color: #a12622;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}
.webinar-gate__note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}
.webinar-gate__success { text-align: center; }
.webinar-gate__success-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green-deep);
  border-radius: 50%;
  font-size: 25px;
  font-weight: 700;
}
.webinar-gate__success h2 { padding-right: 0; }
.webinar-gate__success .btn { margin-top: 26px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: visible; padding: 72px 0 40px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(720px 420px at 15% -8%, rgba(201, 150, 71, .14), transparent 60%),
    radial-gradient(680px 420px at 100% 0%, rgba(169, 111, 47, .08), transparent 55%);
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
body.theme-apollo .hero__visual,
body.theme-artemis .hero__visual { margin-top: 40px; }
.hero h1 { margin: 20px 0 0; }
.hero .lead { margin-top: 20px; max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; }
.trust-item { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.trust-item svg { width: 17px; height: 17px; color: var(--green-deep); flex: none; }

/* ---------- Product mock (hero visual) ---------- */
.mock {
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow-lg);
  padding: 18px; position: relative;
}
.mock__bar { display: flex; align-items: center; gap: 7px; padding: 4px 4px 14px; }
.mock__bar i { width: 11px; height: 11px; border-radius: 50%; background: #dfe6f1; display: inline-block; }
.mock__search {
  margin-left: 10px; flex: 1; height: 30px; border-radius: 8px; background: #f1f5fc; border: 1px solid var(--border);
  display: flex; align-items: center; padding: 0 12px; font-size: 13px; color: var(--muted); gap: 8px;
}
.mock__row {
  display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 12px; background: #fff;
  border: 1px solid var(--border); margin-top: 10px; box-shadow: var(--shadow-sm);
}
.mock__row .av { width: 34px; height: 34px; border-radius: 50%; flex: none; background: linear-gradient(135deg, var(--accent-strong), var(--accent)); color: var(--accent-contrast); display: grid; place-items: center; font-weight: 700; font-size: 13px; font-family: var(--sans); }
.mock__row > span:not(.av):not(.badge-ok) { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mock__row .nm { display: block; font-weight: 600; color: var(--ink); font-size: 14.5px; font-family: var(--sans); }
.mock__row .sub { display: block; font-size: 12.5px; color: var(--muted); font-family: var(--sans); }
.badge-ok { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; background: var(--accent-soft); color: var(--green-deep); font-weight: 600; font-size: 12.5px; padding: 6px 11px; border-radius: 999px; font-family: var(--sans); }
.theme-artemis .badge-ok { color: var(--green-deep); }
.badge-ok .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.mock__note {
  margin-top: 12px; background: #f7faff; border: 1px solid var(--border); border-radius: 12px; padding: 14px; font-family: var(--sans);
}
.mock__note .l { height: 9px; border-radius: 5px; background: #e4ecf8; margin-top: 9px; }
.mock__note .l.w1 { width: 90%; } .mock__note .l.w2 { width: 70%; } .mock__note .l.w3 { width: 80%; }
.mock__float {
  position: absolute; right: -14px; bottom: 26px; background: #fff; border: 1px solid var(--border);
  border-radius: 14px; padding: 12px 15px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 10px; font-family: var(--sans);
}
.mock__float .ic { width: 32px; height: 32px; border-radius: 9px; background: var(--accent-soft); color: var(--green-deep); display: grid; place-items: center; }
.mock__float b { font-size: 13.5px; color: var(--ink); display: block; }
.mock__float span { font-size: 12px; color: var(--muted); }

/* ---------- Logo / trust strip ---------- */
.strip { padding: 30px 0 6px; }
#products {
  padding-top: 30px;
  scroll-margin-top: 80px;
}
.strip__label { text-align: center; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.strip__logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; margin-top: 22px; }
.strip__logos span { font-family: var(--serif); font-size: 22px; color: #91877b; letter-spacing: .02em; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm); }
.stat .n { font-family: var(--serif); font-size: clamp(38px, 4.5vw, 52px); line-height: 1; color: var(--accent); }
.stat .k { margin-top: 10px; font-size: 15px; color: var(--text); font-weight: 500; }

/* ---------- Section heads ---------- */
.head { max-width: 720px; }
.head.center { margin: 0 auto; }
.head h2 { margin: 14px 0 0; }
.head p { margin-top: 16px; }

/* ---------- Problem / Solution split ---------- */
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.panel { border-radius: var(--radius); padding: 32px; border: 1px solid var(--border); }
.panel--pain { background: #fff5f4; border-color: #f7dcd8; }
.panel--gain { background: linear-gradient(180deg, #f2fbf4, #ffffff); border-color: #d6efdc; }
.panel h3 { font-size: 22px; display: flex; align-items: center; gap: 10px; }
.panel__tag { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.panel--pain .panel__tag { background: #fbe3df; color: #b4463a; }
.panel--gain .panel__tag { background: #d8f2de; color: var(--green-deep); }
.plist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.plist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--text); }
.plist .ic { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }
.panel--pain .ic { background: #fbe3df; color: #c04a3c; }
.panel--gain .ic { background: #d8f2de; color: var(--green-deep); }
.plist .ic svg { width: 13px; height: 13px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 48px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); position: relative; }
.step__n { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-family: var(--serif); font-size: 20px; display: grid; place-items: center; }
.step h3 { font-size: 19px; margin: 18px 0 8px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* ---------- Feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); transition: transform var(--duration-base) var(--ease-layout), box-shadow var(--duration-base) var(--ease-layout), border-color var(--duration-base) var(--ease-layout); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.feature .ic { width: 48px; height: 48px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.feature .ic svg { width: 24px; height: 24px; }
.feature h3 { font-size: 20px; margin: 20px 0 10px; }
.feature p { font-size: 15px; color: var(--muted); }
.feature--wide { grid-column: span 3; display: grid; grid-template-columns: 1.1fr 1fr; gap: 8px; align-items: center; background: linear-gradient(120deg, var(--accent-deep), var(--accent-strong)); color: #fff; padding: 44px; }
.feature--wide h3, .feature--wide { color: #fff; }
.feature--wide h3 { font-size: 30px; color: #fff; }
.feature--wide p { color: rgba(255,255,255,.8); font-size: 16px; margin-top: 12px; }
.feature--wide .ic { background: rgba(255,255,255,.14); color: #fff; }

/* ---------- Security (light) ---------- */
.secure { position: relative; }
.secure__head { max-width: 640px; }
.secure h2 { margin-top: 14px; }
.secure__head p { color: var(--text); margin-top: 16px; }
.secure__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.sfeat { position: relative; display: block; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 28px 26px; box-shadow: var(--shadow-sm); transition: transform var(--duration-base) var(--ease-layout), box-shadow var(--duration-base) var(--ease-layout), border-color var(--duration-base) var(--ease-layout); }
.sfeat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.sfeat::after { content: "↗"; position: absolute; top: 22px; right: 22px; color: var(--accent); font-size: 18px; opacity: .55; transition: transform var(--duration-base) var(--ease-layout), opacity var(--duration-base) var(--ease-layout); }
.sfeat:hover::after, .sfeat:focus-visible::after { transform: translate(2px, -2px); opacity: 1; }
/* Icon tiles pick up only the current semantic accent. */
.sfeat .ic { width: 48px; height: 48px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.sfeat .ic svg { width: 24px; height: 24px; }
.sfeat h3 { color: var(--ink); font-size: 18px; margin: 18px 0 8px; }
.sfeat p { color: var(--text); font-size: 14.5px; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.quote { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.quote .stars { color: #f5a623; letter-spacing: 2px; font-size: 15px; }
.quote blockquote { margin: 16px 0 0; font-size: 17px; line-height: 1.55; color: var(--text); font-family: var(--sans); }
.quote figcaption { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
.quote .av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-strong), var(--accent)); color: var(--accent-contrast); display: grid; place-items: center; font-weight: 700; font-family: var(--sans); }
.quote .who b { display: block; color: var(--ink); font-size: 15px; font-family: var(--sans); }
.quote .who span { font-size: 13px; color: var(--muted); font-family: var(--sans); }
.quote--feat { grid-column: span 3; background: linear-gradient(120deg, var(--accent-soft), var(--surface)); border-color: var(--border-strong); }
.quote--feat blockquote { font-size: clamp(20px, 2.6vw, 28px); font-family: var(--serif); color: var(--ink); line-height: 1.35; }

/* ---------- CTA band ---------- */
.cta {
  margin-inline: -24px; padding: clamp(40px, 5vw, 52px); color: var(--accent-contrast);
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  border-radius: 30px; text-align: center; position: relative; overflow: hidden;
}
.cta::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(500px 300px at 50% -20%, rgba(255,255,255,.25), transparent 70%); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: var(--accent-contrast); }
.cta p { color: color-mix(in srgb, var(--accent-contrast) 84%, transparent); margin: 16px auto 0; max-width: 560px; }
.cta__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.cta .btn-primary { background: var(--surface); color: var(--accent-strong); box-shadow: 0 10px 30px -10px rgba(0,0,0,.28); }
.cta .btn-primary:hover { background: #fff; }
.cta__fine { margin-top: 18px; font-size: 13.5px; color: color-mix(in srgb, var(--accent-contrast) 72%, transparent); }

/* Shared ornamental frame for security and other trust chapters. Product
   themes replace the image, never the component geometry. */
.section--framed { padding: 68px 0; }
.section--framed > .wrap {
  --frame-inset: clamp(24px, 3.6vw, 44px);
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--frame-inset) + clamp(28px, 3.5vw, 44px))
           calc(var(--frame-inset) + clamp(18px, 3vw, 40px));
  background: var(--tint-2);
  border: 1px solid var(--border-strong); border-radius: 30px;
  box-shadow: var(--shadow-lg);
}
.section--framed > .wrap.is-bg-loaded {
  background: var(--frame-overlay), var(--frame-image) center / cover no-repeat;
}
.section--framed > .wrap::before {
  content: ""; position: absolute; inset: var(--frame-inset); z-index: 0;
  border-radius: 18px; background: color-mix(in srgb, var(--tint-2) 96%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7); pointer-events: none;
}
.section--framed > .wrap > * { position: relative; z-index: 1; }
.section--framed .secure__grid { margin-top: 48px; }

/* Carousels share one neutral housing; product color belongs to controls. */
.feature-carousel-frame {
  padding: clamp(40px, 5vw, 60px) clamp(24px, 4vw, 56px);
  background: var(--tint-2); border: 1px solid var(--border-strong);
  border-radius: 30px; box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.55);
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 44px auto 0; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 6px 22px; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-family: var(--sans); font-weight: 600; font-size: 17px; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--accent); font-weight: 400; transition: transform var(--duration-base) var(--ease-layout); line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--text); font-size: 15.5px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border-strong); background: var(--tint-2); color: var(--text); padding: 64px 0 32px; margin-top: 0; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer .brand { color: var(--ink); }
.footer .brand svg { color: var(--ink); }
.footer__blurb { margin-top: 16px; font-size: 14.5px; max-width: 300px; }
.footer__swiss-made { display: block; width: 138px; height: auto; margin-top: 24px; }
.footer h2 { font-family: var(--serif); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); font-weight: 750; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer a { font-size: 14.5px; color: var(--text); }
.footer a:hover { color: var(--ink); }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border-strong); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.footer__bottom,
.footer__bottom a { color: var(--muted); }
.footer__utilities { display: flex; align-items: center; gap: 20px; }
.footer__cookie-settings {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}
.footer__cookie-settings:hover { color: var(--ink); }
.footer__language { min-height: 36px; display: flex; align-items: center; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--duration-slow) var(--ease-enter), transform var(--duration-slow) var(--ease-enter); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 520px; }
  body.theme-apollo .hero__visual,
  body.theme-artemis .hero__visual { margin-top: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature--wide { grid-column: span 2; grid-template-columns: 1fr; }
  .secure__grid { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .quote--feat { grid-column: span 1; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1100px) {
  /* Product security panels stay clean and spacious on tablets and phones. */
  body.theme-apollo .section--framed > .wrap,
  body.theme-artemis .section--framed > .wrap {
    --frame-inset: 0px;
    padding: clamp(32px, 5vw, 48px) clamp(20px, 4vw, 40px);
  }
  body.theme-apollo .section--framed > .wrap.is-bg-loaded,
  body.theme-artemis .section--framed > .wrap.is-bg-loaded {
    background: var(--tint-2);
  }
  body.theme-apollo .section--framed > .wrap::before,
  body.theme-artemis .section--framed > .wrap::before {
    display: none;
  }
  body.theme-apollo .secure__grid .sfeat,
  body.theme-artemis .secure__grid .sfeat {
    display: flex;
    flex-direction: column;
    aspect-ratio: 4 / 3;
  }

  /* Collapsed nav: links move into a dropdown panel toggled by the hamburger. */
  .nav__cta { margin-left: auto; }
  .nav__toggle { display: flex; }
  .nav__links {
    display: none;
    position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    margin: 0; padding: 10px 16px 16px;
    background: rgba(255, 255, 255, .97); backdrop-filter: saturate(160%) blur(14px);
    border: 1px solid var(--border); border-radius: 13px;
    box-shadow: var(--shadow-md);
  }
  .nav--open .nav__links { display: flex; }
  .nav__links a { padding: 13px 14px; font-size: 16px; border-radius: 9px; }
  .nav__links a:hover { background: #f3f3f1; }

  /* Keep product sub-pages collapsed until their adjacent control is tapped. */
  .nav__item, .nav__item--has-menu {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
    width: 100%;
  }
  .nav__menu-trigger::after { display: none; }
  .nav__submenu-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-right: 2px; padding: 0;
    color: #344054; background: transparent; border: 0; border-radius: 9px;
    cursor: pointer;
  }
  .nav__submenu-toggle:hover { color: #17181a; background: #f3f3f1; }
  .nav__submenu-caret {
    width: 8px; height: 8px; margin-top: -4px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); transition: transform .16s ease, margin .16s ease;
  }
  .nav__item--has-menu.is-open .nav__submenu-caret {
    margin-top: 4px; transform: rotate(225deg);
  }
  .nav__menu {
    position: static; display: none; grid-column: 1 / -1;
    opacity: 1; visibility: visible; transform: none;
    min-width: 0; padding: 0 0 0 12px; margin: 0 0 4px;
    background: transparent; border: 0; border-radius: 0; box-shadow: none;
  }
  .nav__item--has-menu.is-open .nav__menu { display: flex; }
  .nav__menu::before { display: none; }
  .nav__menu a { font-size: 15px; padding: 11px 14px; }
}
@media (max-width: 640px) {
  :root { --nav-offset: 61px; }
  .hero-home { --first-section-pad: 38px; }
  main > section.section:first-child:not(.price-hero) { --first-section-pad: 52px; }
  .wrap { padding-inline: 18px; }
  .section { padding: 52px 0; }
  .ps-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .steps, .features { grid-template-columns: 1fr; }
  .secure__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 30px;
  }
  body.theme-apollo .secure__grid .sfeat,
  body.theme-artemis .secure__grid .sfeat {
    min-width: 0;
    min-height: 160px;
    aspect-ratio: 1;
    padding: 18px 13px;
    border-radius: 10px;
  }
  .sfeat::after {
    top: 14px;
    right: 13px;
    font-size: 15px;
  }
  .sfeat .ic {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }
  .sfeat .ic svg { width: 21px; height: 21px; }
  .sfeat h3 {
    margin: 14px 0 6px;
    font-size: 15px;
    line-height: 1.25;
    hyphens: none;
    word-break: normal;
    overflow-wrap: normal;
  }
  .sfeat p {
    display: none;
  }
  .feature--wide { grid-column: span 1; }
  .cta { margin-inline: 0; padding: 40px 26px; border-radius: 22px; }
  .section--framed { padding: 52px 8px; }
  .section--framed > .wrap {
    --frame-inset: 0px;
    padding: 30px 14px;
    border-radius: 22px;
  }
  .section--framed > .wrap::before { border-radius: 12px; }
  .feature-carousel-frame {
    width: calc(100% - 32px);
    margin-inline: auto;
    padding: 34px 20px;
    border-radius: 22px;
  }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .nav { padding: 9px 12px 0; }
  .nav__inner { gap: 12px; height: 52px; padding-right: 7px; }
  .nav .brand-logo { width: 108px; height: 28px; }
  .nav .brand-logo--header { width: 142px; height: 36px; }
  .nav__cta { gap: 7px; }
  .nav__signin { display: inline-flex; padding-inline: 0; font-size: 13px; }
  .nav__cta .btn { padding: 9px 11px; font-size: 13px; }
  .nav__toggle { width: 40px; height: 40px; }
  .mock__float { display: none; }
}
@media (max-width: 480px) {
  :root { --nav-offset: 60px; }
  .hero { --first-section-pad: 48px; }
  body.theme-apollo .hero,
  body.theme-artemis .hero { --first-section-pad: 72px; }
  main > section.section:first-child:not(.price-hero) { --first-section-pad: 44px; }
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  .section,
  .section--tight { padding-block: 44px; }
  .display { font-size: clamp(36px, 11vw, 46px); }
  .h2 { font-size: clamp(28px, 9vw, 36px); }
  .lead { font-size: 17px; }

  .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
  .nav__cta .btn {
    width: auto;
    white-space: nowrap;
  }
  .hero { padding-top: 48px; }
  .hero__grid { gap: 30px; }
  .hero__cta,
  .cta__btns { flex-direction: column; }
  .hero__cta .btn,
  .cta__btns .btn { width: 100%; }
  .hero__trust { display: grid; gap: 10px; }

  .stats { grid-template-columns: 1fr; gap: 14px; }
  .stat { padding: 24px 22px; }
  .panel,
  .feature,
  .sfeat,
  .quote { padding: 24px 20px; }
  .feature--wide { padding: 30px 22px; }
  .feature--wide h3 { font-size: 25px; }
  .cta { padding: 34px 20px; }
  .faq { margin-top: 30px; }
  .faq details { padding-inline: 16px; }
  .faq summary { font-size: 16px; line-height: 1.35; }

  .footer { padding-top: 48px; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { align-items: flex-start; flex-direction: column; }
  .footer__utilities { width: 100%; justify-content: space-between; }

  .nav { padding: 8px 8px 0; }
  .nav__inner {
    gap: 8px;
    padding: 6px 6px 6px 9px;
  }
  .nav .brand-logo { width: 98px; height: 26px; }
  .nav .brand-logo--header { width: 128px; height: 32px; }
  .nav__signin { display: none; }
  .nav__mobile-signin { display: block; }
  .nav__cta { gap: 4px; margin-left: auto; }
  .nav__cta .btn { padding: 9px 10px; font-size: 12.5px; }
  .nav__toggle { flex: 0 0 40px; }
  .nav__links {
    max-height: calc(100dvh - 82px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px 10px 12px;
  }
  .nav__links a { padding: 12px; }
  .webinar-gate > div { padding: 34px 22px 26px; }
  .webinar-gate__fields { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 360px) {
  .nav__signin { display: none; }
  .nav__cta .btn { padding-inline: 9px; }
}

@media (max-width: 340px) {
  .footer__utilities {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px 20px;
  }

  .footer__language {
    flex: 0 0 100%;
  }
}
