/* Alaska — self-hosted (Kamuno corporate); weights used in CSS: 400–700 */
@font-face {
  font-family: Alaska;
  src: url("./fonts/Alaska-Thin.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Alaska;
  src: url("./fonts/Alaska-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Alaska;
  src: url("./fonts/Alaska-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Alaska;
  src: url("./fonts/Alaska-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Alaska;
  src: url("./fonts/Alaska-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Alaska;
  src: url("./fonts/Alaska-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --card: #f8f9fa;
  --text: #142c33;
  --muted: #43405d;
  --border: rgba(20, 44, 51, 0.14);
  --shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  --radius: 14px;
  --focus: 0 0 0 3px rgba(39, 208, 103, 0.35);
  --accent: #27d067;
  --fixed-header-height: 0px;
  --process-steps-height: 0px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.4;
}

img {
  border-radius: 40px;
}

.top-header,
.top-header *,
.compact-topbar,
.compact-topbar * {
  font-family: Alaska, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

label {
  font-family: Arial;
  font-size: 15px;
}

.top-header {
  position: relative;
  z-index: 1001;
  width: 100%;
  background: #17242f;
  color: #fff;
  padding: 20px 8%;
}

.top-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("./assets/hero-collaboration.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  /* Gradient mask: photo barely visible under nav, slightly stronger behind headline, soft falloff */
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.06) 18%,
    rgba(0, 0, 0, 0.22) 48%,
    rgba(0, 0, 0, 0.14) 78%,
    rgba(0, 0, 0, 0.05) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.06) 18%,
    rgba(0, 0, 0, 0.22) 48%,
    rgba(0, 0, 0, 0.14) 78%,
    rgba(0, 0, 0, 0.05) 100%
  );
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
}

.top-header > * {
  position: relative;
  z-index: 1;
}

.top-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 18px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

.header-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo {
  width: 160px;
  max-width: 45vw;
  height: auto;
  border-radius: 0;
}

.btn-ghost,
.btn-primary,
.lang-btn {
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
}

.btn-ghost {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-weight: 600;
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

.btn-primary {
  padding: 8px 16px;
  background: #27d067;
  color: #ffffff;
  font-weight: 400;
}

.btn-primary:hover { filter: brightness(0.95); }

.mobile-login-btn {
  display: none;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(7, 31, 48, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  padding: 8px 12px;
  cursor: pointer;
  min-width: 88px;
  justify-content: center;
  backdrop-filter: blur(14px);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.lang-btn:hover {
  background: rgba(10, 42, 65, 0.42);
  border-color: rgba(255, 255, 255, 0.4);
}

.lang-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(41, 208, 104, 0.2);
  border-color: rgba(41, 208, 104, 0.55);
}

.lang-switcher {
  position: relative;
}

.lang-switcher.is-open .lang-btn {
  background: rgba(10, 42, 65, 0.42);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 14px 30px rgba(3, 18, 28, 0.24);
}

.lang-label {
  font-weight: 500;
  letter-spacing: 0.08em;
}

.lang-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease;
}

.lang-switcher.is-open .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 180px;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid rgba(16, 74, 102, 0.14);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 42px rgba(4, 28, 44, 0.18);
  display: grid;
  gap: 4px;
  z-index: 30;
}

.lang-menu[hidden] {
  display: none;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #12354a;
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.lang-option:hover,
.lang-option:focus-visible {
  background: rgba(32, 135, 215, 0.08);
  color: #0f6ba8;
  outline: none;
}

.lang-option[aria-checked="true"] {
  background: #eef2f5;
  color: #12354a;
}

.lang-option-code {
  min-width: 32px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.lang-option-name {
  font-weight: 600;
}

.hero-title {
  font-size: 40px;
  line-height: 1.2;
  font-weight: 400;
  color: #fff;
  margin: 8px 0 0;
  width: 100%;
  max-width: min(36rem, 92vw);
  text-align: center;
  min-height: 3.6em;
  box-sizing: content-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}

.compact-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #17242f;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transform: translateY(calc(-100% - 22px));
  opacity: 0;
  pointer-events: none;
  transition: transform 0.56s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.44s ease;
  will-change: transform, opacity;
}

.compact-topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.compact-topbar .header-logo {
  width: 128px;
  max-width: 36vw;
}

.compact-topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.compact-topbar-desktop-inline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.compact-topbar-actions .compact-topbar-desktop-inline .compact-login-btn {
  order: 1;
}

.compact-topbar-actions .compact-topbar-desktop-inline .lang-switcher {
  order: 2;
}

.compact-topbar-mobile-menu {
  display: none;
  position: relative;
}

.compact-menu-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: none;
  border-image: none;
  border-radius: 12px;
  background: rgba(7, 31, 48, 0.28);
  color: #fff;
  cursor: pointer;
  transition: background 0.18s ease;
}

.compact-menu-trigger:hover {
  background: rgba(10, 42, 65, 0.42);
}

.compact-menu-trigger:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(41, 208, 104, 0.2);
}

.compact-menu-trigger[aria-expanded="true"] {
  background: rgba(10, 42, 65, 0.55);
}

.compact-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(320px, calc(100vw - 32px));
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1a2a32;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  z-index: 1002;
}

.compact-menu-panel[hidden] {
  display: none !important;
}

.compact-menu-panel-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

/* Extra space after language block before Login / Get access */
.compact-menu-lang {
  margin-bottom: 12px;
}

.compact-menu-lang .lang-switcher {
  width: 100%;
}

.compact-menu-lang .lang-btn {
  width: 100%;
  min-width: 0;
}

.compact-menu-lang .lang-menu {
  left: 0;
  right: 0;
  min-width: 0;
}

.compact-menu-login,
.compact-menu-access {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

body.header-fixed .compact-topbar {
  /* none: avoid transform containing-block so .lang-menu anchors to .lang-switcher */
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

.process-steps {
  width: 100%;
  border-top: 0;
  border-bottom: 1px solid #d7dce2;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 900;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  transition: top 0.32s ease;
  scrollbar-width: none;
}

.process-steps::-webkit-scrollbar {
  display: none;
}

body.header-fixed .process-steps {
  top: var(--fixed-header-height, 0px);
}

.process-steps-inner {
  width: max-content;
  min-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.process-link {
  flex: 0 0 170px;
  width: 170px;
  padding: 20px 4px 12px 4px;
  border-right: 1px solid #d7dce2;
  color: #0c2530;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.process-link:first-child {
  border-left: 0;
}

.process-link:hover {
  background: #f4f8fa;
}

/* Outline search / magnifier (inactive: muted stroke; active: white on dark bar) */
.process-dot {
  --process-icon-size: 16px;
  width: var(--process-icon-size);
  height: var(--process-icon-size);
  flex: 0 0 var(--process-icon-size);
  position: relative;
  border-radius: 0;
  background: transparent;
}

.process-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23b8c2c9%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2211%22%20cy%3D%2211%22%20r%3D%228%22%2F%3E%3Cpath%20d%3D%22M21%2021l-4.35-4.35%22%2F%3E%3C%2Fsvg%3E")
    center / contain no-repeat;
}

.process-label {
  font-size: 12px;
  line-height: 1.25;
  font-weight: 400;
  font-family: alaska;
  letter-spacing: 0.1px;
}

.process-link-active {
  background: #27d067;
  color: #ffffff;
}

.process-link-active .process-dot::before {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2211%22%20cy%3D%2211%22%20r%3D%228%22%2F%3E%3Cpath%20d%3D%22M21%2021l-4.35-4.35%22%2F%3E%3C%2Fsvg%3E");
}

.process-link-active:hover {
  background: #22ba5c;
}

.wrap {
  max-width: 1200px;
  margin: 40px auto 56px;
  padding: 0 18px;
}

.guide-layout {
  display: block;
}

.guide-main {
  min-width: 0;
  margin-top: 0;
}

.toc {
  display: none;
}

.toc-toolbar {
  display: none;
}

.toc-panel {
  min-width: 0;
}

.toc-title {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  color: #2a2148;
}

.toc-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc-list li {
  font-size: 13px;
}

.toc-list li + li {
  margin-top: 10px;
  padding-top: 10px;
}

.toc-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.25;
  position: relative;
  padding-left: 14px;
  transition: color 0.22s ease;
}

.toc-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -4px;
  border-style: solid;
  border-width: 4px 0 4px 6px;
  border-color: transparent transparent transparent currentColor;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.toc-link:hover {
  color: var(--text);
  text-decoration: underline;
}

.toc-link.toc-link-active {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.toc-link.toc-link-active::before {
  opacity: 1;
  transform: translateX(0);
}

.pre-faq-checklist {
  margin: 0 0 18px;
  padding: 16px 18px;
  background: #f6f9fc;
  border: 1px solid rgb(20 44 51 / 6%);
  border-radius: 20px;
  color: var(--text);
}

.checklist-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.checklist-content {
  color: var(--text);
}

.checklist-content p {
  margin: 0 0 12px;
}

.checklist-list {
  margin: 0 0 18px;
  padding-left: 24px;
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 16px;
}

.checklist-list li {
  color: var(--text);
}

.checklist-note {
  list-style: none;
  margin-top: -4px;
  font-style: italic;
}

.checklist-subtitle {
  margin-top: 4px;
  font-weight: 600;
  color: rgba(20, 44, 51, 1);
}

.checklist-subtitle a {
  color: #f28c28;
  text-decoration: none;
}

.checklist-subtitle a:hover {
  color: #d97706;
  text-decoration: underline;
}

mark,
mark.hl {
  background: rgba(39, 208, 103, 0.25);
  color: inherit;
  border-radius: 6px;
  padding: 0 2px;
}

.faq {
  margin-top: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: none;
  overflow: hidden;
}

.item { border-bottom: 1px solid var(--border); }
.item:last-child { border-bottom: 0; }

/* Avoid browser scroll anchoring when accordion panels change height (keeps viewport on section header). */
#faq .item {
  overflow-anchor: none;
}

.trigger {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  background: rgb(12 59 69 / 0%);
  border: 0;
  text-align: left;
  color: var(--text);
  cursor: pointer;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}

.trigger:hover { background: rgba(0, 0, 0, 0.03); }

.faq .trigger > span:first-child {
  font-family: Alaska, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  font-size: 22px;
}

.trigger-with-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  row-gap: 8px;
}

.trigger-with-tag::after {
  content: attr(data-trigger-tag);
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(39, 208, 103, 0.14);
  border: 1px solid rgba(39, 208, 103, 0.28);
  font-family: Alaska, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: #1a6b3d;
  white-space: nowrap;
}

.trigger:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 10px;
  margin: 6px;
  width: calc(100% - 12px);
}

.icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  background: #fff;
  transition: transform .2s ease, border-color .2s ease;
}

.icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--text);
  stroke-width: 2.2;
  stroke-linecap: round;
  transition: transform .2s ease;
}

.panel {
  height: 0;
  overflow: hidden;
  transition: height .25s ease;
}

.panel-inner {
  padding: 0 18px 18px;
  color: var(--muted);
  font-size: 16px;
}

.item .panel-inner p {
  font-family: Arial, sans-serif;
  font-size: 15px;
}

.tag {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(100, 205, 114, 0.1);
  color: #2d8e39;
  margin-bottom: 8px;
}

.bullets { margin: 8px 0 0; padding-left: 18px; }
.bullets li { margin: 6px 0; }

.steps {
  display: grid;
  row-gap: 10px;
  column-gap: 4px;
  margin-top: 14px;
}

.step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  font-family: Arial, sans-serif;
  font-size: 15px;
  padding: 2px 0;
}

.step-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: #0c3b45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.step-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step p { margin: 0; }

.faq .panel-inner strong {
  font-weight: 400;
  font-size: 14px;
}

#guide-section-1 .steps {
  margin: 10px 0 14px;
  gap: 10px;
}

#guide-section-1 .step {
  grid-template-columns: 20px 1fr;
  gap: 10px;
  line-height: 1.35;
}

#guide-section-1 .step,
#guide-section-1 .step p,
#guide-section-1 .step strong {
  font-family: Arial, sans-serif;
  font-size: 15px;
}

