/* ---------- 2026-12-01: card containers in the Aurora/Midnight style ----------
   Calling-feature cards, the Cisco/monitoring index cards and the quick links: glass card, gradient icon
   badge, title without underline, whole card clickable (stretched link), lift and glow on hover.
   Colours come from the theme tokens where possible; the per-group accent pair is --cx-a/--cx-b. */
html[data-ui-theme] .site {
  --cx-a: #7c5cff; --cx-b: #c2489b;
  --cx-card: linear-gradient(180deg, #ffffff 0%, #fbfaff 100%);
  --cx-border: #e6e0f6;
  --cx-shadow: inset 0 1px 0 #fff, 0 14px 34px -28px #3b2a8a73;
  --cx-shadow-hover: 0 24px 46px -26px color-mix(in srgb, var(--cx-a) 55%, transparent);
  --cx-ico-bg: linear-gradient(135deg, color-mix(in srgb, var(--cx-a) 14%, #fff), color-mix(in srgb, var(--cx-b) 10%, #fff));
  --cx-ico-fg: color-mix(in srgb, var(--cx-a) 82%, #1f1b3d);
}
html[data-ui-theme="midnight"] .site {
  --cx-a: #8e7dff; --cx-b: #d064b0;
  --cx-card: linear-gradient(180deg, #171e39 0%, #121931 100%);
  --cx-border: #283257;
  --cx-shadow: inset 0 1px 0 #ffffff0d, 0 18px 40px -30px #000;
  --cx-shadow-hover: 0 24px 50px -26px color-mix(in srgb, var(--cx-a) 60%, transparent);
  --cx-ico-bg: linear-gradient(135deg, color-mix(in srgb, var(--cx-a) 26%, #131a31), color-mix(in srgb, var(--cx-b) 18%, #131a31));
  --cx-ico-fg: color-mix(in srgb, var(--cx-a) 55%, #fff);
}
html[data-ui-theme] .site .cf-group--team { --cx-a: #9a47de; --cx-b: #e0559b; }
html[data-ui-theme] .site .cf-group--everyday { --cx-a: #1aa88a; --cx-b: #2f8fd8; }
html[data-ui-theme] .site .cf-group--insights { --cx-a: #3d7be6; --cx-b: #7c5cff; }
html[data-ui-theme="midnight"] .site .cf-group--everyday { --cx-a: #36d6b0; --cx-b: #4aa8f0; }
html[data-ui-theme="midnight"] .site .cf-group--insights { --cx-a: #5f96ff; --cx-b: #8e7dff; }

/* shared card */
html[data-ui-theme] .site .tiles > .tile.cf-card,
html[data-ui-theme] .site .home-index > .hx-card {
  position: relative; display: flex; flex-direction: column; gap: 0; min-width: 0;
  padding: 24px 24px 22px; border: 1px solid var(--cx-border); border-radius: 20px;
  background: radial-gradient(90% 70% at 100% 0%, color-mix(in srgb, var(--cx-a) 9%, transparent), transparent 70%), var(--cx-card); box-shadow: var(--cx-shadow); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
html[data-ui-theme] .site .tiles > .tile.cf-card::before,
html[data-ui-theme] .site .home-index > .hx-card::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--cx-a), var(--cx-b)); opacity: 0; transition: opacity .25s ease;
}
html[data-ui-theme] .site .tiles > .tile.cf-card:hover,
html[data-ui-theme] .site .home-index > .hx-card:hover {
  transform: translateY(-3px); border-color: color-mix(in srgb, var(--cx-a) 45%, var(--cx-border)); box-shadow: var(--cx-shadow-hover);
}
html[data-ui-theme] .site :is(.tiles > .tile.cf-card, .home-index > .hx-card):is(:hover, :focus-within)::before { opacity: 1; }
html[data-ui-theme] .site :is(.tiles > .tile.cf-card, .home-index > .hx-card):focus-within { outline: 2px solid color-mix(in srgb, var(--cx-a) 70%, transparent); outline-offset: 3px; }

/* icon badge: gradient of the group accent, white glyph */
html[data-ui-theme] .site .hx-ico {
  display: grid; place-items: center; flex: 0 0 auto; width: 46px; height: 46px; margin: 0 0 18px; border-radius: 14px;
  background: linear-gradient(135deg, var(--cx-a), var(--cx-b)); color: #fff;
  box-shadow: 0 12px 24px -14px var(--cx-a), inset 0 1px 0 #ffffff40;
  transition: transform .3s cubic-bezier(.2,.8,.3,1.4), box-shadow .25s ease;
}
html[data-ui-theme] .site .hx-ico .icon { width: 22px; height: 22px; stroke-width: 1.9; color: #fff; }
html[data-ui-theme] .site :is(.cf-card, .hx-card):hover .hx-ico { transform: scale(1.06) rotate(-4deg); box-shadow: 0 16px 28px -14px var(--cx-a), inset 0 1px 0 #ffffff40; }

/* title: no underline, stretched link makes the whole card clickable */
html[data-ui-theme] .site :is(.cf-card .tile__title, .hx-card h3) { margin: 0 0 8px; font-size: 17px; line-height: 1.4; font-weight: 700; letter-spacing: -.01em; }
html[data-ui-theme] .site :is(.cf-card .tile__title a, .hx-card h3 a) {
  color: var(--ui-heading); text-decoration: none; display: inline; padding: 0; background: none;
}
html[data-ui-theme] .site :is(.cf-card .tile__title a, .hx-card h3 a)::after { content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
html[data-ui-theme] .site :is(.cf-card .tile__title a, .hx-card h3 a):focus-visible { outline: none; }
html[data-ui-theme] .site .hx-card h3 a .icon { display: none; }
html[data-ui-theme] .site :is(.cf-card, .hx-card):hover :is(.tile__title a, h3 a) { color: color-mix(in srgb, var(--cx-a) 80%, var(--ui-heading)); }
html[data-ui-theme] .site :is(.cf-card, .hx-card) > p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--ui-muted); }

/* "Funktion im Detail" as a quiet footer with a sliding arrow */
html[data-ui-theme] .site .cf-card > .cf-card__more {
  display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 18px;
  font-size: 13px; font-weight: 600; color: var(--ui-accent-text);
}
html[data-ui-theme] .site .cf-card__more .icon { width: 16px; height: 16px; transition: transform .25s ease; }
html[data-ui-theme] .site .cf-card:hover .cf-card__more .icon { transform: translateX(4px); }

/* group headings of the calling-feature catalogue */
html[data-ui-theme] .site .cf-group .shead__text > :is(h2, h3) { display: flex; align-items: center; gap: 12px; flex-wrap: nowrap; }
html[data-ui-theme] .site .cf-group .shead h2 { padding-left: 0; }
html[data-ui-theme] .site .cf-group .shead h2::before { content: none; }
html[data-ui-theme] .site .cf-group__ico {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--cx-a), var(--cx-b)); color: #fff; box-shadow: 0 10px 22px -12px var(--cx-a);
}
html[data-ui-theme] .site .cf-group__ico .icon { width: 20px; height: 20px; stroke-width: 1.9; }
html[data-ui-theme] .site .cf-group__count {
  display: inline-grid; place-items: center; min-width: 30px; height: 24px; padding: 0 9px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0; color: var(--cx-ico-fg); background: var(--cx-ico-bg);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cx-a) 20%, transparent);
}
html[data-ui-theme] .site .cf-group + .cf-group { margin-top: 20px; }

html[data-ui-theme] .site .home-index > .hx-card:nth-child(2) { --cx-a: #9a47de; --cx-b: #e0559b; }
html[data-ui-theme] .site .home-index > .hx-card:nth-child(3) { --cx-a: #1aa88a; --cx-b: #2f8fd8; }
html[data-ui-theme] .site .home-index > .hx-card:nth-child(4) { --cx-a: #3d7be6; --cx-b: #7c5cff; }
/* index cards (Cisco, monitoring): chips and media stay as they are, just the card shell changes */
html[data-ui-theme] .site .home-index > .hx-card { padding: 24px; }
html[data-ui-theme] .site .home-index--cucm > .hx-card { border-top-color: var(--cx-border); }

/* quick links under the carousel, each with its own accent pair */
html[data-ui-theme] .site .qlinks__list li:nth-child(2) { --cx-a: #9a47de; --cx-b: #e0559b; }
html[data-ui-theme] .site .qlinks__list li:nth-child(3) { --cx-a: #3d7be6; --cx-b: #7c5cff; }
html[data-ui-theme] .site .qlinks__list li:nth-child(4) { --cx-a: #1aa88a; --cx-b: #2f8fd8; }
html[data-ui-theme] .site .qlinks__list li:nth-child(5) { --cx-a: #e0559b; --cx-b: #f08a4b; }
html[data-ui-theme] .site .qlinks__list li:nth-child(6) { --cx-a: #6a4cf0; --cx-b: #36a9d6; }
html[data-ui-theme] .site .qlinks .qlinks__list a {
  position: relative; display: flex; flex-direction: row; align-items: center; gap: 14px; min-height: 84px; padding: 16px 18px;
  border: 1px solid var(--cx-border); border-radius: 18px; background: var(--cx-card); box-shadow: var(--cx-shadow);
  text-decoration: none; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
html[data-ui-theme] .site .qlinks .qlinks__list a .icon {
  flex: 0 0 44px; width: 44px; height: 44px; padding: 11px; border-radius: 13px;
  background: linear-gradient(135deg, var(--cx-a), var(--cx-b)); color: #fff; stroke-width: 1.9;
  box-shadow: 0 12px 24px -14px var(--cx-a);
  transition: transform .3s cubic-bezier(.2,.8,.3,1.4);
}
html[data-ui-theme] .site .qlinks .qlinks__list a span { font-size: 14px; line-height: 1.35; font-weight: 600; color: var(--ui-heading); text-decoration: none; }
html[data-ui-theme] .site .qlinks .qlinks__list a::after {
  content: '→'; margin-left: auto; font-size: 15px; color: var(--ui-accent-text); opacity: 0; transform: translateX(-6px);
  transition: opacity .25s ease, transform .25s ease;
}
html[data-ui-theme] .site .qlinks .qlinks__list a:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--cx-a) 45%, var(--cx-border)); box-shadow: var(--cx-shadow-hover); background: var(--cx-card); }
html[data-ui-theme] .site .qlinks .qlinks__list a:hover .icon { transform: scale(1.06) rotate(-4deg); }
html[data-ui-theme] .site .qlinks .qlinks__list a:hover::after { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html[data-ui-theme] .site :is(.tiles > .tile.cf-card, .home-index > .hx-card, .qlinks .qlinks__list a) { transition: none; }
  html[data-ui-theme] .site :is(.tiles > .tile.cf-card, .home-index > .hx-card, .qlinks .qlinks__list a):hover { transform: none; }
}
@media (max-width: 700px) {
  html[data-ui-theme] .site :is(.tiles > .tile.cf-card, .home-index > .hx-card) { padding: 20px; border-radius: 16px; }
  html[data-ui-theme] .site .hx-ico { width: 40px; height: 40px; margin-bottom: 14px; border-radius: 12px; }
  html[data-ui-theme] .site .qlinks .qlinks__list a { min-height: 72px; padding: 12px; gap: 10px; border-radius: 14px; }
  html[data-ui-theme] .site .qlinks .qlinks__list a .icon { flex-basis: 36px; width: 36px; height: 36px; padding: 8px; border-radius: 10px; }
  html[data-ui-theme] .site .qlinks .qlinks__list a span { font-size: 12px; }
  html[data-ui-theme] .site .qlinks .qlinks__list a::after { display: none; }
}

/* ---------- 2026-12-01 (2): the same card look on all product pages ----------
   Every .tile in .tiles/.steps/.checklist/.security-process (except the calling-feature cards above and
   the pricing notes) and the generic cards (.cards > .card, platform/use-case cards, side cards) get the
   glass shell with a corner glow. Accent pairs cycle per card so badges and numbers stay colourful. */
html[data-ui-theme] .site :is(.tiles, .steps, .checklist, .security-process, .cards, .pd-cards, .uc-grid, .pd-groups) > :nth-child(4n+2) { --cx-a: #9a47de; --cx-b: #e0559b; }
html[data-ui-theme] .site :is(.tiles, .steps, .checklist, .security-process, .cards, .pd-cards, .uc-grid, .pd-groups) > :nth-child(4n+3) { --cx-a: #1aa88a; --cx-b: #2f8fd8; }
html[data-ui-theme] .site :is(.tiles, .steps, .checklist, .security-process, .cards, .pd-cards, .uc-grid, .pd-groups) > :nth-child(4n+4) { --cx-a: #3d7be6; --cx-b: #7c5cff; }
html[data-ui-theme="midnight"] .site :is(.tiles, .steps, .checklist, .security-process, .cards, .pd-cards, .uc-grid, .pd-groups) > :nth-child(4n+3) { --cx-a: #2fc7a3; --cx-b: #4aa8f0; }
html[data-ui-theme="midnight"] .site :is(.tiles, .steps, .checklist, .security-process, .cards, .pd-cards, .uc-grid, .pd-groups) > :nth-child(4n+4) { --cx-a: #5f96ff; --cx-b: #8e7dff; }

html[data-ui-theme] .site :is(.tiles, .steps, .checklist, .security-process) > .tile:not(.cf-card, .tile--note),
html[data-ui-theme] .site :is(.cards > .card, .pd-cards > .pd-card, .uc-grid > .uc-card, .pd-groups > .pd-group, .side-card) {
  position: relative; border: 1px solid var(--cx-border); border-radius: 20px;
  background: radial-gradient(90% 70% at 100% 0%, color-mix(in srgb, var(--cx-a) 9%, transparent), transparent 70%), var(--cx-card);
  box-shadow: var(--cx-shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
html[data-ui-theme] .site :is(.tiles, .steps, .checklist, .security-process) > .tile:not(.cf-card, .tile--note) { padding: 26px; overflow: hidden; }
html[data-ui-theme] .site :is(.tiles, .steps) > .tile.tile--sm { padding: 22px 22px 20px; }
html[data-ui-theme] .site :is(.tiles) > .tile.tile--lg { padding: 28px; }

/* lift + gradient edge only where the card holds a link */
html[data-ui-theme] .site :is(.tiles, .steps, .checklist, .security-process) > .tile:not(.cf-card, .tile--note)::before,
html[data-ui-theme] .site :is(.cards > .card, .pd-cards > .pd-card, .uc-grid > .uc-card)::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 1; border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg, var(--cx-a), var(--cx-b)); opacity: 0; transition: opacity .25s ease; pointer-events: none;
}
html[data-ui-theme] .site :is(:is(.tiles, .steps, .checklist, .security-process) > .tile:not(.cf-card, .tile--note), .cards > .card, .pd-cards > .pd-card, .uc-grid > .uc-card):has(a[href]):hover {
  transform: translateY(-3px); border-color: color-mix(in srgb, var(--cx-a) 45%, var(--cx-border)); box-shadow: var(--cx-shadow-hover);
}
html[data-ui-theme] .site :is(:is(.tiles, .steps, .checklist, .security-process) > .tile:not(.cf-card, .tile--note), .cards > .card, .pd-cards > .pd-card, .uc-grid > .uc-card):has(a[href]):hover::before { opacity: 1; }

/* titles and text inside the tiles */
html[data-ui-theme] .site :is(.tiles, .steps, .checklist, .security-process) > .tile:not(.cf-card, .tile--note) :is(h3, h4, .tile__title) { color: var(--ui-heading); font-size: 17px; line-height: 1.4; font-weight: 700; letter-spacing: -.01em; margin: 0 0 8px; }
html[data-ui-theme] .site :is(.tiles, .steps, .checklist, .security-process) > .tile:not(.cf-card, .tile--note) .tile__title a { color: inherit; text-decoration: none; }
html[data-ui-theme] .site :is(.tiles, .steps, .checklist, .security-process) > .tile:not(.cf-card, .tile--note) .tile__title a::after { content: ''; position: absolute; inset: 0; z-index: 2; }
html[data-ui-theme] .site :is(.tiles, .steps, .checklist, .security-process) > .tile:not(.cf-card, .tile--note):hover .tile__title a { color: color-mix(in srgb, var(--cx-a) 80%, var(--ui-heading)); }
html[data-ui-theme] .site :is(.tiles, .steps, .checklist, .security-process) > .tile:not(.cf-card, .tile--note) p { font-size: 14.5px; line-height: 1.7; color: var(--ui-muted); }
html[data-ui-theme] .site :is(.tiles, .steps) > .tile.tile--sm p { font-size: 14px; line-height: 1.6; }
html[data-ui-theme] .site :is(.tiles, .steps, .checklist, .security-process) > .tile:not(.cf-card, .tile--note) .tile__more { position: relative; z-index: 3; margin-top: 14px; }

/* step numbers: gradient squircles in the cycling accent */
html[data-ui-theme] .site :is(.steps, .security-process) .steps__n,
html[data-ui-theme] .site :is(.tiles, .steps) > .tile .steps__n {
  width: 42px; height: 42px; margin: 0 0 18px; border-radius: 13px; font: 700 15px/1 var(--f);
  background: linear-gradient(135deg, var(--cx-a), var(--cx-b)); color: #fff;
  box-shadow: 0 12px 24px -14px var(--cx-a), inset 0 1px 0 #ffffff40;
}

/* icon glyphs (Engineer "Warum", CUCM portal) */
html[data-ui-theme] .site .tile--icon .tile__glyph {
  width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--cx-a), var(--cx-b)); color: #fff;
  box-shadow: 0 12px 24px -14px var(--cx-a), inset 0 1px 0 #ffffff40;
}
html[data-ui-theme] .site .tile--icon .tile__glyph .icon { color: #fff; stroke-width: 1.9; }

/* mono kicker pill ("Webex App", "Schleifen", ...) as a tinted chip */
html[data-ui-theme] .site .tile > .pill.pill--quiet {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 16px; padding: 4px 11px; border: 0; border-radius: 999px;
  background: var(--cx-ico-bg); color: var(--cx-ico-fg); font-size: 11.5px; font-weight: 600; letter-spacing: .02em;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cx-a) 22%, transparent);
}
html[data-ui-theme] .site .tile > .pill.pill--quiet::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(135deg, var(--cx-a), var(--cx-b)); }

/* checklist ticks */
html[data-ui-theme] .site .checklist > .tile .checklist__box { background: linear-gradient(135deg, var(--cx-a), var(--cx-b)); color: #fff; border-radius: 9px; box-shadow: 0 8px 18px -12px var(--cx-a); }

@media (prefers-reduced-motion: reduce) {
  html[data-ui-theme] .site :is(:is(.tiles, .steps, .checklist, .security-process) > .tile, .cards > .card, .pd-cards > .pd-card, .uc-grid > .uc-card):hover { transform: none; }
}
@media (max-width: 700px) {
  html[data-ui-theme] .site :is(.tiles, .steps, .checklist, .security-process) > .tile:not(.cf-card, .tile--note) { padding: 20px; border-radius: 16px; }
}

/* platform cards: gradient icon badge, no underline on hover */
html[data-ui-theme] .site .pd-cards > .pd-card .pd-card__icon {
  width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(135deg, var(--cx-a), var(--cx-b)); color: #fff;
  box-shadow: 0 12px 24px -14px var(--cx-a), inset 0 1px 0 #ffffff40;
}
html[data-ui-theme] .site .pd-cards > .pd-card .pd-card__icon .icon { color: #fff; }
html[data-ui-theme] .site .pd-cards > .pd-card:hover .pd-card__title a { text-decoration: none; color: color-mix(in srgb, var(--cx-a) 80%, var(--ui-heading)); }

/* platform callouts: tinted glass with a gradient edge instead of the flat lavender bar */
html[data-ui-theme] .site .pd-alert {
  --al: var(--ui-accent); position: relative; padding: 16px 18px 16px 22px; border: 1px solid color-mix(in srgb, var(--al) 24%, var(--cx-border)); border-left: 0; border-radius: 16px;
  background: linear-gradient(120deg, color-mix(in srgb, var(--al) 9%, var(--ui-surface-solid)), var(--ui-surface-solid) 70%); overflow: hidden;
}
html[data-ui-theme] .site .pd-alert::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--al), color-mix(in srgb, var(--al) 45%, #c2489b)); }
html[data-ui-theme] .site .pd-alert--tip { --al: #1aa88a; }
html[data-ui-theme] .site .pd-alert--important { --al: #9a47de; }
html[data-ui-theme] .site .pd-alert--warning { --al: #e08a2b; }
html[data-ui-theme] .site .pd-alert .pd-alert__label { color: color-mix(in srgb, var(--al) 80%, var(--ui-heading)); }

/* download order box */
html[data-ui-theme] .site .order-box {
  border: 1px solid var(--cx-border); border-radius: 20px;
  background: radial-gradient(90% 70% at 100% 0%, color-mix(in srgb, var(--cx-a) 9%, transparent), transparent 70%), var(--cx-card); box-shadow: var(--cx-shadow);
}

/* ---------- 2026-12-01 (3): no sideways scrolling on phones ----------
   Long German compound words in page titles, the imprint key/value grid and a long file path in the
   download release notes pushed the page wider than the screen. */
@media (max-width: 700px) {
  html[data-ui-theme] .site h1 { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
  html[data-ui-theme] .site .legal__kv { grid-template-columns: minmax(0, 1fr); gap: 2px 0; }
  html[data-ui-theme] .site .legal__kv dd { margin-bottom: 10px; }
  html[data-ui-theme] .site .legal__kv :is(dt, dd) { min-width: 0; overflow-wrap: anywhere; }
  html[data-ui-theme] .site .dlp-summary :is(li, p) { overflow-wrap: anywhere; }
  html[data-ui-theme] .site .dlp-summary code { white-space: normal; overflow-wrap: anywhere; }
}
