:root {
  color-scheme: light;
  --ink: #071d30;
  --muted: #64717b;
  --paper: #ffffff;
  --surface: #ffffff;
  --line: #e2dacb;
  --navy: #061b2d;
  --navy-2: #0b2740;
  --gold: #d8bf80;
  --gold-dark: #ad8f63;
  --sky: #62c7ec;
  --sand: #b49b76;
  --shadow: 0 24px 80px rgba(6, 27, 45, .18);
}

@font-face {
  font-family: "Cabo Rounded Regular";
  src: url("https://kairos-agency.ch/wp-content/uploads/2023/10/Cabo-Rounded-Regular.ttf") format("truetype");
  font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Cabo Rounded Regular", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.42;
}

a { color: inherit; text-decoration: none; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 5vw;
  background: var(--navy);
  border-bottom: 1px solid rgba(216, 191, 128, .22);
  backdrop-filter: blur(18px);
}

.brand, nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img { width: 160px; height: auto; display: block; }

nav { gap: 30px; color: rgba(255,255,255,.84); font-size: 15px; }
.nav-cta { color: var(--gold); font-weight: 720; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(320px, .82fr);
  gap: 48px;
  min-height: min(760px, calc(100vh - 72px));
  align-items: center;
  padding: 58px 5vw 54px;
  color: white;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: -5vw;
  right: -5vw;
  bottom: -52px;
  height: 112px;
  background: white;
  transform: skewY(3.5deg);
  transform-origin: left top;
}
.hero > * { position: relative; z-index: 1; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1, h2, h3 { letter-spacing: 0; line-height: 1.05; }
h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(38px, 5.1vw, 66px);
  font-weight: 500;
  line-height: 1.08;
}
h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 500;
  line-height: 1.08;
}
h3 { margin: 0 0 10px; font-size: 20px; }

.lead {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.82);
  font-size: 19px;
  line-height: 1.48;
}

.hero-actions, .form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-weight: 780;
  cursor: pointer;
}
.button.primary {
  color: white;
  border-color: var(--gold-dark);
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
  box-shadow: 0 14px 28px rgba(0,0,0,.22);
}
.button.secondary {
  color: var(--gold);
  border-color: rgba(216,191,128,.55);
  background: rgba(255,255,255,.06);
}
.diagnostic-form .button.secondary,
.result-head .button.secondary {
  color: var(--navy);
  border-color: var(--line);
  background: #fff;
  box-shadow: none;
}

.preview-panel {
  align-self: stretch;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 24px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.panel-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.panel-header strong { color: var(--gold-dark); }

.mini-report {
  display: grid;
  gap: 16px;
}
.mini-report p {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf7ef;
}
.mini-report span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.section {
  padding: 80px 5vw;
}
.split {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 42px;
  align-items: start;
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.split > div > p:not(.eyebrow), .diagnostic-intro p {
  color: var(--muted);
  font-size: 18px;
}

.deliverable-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.deliverable-grid article {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.deliverable-grid span {
  display: block;
  margin-bottom: 32px;
  color: var(--gold);
  font-weight: 900;
}
.deliverable-grid p { color: var(--muted); }

.channels { background: var(--sand); color: white; }
.channels .eyebrow { color: white; }
.channel-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 28px;
}
.channel-row div {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 16px;
  border-radius: 8px;
  color: white;
  background: var(--navy);
  text-align: center;
  font-weight: 800;
}
.channel-row div:nth-child(2) { background: var(--navy-2); }
.channel-row div:nth-child(3) { background: #12334e; }
.channel-row div:nth-child(4) { background: var(--gold-dark); }
.channel-row div:nth-child(5) { background: var(--gold); color: var(--ink); }

.diagnostic-shell {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 40px;
  align-items: start;
}
.diagnostic-form, .result-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.progress {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}
.progress span { color: var(--muted); font-size: 13px; font-weight: 800; }
.progress div {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #ebe5d8;
}
.progress i {
  display: block;
  width: 33%;
  height: 100%;
  background: var(--gold-dark);
  transition: width .25s ease;
}

.form-step { display: none; gap: 18px; }
.form-step.is-active { display: grid; }
label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
}
input, select, textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffefa;
  color: var(--ink);
  font: inherit;
}
textarea { min-height: 130px; resize: vertical; }
.checkline {
  grid-template-columns: 20px 1fr;
  align-items: start;
  color: var(--muted);
  font-weight: 500;
}
.checkline input { min-height: 20px; margin-top: 2px; }
#submit-plan { display: none; }
.form-actions { justify-content: space-between; }

.result-section { background: var(--navy); color: white; }
.result-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.result-section .eyebrow { color: var(--gold); }
.result-card {
  color: var(--ink);
  display: grid;
  gap: 18px;
}
.result-card section {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffefa;
}
.result-card h3 { color: var(--navy); }
.result-card ul { margin: 10px 0 0; padding-left: 20px; color: var(--muted); }
.score-pill {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 8px;
  color: white;
  background: var(--gold-dark);
  font-weight: 800;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 5vw;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  nav { display: none; }
  .hero, .split, .diagnostic-shell {
    grid-template-columns: 1fr;
  }
  .hero { min-height: auto; padding-top: 42px; gap: 30px; }
  h1 { font-size: clamp(36px, 10.8vw, 48px); }
  h2 { font-size: clamp(30px, 8.5vw, 42px); }
  .lead { font-size: 18px; }
  .preview-panel { min-height: auto; }
  .deliverable-grid, .channel-row { grid-template-columns: 1fr; }
  .result-head, footer { flex-direction: column; align-items: flex-start; }
}

@media print {
  .topbar, .hero, .split, .channels, .diagnostic-shell, footer, #print-result { display: none; }
  .result-section { background: white; color: black; padding: 0; }
  .result-card { box-shadow: none; border: 0; padding: 0; }
}