#guide-section-1 .step strong {
  font-weight: 700;
}

/* Get started section (merged dashboard + criteria) */
.get-started-section {
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
}

.get-started-panel {
  display: flex;
  flex-direction: column;
}

.get-started-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px;
}

.get-started-intro {
  margin: 0 0 24px;
  color: var(--muted);
}

.get-started-actions {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.get-started-action-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.get-started-action-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.get-started-action-body {
  flex: 1;
  min-width: 0;
}

.get-started-action-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 4px;
}

.get-started-action-desc {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.get-started-requirements {
  padding: 16px 0 0;
  border: 1px solid rgba(20, 44, 51, 0);
  border-radius: var(--radius);
}

.get-started-requirements-intro {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 10px;
}

.get-started-requirements-list {
  margin: 0;
  padding-left: 20px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.get-started-requirements-list li {
  margin-bottom: 4px;
}

.section-scroll-link,
.get-started-requirements-list a {
  color: #f28c28;
  text-decoration: none;
}

.section-scroll-link:hover,
.get-started-requirements-list a:hover {
  color: #d97706;
  text-decoration: underline;
}

.get-started-img {
  order: -1;
  max-width: 698px;
  margin: 0 auto 20px;
}

.get-started-img img {
  width: 100%;
  max-width: 100%;
}

.docs-table {
  margin-top: 8px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fbfcfd;
  overflow: hidden;
}

.docs-table-title {
  margin: 0;
  padding: 14px 16px;
  color: var(--text);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.docs-table-tabs {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: #f6f7f8;
}

.docs-tab {
  border: 1px solid transparent;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  padding: 7px 16px;
  background: transparent;
  color: #a0a6ac;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.1;
}

.docs-tab.is-active {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.08);
  color: #2f3b44;
}

.docs-list {
  margin: 0;
  padding: 14px 16px 16px;
  list-style: none;
  background: #f3f6fa;
  display: grid;
  gap: 8px;
}

.docs-list li {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #2f3b44;
  line-height: 1.3;
}

.docs-check {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  margin-top: 2px;
  border-radius: 50%;
  background: #27d067;
  position: relative;
}

.docs-check::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 7px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.docs-list em {
  color: #9ca3ad;
  font-style: italic;
}

.upload-docs-section {
  max-width: 760px;
  font-family: Arial, sans-serif;
  color: var(--text);
}

.upload-docs-intro {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 64ch;
}

.upload-docs-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #f6f8fa;
  width: fit-content;
}

.upload-docs-tab {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  background: transparent;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.1;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
}

.upload-docs-tab.is-active {
  background: #fff;
  color: var(--text);
  box-shadow: 0 6px 18px rgba(20, 44, 51, 0.08);
}

.upload-docs-tab-label {
  display: block;
}

.upload-docs-panels {
  display: grid;
  gap: 16px;
}

.upload-docs-panel {
  display: grid;
  gap: 16px;
}

.upload-docs-panel[hidden] {
  display: none;
}

.upload-docs-group {
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(20, 44, 51, 0.05);
}

.upload-docs-panel-meta {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--muted);
}

