/* IT4S homepage. Brand draft 5 (docs/brand in p4s): IT4S blue as the accent, navy for ink, neutral greys in dark,
   amber only as a status colour. Fonts are self-hosted (LEG-03: nothing from third parties). */

@font-face { font-family: "Space Grotesk"; src: url("/assets/fonts/space-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/assets/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --page: #f6f7f9; --band: #eef1f5; --card: #ffffff; --card-2: #f4f6f9; --line: #e2e4e9; --line-soft: #e9ecf0;
  --fg: #102c46; --fg-muted: #2d4660; --fg-dim: #55667a;
  --accent: #1a68c4; --accent-hover: #13416c; --on-accent: #ffffff; --accent-tint: rgba(31, 116, 214, .10);
  --link: #1a68c4; --focus: #1f74d6; --section: #1a68c4; --ink: #13416c; --brand-4s: #1f74d6;
  --s-backlog: #7a8899; --s-todo: #4a87b0; --s-progress: #185281; --s-review: #b37509; --s-done: #1f8a5f;
  --t-epic: #7a4fd0; --t-story: #2c853c; --t-task: #1f6fd1; --t-bug: #c9372c; --t-subtask: #287e9d;
  --p-high: #b37509; --p-medium: #55667a; --p-low: #185281; --chip: #e6ebf1; --ok: #1f8a5f; --warn-bg: #fff4d6; --warn-fg: #6b4500;
  --shadow: 0 24px 50px -28px rgba(16, 44, 70, .35);
  --f-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --f-body: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --f-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace;
  --wrap: 1160px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #181a1d; --band: #121417; --card: #202327; --card-2: #272a2f; --line: #33373c; --line-soft: #2b2e33;
    --fg: #e4e6e9; --fg-muted: #c3c7cc; --fg-dim: #9da3ab;
    --accent: #5aa6f5; --accent-hover: #7db9f7; --on-accent: #111316; --accent-tint: rgba(90, 166, 245, .14);
    --link: #7db9f7; --focus: #5aa6f5; --section: #8fb8dc; --ink: #ffffff; --brand-4s: #5aa6f5;
    --s-backlog: #8a9098; --s-todo: #9fc0db; --s-progress: #4c97cd; --s-review: #efa31f; --s-done: #3fbf8f;
    --t-epic: #875ae4; --t-story: #388547; --t-task: #2375d8; --t-bug: #da392d; --t-subtask: #287f9d;
    --p-high: #efa31f; --p-medium: #c3c7cc; --p-low: #4c97cd; --chip: #2d3036; --ok: #3fbf8f; --warn-bg: #433616; --warn-fg: #ffd98a;
    --shadow: 0 24px 60px -24px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --page: #181a1d; --band: #121417; --card: #202327; --card-2: #272a2f; --line: #33373c; --line-soft: #2b2e33;
  --fg: #e4e6e9; --fg-muted: #c3c7cc; --fg-dim: #9da3ab;
  --accent: #5aa6f5; --accent-hover: #7db9f7; --on-accent: #111316; --accent-tint: rgba(90, 166, 245, .14);
  --link: #7db9f7; --focus: #5aa6f5; --section: #8fb8dc; --ink: #ffffff; --brand-4s: #5aa6f5;
  --s-backlog: #8a9098; --s-todo: #9fc0db; --s-progress: #4c97cd; --s-review: #efa31f; --s-done: #3fbf8f;
  --t-epic: #a78bfa; --t-story: #3fbf8f; --t-task: #4c97cd; --t-bug: #f0625f; --t-sub: #9da3ab;
  --p-high: #efa31f; --ok: #3fbf8f; --warn-bg: #433616; --warn-fg: #ffd98a;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .6);
  color-scheme: dark;
}
:root[data-theme="light"] { color-scheme: light; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--page); color: var(--fg); font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--f-display); text-wrap: balance; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
code, .mono { font-family: var(--f-mono); font-size: .86em; }
img { max-width: 100%; height: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--card); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); }
section { padding-block: clamp(64px, 9vw, 112px); }
.band { background: var(--band); }
.eyebrow { font: 600 12.5px/1 var(--f-display); text-transform: uppercase; letter-spacing: .14em; color: var(--section); }
.h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.08; font-weight: 700; }
.lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--fg-muted); max-width: 62ch; }
.sec-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 780px; }
.k { font-family: var(--f-mono); font-size: .92em; color: var(--link); font-weight: 500; }

/* logo: light and dark lockups, swapped with the scheme */
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 40px; width: auto; display: block; }
.logo .dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo .light { display: none; } :root:not([data-theme="light"]) .logo .dark { display: block; } }
:root[data-theme="dark"] .logo .light { display: none; } :root[data-theme="dark"] .logo .dark { display: block; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15.5px/1 var(--f-display); padding: 14px 20px; border-radius: 10px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { color: var(--fg); border-color: var(--line); background: transparent; }
.btn-ghost:hover { border-color: var(--fg-dim); }

/* nav */

/* hero */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1; background: radial-gradient(closest-side, var(--accent-tint), transparent); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } }
.hero-copy { display: grid; gap: 24px; align-content: start; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.02; font-weight: 700; letter-spacing: -0.03em; }
.hero h1 em { font-style: normal; color: var(--brand-4s); }
.hero .lede { font-size: clamp(18px, 1.8vw, 21px); }
.say { font: 500 13px/1.3 var(--f-display); color: var(--fg-dim); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--fg-dim); font-size: 14.5px; list-style: none; margin: 0; padding: 0; }
.hero-proof li::before { content: "✓"; color: var(--ok); margin-right: 7px; font-weight: 700; }

.demo { display: grid; gap: 14px; min-width: 0; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); min-width: 0; }
.chat { padding: 18px; display: grid; gap: 12px; }
.chat-head { display: flex; justify-content: space-between; align-items: center; font: 500 12.5px/1 var(--f-display); color: var(--fg-dim); }
.dot-live { display: inline-flex; align-items: center; gap: 6px; }
.dot-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.msg-user { justify-self: end; max-width: 88%; background: var(--card-2); border: 1px solid var(--line); padding: 10px 14px; border-radius: 14px 14px 4px 14px; font-size: 15px; }
.calls { display: grid; gap: 6px; }
.call { display: flex; align-items: center; gap: 10px; font: 400 12.8px/1.35 var(--f-mono); color: var(--fg-muted); background: var(--accent-tint); border-radius: 8px; padding: 7px 10px; min-width: 0; }
.call .fn { color: var(--fg); font-weight: 600; }
.call .ret { margin-left: auto; color: var(--ok); white-space: nowrap; }
.call .args { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.msg-ai { font-size: 15px; color: var(--fg-muted); }
.msg-ai b { color: var(--fg); }
.issue { padding: 16px 18px; display: grid; gap: 12px; }
.issue-top { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.issue-title { font: 600 17px/1.3 var(--f-display); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font: 500 12.5px/1 var(--f-body); color: var(--fg-muted); border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; white-space: nowrap; }
.pill .av { width: 18px; height: 18px; font-size: 8.5px; }
.hist { border-top: 1px solid var(--line-soft); padding-top: 10px; display: grid; gap: 7px; font-size: 13.5px; color: var(--fg-dim); }
.hist div { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.via { font: 600 11px/1 var(--f-display); text-transform: uppercase; letter-spacing: .08em; color: var(--link); border: 1px solid currentColor; border-radius: 4px; padding: 3px 5px; }
.hist time { margin-left: auto; font-variant-numeric: tabular-nums; }

/* facts */
.facts { border-block: 1px solid var(--line-soft); padding-block: 28px; }
.facts .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 760px) { .facts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fact b { display: block; font: 700 clamp(30px, 3.6vw, 40px)/1 var(--f-display); letter-spacing: -.02em; color: var(--brand-4s); }
.fact span { color: var(--fg-dim); font-size: 14.5px; }

/* AI */
.ai-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); }
@media (max-width: 900px) { .ai-grid { grid-template-columns: minmax(0, 1fr); } }
.reasons { display: grid; gap: 24px; align-content: start; }
.reason { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 4px 14px; }
.reason svg { grid-row: span 2; width: 28px; height: 28px; color: var(--brand-4s); margin-top: 2px; }
.reason h3 { font-size: 19px; font-weight: 600; }
.reason p { color: var(--fg-muted); font-size: 16px; }
.connect { padding: 0; overflow: hidden; align-self: start; }
.tabs { display: flex; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs button { flex: 1 0 auto; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--fg-dim); font: 500 14px/1 var(--f-display); padding: 15px 16px 13px; cursor: pointer; }
.tabs button[aria-selected="true"] { color: var(--fg); border-bottom-color: var(--accent); }
.tabpanel { padding: 20px; display: grid; gap: 14px; }
.tabpanel p { color: var(--fg-muted); font-size: 15px; }
.code { background: var(--band); border: 1px solid var(--line-soft); border-radius: 10px; padding: 14px 16px; overflow-x: auto; font: 400 13.5px/1.6 var(--f-mono); color: var(--fg); white-space: pre-wrap; overflow-wrap: anywhere; }
.code .c { color: var(--fg-dim); }
.copy { justify-self: start; font: 500 13px/1 var(--f-display); color: var(--fg-muted); background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; cursor: pointer; }
.copy:hover { color: var(--fg); border-color: var(--fg-dim); }
.scopes { display: flex; flex-wrap: wrap; gap: 6px; }
.builtin { margin-top: 14px; padding: 14px 16px; border: 1px dashed var(--line); border-radius: 12px; color: var(--fg-muted); font-size: 15px; }
.toolbox { margin-top: clamp(40px, 6vw, 64px); }
.toolbox-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.toolbox-head h3 { font-size: 22px; font-weight: 600; }
.toolbox-head p { color: var(--fg-dim); font-size: 15px; }
.tool-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .tool-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tool-groups { grid-template-columns: minmax(0, 1fr); } }
.tg { border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; gap: 10px; align-content: start; background: var(--card); }
.tg h4 { font: 600 13px/1 var(--f-display); text-transform: uppercase; letter-spacing: .1em; color: var(--section); }
.tg ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tg li { font: 400 12.5px/1 var(--f-mono); color: var(--fg-muted); background: var(--card-2); border-radius: 6px; padding: 6px 8px; }
.prompts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
@media (max-width: 760px) { .prompts { grid-template-columns: minmax(0, 1fr); } }
.prompt { border: 1px solid var(--line); border-radius: 12px; padding: 18px; display: grid; gap: 8px; background: var(--card); }
.prompt .mono { color: var(--link); font-weight: 600; font-size: 14px; }
.prompt p { color: var(--fg-muted); font-size: 15.5px; }
.prompt q { color: var(--fg); }

/* features */
.board-fig { margin: 0 0 40px; }
.board { padding: 14px; display: grid; grid-template-columns: repeat(5, minmax(180px, 1fr)); gap: 12px; overflow-x: auto; }
.col { display: grid; gap: 8px; align-content: start; }
.col-h { display: flex; align-items: center; gap: 8px; font: 600 13px/1 var(--f-display); color: var(--fg); padding: 6px 4px 10px; }
.col-h .count { color: var(--fg-dim); font-weight: 500; }
.card { background: var(--card-2); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; display: grid; gap: 6px; font-size: 13.5px; }
.card .row { display: flex; align-items: center; gap: 10px; color: var(--fg-dim); font-size: 13px; min-height: 22px; }
.card .row.top { min-height: 0; }
.card .grow { flex: 1 1 auto; }
.card .ckey { display: block; font-weight: 600; color: var(--fg); }
.card .t { display: block; color: var(--fg); line-height: 1.35; }
.type { display: inline-flex; align-items: center; gap: 6px; color: var(--fg-muted); font-size: 13px; }
.type-ic { width: 16px; height: 16px; flex: 0 0 16px; }
.prio { display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; }
.prio .mi { width: 16px; height: 16px; fill: var(--c); }
.st-dot { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--c); display: inline-block; }
.st-dot.ring { background: transparent; border: 1.5px solid var(--c); }
.st-check { width: 14px; height: 14px; fill: var(--s-done); margin: 0 -3px; }
.av { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; font: 600 9.5px/1 var(--f-display); background: var(--chip); color: var(--fg); flex: 0 0 auto; }
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
@media (max-width: 900px) { .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .feat-grid { grid-template-columns: minmax(0, 1fr); } }
.feat { border-top: 2px solid var(--line); padding-top: 18px; display: grid; gap: 8px; align-content: start; }
.feat h3 { font-size: 19px; font-weight: 600; }
.feat p { color: var(--fg-muted); font-size: 15.5px; }