.upload-docs-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.upload-docs-item,
.upload-docs-note-body {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.upload-docs-item-copy {
  min-width: 0;
}

.upload-docs-item-heading {
  margin: 0 0 2px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.upload-docs-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
  background: url("./assets/greencheck-1.svg") center / contain no-repeat;
}

.upload-docs-icon::after {
  content: none;
}

.upload-docs-item-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.upload-docs-item-copy a {
  color: #f28c28;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.upload-docs-item-copy a:hover {
  color: #d97706;
  text-decoration: underline;
}

.upload-docs-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(20, 44, 51, 0.06);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.upload-docs-item-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.after-submit-copy {
  max-width: 720px;
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
}

.after-submit-success {
  margin-bottom: 18px;
  padding: 16px 18px;
  background: rgba(39, 208, 103, 0.08);
  border: 1px solid rgba(39, 208, 103, 0.22);
  border-radius: 16px;
}

.after-submit-success p {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.after-submit-steps {
  margin-bottom: 18px;
}

.after-submit-label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.after-submit-list {
  margin: 0;
  padding-left: 20px;
  color: var(--text);
}

.after-submit-list li {
  margin-bottom: 8px;
}

.after-submit-list-item-with-card > p {
  margin: 0;
}

.after-submit-action-card {
  margin-top: 12px;
  max-width: 460px;
}

.after-submit-list li:last-child {
  margin-bottom: 0;
}

.after-submit-closing {
  margin: 0;
  color: var(--muted);
}

.submit-copy {
  max-width: 720px;
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
}

.submit-intro {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}

.submit-text {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 62ch;
}

.submit-warning,
.contact-data-requirement,
.contact-data-consent,
.owner-details-info,
.owner-confirmation-info {
  padding: 14px 18px;
  background: rgba(20, 44, 51, 0.05);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
}

.owner-details-info,
.owner-confirmation-info {
  background: rgba(20, 44, 51, 0);
}

.submit-warning {
  background: rgba(20, 44, 51, 0);
}

.signatories-instruction {
  padding: 14px 18px;
  background-color: rgba(20, 44, 51, 0);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
}

.submit-warning-title {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.submit-warning p:last-child {
  margin: 0;
  font-size: 14px;
  color: var(--text);
}

.credit-amount-section {
  max-width: 720px;
  font-family: Alaska, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
}

.credit-amount-intro {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
}

.credit-amount-note {
  padding: 14px 18px;
  background: rgba(20, 44, 51, 0);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
}

.credit-amount-label {
  margin: 0 0 6px;
  font-family: Alaska, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(27, 32, 70, 1);
}

.credit-amount-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}

#guide-section-5 .panel-inner {
  color: var(--text);
}

@media (min-width: 761px) {
  #faq > .item {
    padding: 8px 24px 8px;
  }

  #faq > #guide-section-1,
  #faq > #guide-section-2,
  #faq > #guide-section-10,
  #faq > #guide-section-11 {
    padding-bottom: 0;
  }

  #faq .item .panel-inner {
    padding: 0 34px 34px;
  }

  #guide-checklist.pre-faq-checklist {
    padding: 34px 24px 0;
  }

  #guide-checklist .checklist-title {
    padding-left: 18px;
    padding-right: 18px;
  }

  #guide-checklist .checklist-content {
    padding: 0 34px 24px;
  }
}

.financing-purpose-section {
  max-width: 760px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
  color: var(--text);
  text-align: left;
}

.financing-purpose-intro {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 62ch;
  text-align: left;
}

.financing-purpose-fields {
  display: grid;
  gap: 16px;
}

.financing-purpose-field-group {
  display: grid;
  gap: 8px;
}

.financing-purpose-field {
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(20, 44, 51, 0.06);
}

.financing-purpose-label {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.financing-purpose-helper {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.financing-purpose-example {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #8b98a5;
  font-style: italic;
}

.financing-purpose-example span {
  color: var(--muted);
  font-style: normal;
  font-weight: 600;
}

/* Company details section */
.contact-data-section {
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
}

.contact-data-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px;
}

.contact-data-intro {
  margin: 0 0 20px;
  color: var(--muted);
}

.owner-details-forms-intro {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  max-width: 62ch;
}

.contact-data-requirement {
  margin: 0 0 20px;
  background-color: rgba(20, 44, 51, 0);
}

.contact-data-requirement p {
  margin: 0;
  font-size: 14px;
  color: var(--text);
}

.contact-data-consent {
  margin: 0 0 20px;
  background-color: rgba(20, 44, 51, 0);
}

.contact-data-consent p {
  margin: 0;
  font-size: 14px;
  color: var(--text);
}

.contact-data-next-step {
  margin: 0 0 20px;
}

.contact-data-next-title {
  font-weight: 600;
  color: var(--text);
  margin: 0 0 6px;
}

.contact-data-next-step p {
  margin: 0 0 8px;
  color: var(--muted);
}

.contact-data-next-step ul {
  margin: 0;
  padding-left: 20px;
}

.contact-data-next-step li {
  margin-bottom: 4px;
}

.contact-data-optional {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.contact-data-shot {
  max-width: 700px;
  margin: 24px auto 0;
}

.contact-data-shot img {
  width: 100%;
  max-width: 100%;
}

/* Authorized signatories section */
.signatories-section {
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
}

.signatories-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px;
}

.signatories-intro {
  margin: 0 0 20px;
  color: var(--muted);
}

.signatories-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.signatories-action-card {
  display: flex;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--text);
}

.signatories-action-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.signatories-action-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 2px 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(67, 64, 93, 0.75);
}

.signatories-action-divider::before,
.signatories-action-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  max-width: 999px;
  background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
}

@media (min-width: 640px) {
  .signatories-actions {
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    gap: 16px;
  }

  .signatories-action-divider {
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0 2px;
    min-width: 2.75rem;
  }

  .signatories-action-divider::before,
  .signatories-action-divider::after {
    width: 1px;
    height: auto;
    flex: 1;
    min-height: 28px;
    max-width: none;
    background: var(--border);
  }
}

.signatories-instruction p {
  margin: 0;
  font-size: 14px;
  color: var(--text);
}

.signatories-shot {
  margin-top: 24px;
}

.kreditbetrag-shot {
  max-width: 780px;
  margin: 14px auto 0;
}

.kreditbetrag-shot img {
  width: 100%;
  max-width: 100%;
}

.finanzierungsziel-shot {
  max-width: 980px;
  margin: 14px auto 0;
}

.finanzierungsziel-shot.img-slot-filled img {
  width: 100%;
  max-width: 100%;
}

.login-shot {
  position: relative;
}

.login-shot img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

/* entraID hint — assets/entraid-arrow.svg */
.login-shot-arrow {
  position: absolute;
  top: calc(79% - 25px);
  left: calc(14% - 10px);
  display: block;
  width: min(79px, 36%);
  max-width: calc(100% - 12px);
  height: auto;
  background: transparent;
  box-sizing: border-box;
  line-height: 0;
}

.login-shot-arrow-svg {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: 100% 50%;
  animation: loginShotArrowSvg 1.45s ease-in-out infinite;
}

@keyframes loginShotArrowSvg {
  0%,
  100% {
    opacity: 0.9;
    transform: translateX(0) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(3px) scale(1.05);
  }
}

@keyframes loginShotArrowSvgMobile {
  0%,
  100% {
    opacity: 0.9;
    transform: translateX(0) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(2px) scale(1.03);
  }
}

.content-grid {
  display: grid;
  gap: 16px;
  align-items: start;
}

.intro-copy {
  grid-column: 1 / -1;
  width: 100%;
  font-family: Arial;
  font-size: 15px;
}

.partner-cta-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  width: 100%;
}

.partner-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 44px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  transition: filter 0.2s ease, background-color 0.2s ease;
}

.partner-cta-ghost {
  color: var(--accent);
  border-color: rgba(39, 208, 103, 0.6);
  background-color: rgba(255, 255, 255, 0);
}

.partner-cta-ghost:hover {
  background: rgba(39, 208, 103, 0.08);
  text-decoration: none;
}

.partner-cta-primary {
  color: rgba(255, 255, 255, 1);
  background: var(--accent);
}

.partner-cta-primary:hover {
  filter: brightness(0.95);
  text-decoration: none;
}

.img-slot {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  border: 2px dashed var(--border);
  background: linear-gradient(180deg, rgba(0, 0, 0, .02), rgba(0, 0, 0, .03));
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.img-slot-filled {
  aspect-ratio: auto;
  border: 0;
  background: transparent;
  overflow: visible;
  display: block;
}

.img-slot-filled img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.panel-inner a:not(.partner-cta):not(.section-scroll-link) { color: var(--accent); text-decoration: none; }
.panel-inner a:not(.partner-cta):not(.section-scroll-link):hover { text-decoration: underline; }

.item[data-open="true"] .icon {
  border-color: rgba(39, 208, 103, 0.8);
  background: #e9fbf1;
  transform: rotate(90deg);
}

.item[data-open="true"] .icon svg {
  stroke: var(--accent);
  transform: rotate(45deg);
}

.contact-intro {
  margin-top: 20px;
  padding: 14px 16px;
  background: #f4f7f9;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
}

#guide-contact.contact-intro {
  background: transparent;
  border: none;
  outline: none;
}

.contact-title { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: var(--text); }
.contact-text { margin: 0 0 8px; color: var(--muted); max-width: 70ch; }
.contact-list { margin: 0; padding-left: 16px; color: var(--text); }
.contact-list a { color: var(--accent); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.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;
}