/* pricing */
.period { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; background: var(--card); margin-bottom: 28px; }
.period button { border: 0; background: none; color: var(--fg-muted); font: 600 14px/1 var(--f-display); padding: 10px 16px; border-radius: 999px; cursor: pointer; }
.period button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.period small { font-weight: 500; opacity: .85; margin-left: 6px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 920px; }
@media (max-width: 760px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan { padding: clamp(22px, 3vw, 32px); display: grid; gap: 16px; align-content: start; }
.plan.featured { border-color: var(--accent); border-width: 2px; }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.plan h3 { font-size: 24px; font-weight: 700; }
.badge { font: 600 11px/1 var(--f-display); text-transform: uppercase; letter-spacing: .08em; padding: 5px 8px; border-radius: 4px; color: var(--accent); border: 1px solid currentColor; white-space: nowrap; }
.plan .tagline { color: var(--fg-muted); font-size: 15.5px; }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price b { font: 700 46px/1 var(--f-display); letter-spacing: -.02em; }
.price span { color: var(--fg-dim); font-size: 15px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.plan li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; font-size: 15.5px; color: var(--fg-muted); }
.plan li::before { content: "✓"; color: var(--ok); font-weight: 700; }
.plan .btn { justify-self: start; }
.price-notes { margin-top: 24px; display: grid; gap: 6px; color: var(--fg-dim); font-size: 14.5px; max-width: 920px; }

/* jira */
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 680px; }
.cmp th, .cmp td { text-align: left; padding: 16px 20px; vertical-align: top; border-bottom: 1px solid var(--line-soft); font-size: 15.5px; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp thead th { font: 600 13px/1 var(--f-display); text-transform: uppercase; letter-spacing: .1em; color: var(--fg-dim); background: var(--card-2); }
.cmp thead th:last-child { color: var(--accent); }
.cmp td:first-child { font: 600 15.5px/1.4 var(--f-display); color: var(--fg); width: 22%; }
.cmp td:nth-child(2) { color: var(--fg-dim); width: 34%; }
.ok { font: 600 11px/1 var(--f-display); text-transform: uppercase; letter-spacing: .08em; color: var(--ok); border: 1px solid currentColor; border-radius: 4px; padding: 3px 5px; margin-left: 6px; white-space: nowrap; }
.flow { display: inline-flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.flow span { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.flow b { color: var(--fg-dim); font-weight: 400; }
.left-out { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 18px 32px; }
@media (max-width: 760px) { .left-out { grid-template-columns: minmax(0, 1fr); } }
.left-out h3 { font-size: 19px; font-weight: 600; }
.left-out p { color: var(--fg-muted); font-size: 15.5px; }
.strike { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.strike li { font-size: 14px; color: var(--fg-dim); text-decoration: line-through; text-decoration-color: var(--accent); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; }

/* faq */
.faq-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; padding: 0; list-style: none; }
.faq-nav a { display: inline-block; text-decoration: none; color: var(--fg-muted); border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; font: 500 14px/1 var(--f-display); background: var(--card); }
.faq-nav a:hover { color: var(--fg); border-color: var(--fg-dim); }
.faq-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 32px; align-items: start; }
@media (max-width: 900px) { .faq-groups { grid-template-columns: minmax(0, 1fr); } }
.faq-group h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.faq-group details { border-bottom: 1px solid var(--line); }
.faq-group summary { cursor: pointer; list-style: none; padding: 14px 32px 14px 0; position: relative; font: 600 16px/1.4 var(--f-display); color: var(--fg); }
.faq-group summary::-webkit-details-marker { display: none; }
.faq-group summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 22px/1 var(--f-display); color: var(--fg-dim); }
.faq-group details[open] summary::after { content: "–"; }
.faq-group details p { padding: 0 0 16px; color: var(--fg-muted); font-size: 15.5px; }

/* about */
.st { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .st { grid-template-columns: minmax(0, 1fr); } }
.st-copy { display: grid; gap: 20px; }
.st-copy p { color: var(--fg-muted); max-width: 60ch; }
.years { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.years div { border-left: 2px solid var(--accent); padding-left: 12px; }
.years b { display: block; font: 700 30px/1 var(--f-display); }
.years span { font-size: 13.5px; color: var(--fg-dim); }
.family { display: grid; gap: 12px; }
.family h3 { font-size: 18px; font-weight: 600; }
.prod { padding: 16px 18px; display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 4px 14px; box-shadow: none; }
.prod i { grid-row: span 2; width: 10px; border-radius: 3px; background: var(--c); }
.prod h4 { font: 700 17px/1.2 var(--f-display); display: flex; justify-content: space-between; gap: 10px; }
.prod h4 a { font: 500 14px/1.2 var(--f-body); }
.prod p { color: var(--fg-muted); font-size: 15px; }
.prod.it4s { border-color: var(--accent); }

/* contact */
.contact .box { border: 1px solid var(--line); border-radius: 18px; background: var(--card); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px 48px; align-items: center; }
@media (max-width: 860px) { .contact .box { grid-template-columns: minmax(0, 1fr); } }
.contact h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; font-weight: 700; }
.contact p { color: var(--fg-muted); margin-top: 14px; }
.contact .cta-row { margin-top: 22px; }
.reach { display: grid; gap: 10px; }
.reach-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.reach-row small { display: block; font: 500 12px/1 var(--f-display); color: var(--fg-dim); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; }
.reach-row a, .reach-row span { font: 600 17px/1.2 var(--f-display); color: var(--fg); text-decoration: none; }

/* footer (IT4S-468): dark band in both themes, columns, language and theme switch */
.site-footer { background: #061a2d; color: #b9c6d4; padding-block: 56px 28px; font-size: 14.5px; }
.site-footer a { color: #d6e0ea; text-decoration: none; }
.site-footer a:hover, .site-footer a[aria-current="page"] { color: #ffffff; text-decoration: underline; }
.site-footer :focus-visible { outline-color: #7db9f7; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand { display: grid; gap: 14px; align-content: start; max-width: 34ch; }
.foot-brand .logo img { height: 36px; display: block; }
.site-footer nav { display: grid; gap: 10px; align-content: start; }
.site-footer nav .foot-h { margin: 0 0 4px; font: 600 12.5px/1 var(--f-display); text-transform: uppercase; letter-spacing: .12em; color: #8fb8dc; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; border-top: 1px solid #1d3550; margin-top: 40px; padding-top: 20px; }
.foot-tools { display: flex; gap: 8px; }
.foot-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 8px; border: 1px solid #2a4562; background: none; color: #d6e0ea; font: 500 13.5px/1 var(--f-display); cursor: pointer; }
.foot-btn .mi { width: 18px; height: 18px; fill: currentColor; }
.foot-btn:hover, .foot-btn[aria-expanded="true"] { border-color: #7db9f7; color: #ffffff; }
.menu.up { top: auto; bottom: calc(100% + 6px); }
.site-footer .menu a, .site-footer .menu button { color: var(--fg); }
.site-footer .menu a:hover { text-decoration: none; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* legal pages (IT4S-386): readable width, anchors, print */
.legal { padding-block: clamp(40px, 6vw, 72px); }
:is(.legal, .guide) .doc { max-width: 760px; margin: 0 auto; }
.legal h1 { font-size: clamp(30px, 4vw, 42px); line-height: 1.1; font-weight: 700; margin-bottom: 12px; }
.legal .meta { color: var(--fg-dim); font-size: 14.5px; display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 20px; }
.legal .note { background: var(--accent-tint); border-radius: 10px; padding: 12px 14px; font-size: 15px; color: var(--fg-muted); margin-bottom: 16px; }
.legal .draft { background: var(--warn-bg); color: var(--warn-fg); border-radius: 10px; padding: 12px 14px; font-size: 15px; margin-bottom: 16px; }
.legal h2 { font-size: 22px; font-weight: 600; margin: 36px 0 12px; scroll-margin-top: 84px; }
.legal h3 { font-size: 18px; font-weight: 600; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--fg-muted); font-size: 16px; }
.legal p { margin: 0 0 12px; }
.legal ul, .legal ol { padding-left: 22px; margin: 0 0 12px; display: grid; gap: 6px; }
.legal strong { color: var(--fg); }
.legal .anchor { margin-left: 8px; color: var(--fg-dim); text-decoration: none; opacity: 0; font-weight: 400; }
.legal h2:hover .anchor, .legal .anchor:focus { opacity: 1; }
.legal .table { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.legal table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line-soft); }
.legal th { background: var(--card-2); font: 600 13.5px/1.3 var(--f-display); color: var(--fg); }
.legal tr:last-child td { border-bottom: 0; }
.legal .tools { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
mark.ph { background: #ffd54a; color: #3a2a00; padding: 0 3px; border-radius: 3px; font-weight: 600; }

@media print {
  .nav, footer, .site-footer, .legal .tools, .skip { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .legal { padding: 0; }
  :is(.legal, .guide) .doc { max-width: none; }
  .legal p, .legal li, .legal .meta { color: #000; }
  .legal .anchor { display: none; }
  .legal .table { border: 0; }
  a { color: #000; text-decoration: none; }
  h2 { break-after: avoid; }
}

/* header controls as in the app (IT4S-446..448) */
.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; }
.mi { width: 20px; height: 20px; fill: currentColor; flex: 0 0 auto; }
.icon-btn { display: inline-flex; align-items: center; gap: 4px; height: 38px; min-width: 38px; justify-content: center; padding: 0 8px; border-radius: 8px; border: 0; background: none; color: var(--fg-muted); cursor: pointer; text-decoration: none; font: 600 13px/1 var(--f-display); }
.icon-btn:hover, .icon-btn[aria-expanded="true"] { background: var(--accent-tint); color: var(--fg); }
.icon-btn.signin .mi { width: 24px; height: 24px; }
.menu-wrap { position: relative; }
.menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 170px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 6px; display: grid; }
.menu a, .menu button { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 6px; border: 0; background: none; color: var(--fg); text-decoration: none; font: 500 14.5px/1.2 var(--f-body); text-align: left; cursor: pointer; }
.menu a:hover, .menu button:hover, .menu a:focus-visible, .menu button:focus-visible { background: var(--accent-tint); }
.menu .tick { width: 18px; height: 18px; visibility: hidden; color: var(--accent); }
.menu [aria-checked="true"] .tick { visibility: visible; }
.mobile-tools { display: flex; gap: 8px; padding-top: 10px; }
.tab-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tg h4 { display: flex; justify-content: space-between; gap: 8px; }
.tg h4 span { color: var(--fg-dim); letter-spacing: 0; }
.prompts-h { font-size: 18px; font-weight: 600; margin: 28px 0 0; }
.badge.dev { color: var(--s-review); font-size: 10px; padding: 3px 6px; margin-left: 6px; vertical-align: 2px; }
.prod h4 > span { display: inline-flex; align-items: center; }
.demo { margin: 0; }
.demo-panels { display: grid; gap: 14px; min-width: 0; }

/* help page (IT4S-472) */
.help-hero { background: #061a2d; color: #e4e6e9; text-align: center; padding-block: clamp(56px, 8vw, 96px); }
.help-hero .wrap { display: grid; gap: 18px; justify-items: center; }
.help-hero .eyebrow { color: #8fb8dc; }
.help-hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.05; color: #fff; }
.help-search { position: relative; width: min(640px, 100%); }
.help-search svg { position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 22px; height: 22px; color: #55667a; pointer-events: none; }
.help-search input { width: 100%; font: 400 17px/1.2 var(--f-body); padding: 16px 16px 16px 48px; border-radius: 12px; border: 1px solid transparent; background: #fff; color: #102c46; }
.help-search input:focus-visible { outline: 3px solid #7db9f7; outline-offset: 2px; }
.help-status { min-height: 1.4em; font-size: 14.5px; color: #b9c6d4; }
.help-status a { color: #d6e0ea; }
.popular { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; font-size: 14.5px; color: #b9c6d4; }
.popular a { color: #d6e0ea; }
.sec-head.row { max-width: none; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .guide-grid { grid-template-columns: minmax(0, 1fr); } }
.guide-cat { padding: 20px 22px; box-shadow: none; display: grid; gap: 10px; align-content: start; }
.guide-cat h3 { font-size: 18px; }
.guide-cat ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--fg-muted); font-size: 15.5px; }
.guide-cat p { color: var(--fg-muted); font-size: 15.5px; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: minmax(0, 1fr); } }
.faq-side { display: grid; gap: 16px; position: sticky; top: 92px; }
@media (max-width: 860px) { .faq-side { position: static; } }
.faq-cats { display: grid; gap: 4px; }
.faq-cats a { color: var(--fg-muted); text-decoration: none; padding: 8px 12px; border-radius: 8px; font: 500 15px/1.3 var(--f-display); }
.faq-cats a:hover { background: var(--accent-tint); color: var(--fg); }
.rel-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(28px, 4vw, 56px); }
@media (max-width: 860px) { .rel-layout { grid-template-columns: minmax(0, 1fr); } }
.rel-layout > div { display: grid; gap: 14px; align-content: start; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 2px solid var(--line); display: grid; gap: 26px; }
.timeline li { position: relative; display: grid; gap: 6px; }
.timeline li::before { content: ""; position: absolute; left: -29px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--page); }
.tl-head { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.tl-head b { font: 700 19px/1.2 var(--f-display); }
.tl-head time { color: var(--fg-dim); font-size: 14.5px; }
.timeline p { color: var(--fg-muted); }
.help-support { padding-top: 0; }
.sup-box { box-shadow: none; padding: 28px; display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between; }
.sup-box h2 { font-size: 24px; margin-bottom: 6px; }
.sup-box > div p { color: var(--fg-muted); }
.sup-mails { display: grid; gap: 6px; }
[data-searchable].no-match { display: none; }
.faq-layout .faq-groups { grid-template-columns: minmax(0, 1fr); }

/* home page (IT4S-469) */
.h-hero { padding-block: clamp(48px, 7vw, 88px) clamp(56px, 7vw, 88px); position: relative; overflow: hidden; }
.h-hero::before { content: ""; position: absolute; inset: -30% -15% auto auto; width: 60%; aspect-ratio: 1; background: radial-gradient(closest-side, var(--accent-tint), transparent); pointer-events: none; }
.h-hero .wrap { position: relative; display: grid; gap: clamp(36px, 5vw, 56px); }
.h-hero-copy { display: grid; gap: 22px; max-width: 860px; }
.h-hero h1 { font-size: clamp(40px, 6.4vw, 76px); line-height: 1.02; font-weight: 700; letter-spacing: -0.035em; }
.h-hero h1 em { font-style: normal; color: var(--brand-4s); }
.h-hero .lede { font-size: clamp(18px, 1.8vw, 21px); max-width: 60ch; }
.new-pill { justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--fg); text-decoration: none; font-size: 14.5px; }
.new-pill span { background: var(--accent); color: var(--on-accent); border-radius: 999px; padding: 4px 10px; font: 600 12.5px/1.2 var(--f-display); }
.new-pill b { color: var(--fg-dim); font-weight: 400; }
.new-pill:hover { border-color: var(--accent); }
.checks { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; color: var(--fg-dim); font-size: 14.5px; }
.checks li { display: inline-flex; align-items: center; gap: 6px; }
.checks .mi { width: 18px; height: 18px; fill: var(--ok); }
.h-hero-visual { position: relative; }
.hero-chat { position: absolute; right: clamp(-8px, -1vw, 0px); bottom: -28px; width: min(380px, 46%); }
@media (max-width: 760px) { .hero-chat { position: static; width: auto; margin-top: 14px; } }
.h-stats { padding-block: 28px; border-block: 1px solid var(--line-soft); }
.h-stats .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 760px) { .h-stats .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.h-stats b { display: block; font: 700 clamp(30px, 3.6vw, 40px)/1 var(--f-display); color: var(--brand-4s); margin-bottom: 6px; }
.h-stats span { color: var(--fg-muted); font-size: 15px; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .pillars { grid-template-columns: minmax(0, 1fr); } }
.pillar { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: grid; gap: 12px; align-content: start; }
.pil-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; }
.pil-ic svg { width: 24px; height: 24px; }
.pillar h3 { font-size: 20px; }
.pillar p { color: var(--fg-muted); }
.pillar a, a.more { font: 600 15px/1.3 var(--f-display); text-decoration: none; }
.pillar a:hover, a.more:hover { text-decoration: underline; }
.sec-head.split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.sec-head.split > div { display: grid; gap: 14px; max-width: 760px; }
.news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1000px) { .news { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .news { grid-template-columns: minmax(0, 1fr); } }
.news-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: grid; gap: 12px; align-content: start; }
.news-vis { height: 196px; overflow: hidden; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line-soft); display: grid; align-items: start; }
.news-vis .ap-fig { margin: 0; }
.news-vis .ap-panel { box-shadow: none; border: 0; border-radius: 0; }
.news-card h3 { font-size: 18px; }
.news-card p { color: var(--fg-muted); font-size: 15px; }
.news-more { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin-top: 24px; font-size: 14.5px; }
.news-more span { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; color: var(--fg-muted); }
.h-day { background: #061a2d; color: #d6e0ea; }
.h-day .eyebrow { color: #8fb8dc; }
.h-day .h2 { color: #fff; }
.h-day a.more { color: #7db9f7; }
.day { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .day { grid-template-columns: minmax(0, 1fr); } }
.day li { background: #0d2740; border: 1px solid #1d3a58; border-radius: 16px; padding: 22px; display: grid; gap: 14px; align-content: start; }
.day-h { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: #8fb8dc; }
.day-q { font: 600 19px/1.35 var(--f-display); color: #fff; }
.day-out { display: grid; gap: 8px; }
.day-out span { display: flex; justify-content: space-between; gap: 12px; background: #102f4d; border-radius: 8px; padding: 8px 12px; font-size: 14.5px; }
.day-out i { font-style: normal; color: #8fb8dc; }
.day-out code { color: #d6e0ea; }
.h-jira { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 900px) { .h-jira { grid-template-columns: minmax(0, 1fr); } }
.h-jira-copy { display: grid; gap: 16px; }
.h-jira-copy .links { display: flex; flex-wrap: wrap; gap: 20px; }
.cmp.mini th[scope="row"] { font-weight: 600; text-align: left; }
.h-tiles { padding-top: 0; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tiles { grid-template-columns: minmax(0, 1fr); } }
.tile { display: grid; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); text-decoration: none; color: var(--fg-muted); font-size: 15px; }
.tile b { font: 700 18px/1.2 var(--f-display); color: var(--fg); }
.tile:hover { border-color: var(--accent); }
.h-cta { background: var(--accent-hover); color: #e8f1fb; }
.h-cta .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.h-cta .wrap > div:first-child { display: grid; gap: 12px; max-width: 640px; }
.h-cta h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.1; color: #fff; }
.h-cta .btn-primary { background: #fff; color: #13416c; }
.h-cta .btn-primary:hover { background: #e8f1fb; }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost.on-dark:hover { border-color: #fff; }

/* app renders (IT4S-322, IT4S-476): drawn like the app, from the demo workspace */
.ap-fig { margin: 0; }
.ap-shot { font: 400 13px/1.45 var(--f-body); color: var(--fg); text-align: left; }
.ap-shot .k { font-size: 12px; }
.ap-shot .type-ic { width: 16px; height: 16px; flex: none; }
.ap-app { display: grid; grid-template-columns: 196px minmax(0, 1fr); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--page); box-shadow: var(--shadow); min-height: 420px; }
@media (max-width: 640px) { .ap-app { grid-template-columns: minmax(0, 1fr); } .ap-side { display: none !important; } }
.ap-side { background: #0b2238; color: #c9d6e3; padding: 14px 10px; display: grid; gap: 2px; align-content: start; font-size: 12.5px; }
.ap-brand img { height: 26px; width: auto; display: block; margin: 0 6px 10px; }
.ap-ws { display: flex; gap: 8px; align-items: center; padding: 6px; margin-bottom: 8px; border-radius: 8px; background: #102c46; }
.ap-ws span:last-child { display: grid; line-height: 1.25; }
.ap-ws small { color: #8fb8dc; font-size: 11px; }
.ap-ws-ic { width: 24px; height: 24px; border-radius: 6px; background: #1f74d6; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.ap-group { font: 600 10.5px/1 var(--f-display); text-transform: uppercase; letter-spacing: .1em; color: #6f8aa6; padding: 12px 8px 6px; }
.ap-nav { padding: 6px 8px; border-radius: 6px; }
.ap-nav.on { background: #1a3a5c; color: #fff; box-shadow: inset 2px 0 0 #5aa6f5; }
.ap-main { min-width: 0; display: grid; align-content: start; }
.ap-top { display: flex; justify-content: space-between; align-items: center; padding: 8px 16px; border-bottom: 1px solid var(--line-soft); background: var(--card); }
.ap-scope { border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-size: 12px; color: var(--fg-muted); }
.ap-av { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--chip); color: var(--fg-muted); font: 600 10px/1 var(--f-display); flex: none; }
.ap-page { padding: 16px 18px 20px; display: grid; gap: 12px; }
.ap-head { display: flex; justify-content: space-between; align-items: center; }
.ap-head h4 { font-size: 22px; }
.ap-btn { background: var(--accent); color: var(--on-accent); border-radius: 7px; padding: 6px 10px; font: 600 12px/1 var(--f-display); white-space: nowrap; }
.ap-btn.ghost { background: none; color: var(--accent); border: 1px solid var(--line); }
.ap-card, .ap-panel { background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.ap-card { padding: 14px; display: grid; gap: 12px; }
.ap-hello { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.ap-hello b { font: 600 15px/1.2 var(--f-display); }
.ap-hello small, .ap-muted { color: var(--fg-dim); font-size: 11.5px; }
.ap-ai { border: 1px solid var(--line-soft); border-radius: 10px; padding: 10px 12px; background: var(--card-2); display: grid; gap: 4px; }
.ap-ai-l { color: #7a4fd0; font: 600 11.5px/1 var(--f-display); }
.ap-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ap-tiles div { border: 1px solid var(--line-soft); border-radius: 10px; padding: 8px 10px; display: grid; }
.ap-tiles b { font: 700 20px/1.1 var(--f-display); }
.ap-tiles small { color: var(--fg-dim); font-size: 11px; }
.ap-list { gap: 0; padding: 6px 14px; }
.ap-list-h { font: 600 12px/1 var(--f-display); color: var(--fg-dim); padding: 8px 0; }
.ap-row, .ap-res { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line-soft); min-width: 0; }
.ap-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-res .ap-t { white-space: normal; display: grid; }
.ap-res .ap-t small { color: var(--fg-dim); font-size: 11.5px; }
.ap-chip { border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; font-size: 11px; color: var(--fg-muted); white-space: nowrap; }
.ap-prio .mi { width: 16px; height: 16px; fill: var(--c); display: block; }
.ap-st { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--fg-muted); white-space: nowrap; }
.ap-chat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 14px; display: grid; gap: 10px; font-size: 14px; }
.ap-chat-h { display: flex; justify-content: space-between; font: 500 12px/1 var(--f-display); color: var(--fg-dim); }
.ap-chat .msg-user, .ap-chat .msg-ai { font-size: 14px; }
.ap-panel { padding: 14px; display: grid; gap: 10px; }
.ap-brief p { font-size: 12.5px; color: var(--fg-muted); }
.ap-brief p b { color: var(--fg); }
.ap-brief-h { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.ap-toggles { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.ap-seg { border: 1px solid var(--line); border-radius: 7px; padding: 3px 9px; font-size: 11.5px; color: var(--fg-muted); }
.ap-seg.on { background: var(--accent-tint); border-color: var(--accent); color: var(--accent); font-weight: 600; }
.ap-crumbs { font-size: 11px; color: var(--fg-dim); }
.ap-issue-h { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ap-issue-h b { font: 600 15px/1.25 var(--f-display); }
.ap-issue .pill { font-size: 11.5px; padding: 3px 8px; }
.ap-q svg { width: 14px; height: 14px; color: var(--s-review); }
.ap-tabs { display: flex; gap: 12px; border-bottom: 1px solid var(--line); font-size: 11.5px; color: var(--fg-dim); overflow: hidden; white-space: nowrap; }
.ap-tabs span { padding-bottom: 6px; }
.ap-tabs .on { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); font-weight: 600; }
.ap-attn { display: grid; gap: 6px; }
.ap-attn-h { font: 600 10.5px/1 var(--f-display); text-transform: uppercase; letter-spacing: .1em; color: var(--s-review); }
.ap-attn-row { display: flex; gap: 8px; align-items: center; background: var(--card-2); border-radius: 8px; padding: 7px 9px; }
.ap-attn-row svg { width: 16px; height: 16px; color: var(--s-review); flex: none; }
.ap-attn-row > span:nth-child(2) { flex: 1; display: grid; min-width: 0; }
.ap-attn-row b { font-size: 12px; }
.ap-attn-row small { color: var(--fg-dim); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-facts { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; }
.ap-facts span { display: grid; }
.ap-facts small { color: var(--fg-dim); font-size: 10.5px; }
.ap-field { display: flex; align-items: center; gap: 8px; border-bottom: 2px solid var(--accent); padding: 4px 2px 6px; font-size: 13.5px; }
.ap-field svg { width: 16px; height: 16px; color: var(--fg-dim); }
.ap-field small { margin-left: auto; color: var(--fg-dim); font-size: 10.5px; }
.ap-pop { border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; box-shadow: var(--shadow); background: var(--card); }
.ap-pop .ap-res:first-child { border-top: 0; }
.ap-pop mark { background: var(--warn-bg); color: inherit; border-radius: 2px; padding: 0 1px; }
.ap-pop-f { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line-soft); font-size: 11.5px; color: var(--fg-dim); }
.ap-link { color: var(--accent); font-weight: 600; }
.ap-mini { align-content: center; min-height: 100%; gap: 14px; }
.ap-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.ap-cat { border-radius: 6px; padding: 3px 9px; font: 600 12px/1.3 var(--f-display); }
.ap-cat.decision { background: color-mix(in srgb, var(--s-done) 16%, transparent); color: var(--s-done); }
.ap-cat.question { background: color-mix(in srgb, var(--s-review) 18%, transparent); color: var(--s-review); }
.ap-cat.blocker { background: color-mix(in srgb, var(--t-bug) 16%, transparent); color: var(--t-bug); }
.ap-cat.action { background: var(--accent-tint); color: var(--accent); }
.ap-comment { display: flex; gap: 10px; align-items: flex-start; background: var(--card-2); border-radius: 10px; padding: 10px; font-size: 13px; line-height: 1.55; }
.ap-keys { display: flex; gap: 12px; align-items: center; justify-content: center; font-size: 22px; }
.ap-keys .k { font-size: 20px; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; background: var(--card-2); }
.ap-keys .k:first-child { text-decoration: line-through; color: var(--fg-dim); }
.ap-arrow { color: var(--accent); }
.ap-rekey { justify-items: center; text-align: center; }
.ap-mail { gap: 6px; }
.ap-mail b { font: 600 15px/1.3 var(--f-display); }
.ap-mail small { color: var(--fg-muted); font-size: 12.5px; }
table.cmp.mini { min-width: 0; }
.cmp.mini th, .cmp.mini td { padding: 12px 14px; font-size: 14.5px; }
.day-out span.plain { display: block; }
.ap-res .ap-t .ap-tt { display: block; }
.hero-chat { bottom: -44px; }
.h-hero-visual .ap-app { margin-right: clamp(0px, 8vw, 120px); }
@media (max-width: 760px) { .h-hero-visual .ap-app { margin-right: 0; } }
.news-vis .ap-fig, .news-vis .ap-shot, .news-vis .ap-panel { height: 100%; }

/* features page (IT4S-470) */
.page-head { padding-block: clamp(48px, 7vw, 88px) clamp(28px, 4vw, 44px); }
.page-head .wrap { display: grid; gap: 18px; }
.page-head h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.04; letter-spacing: -0.03em; max-width: 20ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chips a { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 14px; color: var(--fg-muted); text-decoration: none; font: 500 14.5px/1 var(--f-display); }
.chips a:hover { border-color: var(--accent); color: var(--accent); }
.feat-sec { scroll-margin-top: 76px; }
.feat-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.feat-split.flip .feat-copy { order: 2; }
@media (max-width: 900px) { .feat-split { grid-template-columns: minmax(0, 1fr); } .feat-split.flip .feat-copy { order: 0; } }
.feat-copy { display: grid; gap: 16px; align-content: start; }
.feat-vis { min-width: 0; }
.feat-vis .ap-panel, .feat-copy .ap-panel { box-shadow: var(--shadow); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--fg-muted); }
.ticks .mi { width: 20px; height: 20px; fill: var(--ok); flex: none; margin-top: 2px; }
.reasons-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.reasons-list li { display: flex; gap: 12px; color: var(--fg-muted); font-size: 16px; }
.reasons-list svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 2px; }
.reasons-list b { color: var(--fg); }
.ai-demo { margin: 0; }
.hist-h { font: 600 12.5px/1 var(--f-display); color: var(--fg-dim); }
.ai-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: clamp(40px, 6vw, 64px); }
@media (max-width: 900px) { .ai-row { grid-template-columns: minmax(0, 1fr); } }
.ai-block { display: grid; gap: 14px; align-content: start; }
.ai-block h3 { font-size: 22px; }
.ai-block > p { color: var(--fg-muted); }
details.tg summary { list-style: none; cursor: pointer; display: grid; gap: 8px; }
details.tg summary::-webkit-details-marker { display: none; }
details.tg h4 { display: flex; justify-content: space-between; }
details.tg h4 span { color: var(--fg-dim); }
.tg-peek { font: 400 12.8px/1.5 var(--f-mono); color: var(--fg-muted); }
details.tg[open] .tg-peek { display: none; }
details.tg summary:hover h4 { color: var(--accent); }
.dark-band { background: #061a2d; color: #d6e0ea; }
.dark-band .eyebrow { color: #8fb8dc; }
.dark-band .h2 { color: #fff; }
.dark-band .lede, .dark-band .ticks li { color: #c3d0dd; }
.two-up { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 64px); }
@media (max-width: 900px) { .two-up { grid-template-columns: minmax(0, 1fr); } }
.two-up .feat-copy { scroll-margin-top: 76px; }
.note { color: var(--fg-dim); font-size: 15px; }
table.cmp.roles { min-width: 640px; }
.cmp.roles td { text-align: center; }
.cmp.roles thead th:not(:first-child) { text-align: center; }
.cmp.roles th[scope="row"] { font-weight: 600; }
.int-grid, .sec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sec-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .int-grid, .sec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .int-grid, .sec-grid { grid-template-columns: minmax(0, 1fr); } }
.int, .sec-grid > div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: grid; gap: 8px; align-content: start; }
.int h3, .sec-grid h3 { font-size: 17px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.int p, .sec-grid p { color: var(--fg-muted); font-size: 15px; }
.ap-fig.wide .ap-app { min-height: 0; }

/* renders: board, connected apps, release, estimate, doc */
.ap-group-h { font: 600 12.5px/1 var(--f-display); color: var(--fg-muted); }
.ap-board { display: grid; grid-template-columns: repeat(5, minmax(120px, 1fr)); gap: 10px; overflow: hidden; }
.ap-col { background: var(--card-2); border-radius: 10px; padding: 8px; display: grid; gap: 8px; align-content: start; min-height: 180px; }
.ap-col-h { display: flex; align-items: center; gap: 6px; font: 600 11.5px/1 var(--f-display); }
.ap-col-h .ap-muted { margin-left: auto; }
.ap-bcard { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 8px; display: grid; gap: 6px; }
.ap-bc-top { display: flex; gap: 6px; align-items: center; }
.ap-bc-t { font-size: 12px; line-height: 1.35; }
.ap-bc-f { display: flex; gap: 6px; align-items: center; }
.ap-bc-f .ap-av { margin-left: auto; width: 20px; height: 20px; font-size: 8.5px; }
.ap-apps-h { font: 600 15px/1.2 var(--f-display); }
.ap-tbl { display: grid; font-size: 12.5px; overflow-x: auto; }
.ap-tr { display: grid; grid-template-columns: 1fr 1.1fr 1.3fr 1.2fr .9fr auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line-soft); min-width: 520px; }
.ap-th { font: 600 10.5px/1 var(--f-display); text-transform: uppercase; letter-spacing: .08em; color: var(--fg-dim); border-top: 0; }
.ap-own { display: flex; gap: 6px; align-items: center; }
.ap-own .ap-av { width: 20px; height: 20px; font-size: 8.5px; }
.ap-scope-c { font-style: normal; border: 1px solid var(--line); border-radius: 999px; padding: 1px 7px; margin-right: 4px; font-size: 11px; }
.ap-bar { display: flex; height: 8px; border-radius: 999px; overflow: hidden; background: var(--card-2); }
.ap-bar .s0, .ap-counts .s0 { background: var(--s-done); }
.ap-bar .s1, .ap-counts .s1 { background: var(--s-progress); }
.ap-bar .s2, .ap-counts .s2 { background: var(--s-backlog); }
.ap-counts { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--fg-muted); }
.ap-counts i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; }
.ap-warn { background: var(--warn-bg); color: var(--warn-fg); border-radius: 8px; padding: 9px 11px; font-size: 12.5px; }
.ap-est { gap: 8px; }
.ap-est-r { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px solid var(--line-soft); font-size: 13px; }
.ap-est-r.sum { border-top: 2px solid var(--line); font-size: 14px; }
.ap-doc-g { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; }
@media (max-width: 520px) { .ap-doc-g { grid-template-columns: minmax(0, 1fr); } .ap-toc { display: none !important; } }
.ap-toc { display: grid; gap: 4px; align-content: start; font-size: 12px; color: var(--fg-dim); border-right: 1px solid var(--line-soft); padding-right: 10px; }
.ap-toc .on { color: var(--accent); font-weight: 600; }
.ap-doc-b { display: grid; gap: 10px; }
.ap-doc-t { font: 700 17px/1.2 var(--f-display); }
.ap-presence { display: flex; gap: 6px; align-items: center; color: var(--fg-dim); }
.ap-presence .ap-av { width: 20px; height: 20px; font-size: 8.5px; box-shadow: 0 0 0 2px var(--accent); }
.ap-doc-b p { font-size: 13px; color: var(--fg-muted); }
.ap-ment { display: grid; }
#ki .feat-split, #ai .feat-split { align-items: start; } #ki .feat-vis, #ai .feat-vis { position: sticky; top: 92px; } @media (max-width: 900px) { #ki .feat-vis, #ai .feat-vis { position: static; } }

/* pricing page (IT4S-471) */
.page-head.center .wrap { justify-items: center; text-align: center; }
.page-head.center h1 { max-width: 22ch; }
.page-head.center .lede { margin-inline: auto; }
.plans-sec { padding-top: 0; }
.plans-sec .period { margin-inline: auto; }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 860px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.calc-copy { display: grid; gap: 14px; }
.calc-box { padding: 28px; display: grid; gap: 14px; box-shadow: none; }
.calc-label { display: flex; justify-content: space-between; align-items: baseline; font: 600 16px/1 var(--f-display); }
.calc-label output { font: 700 32px/1 var(--f-display); color: var(--accent); }
.calc-box input[type="range"] { width: 100%; accent-color: var(--accent); height: 28px; }
.calc-scale { display: flex; justify-content: space-between; color: var(--fg-dim); font-size: 13px; }
.calc-out div { display: grid; gap: 4px; background: var(--accent-tint); border-radius: 12px; padding: 16px 18px; }
.calc-out b { font: 700 24px/1.2 var(--f-display); }
.calc-out span { color: var(--fg-muted); font-size: 15px; }
.bill-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; }
@media (max-width: 760px) { .bill-faq { grid-template-columns: minmax(0, 1fr); } }
.bill-faq h3 { font-size: 18px; margin-bottom: 6px; }
.bill-faq p { color: var(--fg-muted); }
.strike li.planned { text-decoration: none; }

/* about page (IT4S-473) */
.about-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 860px) { .about-head { grid-template-columns: minmax(0, 1fr); } }
.about-head h1 { max-width: 22ch; }
.about-years { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.about-years div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: grid; gap: 4px; }
.about-years b { font: 700 34px/1 var(--f-display); color: var(--brand-4s); }
.about-years span { color: var(--fg-muted); font-size: 15px; }
.stats-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (max-width: 860px) { .stats-grid { grid-template-columns: minmax(0, 1fr); } }
.bars { margin: 0; padding: 22px; display: grid; gap: 16px; box-shadow: none; }
.bars figcaption { display: grid; gap: 2px; }
.bars small { color: var(--fg-dim); }
.bar-row { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; height: 180px; align-items: end; }
.bar { display: grid; grid-template-rows: auto 1fr auto; height: 100%; align-items: end; text-align: center; font-size: 12px; color: var(--fg-dim); }
.bar i { display: block; background: var(--accent); border-radius: 4px 4px 0 0; min-height: 2px; }
.prod-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
@media (max-width: 960px) { .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .prod-grid { grid-template-columns: minmax(0, 1fr); } }
.prod-grid .prod { box-shadow: none; display: grid; gap: 10px; align-content: start; padding: 20px; }
.prod-grid .prod h3 { font-size: 19px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.prod-grid .prod p { color: var(--fg-muted); font-size: 15px; }
.prod-grid .prod a { font: 600 14.5px/1.3 var(--f-display); text-decoration: none; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.reach-list { display: grid; gap: 14px; margin: 8px 0 0; }
.reach-list dt { font: 600 12px/1 var(--f-display); text-transform: uppercase; letter-spacing: .1em; color: var(--fg-dim); margin-bottom: 4px; }
.reach-list dd { margin: 0; }
.contact-form { padding: 26px; display: grid; gap: 16px; box-shadow: none; }
.contact-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.contact-form legend { font: 600 15px/1.3 var(--f-display); margin-bottom: 10px; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radios label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; font-size: 15px; }
.radios label:has(input:checked) { border-color: var(--accent); background: var(--accent-tint); }
.radios input { accent-color: var(--accent); margin: 0; }
.fld-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 560px) { .fld-row { grid-template-columns: minmax(0, 1fr); } }
.fld { display: grid; gap: 6px; font: 600 14px/1.2 var(--f-display); }
.fld input, .fld select, .fld textarea { font: 400 16px/1.4 var(--f-body); color: var(--fg); background: var(--page); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%; }
.fld input:focus-visible, .fld select:focus-visible, .fld textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.contact-form .btn { justify-self: start; }

/* user guide pages (IT4S-474) */
.guide { padding-block: clamp(32px, 5vw, 56px); }
.guide-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .guide-layout { grid-template-columns: minmax(0, 1fr); } .guide-nav { position: static !important; } }
.guide-nav { position: sticky; top: 92px; display: grid; gap: 18px; font-size: 14.5px; max-height: calc(100vh - 110px); overflow: auto; }
.guide-nav h2 { font: 600 12px/1 var(--f-display); text-transform: uppercase; letter-spacing: .1em; color: var(--fg-dim); margin-bottom: 6px; }
.guide-nav div { display: grid; gap: 2px; }
.guide-nav a { color: var(--fg-muted); text-decoration: none; padding: 5px 8px; border-radius: 6px; }
.guide-nav a:hover { background: var(--accent-tint); color: var(--fg); }
.guide-nav a[aria-current="page"] { background: var(--accent-tint); color: var(--accent); font-weight: 600; }
.guide-home { font-weight: 600; }
.guide .doc { max-width: 78ch; }
/* IT4S-557: the AI & MCP page's tool tables */
.tool-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tool-table th { text-align: left; font: 600 12.5px/1.2 var(--f-display); text-transform: uppercase; letter-spacing: .08em; color: var(--fg-dim); padding: 8px 12px; border-bottom: 1px solid var(--border, rgba(127,127,127,.25)); }
.tool-table td { padding: 8px 12px; border-bottom: 1px solid var(--border, rgba(127,127,127,.15)); vertical-align: top; color: var(--fg-muted); }
.tool-table td:first-child { white-space: nowrap; width: 1%; }
.tool-table code { font-size: 13.5px; color: var(--fg); }
#alle-tools h3, #all-tools h3 { margin: 32px 0 10px; font-size: 20px; }
#alle-tools h3 .count, #all-tools h3 .count { font: 500 13px/1 var(--f-body); color: var(--fg-dim); margin-left: 6px; }
#alle-tools .note, #all-tools .note { font-size: 13.5px; color: var(--fg-dim); }
@media (max-width: 640px) { .tool-table td:first-child { white-space: normal; } }
/* IT4S-559: the API reference */
.api-basics { display: grid; gap: 10px; margin: 16px 0 24px; }
.api-basics div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; }
.api-basics dt { font-weight: 600; }
.api-basics dd { margin: 0; color: var(--fg-muted); }
@media (max-width: 640px) { .api-basics div { grid-template-columns: 1fr; gap: 2px; } }
#endpunkte h3, #endpoints h3 { margin: 32px 0 10px; font-size: 20px; }
#endpunkte h3 .count, #endpoints h3 .count { font: 500 13px/1 var(--f-body); color: var(--fg-dim); margin-left: 6px; }
.verb { font: 700 11.5px/1 var(--f-mono, ui-monospace, monospace); padding: 3px 6px; border-radius: 4px; background: var(--accent-tint); color: var(--accent); }
.verb-post { background: rgba(46, 160, 67, .14); color: #1f7a35; }
.verb-patch, .verb-put { background: rgba(203, 132, 0, .14); color: #8a5a00; }
.verb-delete { background: rgba(207, 34, 46, .12); color: #b42318; }
.api-table td:nth-child(2) { white-space: nowrap; }
@media (max-width: 760px) { .api-table td:nth-child(2) { white-space: normal; word-break: break-all; } }
/* IT4S-558: release note pages */
.rel-doc .rel-nav { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.rel-all { margin-top: 18px; }
.timeline .tl-head a { color: inherit; text-decoration: none; }
.timeline .tl-head a:hover b { color: var(--accent); }
/* IT4S-562: where a guide page sits */
.guide .crumbs { font-size: 13.5px; color: var(--fg-muted); margin-bottom: 10px; }
.guide .crumbs a { color: inherit; }
.guide .crumbs a:hover { color: var(--accent); }
.guide-cat a { color: var(--fg); text-decoration: none; }
.guide-cat a:hover { color: var(--accent); text-decoration: underline; }
.guide .doc { margin: 0; }

/* product logos (IT4S-480): one box height for all, light in both themes (the TIGO and FastPS files have a paper background) */
.prod-logo { height: 112px; border-radius: 10px; background: #faf8f3; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; }
.prod-logo img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.prod-logo img.mark { height: 64px; }
.prod-logo img:not(.mark) { max-height: 88px; }
.prod-grid .prod.it4s { border-color: var(--accent); }


/* top band (IT4S-479): full-width dark header over a decorative background; on the home page it holds the hero.
   The band stays dark in light and dark mode. */
.top-band { position: relative; background: #061a2d; color: #fff; overflow: hidden; isolation: isolate; }
.top-band .bd { position: absolute; inset: 0; pointer-events: none; z-index: -2; opacity: .35; }
.top-band.with-hero .bd { opacity: 1; }
.bd-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(6, 26, 45, .98) 0%, rgba(6, 26, 45, .9) 42%, rgba(6, 26, 45, .45) 100%); }
.bd-code { position: absolute; right: 3%; top: 104px; font: 400 13px/1.95 var(--f-mono); color: #5aa6f5; opacity: .6; white-space: pre; }
.bd-agent { position: absolute; right: 30%; top: 330px; width: 300px; display: flex; gap: 10px; background: #0f2f4f; border: 1px solid #2e5478; border-radius: 14px; padding: 12px 14px; opacity: .85; font-size: 12px; line-height: 1.45; color: #d9e3ef; }
.bd-agent b { display: block; color: #fff; }
.bd-av { flex: none; width: 32px; height: 32px; border-radius: 8px; background: #5aa6f5; color: #061a2d; display: grid; place-items: center; font: 800 13px/1 var(--f-display); }
.bd-board { position: absolute; right: 3%; bottom: -40px; display: flex; gap: 12px; opacity: .55; }
.bd-col { width: 150px; display: grid; gap: 8px; align-content: start; }
.bd-col-h { font: 700 10px/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase; color: #8fb3d9; }
.bd-card { background: #0f2f4f; border: 1px solid #23415f; border-radius: 8px; padding: 10px; display: grid; gap: 7px; }
.bd-key { display: flex; align-items: center; gap: 6px; font: 600 11px/1 var(--f-mono); color: #8fb8dc; }
.bd-key .type-ic { width: 12px; height: 12px; }
.bd-card i { display: block; height: 6px; border-radius: 3px; background: #23415f; }
.bd-card i.short { width: 60%; }
.top-band:not(.with-hero) .bd-agent, .top-band:not(.with-hero) .bd-board { display: none; }
.top-band:not(.with-hero) .bd-code { top: 6px; font-size: 11px; line-height: 1.7; }
@media (max-width: 900px) { .bd-agent, .bd-board { display: none; } .bd-code { opacity: .3; } }

.nav { position: relative; z-index: 20; }
.nav-row { display: flex; align-items: center; gap: 12px 28px; padding: 16px clamp(16px, 4vw, 56px); }
.nav .logo img { height: 58px; width: auto; display: block; }
.nav-links { display: flex; justify-content: center; gap: 4px; flex: 1 1 auto; }
.nav-links a { padding: 10px 14px; border-radius: 8px; color: #d9e3ef; text-decoration: none; font: 600 15px/1 var(--f-display); white-space: nowrap; }
.nav-links a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.nav-links a[aria-current="page"] { color: #fff; background: rgba(90, 166, 245, .18); box-shadow: inset 0 -2px 0 #5aa6f5; }
.nav-tools { display: flex; align-items: center; gap: 8px; flex: none; }
/* The menu is centred on the page, not between the logo and the tools (they differ in width): two equal side columns
   that never get narrower than their content, so on tighter screens the menu gives way instead of overlapping. Below
   1000px the menu folds into the mobile menu and the row stays a flex row. */
@media (min-width: 1001px) {
  .nav-row { display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); }
  .nav-row .logo { justify-self: start; }
  .nav-links { flex: none; }
  .nav-tools { justify-self: end; }
}
.hd-btn { height: 40px; min-width: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 10px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .22); background: transparent; color: #fff; cursor: pointer; text-decoration: none; font: 700 14px/1 var(--f-display); }
.hd-btn svg { width: 18px; height: 18px; }
.hd-btn:hover, .hd-btn[aria-expanded="true"] { border-color: #fff; background: rgba(255, 255, 255, .08); }
.nav .menu { color: var(--fg); }
.btn-light { background: #fff; color: #102c46; padding: 11px 18px; margin-left: 4px; font-size: 15px; }
.btn-light:hover { background: #e8f1fb; }
.top-band :focus-visible { outline-color: #7db9f7; }
.menu-btn { display: none; background: none; border: 1px solid rgba(255, 255, 255, .3); border-radius: 10px; color: #fff; font: 600 14px/1 var(--f-display); padding: 11px 14px; cursor: pointer; }
.nav .mobile-menu { display: none; padding: 0 clamp(16px, 4vw, 56px) 16px; }
.mobile-menu a { display: block; padding: 11px 0; color: #fff; text-decoration: none; font: 600 16px/1.2 var(--f-display); border-top: 1px solid rgba(255, 255, 255, .12); }
.mobile-menu a[aria-current="page"] { color: #7db9f7; }
@media (max-width: 1240px) { .nav-row { gap: 12px 14px; } .nav .logo img { height: 48px; } .nav-links { gap: 0; } .nav-links a { padding: 10px 9px; font-size: 14.5px; } .btn-light { padding: 11px 14px; } }
@media (max-width: 1000px) { .nav-links { display: none; } .menu-btn { display: inline-block; } .nav-tools { margin-left: auto; } .nav.nav-open .mobile-menu { display: block; } }
@media (max-width: 640px) { .nav .logo img { height: 42px; } .nav-tools .btn-light { display: none; } .nav-row { gap: 8px; } .hd-btn span { display: none; } }

/* home hero on the dark band */
.top-band .h-hero { padding-block: clamp(40px, 6vw, 72px) clamp(72px, 9vw, 120px); background: none; overflow: visible; }
.top-band .h-hero::before { display: none; }
.top-band .h-hero-copy { max-width: 1200px; }
.top-band .h-hero h1 { color: #fff; max-width: 15ch; font-size: clamp(40px, 5.6vw, 66px); }
.top-band .h-hero h1 em { color: #5aa6f5; }
.top-band .h-hero .lede { color: #d9e3ef; max-width: 58ch; }
.top-band .say { color: #8fb3d9; font: 700 13px/1.3 var(--f-display); letter-spacing: .12em; text-transform: uppercase; }
.top-band .new-pill { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: #e8edf5; }
.top-band .new-pill span { background: #5aa6f5; color: #061a2d; }
.top-band .new-pill b { color: #e8edf5; }
.top-band .checks { color: #d9e3ef; }
.top-band .checks .mi { fill: #7ee2a8; }
.top-band .btn-primary { background: #1f74d6; color: #fff; }
.top-band .btn-primary:hover { background: #1a68c4; }
html { scroll-padding-top: 16px; }
.top-band .h-hero .wrap.h-hero-copy { gap: 20px; }
.top-band:not(.with-hero) .bd { opacity: .22; }
.top-band { overflow: visible; }
.top-band .bd, .top-band .bd-shade { overflow: hidden; }
.top-band .nav { z-index: 30; }
.prod-grid .prod { grid-template-columns: minmax(0, 1fr); padding: 16px; }
.prod-grid .prod > i { display: none; }
/* IT4S-471: three cards; Begleiteter Start is a service, so its price reads as text */
.plans { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
@media (max-width: 960px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; } }
.plan.guided .price b { font-size: clamp(26px, 3vw, 34px); }

/* ---------- IT4S-491: interactive sections (scenes) ---------- */
/* A scene reserves its height (--scene-h) so nothing below moves when it comes alive (CLS < 0.05). Its HTML is the
   static end state; data-live (motion.js) switches static-only parts off and live-only parts on, in the same box. */
[data-scene] { min-height: var(--scene-h, auto); contain: layout paint; position: relative; }
[data-scene]:not([data-live]) .live-only { visibility: hidden; }
[data-scene][data-live] .static-only { visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
  [data-scene] *, [data-scene] *::before, [data-scene] *::after { animation: none !important; transition: none !important; }
}
/* only transform and opacity move: no layout work per frame */
.scene-in { animation: scene-in .45s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes scene-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- IT4S-486 (W1): hero "sentence → agent → board" ---------- */
/* always on the dark top band; colours fixed like the band, contrast ≥ 4.5:1 on #061a2d */
.top-band.with-hero .bd { display: none; }
.hw { --hw-bg: #061a2d; --hw-line: #23415f; --hw-card: #0f2f4f; --hw-dim: #a9b6cc; --hw-mute: #8fb3d9; --hw-ok: #7ee2a8; --hw-acc: #5aa6f5;
  background-image: linear-gradient(rgba(90,166,245,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(90,166,245,.055) 1px, transparent 1px);
  background-size: 56px 56px; color: #e8edf5; padding-block: clamp(32px, 5vw, 56px) clamp(40px, 5vw, 64px); }
.hw-copy { display: grid; justify-items: center; text-align: center; gap: 22px; }
.hw-eyebrow, .top-band .h-hero.hw h1.hw-eyebrow { margin: 0; max-width: none; text-wrap: wrap; font: 700 13px/1.3 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--hw-mute); }
.hw .hw-slogan { margin: 0; font-family: var(--f-display); font-weight: 700; text-wrap: balance; font-size: clamp(42px, 6.6vw, 96px); line-height: .98; letter-spacing: -.035em; color: #fff; }
.hw-line { display: block; animation: hw-rise 1s cubic-bezier(.2,.7,.2,1) var(--d, 0s) both; }
.hw-line.accent { color: var(--hw-acc); }
@keyframes hw-rise { from { transform: translateY(22px); } to { transform: none; } }
.hw-cta { justify-content: center; }
.hw-agents { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; font-size: 14px; color: var(--hw-dim); }
.hw-agent { font: 700 14px/1 var(--f-body); padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #e8edf5; cursor: pointer; min-height: 40px; }
.hw-agent[aria-pressed="true"] { background: #fff; color: #061a2d; border-color: #fff; }
.hw-agent:focus-visible { outline: 3px solid var(--hw-acc); outline-offset: 2px; }
.hw-stage-wrap { margin-top: 36px; }
.hw-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); border: 1px solid var(--hw-line); border-radius: 28px; background: #0b2440; overflow: hidden; box-shadow: 0 50px 140px -40px rgba(31,116,214,.6); }
.hw-term { background: #04121f; padding: 18px 22px; font: 400 13.5px/1.7 var(--f-mono, ui-monospace, Menlo, Consolas, monospace); border-right: 1px solid var(--hw-line); min-height: 430px; min-width: 0; }
.hw-term-h { display: flex; align-items: center; gap: 7px; margin-bottom: 12px; font: 400 12px/1 var(--f-body); color: var(--hw-dim); }
.hw-term-h i { width: 11px; height: 11px; border-radius: 50%; background: var(--hw-line); }
.hw-term-h span { margin-left: 8px; }
.hw-term-h b { margin-left: auto; color: var(--hw-ok); }
.hw-l { white-space: pre-wrap; overflow-wrap: anywhere; }
.hw-l.hw-q { color: var(--hw-mute); }
.hw-l.hw-ok { color: var(--hw-ok); margin-bottom: 6px; }
.hw-tool.hw-run { color: var(--hw-dim); }
.hw-l.hw-prompt { color: #fff; }
.hw-caret { display: inline-block; width: 8px; height: 16px; background: var(--hw-acc); vertical-align: -3px; margin-left: 2px; animation: hw-blink 1s steps(1) infinite; }
@keyframes hw-blink { 50% { opacity: 0; } }
.hw-boardbox { padding: 18px; display: grid; gap: 14px; min-width: 0; align-content: start; }
.hw-board-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hw-board-h b { font: 700 18px/1.2 var(--f-display); color: #fff; }
.hw-board-h span { font: 700 12px/1 var(--f-body); color: var(--hw-mute); border: 1px solid var(--hw-line); border-radius: 999px; padding: 5px 10px; }
.hw-scroll { overflow-x: auto; }
.hw-board { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 10px; min-width: 640px; }
.hw-col { display: flex; flex-direction: column; gap: 8px; background: rgba(255,255,255,.03); border-radius: 12px; padding: 10px; min-height: 250px; }
.hw-col-h { font: 700 11px/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--hw-mute); }
.hw-cards { display: grid; gap: 8px; align-content: start; }
.hw-card { display: grid; gap: 6px; border-radius: 10px; padding: 10px; background: var(--hw-card); border: 1px solid var(--hw-line); text-align: left; }
.hw-card.live { border-color: var(--hw-acc); box-shadow: 0 0 0 3px rgba(90,166,245,.22), 0 14px 34px -12px rgba(90,166,245,.7); }
.hw-card-top { display: flex; align-items: center; gap: 6px; font-size: 11px; }
.hw-card-top svg, .hw-card-top .type-ic { width: 14px; height: 14px; flex: none; }
.hw-type { font-weight: 700; color: #fff; }
.hw-key { font-family: var(--f-mono, ui-monospace, Menlo, Consolas, monospace); color: var(--hw-mute); margin-left: auto; }
.hw-card b { font: 600 13px/1.35 var(--f-body); color: #fff; }
.hw-meta { font-size: 11px; color: var(--hw-dim); }
.hw-hist { border-top: 1px solid var(--hw-line); padding-top: 12px; display: grid; gap: 7px; min-height: 104px; align-content: start; }
.hw-evs { display: grid; gap: 7px; }
.hw-ev { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: #c9d2dd; text-align: left; }
.hw-ev b { color: #fff; }
.hw-via { font: 800 10px/1 var(--f-body); letter-spacing: .04em; text-transform: uppercase; background: #1c3a5c; color: var(--hw-acc); border-radius: 4px; padding: 3px 6px; }
.hw-caption { margin: 16px 0 0; text-align: center; font-size: 13px; color: var(--hw-mute); }
@media (max-width: 900px) {
  .hw-stage { grid-template-columns: minmax(0, 1fr); }
  .hw-term { border-right: 0; border-bottom: 1px solid var(--hw-line); min-height: 260px; }
  .hw[data-scene] { --scene-h: 1180px !important; }
}
.top-band .h-hero.hw { padding-block: clamp(32px, 5vw, 56px) clamp(40px, 5vw, 64px); }
.top-band .hw .hw-slogan { max-width: none; font-size: clamp(42px, 6.6vw, 96px); }
.top-band .hw .hw-copy { max-width: 1200px; }
/* the terminal never changes the height of the stage while it types (CLS) */
.hw-term { height: 470px; overflow: hidden; }
@media (max-width: 900px) { .hw-term { height: 400px; min-height: 0; } }
.hw-col { height: 290px; min-height: 0; overflow: hidden; }

/* ---------- IT4S-487 (W2): Jira declutter 12 → 0 ---------- */
.h-declutter { padding-block: clamp(64px, 8vw, 104px); }
.sec-head.center, .links.center { text-align: center; justify-content: center; }
.links.center { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
.dc .sec-head { margin: 0 auto 44px; max-width: 960px; justify-items: center; }
.dc .sec-head .h2 { max-width: 920px; margin-inline: auto; font-size: clamp(34px, 4.6vw, 62px); }
.dc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 56px); align-items: center; }
.dc-num { display: grid; gap: 12px; align-content: center; }
.dc-n { font: 700 clamp(130px, 17vw, 240px)/.85 var(--f-display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; color: var(--fg); transition: color .5s ease; }
.dc[data-state="zero"] .dc-n, .dc[data-state="done"] .dc-n { color: var(--accent); }
.dc-label { font: 700 26px/1.2 var(--f-display); }
.dc-sub { margin: 0; font-size: 17px; line-height: 1.6; color: var(--fg-muted); max-width: 440px; }
.dc-label, .dc-sub { display: grid; }
.dc-label > span, .dc-sub > span { grid-area: 1 / 1; }
.dc[data-state="run"] .dc-l-done, .dc:not([data-state="run"]) .dc-l-run { visibility: hidden; }
.dc-replay { justify-self: start; margin-top: 10px; }
/* list and form share one box: the stage never changes its size */
.dc-stage { display: grid; min-height: 560px; align-items: center; }
.dc-stage > * { grid-area: 1 / 1; }
.dc-list { background: var(--card-2, var(--card)); border: 1px solid var(--line); border-radius: 22px; padding: 26px 28px; transition: opacity .3s ease; overflow: hidden; }
.dc-list-h { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.dc-list-h b { font: 700 18px/1.3 var(--f-display); }
.dc-list-h span { font-size: 13px; color: var(--fg-muted); }
.dc-list ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dc-list li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: 16px; font-weight: 600; background: var(--page); border: 1px solid var(--line); transition: opacity .45s ease, transform .45s ease, color .45s ease; }
.dc-list li.gone { opacity: .32; transform: translateX(28px); text-decoration: line-through; color: var(--fg-muted); }
.dc-i { width: 26px; font-variant-numeric: tabular-nums; color: var(--fg-muted); font-size: 13px; font-weight: 400; }
.dc-list li > span:nth-child(2) { flex: 1 1 auto; }
.dc-x { width: 20px; text-align: right; font-weight: 800; color: #c9372c; visibility: hidden; }
.dc-list li.gone .dc-x { visibility: visible; }
.dc-form { background: var(--card); border: 1px solid var(--accent-tint, #c3d9f2); border-radius: 22px; padding: 32px; display: grid; gap: 18px; box-shadow: 0 40px 90px -40px rgba(26,104,196,.55); visibility: hidden; }
.dc[data-state="done"] .dc-form { visibility: visible; animation: scene-in .6s cubic-bezier(.2,.7,.2,1) both; }
.dc[data-state="done"] .dc-list { opacity: 0; pointer-events: none; }
.dc-form-h { display: flex; align-items: center; gap: 12px; }
.dc-form-h b { font: 700 20px/1.2 var(--f-display); }
.dc-mark img { height: 30px; width: auto; }
.dc-fields { display: flex; flex-wrap: wrap; gap: 14px; }
.dc-field { flex: 1 1 240px; display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--fg-muted); }
.dc-field.key { flex: 0 1 140px; }
.dc-field b { font-size: 17px; color: var(--fg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: var(--page); }
.dc-members { display: flex; flex-wrap: wrap; gap: 8px; }
.dc-members i { font-style: normal; font-size: 14px; font-weight: 600; color: var(--fg); background: var(--accent-tint, #e8f1fb); border-radius: 999px; padding: 7px 12px; }
.dc-members i.agent { background: color-mix(in srgb, #7a4fd0 18%, var(--card)); }
.dc-go { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 4px; font-size: 14px; color: var(--fg-muted); }
.dc-btn { font-size: 15px; font-weight: 700; color: #fff; background: #1a68c4; border-radius: 12px; padding: 13px 22px; }
.dc-caption { margin: 28px 0 0; text-align: center; font-size: 13px; color: var(--fg-muted); }
/* compact on /preise#vergleich: no heading of its own, a smaller number and stage */
.dc.compact { margin-block: 8px 40px; }
.dc.compact .dc-n { font-size: clamp(96px, 11vw, 150px); }
.dc.compact .dc-label { font-size: 21px; }
.dc.compact .dc-stage { min-height: 0; }
.dc.compact .dc-list { padding: 18px 20px; }
.dc.compact .dc-list ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dc.compact .dc-list li { font-size: 14px; padding: 7px 10px; }
.dc.compact .dc-form { padding: 22px; }
@media (max-width: 860px) {
  .dc-grid { grid-template-columns: minmax(0, 1fr); }
  .dc.compact .dc-list ol { grid-template-columns: minmax(0, 1fr); }
  .dc[data-scene] { --scene-h: 1200px !important; }
  .dc.compact[data-scene] { --scene-h: 980px !important; }
}

/* ---------- IT4S-488 (W3): playground "Try a sentence" ---------- */
.h-pg { padding-block: clamp(64px, 8vw, 104px); background: var(--card-2, var(--page)); }
.pg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 4vw, 48px); align-items: start; align-content: start; }
.pg-left { display: grid; gap: 18px; align-content: start; }
.pg-left .h2 { margin: 0; font-size: clamp(34px, 4.4vw, 58px); }
.pg-left .lede { margin: 0; }
.pg-prompts { display: grid; gap: 10px; margin-top: 6px; }
.pg-p { font: 600 16px/1.35 var(--f-body); text-align: left; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; cursor: pointer; background: var(--card); color: var(--fg); border: 1px solid var(--line); min-height: 52px; }
.pg-p[aria-pressed="true"] { background: #102c46; color: #fff; border-color: #102c46; }
.pg-p:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.pg-cmd { flex: none; font: 700 12px/1 var(--f-mono, ui-monospace, Menlo, Consolas, monospace); border-radius: 6px; padding: 4px 7px; background: var(--accent-tint, #e8f1fb); color: var(--link, #1a68c4); }
.pg-p[aria-pressed="true"] .pg-cmd { background: #1f74d6; color: #fff; }
.pg-console { background: #061a2d; color: #e8edf5; border-radius: 26px; padding: 24px; display: grid; gap: 16px; align-content: start; box-shadow: 0 50px 110px -50px rgba(6,26,45,.7); min-width: 0; }
.pg-head { display: flex; justify-content: space-between; font-size: 12px; color: #a9b6cc; }
.pg-head b { color: #7ee2a8; }
.pg-runs { display: grid; }
.pg-run { grid-area: 1 / 1; display: grid; gap: 14px; align-content: start; }
.pg-run[aria-hidden="true"] { visibility: hidden; }
.pg-q { justify-self: end; max-width: 85%; min-height: 24px; background: #1c3a5c; border-radius: 16px 16px 4px 16px; padding: 12px 16px; font-size: 16px; line-height: 1.5; color: #fff; }
.pg-tools { display: grid; gap: 6px; }
.pg-tool { font: 400 13px/1.5 var(--f-mono, ui-monospace, Menlo, Consolas, monospace); color: #7ee2a8; }
.pg-tool.pg-busy { color: #a9b6cc; }
.pg-tool.pg-busy span { visibility: hidden; position: relative; }
.pg-tool.pg-busy span::after { content: "⋯"; visibility: visible; position: absolute; left: 0; }
.pg-answer { font-size: 16px; line-height: 1.55; color: #fff; }
.pg-step { transition: opacity .35s ease, transform .35s ease; }
.pg-wait { opacity: 0; transform: translateY(8px); }
.pg-res.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 10px; }
.pg-res.list, .pg-res.time { display: grid; gap: 8px; }
.pg-res.standup { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.pg-card { background: #0f2f4f; border: 1px solid #23415f; border-radius: 10px; padding: 10px; display: grid; grid-template-columns: auto 1fr; gap: 6px 8px; align-items: center; }
.pg-card b { grid-column: 1 / -1; font-size: 13px; line-height: 1.35; color: #fff; }
.pg-card .pg-m { grid-column: 1 / -1; }
.pg-card svg, .pg-row svg { width: 14px; height: 14px; }
.pg-k { font: 400 12.5px/1.2 var(--f-mono, ui-monospace, Menlo, Consolas, monospace); color: #8fb3d9; }
.pg-m { font-size: 11.5px; color: #a9b6cc; }
.pg-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: #0f2f4f; border: 1px solid #23415f; border-radius: 10px; padding: 12px 14px; }
.pg-row b { flex: 1 1 200px; font-size: 14px; color: #fff; }
.pg-t { font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.pg-group { background: #0f2f4f; border: 1px solid #23415f; border-radius: 12px; padding: 14px; display: grid; gap: 8px; font-size: 13px; line-height: 1.45; align-content: start; }
.pg-gh { font: 800 12px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; }
.pg-group.done .pg-gh { color: #7ee2a8; } .pg-group.prog .pg-gh { color: #5aa6f5; } .pg-group.blocked .pg-gh { color: #ff9a8a; }
.pg-total { display: flex; justify-content: space-between; padding: 10px 14px; font-size: 15px; font-weight: 700; color: #7ee2a8; }
.pg-note { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--fg-muted); }
@media (max-width: 900px) { .pg { grid-template-columns: minmax(0, 1fr); } .pg[data-scene] { --scene-h: 1500px !important; } }
.pg-q { display: grid; }
.pg-q > span { grid-area: 1 / 1; }
.pg-q.typing .pg-qf { visibility: hidden; }

/* ---------- IT4S-489 (W4): the race, 12 forms vs. one sentence ---------- */
.rc { margin-block: 24px 48px; }
.rc .sec-head { margin: 0 auto 28px; max-width: 860px; justify-items: center; }
.rc .sec-head .h2 { margin: 0; font-size: clamp(34px, 4.6vw, 60px); }
.rc .sec-head .lede { margin: 0; }
.rc-lanes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.rc-lane { border-radius: 22px; padding: 24px; display: grid; gap: 16px; align-content: start; min-width: 0; }
.rc-lane.left { background: #f4f5f7; border: 1px solid #dcdfe4; color: #2e3846; }
.rc-lane.right { background: #061a2d; color: #e8edf5; }
.rc-lh { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.rc-lh span { font-size: 15px; font-weight: 700; color: #4b5563; }
.rc-lane.right .rc-lh span { color: #a9b6cc; }
.rc-lh b { font: 700 28px/1 var(--f-display); font-variant-numeric: tabular-nums; }
.rc-lane.right .rc-lh b { color: #fff; }
.rc-bar { height: 8px; border-radius: 999px; overflow: hidden; background: #dcdfe4; }
.rc-lane.right .rc-bar { background: #1c3a5c; }
.rc-bar i { display: block; height: 100%; background: #6b7280; transform-origin: left; transition: transform .3s ease; }
.rc-lane.right .rc-bar i { background: #5aa6f5; }
.rc-dialog { background: #fff; border: 1px solid #dcdfe4; border-radius: 14px; padding: 18px; display: grid; gap: 10px; box-shadow: 0 10px 30px -18px rgba(30,41,59,.4); }
.rc-dialog > b { font-size: 16px; color: #1f2937; }
.rc-f { display: grid; gap: 3px; }
.rc-f span { font-size: 11px; font-weight: 700; color: #6b7280; }
.rc-v { display: block; min-height: 18px; font-style: normal; font-size: 14px; color: #1f2937; border: 2px solid #e5e7eb; border-radius: 4px; padding: 6px 8px; background: #fafafa; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-v.focus { border-color: #9ca3af; }
.rc-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; font-size: 13px; color: #6b7280; }
.rc-actions span { padding: 8px 10px; }
.rc-create { font-weight: 700; color: #fff !important; border-radius: 4px; padding: 8px 14px !important; background: #4b5563; }
.rc-create.press { background: #1f2937; }
.rc-slots { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5px; }
.rc-slots i { height: 14px; border-radius: 3px; background: #e5e7eb; }
.rc-slots i.on { background: #6b7280; }
.rc-q { justify-self: end; max-width: 90%; display: grid; background: #1c3a5c; border-radius: 16px 16px 4px 16px; padding: 12px 16px; font-size: 16px; line-height: 1.5; color: #fff; }
.rc-q > span { grid-area: 1 / 1; }
.rc-q.typing .rc-qf { visibility: hidden; }
.rc-tool { font: 400 13px/1.5 var(--f-mono, ui-monospace, Menlo, Consolas, monospace); color: #7ee2a8; }
.rc-tool.busy { color: #a9b6cc; }
.rc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.rc-card { background: #0f2f4f; border: 1px solid #23415f; border-radius: 9px; padding: 8px 9px; display: grid; gap: 4px; transition: opacity .3s ease, transform .3s ease; }
.rc-card span { font: 400 10px/1.3 var(--f-mono, ui-monospace, Menlo, Consolas, monospace); color: #8fb3d9; }
.rc-card b { font-size: 12px; line-height: 1.3; color: #fff; }
.rc-hide { visibility: hidden; }
.rc-card.rc-hide { opacity: 0; transform: scale(.85); visibility: visible; }
.rc-done { font-size: 15px; font-weight: 700; color: #7ee2a8; }
.rc:not([data-state="done"]):not([data-state="right"]) .rc-done { visibility: hidden; }
.rc-foot { display: grid; justify-items: center; gap: 14px; margin-top: 28px; }
.rc-punch { margin: 0; font: 700 clamp(30px, 4vw, 52px)/1.1 var(--f-display); letter-spacing: -.025em; text-align: center; }
.rc-punch span { color: var(--accent); }
.rc:not([data-state="done"]) .rc-punch { visibility: hidden; }
.rc-foot-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; font-size: 13px; color: var(--fg-muted); }
@media (max-width: 860px) { .rc-lanes { grid-template-columns: minmax(0, 1fr); } .rc[data-scene] { --scene-h: 1500px !important; } }
.rc-v { box-sizing: border-box; height: 36px; line-height: 18px; min-height: 0; }
/* the lane headers never change their size while the numbers change (no layout shift) */
.rc-lh { flex-wrap: nowrap; }
.rc-lh span { flex: 1 1 auto; min-width: 0; }
.rc-lh b { flex: none; }
.rc-count { min-width: 3.6em; text-align: right; }
.rc-one { display: grid; justify-items: end; }
.rc-one > span { grid-area: 1 / 1; font: inherit; color: inherit; }
.rc-one-run { visibility: hidden; }
.rc-one.running .rc-one-run { visibility: visible; }
.rc-one.running .rc-one-done { visibility: hidden; }
.rc-lane .rc-lh .rc-one > span { color: #fff; font-size: inherit; font-weight: inherit; flex: none; }

/* ---------- IT4S-490 (W5): developer section "One command. No account. Your agent." ---------- */
/* dark like the hero; colours fixed, contrast ≥ 4.5:1 on #061a2d. The three terminal runs share one grid cell, and every
   line keeps its box while it waits or types (full text under the typed one): switching tabs or playing moves nothing. */
.dv-sec { padding-block: clamp(64px, 8vw, 104px); }
.dv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 4vw, 56px); align-items: start; }
.dv-copy { display: grid; gap: 18px; align-content: start; min-width: 0; }
.dv-copy .eyebrow, .dv-copy .lede, .dv-copy .h2 { margin: 0; }
.dv-copy .h2 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.02; }
.dv-h { display: block; }
.dv-h.accent { color: #5aa6f5; }
.dv-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: #c3d0dd; font-size: 15px; }
.dv-checks li { display: flex; gap: 10px; align-items: flex-start; }
.dv-checks svg { flex: none; width: 18px; height: 18px; color: #7ee2a8; margin-top: 2px; }
.dv-connect { background: #0b2440; border: 1px solid #23415f; border-radius: 16px; overflow: hidden; display: grid; }
.dv-connect .tabs { border-bottom-color: #23415f; }
.dv-connect .tabs button { color: #a9b6cc; }
.dv-connect .tabs button[aria-selected="true"] { color: #fff; border-bottom-color: #5aa6f5; }
.dv-connect .tabs button:focus-visible { outline: 3px solid #5aa6f5; outline-offset: -3px; }
/* the panels share one cell, so the box keeps the height of the tallest */
.dv-connect .tabpanel { grid-area: 2 / 1; padding: 16px; gap: 12px; }
.dv-connect .tabpanel[hidden] { display: grid; visibility: hidden; }
.dv-connect .tabpanel p { color: #c3d0dd; font-size: 14px; margin: 0; }
.dv-connect .code { background: #04121f; border-color: #23415f; color: #e8edf5; }
.dv-connect .copy { color: #c3d0dd; border-color: #3a5a7c; }
.dv-connect .copy:hover { color: #fff; border-color: #a9b6cc; }
.dv-cta { justify-self: start; }
.dv-term { margin: 0; background: #04121f; border: 1px solid #23415f; border-radius: 22px; padding: 18px 22px 16px; font: 400 13.5px/1.65 var(--f-mono, ui-monospace, Menlo, Consolas, monospace); color: #e8edf5; display: grid; gap: 12px; min-width: 0; box-shadow: 0 50px 120px -50px rgba(31,116,214,.55); }
.dv-term-h { display: flex; align-items: center; gap: 7px; font: 400 12px/1 var(--f-body); color: #a9b6cc; }
.dv-term-h i { width: 10px; height: 10px; border-radius: 50%; background: #23415f; }
.dv-term-h .dv-title { margin-left: 8px; }
.dv-term-h b { margin-left: auto; color: #7ee2a8; font-weight: 600; }
.dv-runs { display: grid; }
.dv-run { grid-area: 1 / 1; display: grid; gap: 6px; align-content: start; min-width: 0; }
.dv:not([data-tab="claude"]) [data-run="claude"], .dv:not([data-tab="cursor"]) [data-run="cursor"], .dv:not([data-tab="rest"]) [data-run="rest"] { visibility: hidden; }
.dv-l { display: flex; gap: 10px; min-width: 0; overflow-wrap: anywhere; }
.dv-p { flex: none; color: #8fb3d9; }
.dv-cmd { color: #fff; }
.dv-q { color: #fff; font-weight: 600; margin-top: 8px; }
.dv-tool { color: #7ee2a8; }
.dv-json { color: #c3d0dd; font-size: 12.5px; }
.dv-answer { display: block; margin-top: 8px; padding: 12px 14px; border-radius: 12px; background: #0f2f4f; font: 400 15px/1.55 var(--f-body); color: #fff; }
.dv-tx { display: grid; min-width: 0; }
.dv-f, .dv-t { grid-area: 1 / 1; }
.dv-typing .dv-f { visibility: hidden; }
.dv-t { visibility: hidden; }
.dv-typing .dv-t { visibility: visible; }
.dv-t::after { content: "▍"; color: #5aa6f5; }
.dv-busy { color: #a9b6cc; }
.dv-busy .dv-p { visibility: hidden; position: relative; }
.dv-busy .dv-p::after { content: "⋯"; visibility: visible; position: absolute; left: 0; }
.dv-s { transition: opacity .3s ease, transform .3s ease; }
.dv-wait { opacity: 0; transform: translateY(6px); }
.dv-term figcaption { font: 400 12px/1.4 var(--f-body); color: #a9b6cc; }
@media (max-width: 960px) {
  .dv { grid-template-columns: minmax(0, 1fr); }
  .dv-term { font-size: 12.5px; padding: 16px; }
}

/* ---------- IT4S-492: 3D scroll reveal of the large app views on /funktionen ---------- */
/* The board, the issue overview and the briefing enter tilted back and turn flat while they scroll in; a soft shadow
   under them fades out as they land. Pure CSS scroll-driven animation: only transform and opacity, on the compositor,
   no script. Without support (Firefox, older Safari) and with reduced motion they are flat from the start. The tilt
   never changes the layout box, so nothing shifts (CLS). */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .ap-fig.tilt { position: relative; isolation: isolate; perspective: 1600px; view-timeline: --tilt block; }
    .ap-fig.tilt .ap-shot { transform-origin: 50% 100%; animation: tilt-flat linear both; animation-timeline: --tilt; animation-range: entry 10% cover 42%; }
    .ap-fig.tilt::after { content: ""; position: absolute; inset: auto 8% -18px; height: 40px; border-radius: 50%; background: rgba(6, 26, 45, .35); filter: blur(22px); z-index: -1; animation: tilt-shadow linear both; animation-timeline: --tilt; animation-range: entry 10% cover 42%; }
    @keyframes tilt-flat { from { transform: rotateX(30deg) scale(.9); opacity: .6; } to { transform: none; opacity: 1; } }
    @keyframes tilt-shadow { from { opacity: 1; } to { opacity: .25; } }
  }
}

/* ---------- IT4S-493: agent swarm on /funktionen#ki ---------- */
/* three actors on one board; each has a colour (cursor, presence ring, feed dot) with white text ≥ 4.5:1 */
.sw-block { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.7fr); gap: clamp(24px, 4vw, 48px); align-items: center; margin-top: clamp(40px, 6vw, 64px); }
.sw-copy { display: grid; gap: 12px; }
.sw-copy h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; }
.sw-copy p { color: var(--fg-muted); }
.sw { margin: 0; --sw-anna: #1f6fd0; --sw-build: #b4530a; --sw-review: #7c3aed; }
.sw-app { background: var(--page); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 14px; display: grid; gap: 12px; font: 400 13px/1.45 var(--f-body); color: var(--fg); }
.sw-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sw-pres { display: flex; align-items: center; gap: 4px; }
.sw-pres small { margin-left: 6px; color: var(--fg-muted); font-size: 12px; }
.sw-ring { box-shadow: 0 0 0 2px var(--c); color: #fff !important; background: var(--c) !important; }
.sw-anna { --c: var(--sw-anna); } .sw-build { --c: var(--sw-build); } .sw-review { --c: var(--sw-review); }
.sw-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.sw-col { min-height: 196px; }
.sw-card, .sw-slot { min-height: 84px; }
.sw-card { position: relative; }
.sw-has { z-index: 2; }
.sw-card.sw-lift { z-index: 4; box-shadow: 0 18px 36px -14px rgba(6,26,45,.45); }
.sw-badge { font: 600 11px/1 var(--f-body); color: var(--fg-muted); white-space: nowrap; }
.sw-meta { display: flex; gap: 10px; }
.sw-cur { position: absolute; right: 14px; bottom: -10px; display: flex; align-items: flex-start; gap: 2px; pointer-events: none; z-index: 5; transition: transform .9s cubic-bezier(.3,.7,.2,1); }
.sw-cur svg { fill: var(--c); stroke: #fff; stroke-width: 1.2; flex: none; }
.sw-cur span { margin-top: 12px; padding: 3px 7px; border-radius: 6px; background: var(--c); color: #fff; font: 600 11px/1.2 var(--f-body); white-space: nowrap; }
.sw-denied { position: absolute; right: 6px; top: -9px; padding: 3px 7px; border-radius: 999px; background: #b42318; color: #fff; font: 700 10.5px/1.2 var(--f-body); white-space: nowrap; z-index: 6; }
.sw-feed { display: grid; gap: 6px; border-top: 1px solid var(--line-soft); padding-top: 10px; }
.sw-feed > small { color: #2f9e62; font-weight: 700; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.sw-ev { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; min-height: 20px; }
.sw-ev i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }
.sw-via { color: var(--fg-muted); font-size: 12px; }
/* playing: things that have not happened yet keep their box */
.sw-off { visibility: hidden; }
.sw-card { transition: transform 1.3s cubic-bezier(.4,.1,.2,1), box-shadow .3s ease; }
.sw-card.sw-snap { transition: none; }
.sw-ev.sw-in, .sw-badge.sw-in, .sw-denied.sw-in { animation: scene-in .45s cubic-bezier(.2,.7,.2,1) both; }
@keyframes sw-shake { 0%, 100% { transform: none; } 20% { transform: translateX(22px) rotate(2deg); } 45% { transform: translateX(14px); } 70% { transform: translateX(-4px); } }
.sw-card.sw-nope { animation: sw-shake .7s ease both; }
@media (max-width: 760px) {
  .sw-block { grid-template-columns: minmax(0, 1fr); }
  .sw-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sw-col { min-height: 0; }
}

/* ---------- IT4S-494: "/" command palette ---------- */
.kbd-hint { background: none; border: 0; padding: 4px 0; color: inherit; font: inherit; font-size: 13px; opacity: .85; cursor: pointer; }
.kbd-hint:hover { opacity: 1; text-decoration: underline; }
.kbd-hint:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
kbd { font: 600 12px/1 var(--f-mono, ui-monospace, Menlo, Consolas, monospace); padding: 2px 6px; border: 1px solid currentColor; border-radius: 5px; opacity: .9; }
.pal { width: min(640px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 96px)); margin: 12vh auto auto; padding: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--card); color: var(--fg); box-shadow: 0 40px 100px -30px rgba(6,26,45,.55); overflow: hidden; }
.pal[open] { display: flex; }
.pal::backdrop { background: rgba(6, 26, 45, .45); backdrop-filter: blur(2px); }
.pal-box { display: flex; flex-direction: column; width: 100%; min-height: 0; }
.pal-in { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--fg); font: 400 17px/1.4 var(--f-body); padding: 18px 20px; outline: none; }
.pal-in:focus-visible { box-shadow: inset 0 -2px 0 var(--accent); }
.pal-list { list-style: none; margin: 0; padding: 6px; overflow-y: auto; flex: 1; min-height: 0; }
.pal-g { padding: 10px 12px 4px; font: 700 11px/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-dim); }
.pal-o { display: flex; align-items: baseline; gap: 10px; padding: 9px 12px; border-radius: 9px; cursor: pointer; font-size: 15px; line-height: 1.35; }
.pal-o[aria-selected="true"] { background: var(--accent-tint, #e8f1fb); color: var(--fg); box-shadow: inset 3px 0 0 var(--accent); }
.pal-t { flex: 1; min-width: 0; }
.pal-s { flex: none; max-width: 40%; font-size: 12.5px; color: var(--fg-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pal-k { flex: none; font: 700 12.5px/1.35 var(--f-mono, ui-monospace, Menlo, Consolas, monospace); color: var(--link, #1a68c4); }
.pal-none { padding: 18px 12px; color: var(--fg-muted); }
.pal-foot { margin: 0; padding: 10px 20px; border-top: 1px solid var(--line-soft); font-size: 12px; color: var(--fg-dim); }
@media (max-width: 640px) { .pal { margin-top: 16px; } .pal-s { display: none; } .pal-foot { display: none; } }

/* ---------- IT4S-495: Jira import "Ihre Schlüssel bleiben." ---------- */
.ji-sec { padding-block: clamp(56px, 7vw, 96px); }
.ji { margin: 28px 0 0; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: 20px; align-items: stretch; }
.ji-run { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: grid; gap: 12px; align-content: start; font-size: 14px; }
.ji-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ji-site { font-size: 12.5px; color: var(--fg-muted); }
.ji-site i { font-style: normal; color: #2f9e62; font-weight: 600; }
.ji-proj { justify-self: start; font: 600 12.5px/1 var(--f-mono, ui-monospace, Menlo, Consolas, monospace); padding: 5px 8px; border-radius: 6px; background: var(--chip); }
.ji-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; color: var(--fg-muted); font-size: 13.5px; }
.ji-state { display: grid; font-weight: 700; }
.ji-state > span { grid-area: 1 / 1; }
.ji-busy { visibility: hidden; color: var(--fg-muted); }
.ji-ok { color: #2f9e62; }
.ji[data-step="busy"] .ji-busy { visibility: visible; }
.ji[data-step="busy"] .ji-ok, .ji[data-step="start"] .ji-ok { visibility: hidden; }
.ji-bar { height: 6px; border-radius: 3px; background: var(--chip); overflow: hidden; }
.ji-bar i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; }
.ji-counts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
.ji-counts div { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--line-soft); padding-bottom: 4px; }
.ji-counts dt { color: var(--fg-muted); font-size: 13px; }
.ji-counts dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; min-width: 6ch; text-align: right; }
.ji-board { background: var(--page); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 14px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.ji-bh { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.ji-keys { font: 700 13px/1 var(--f-mono, ui-monospace, Menlo, Consolas, monospace); color: var(--link, #1a68c4); background: var(--accent-tint, #e8f1fb); padding: 6px 9px; border-radius: 6px; }
.ji-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ji-col { background: var(--card-2); border-radius: 10px; padding: 8px; display: grid; gap: 8px; align-content: start; min-height: 200px; }
.ji-card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 8px; display: grid; grid-template-columns: auto 1fr; gap: 4px 6px; align-items: center; font-size: 12.5px; line-height: 1.35; transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.ji-card svg { width: 14px; height: 14px; }
.ji-k { font: 700 12.5px/1.2 var(--f-mono, ui-monospace, Menlo, Consolas, monospace); color: var(--link, #1a68c4); }
.ji-t { grid-column: 1 / -1; }
.ji-note { margin: 14px 0 0; font-size: 13px; color: var(--fg-muted); max-width: 860px; }
/* playing: steps and cards wait in their boxes */
.ji-step { transition: opacity .3s ease; }
.ji-step.ji-wait { opacity: 0; }
.ji-card.ji-wait { opacity: 0; transform: translateX(-56px) scale(.92); }
@media (max-width: 860px) {
  .ji { grid-template-columns: minmax(0, 1fr); }
  .ji-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ji-col { min-height: 0; }
}

/* ---------- IT4S-496: the 30-second film on the home page ---------- */
.h-film { padding-block: clamp(48px, 6vw, 88px); }
.fv { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.6fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.fv-copy { display: grid; gap: 12px; }
.fv-copy .h2, .fv-copy .lede { margin: 0; }
.fv-fig { margin: 0; }
.fv-v { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 20px; background: #061a2d; box-shadow: 0 40px 100px -40px rgba(6,26,45,.6); }
@media (max-width: 860px) { .fv { grid-template-columns: minmax(0, 1fr); } }