/* —— Kamuno guide chat —— */
@keyframes km-chat-msg-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .km-chat-msg.km-chat-msg-animate-in {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

.km-guide-chat {
  --km-chat-teal: #0c3b45;
  --km-chat-teal-soft: rgba(12, 59, 69, 0.08);
  --km-chat-teal-mid: rgba(12, 59, 69, 0.14);
  --km-chat-mint: rgba(39, 208, 103, 0.12);
  --km-chat-mint-strong: rgba(39, 208, 103, 0.22);
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-family: Alaska, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

.km-chat-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(12, 37, 44, 0.48);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  cursor: pointer;
  appearance: none;
}

.km-chat-backdrop.is-visible {
  display: block;
}

.km-chat-backdrop:focus {
  outline: none;
}

.km-chat-backdrop:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

@media (min-width: 761px) {
  .km-chat-backdrop.is-visible {
    display: none !important;
  }
}

@keyframes km-chat-toggle-gradient {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes km-chat-toggle-attn {
  0%,
  90%,
  100% {
    transform: scale(1);
  }
  93% {
    transform: scale(1.06);
  }
  96% {
    transform: scale(1);
  }
}

.km-chat-toggle {
  position: relative;
  z-index: 2;
  border: 1px solid rgba(39, 208, 103, 0.62);
  border-radius: 999px;
  color: #fff;
  padding: 16px 54px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  background: linear-gradient(
    125deg,
    #0d4f5f 0%,
    #0f6b5a 22%,
    #0c3d47 48%,
    #148f72 72%,
    #0a2830 100%
  );
  background-size: 240% 240%;
  background-position: 0% 50%;
  animation:
    km-chat-toggle-gradient 14s ease-in-out infinite,
    km-chat-toggle-attn 5.5s ease-in-out infinite;
  box-shadow:
    0 6px 22px rgba(12, 59, 69, 0.38),
    0 2px 0 rgba(255, 255, 255, 0.08) inset,
    0 0 0 1px rgba(39, 208, 103, 0.18) inset;
  transition: box-shadow 0.25s ease, filter 0.25s ease, border-color 0.25s ease, background 0.3s ease;
}

.km-chat-toggle[aria-expanded="true"] {
  animation: none;
  background: linear-gradient(165deg, #2a3d40 0%, #1a2c30 45%, #142428 100%);
  background-size: 100% 100%;
  border-color: rgba(160, 190, 198, 0.45);
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.28),
    0 2px 0 rgba(255, 255, 255, 0.06) inset,
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.km-chat-toggle:hover {
  filter: brightness(1.1);
  border-color: rgba(39, 208, 103, 0.85);
  box-shadow:
    0 10px 32px rgba(12, 59, 69, 0.42),
    0 2px 0 rgba(255, 255, 255, 0.12) inset,
    0 0 0 1px rgba(39, 208, 103, 0.35) inset;
  transform: translateY(-2px);
}

.km-chat-toggle[aria-expanded="true"]:hover {
  filter: brightness(1.12);
  border-color: rgba(200, 220, 225, 0.55);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.32),
    0 2px 0 rgba(255, 255, 255, 0.1) inset,
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  transform: translateY(-2px);
}

.km-chat-toggle:focus-visible {
  outline: none;
  box-shadow: var(--focus), 0 10px 32px rgba(12, 59, 69, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .km-chat-toggle {
    animation: none;
    background-size: 100% 100%;
  }

  .km-chat-toggle[aria-expanded="true"] {
    background-size: 100% 100%;
  }
}

.km-chat-panel {
  width: min(400px, calc(100vw - 32px));
  max-height: min(480px, 72vh);
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, #ffffff 0%, #f6fbf8 38%, #eef8f2 100%);
  border: 1px solid var(--km-chat-teal-mid);
  border-radius: 22px;
  box-shadow:
    0 24px 56px rgba(12, 59, 69, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.7) inset;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.km-chat-panel[hidden] {
  display: none !important;
}

.km-chat-panel-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 16px 18px 14px;
  text-align: center;
  border-bottom: 1px solid rgba(12, 59, 69, 0.08);
  background: radial-gradient(120% 100% at 50% 0%, rgba(39, 208, 103, 0.1) 0%, transparent 65%);
  flex-shrink: 0;
}

.km-chat-panel-headline {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  letter-spacing: -0.01em;
  max-width: 28ch;
}

.km-chat-privacy {
  margin: 8px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(20, 44, 51, 0.55);
  max-width: 36ch;
}

.km-chat-suggestions {
  padding: 12px 16px 10px;
  background: transparent;
  border-bottom: 1px solid rgba(12, 59, 69, 0.07);
  flex-shrink: 0;
}

.km-chat-suggestions[hidden] {
  display: none !important;
}

.km-chat-suggestions-label {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: rgba(12, 59, 69, 0.55);
}

.km-chat-suggestion-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.km-chat-suggestion {
  margin: 0;
  padding: 9px 14px;
  font-size: 13px;
  line-height: 1.35;
  text-align: left;
  color: var(--text);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--km-chat-teal-mid);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.km-chat-suggestion:hover {
  border-color: rgba(39, 208, 103, 0.55);
  background: #fff;
  transform: translateY(-1px);
}

.km-chat-suggestion:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.km-chat-messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  scroll-behavior: smooth;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(246, 251, 248, 0.9) 100%);
}

.km-chat-msg {
  max-width: 92%;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.km-chat-msg.km-chat-msg-animate-in {
  animation: km-chat-msg-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.km-chat-msg-user {
  align-self: flex-end;
  background: linear-gradient(145deg, #0e4a56 0%, var(--km-chat-teal) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(12, 59, 69, 0.2);
}

.km-chat-msg-assistant {
  align-self: flex-start;
  background: #fff;
  color: var(--text);
  border: 1px solid rgba(12, 59, 69, 0.1);
  box-shadow: 0 2px 10px rgba(12, 59, 69, 0.05);
}

.km-chat-msg-assistant a {
  color: var(--accent);
  font-weight: 500;
}

.km-chat-msg-assistant a:hover {
  text-decoration: underline;
}

.km-chat-loading {
  color: rgba(12, 59, 69, 0.45);
}

.km-chat-loading-dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 0;
  vertical-align: middle;
}

.km-chat-loading-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: km-chat-thinking-dot 1.05s ease-in-out infinite;
}

.km-chat-loading-dot:nth-child(1) {
  animation-delay: 0ms;
}

.km-chat-loading-dot:nth-child(2) {
  animation-delay: 140ms;
}

.km-chat-loading-dot:nth-child(3) {
  animation-delay: 280ms;
}

@keyframes km-chat-thinking-dot {
  0%,
  70%,
  100% {
    opacity: 0.28;
    transform: translateY(0);
  }
  35% {
    opacity: 1;
    transform: translateY(-5px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .km-chat-loading-dot {
    animation: none;
    opacity: 0.55;
  }
}

.km-chat-form {
  flex-shrink: 0;
  padding: 12px 14px 16px;
  border-top: 1px solid rgba(12, 59, 69, 0.08);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
}

.km-chat-input-row {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--km-chat-teal-mid);
  border-radius: 16px;
  background: #fff;
  padding: 4px 6px 4px 14px;
  box-shadow: 0 2px 12px rgba(12, 59, 69, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.km-chat-input-row:focus-within {
  border-color: rgba(39, 208, 103, 0.55);
  box-shadow: 0 0 0 3px rgba(39, 208, 103, 0.2), 0 4px 16px rgba(12, 59, 69, 0.08);
}

.km-chat-input {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 0;
  padding: 10px 8px 10px 0;
  font-size: 14px;
  font-family: inherit;
  background: transparent;
  color: var(--text);
}

.km-chat-input::placeholder {
  color: rgba(20, 44, 51, 0.45);
}

.km-chat-input:focus {
  outline: none;
  box-shadow: none;
}

.km-chat-send {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(145deg, #32d872 0%, var(--accent) 50%, #1fb85a 100%);
  color: #fff;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 8px rgba(39, 208, 103, 0.35);
}

.km-chat-send:hover {
  filter: brightness(1.05);
  transform: scale(1.03);
}

.km-chat-send:focus-visible {
  outline: none;
  box-shadow: var(--focus), 0 2px 8px rgba(39, 208, 103, 0.35);
}

.km-chat-send-icon {
  display: block;
}

@media (max-width: 760px) {
  .km-guide-chat {
    right: 12px;
    bottom: 12px;
    left: 12px;
    align-items: stretch;
  }
  .km-chat-toggle {
    width: 100%;
  }
  .km-chat-panel {
    width: 100%;
    /* Panel + gap + full-width toggle must fit in the viewport */
    max-height: min(520px, calc(100vh - 108px));
    max-height: min(520px, calc(100dvh - 108px));
  }
  /* 16px+ avoids iOS Safari auto-zoom on input focus */
  .km-chat-input {
    font-size: 16px;
  }
}

@media (min-width: 820px) {
  .guide-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
    align-items: start;
    transition: grid-template-columns 0.22s ease;
  }

  .guide-layout.toc-collapsed {
    grid-template-columns: 56px 1fr;
  }

  .toc {
    display: block;
    position: sticky;
    top: 24px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
    background-color: rgba(255, 255, 255, 1);
    border: 1px solid rgba(20, 44, 51, 0.1);
    color: rgba(20, 44, 51, 0.2);
    border-radius: 20px;
    transition: top 0.32s ease, max-height 0.32s ease, padding 0.22s ease;
  }

  .guide-layout.toc-collapsed .toc {
    padding: 12px 8px;
  }

  .toc-toolbar {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 12px;
  }

  .guide-layout.toc-collapsed .toc-toolbar {
    margin-bottom: 0;
    justify-content: center;
  }

  .toc-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    margin: 0;
    border: none;
    border-image: none;
    border-radius: 8px;
    background: unset;
    color: var(--text);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s ease, border-color 0.15s ease;
  }

  .toc-toggle:hover {
    background: unset;
    border-color: transparent;
  }

  .toc-toggle:focus-visible {
    outline: none;
    box-shadow: var(--focus);
  }

  .toc-toggle-icon {
    display: block;
    transition: transform 0.22s ease;
  }

  .guide-layout.toc-collapsed .toc-toggle-icon {
    transform: rotate(180deg);
  }

  .guide-layout.toc-collapsed .toc-panel {
    display: none;
  }

  body.header-fixed .toc {
    top: calc(var(--fixed-header-height, 0px) + var(--process-steps-height, 0px) + 16px);
    max-height: calc(100vh - var(--fixed-header-height, 0px) - var(--process-steps-height, 0px) - 24px);
  }

  .faq {
    margin-top: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    display: grid;
    gap: 16px;
  }

  .item {
    border: 1px solid rgb(20 44 51 / 6%);
    border-radius: 20px;
    background: #f6f9fc;
    box-shadow: none;
    overflow: hidden;
  }

  /* Intro accordion only: "So legen Sie los" / EN / FR translations (first #faq item). */
  #faq > .item:first-of-type {
    background: rgba(255, 255, 255, 1);
  }

  .item:last-child {
    border-bottom: 1px solid var(--border);
  }

  .trigger {
    cursor: default;
  }

  .trigger:hover {
    background: rgb(12 59 69 / 0%);
  }

  .icon {
    display: none;
  }

  .panel {
    height: auto !important;
    overflow: visible;
  }

  .content-grid { grid-template-columns: 1fr 320px; }
  .img-slot { aspect-ratio: 4 / 3; }
  .img-slot-filled { aspect-ratio: auto; }
}

@media (max-width: 760px) {
  .top-header {
    padding: 10px 0 6px;
  }
  .top-header-inner {
    padding: 8px 16px 12px;
    gap: 8px;
  }
  .header-actions {
    justify-content: stretch;
    width: 100%;
  }
  .header-brand-row {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: static;
  }
  .header-brand-row .lang-switcher {
    position: relative;
    flex-shrink: 0;
    margin-left: auto;
  }
  .header-brand-row .lang-menu {
    left: auto;
    right: 0;
    transform: none;
  }
  .header-logo {
    max-width: 52vw;
    width: 132px;
  }
  .desktop-login-btn { display: none; }
  /* Login only in compact menu on small screens */
  .mobile-login-btn { display: none; }
  .hero-title {
    margin-top: 2px;
    font-size: 24px;
    max-width: 100%;
    width: 100%;
    min-height: 6em;
  }
  .compact-topbar-inner { padding: 10px 16px; }
  .compact-topbar .header-logo { width: 112px; }
  .compact-topbar .btn-primary { padding: 8px 14px; }
  .compact-topbar-desktop-inline {
    display: none !important;
  }
  .compact-topbar-mobile-menu {
    display: block;
  }

  .lang-menu .lang-option {
    font-size: 14px;
  }

  .process-steps { display: none; }
  .process-steps-inner {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .process-steps-inner::-webkit-scrollbar { display: none; }
  .process-link {
    flex: 0 0 140px;
    scroll-snap-align: start;
    padding: 12px 12px;
  }
  .process-label {
    font-size: 12px;
  }
  .partner-cta-row { flex-direction: column; }
  .partner-cta { width: 100%; }
  .docs-table-tabs {
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .docs-tab {
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
  }
  .wrap {
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 80px;
  }
  .faq .trigger,
  #faq .trigger {
    padding: 18px 20px;
    background: transparent;
    font-size: 17px;
    margin-bottom: 0;
  }

  .login-shot-arrow {
    width: min(60px, 35%);
    left: calc(8% - 10px);
    top: calc(78% - 25px);
  }

  .login-shot-arrow-svg {
    animation: loginShotArrowSvgMobile 1.45s ease-in-out infinite;
  }

  @media (max-width: 400px) {
    .login-shot-arrow {
      width: min(54px, 34%);
      left: calc(6% - 10px);
      top: calc(79% - 25px);
    }
  }

  /* Upload-docs company tabs: pill width follows label text */
  .upload-docs-tabs {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    gap: 4px;
    padding: 4px;
  }

  .upload-docs-tab {
    flex: 0 1 auto;
    padding: 8px 12px;
    font-size: 14px;
    min-height: 36px;
  }

  .upload-docs-tab-label {
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
  }
}

/* Owner details section */
.owner-details-section {
  max-width: 720px;
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
}

.owner-details-intro {
  margin: 0 0 20px;
  color: var(--muted);
}

.owner-details-step {
  padding: 18px 20px;
  margin-bottom: 18px;
  background: rgba(39, 208, 103, 0.08);
  border: 1px solid rgba(39, 208, 103, 0.22);
  border-radius: 16px;
}

.owner-details-subtitle {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.owner-details-step-text {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.owner-details-forms {
  margin-bottom: 18px;
}

.owner-details-form-grid {
  display: grid;
  gap: 12px;
}

.owner-details-form-card {
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(20, 44, 51, 0.05);
}

.owner-details-form-name {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.owner-details-form-text {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.owner-details-info p {
  margin: 0 0 8px;
}

.owner-details-info p:last-child {
  margin-bottom: 0;
}

/* Owner confirmation section */
.owner-confirmation-section {
  max-width: 720px;
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
}

.owner-confirmation-intro {
  margin: 0 0 20px;
  color: var(--muted);
  max-width: 62ch;
}

.owner-confirmation-steps,
.owner-confirmation-next,
.owner-confirmation-info,
.owner-confirmation-outcome {
  margin-bottom: 18px;
}

.owner-confirmation-outcome {
  margin-bottom: 0;
}

.owner-confirmation-section-label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.owner-confirmation-step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.owner-confirmation-step-card {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(20, 44, 51, 0.05);
}

.owner-confirmation-step-num {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(20, 44, 51, 0.05);
  border: 1px solid rgba(20, 44, 51, 0.12);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.owner-confirmation-step-body {
  min-width: 0;
}

.owner-confirmation-step-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.owner-confirmation-step-text {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.owner-confirmation-next {
  padding: 18px;
  background: rgba(20, 44, 51, 0.03);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.owner-confirmation-next-text {
  margin: 0 0 12px;
  color: var(--muted);
}

.owner-confirmation-form-grid {
  display: grid;
  gap: 12px;
}

.owner-confirmation-form-card {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.owner-confirmation-form-name {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.owner-confirmation-form-text {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.owner-confirmation-info p:last-child,
.owner-confirmation-outcome p:last-child {
  margin: 0;
}

.owner-confirmation-info p {
  font-size: 14px;
  color: var(--text);
}

.owner-confirmation-outcome {
  padding: 16px 18px;
  background: rgba(39, 208, 103, 0.08);
  border: 1px solid rgba(39, 208, 103, 0.22);
  border-radius: 16px;
}

@media (prefers-reduced-motion: reduce) {
  .panel,
  .icon,
  .icon svg {
    transition: none;
  }

  .login-shot-arrow-svg {
    animation: none;
  }
}
