/* Minioky
   Colours are taken straight from the logo: the sky behind the mascot,
   the periwinkle of the letters, the cream face and the pink cheeks. */

@font-face { font-family: "Fredoka"; font-weight: 500; font-display: swap; src: url("/fonts/fredoka-500.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-weight: 600; font-display: swap; src: url("/fonts/fredoka-600.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-weight: 700; font-display: swap; src: url("/fonts/fredoka-700.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 400; font-display: swap; src: url("/fonts/nunito-400.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 600; font-display: swap; src: url("/fonts/nunito-600.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url("/fonts/nunito-700.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url("/fonts/nunito-800.woff2") format("woff2"); }

:root {
  --sky: #cbe1fd;
  --sky-soft: #e7f0fe;
  --peri: #6f86de;
  --peri-deep: #4f66c4;
  --peri-shadow: #3b4fa0;
  --peri-soft: #a9bbf0;
  --cream: #fffaf3;
  --paper: #ffffff;
  --ink: #26305c;
  --ink-soft: #56608a;
  --blush: #f7b6c2;
  --blush-soft: #fde6ea;
  --butter: #ffd98c;
  --butter-soft: #fff2d3;
  --mint: #bfe8d6;
  --line: #e6e3f1;
  --danger: #b34a63;

  --display: "Fredoka", ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.28rem; }
h4 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
a { color: var(--peri-deep); text-underline-offset: 3px; text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
strong { font-weight: 800; }
::selection { background: var(--blush); color: var(--ink); }

:focus-visible { outline: 3px solid var(--peri); outline-offset: 3px; border-radius: 8px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ---------- sky panel (top of every page) ---------- */

.sky {
  position: relative;
  isolation: isolate;
  margin: 14px;
  background: var(--sky);
  border-radius: 38px;
  overflow: hidden;
}
.sky-deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sky-deco .cloud { position: absolute; height: auto; }
.sky-deco .spark { position: absolute; }
.cloud-a { width: 150px; top: 120px; left: -34px; }
.cloud-b { width: 110px; top: 128px; right: 3%; }
.cloud-c { width: 90px; bottom: 60px; left: 44%; opacity: 0.8; }
.spark-a { width: 22px; top: 112px; right: 26%; }
.spark-b { width: 16px; top: 260px; right: 4%; }
.spark-c { width: 14px; bottom: 120px; left: 7%; }

/* ---------- nav ---------- */

.nav {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 18px;
  width: calc(100% - 36px);
  max-width: var(--wrap);
  margin: 18px auto 0;
  padding: 8px 8px 8px 10px;
  background: var(--paper);
  border-radius: 999px;
  box-shadow: 0 3px 0 rgba(79, 102, 196, 0.13);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--peri);
  text-decoration: none;
}
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  transition: background 0.15s ease;
}
.nav-links a:hover { background: var(--sky-soft); }
.nav-links a[aria-current="page"] { background: var(--sky); color: var(--peri-deep); }
.nav-links .nav-links-cta { display: none; }
.nav .btn { padding: 12px 20px; font-size: 1rem; }
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  border: 0; border-radius: 50%;
  background: var(--sky-soft);
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2.5px; border-radius: 2px; background: var(--ink);
  position: relative; transition: transform 0.2s ease, background 0.2s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav.is-open .nav-toggle span { background: transparent; }
.nav.is-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav { border-radius: 30px; }
  .nav-toggle { display: inline-flex; }
  .nav > .btn { display: none; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0; right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 10px;
    background: var(--paper);
    border-radius: 26px;
    box-shadow: 0 20px 40px -20px rgba(38, 48, 92, 0.35);
  }
  .nav.is-open .nav-links { display: flex; }
  .nav-links a { padding: 12px 16px; font-size: 1.05rem; }
  .nav-links .nav-links-cta { display: block; margin-top: 6px; }
  .nav-links .nav-links-cta a { background: var(--peri-deep); color: #fff; text-align: center; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1;
  padding: 17px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--peri-deep);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--peri-shadow);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--peri-shadow); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--peri-shadow); }
.btn[disabled] { opacity: 0.7; cursor: default; transform: none; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-light { background: var(--paper); color: var(--ink); box-shadow: 0 4px 0 #b9cdf2; }
.btn-light:hover { box-shadow: 0 6px 0 #b9cdf2; }
.btn-light:active { box-shadow: 0 1px 0 #b9cdf2; }
.btn-small { font-size: 0.98rem; padding: 12px 20px; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

.text-link {
  font-weight: 800;
  color: var(--peri-deep);
  text-decoration: none;
  border-bottom: 2.5px solid var(--peri-soft);
  padding-bottom: 1px;
  transition: border-color 0.15s ease;
}
.text-link:hover { border-color: var(--peri-deep); }

/* ---------- hero (home) ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: end;
  gap: 32px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}
.hero-copy { padding: 76px 0 96px; }
.hero h1 { margin-bottom: 22px; }
.hero .lede { margin-bottom: 30px; }
.scribble { position: relative; white-space: nowrap; color: var(--peri-deep); }
.scribble svg {
  position: absolute; left: -2%; bottom: -0.16em;
  width: 104%; height: 0.36em; z-index: -1;
}
.hero-note {
  margin: 18px 0 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink-soft);
  display: flex; align-items: center; gap: 8px;
}
.hero-note svg { width: 20px; height: 20px; color: var(--peri); }
.hero-art { align-self: end; }
.hero-art svg { display: block; width: 100%; height: auto; }

.lede { font-size: 1.18rem; color: var(--ink-soft); max-width: 34em; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 0 22px; gap: 0; }
  .hero-copy { padding: 52px 0 36px; }
  .hero-art { max-width: 460px; width: 100%; margin: 0 auto; }
}

/* ---------- page hero (inner pages) ---------- */

.page-hero {
  position: relative;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 64px 32px 84px;
}
.page-hero h1 { max-width: 13em; }
.page-hero .lede { margin: 0; }
.peek {
  position: absolute;
  right: 5%;
  bottom: -2px;
  width: 190px;
  height: auto;
  pointer-events: none;
}
@media (max-width: 760px) {
  .page-hero { padding: 44px 22px 150px; }
  .peek { width: 150px; right: 50%; transform: translateX(50%); }
}

/* ---------- sections ---------- */

.section { max-width: var(--wrap); margin: 0 auto; padding: 96px 24px; }
.section.tight { padding-top: 40px; }
.section-head { max-width: 620px; margin-bottom: 44px; }
.section-head p { font-size: 1.12rem; color: var(--ink-soft); margin: 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
@media (max-width: 760px) { .section { padding: 64px 20px; } }

/* what we make */
.makes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.make { grid-column: span 2; }
.make:nth-child(4), .make:nth-child(5) { grid-column: span 3; }
.make:nth-child(4) { background: #e3f6ee; }
.make:nth-child(5) { background: #eeeafd; }
.make { border-radius: 32px; padding: 26px 28px 32px; }
.make:nth-child(1) { background: var(--sky-soft); }
.make:nth-child(2) { background: var(--blush-soft); }
.make:nth-child(3) { background: var(--butter-soft); }
.make svg { display: block; width: 100%; max-width: 230px; height: auto; margin: 0 auto 14px; }
.make h3 { margin-bottom: 6px; }
.make p { margin: 0; color: var(--ink-soft); }
@media (max-width: 860px) { .makes { grid-template-columns: 1fr; } .make, .make:nth-child(4), .make:nth-child(5) { grid-column: auto; } .make svg { max-width: 200px; } }

/* four step path */
.path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
}
.path::before {
  content: "";
  position: absolute;
  top: 31px; left: 32px; right: 12%;
  border-top: 3px dashed var(--peri-soft);
}
.path li { position: relative; }
.path-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 1.6rem;
  color: var(--ink);
  border: 5px solid var(--cream);
  margin-bottom: 14px;
}
.path li:nth-child(1) .path-num { background: var(--sky); }
.path li:nth-child(2) .path-num { background: var(--blush); }
.path li:nth-child(3) .path-num { background: var(--butter); }
.path li:nth-child(4) .path-num { background: var(--mint); }
.path h3 { margin-bottom: 6px; }
.path p { margin: 0; color: var(--ink-soft); }
@media (max-width: 860px) {
  .path { grid-template-columns: 1fr; gap: 20px; }
  .path::before { top: 20px; bottom: 20px; left: 31px; right: auto; border-top: 0; border-left: 3px dashed var(--peri-soft); }
  .path li { display: grid; grid-template-columns: 64px 1fr; gap: 18px; }
  .path-num { margin: 0; }
}

/* split blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split p { color: var(--ink-soft); font-size: 1.1rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.band { background: var(--sky-soft); }
.band-inner { max-width: var(--wrap); margin: 0 auto; padding: 96px 24px; }
@media (max-width: 760px) { .band-inner { padding: 64px 20px; } }

/* status page mockup on home */
.mock {
  position: relative;
  background: var(--paper);
  border-radius: 30px;
  padding: 26px 26px 22px;
  border: 2px solid var(--line);
  box-shadow: 0 26px 50px -30px rgba(38, 48, 92, 0.45);
  transform: rotate(-1.5deg);
}
.mock-top { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.mock-top h3 { margin: 0; font-size: 1.3rem; }
.mock-sticker {
  position: absolute; top: -18px; left: 22px;
  background: var(--butter); color: var(--ink);
  font-family: var(--display); font-weight: 600; font-size: 0.95rem;
  padding: 6px 14px; border-radius: 999px; transform: rotate(-4deg);
}

/* good fit */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.fit-card { border-radius: 32px; padding: 34px 34px 20px; }
.fit-yes { background: var(--sky-soft); }
.fit-no { background: var(--paper); border: 2.5px dashed var(--line); }
.fit-card h3 { margin-bottom: 18px; }
@media (max-width: 860px) { .fit { grid-template-columns: 1fr; } .fit-card { padding: 28px 24px 14px; } }

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding-left: 40px; margin: 0 0 14px; }
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: 1px;
  width: 27px; height: 27px; border-radius: 50%;
  background: var(--peri) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.ticks.nope li::before {
  background: var(--blush-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 8l8 8M16 8l-8 8' fill='none' stroke='%23b34a63' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* call to action */
.cta {
  position: relative;
  overflow: hidden;
  max-width: 1072px;
  margin: 0 auto;
  background: var(--blush-soft);
  border-radius: 38px;
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: center;
}
.cta h2 { margin-bottom: 12px; }
.cta p { color: var(--ink-soft); font-size: 1.12rem; max-width: 30em; }
.cta .peek { right: 8%; width: 230px; }
.cta .cloud { position: absolute; width: 110px; top: 26px; right: 36%; }
@media (max-width: 860px) {
  .cta { grid-template-columns: 1fr; padding: 44px 26px 170px; text-align: left; }
  .cta .peek { width: 170px; right: 50%; transform: translateX(50%); }
  .cta .cloud { display: none; }
}
.cta-wrap { padding: 40px 24px 16px; }

/* ---------- timeline (how we work) ---------- */

.timeline { list-style: none; position: relative; max-width: 820px; margin: 0 auto; padding: 0; }
.timeline::before {
  content: ""; position: absolute; left: 31px; top: 34px; bottom: 34px;
  border-left: 3px dashed var(--peri-soft);
}
.tl-item { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 22px; margin-bottom: 20px; }
.tl-num {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 1.6rem;
  border: 5px solid var(--cream);
  background: var(--sky);
}
.tl-item:nth-child(4n+2) .tl-num { background: var(--blush); }
.tl-item:nth-child(4n+3) .tl-num { background: var(--butter); }
.tl-item:nth-child(4n+4) .tl-num { background: var(--mint); }
.tl-card { background: var(--paper); border: 2px solid var(--line); border-radius: 28px; padding: 24px 28px 8px; }
.tl-card h3 { margin-bottom: 8px; }
.tl-card p { color: var(--ink-soft); }
.who {
  display: inline-block;
  font-size: 0.85rem; font-weight: 800;
  color: var(--peri-deep);
  background: var(--sky-soft);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 10px;
}
@media (max-width: 600px) {
  .tl-item { grid-template-columns: 48px 1fr; gap: 14px; }
  .tl-num { width: 48px; height: 48px; font-size: 1.25rem; border-width: 4px; }
  .timeline::before { left: 23px; }
  .tl-card { padding: 20px 20px 6px; }
}

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }
.note { background: var(--butter-soft); border-radius: 30px; padding: 32px 32px 18px; }
.plain-card { background: var(--paper); border: 2px solid var(--line); border-radius: 30px; padding: 32px 32px 18px; }
.plain-card p, .note p { color: var(--ink-soft); }
.note ul { margin: 0 0 1em; padding-left: 1.2em; color: var(--ink-soft); }
.note li { margin-bottom: 4px; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 24px;
  padding: 2px 24px;
  margin-bottom: 12px;
  transition: border-color 0.15s ease;
}
.faq details[open] { border-color: var(--peri-soft); }
.faq summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  padding: 18px 44px 18px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 0; top: 50%;
  width: 30px; height: 30px; margin-top: -15px;
  border-radius: 50%;
  background: var(--sky-soft); color: var(--peri-deep);
  display: grid; place-items: center;
  font-size: 1.3rem; line-height: 1;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); margin: 0 0 18px; }

/* ---------- forms ---------- */

.form-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; gap: 32px; } }

.card {
  background: var(--paper);
  border-radius: 32px;
  padding: 36px;
  box-shadow: 0 2px 0 var(--line), 0 28px 60px -36px rgba(38, 48, 92, 0.4);
}
@media (max-width: 600px) { .card { padding: 26px 20px; border-radius: 26px; } }

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-weight: 800; font-size: 0.97rem; }
.field-hint { font-size: 0.88rem; color: var(--ink-soft); font-weight: 600; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .field-pair { grid-template-columns: 1fr; } }

input:not([type="checkbox"]):not([type="radio"]), select, textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid var(--line);
  border-radius: 16px;
  padding: 13px 16px;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
input:not([type="checkbox"]):not([type="radio"]):focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--peri);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(111, 134, 222, 0.2);
}
::placeholder { color: #9aa0bd; }
textarea { min-height: 150px; resize: vertical; }
select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%234f66c4' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
  cursor: pointer;
}
.form-status { min-height: 1.4em; margin: 0 0 12px; font-weight: 700; font-size: 0.95rem; color: var(--danger); }
.form-done { text-align: center; padding: 20px 6px 6px; }
.form-done img { width: 170px; margin: 0 auto 6px; }
.form-done h3 { margin-bottom: 6px; }
.form-done p { color: var(--ink-soft); margin: 0; }

.aside h3 { margin-bottom: 14px; }
.steps-mini { list-style: none; margin: 0 0 26px; padding: 0; counter-reset: s; }
.steps-mini li {
  counter-increment: s;
  position: relative;
  padding: 2px 0 0 48px;
  margin-bottom: 16px;
  color: var(--ink-soft);
}
.steps-mini li::before {
  content: counter(s);
  position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  background: var(--paper); color: var(--peri-deep);
  border: 2.5px solid var(--peri-soft);
}
.steps-mini strong { color: var(--ink); display: block; }
.info-card { background: var(--butter-soft); border-radius: 26px; padding: 24px 26px 8px; }
.info-card p { color: var(--ink-soft); }
.mail-link { font-family: var(--display); font-weight: 600; font-size: 1.35rem; text-decoration: none; }
.mail-link:hover { text-decoration: underline; }

/* ---------- prose (privacy) ---------- */

.prose-layout { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: 24px; }
.toc p { font-family: var(--display); font-weight: 600; margin-bottom: 8px; }
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: 6px 12px; border-radius: 12px; color: var(--ink-soft); font-weight: 700; text-decoration: none; }
.toc a:hover { background: var(--sky-soft); color: var(--ink); }
.prose { max-width: 700px; }
.prose h2 { margin: 0 0 10px; padding-top: 8px; }
.prose h3 { font-size: 1.2rem; margin: 30px 0 6px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose .part { margin-bottom: 56px; scroll-margin-top: 20px; }
.prose .small { font-size: 0.95rem; background: var(--sky-soft); border-radius: 20px; padding: 18px 22px; }
@media (max-width: 860px) { .prose-layout { grid-template-columns: 1fr; gap: 20px; } .toc { position: static; } .toc ul { display: flex; gap: 6px; flex-wrap: wrap; } .toc a { background: var(--paper); border: 2px solid var(--line); } }

/* ---------- 404 ---------- */

.lost { display: grid; grid-template-columns: 1fr 0.9fr; gap: 32px; align-items: center; max-width: var(--wrap); margin: 0 auto; padding: 56px 32px 80px; }
.lost-art svg { width: 100%; max-width: 380px; height: auto; margin: 0 auto; display: block; }
.pill-links { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0 0 28px; padding: 0; }
.pill-links a {
  display: inline-block; padding: 10px 18px; border-radius: 999px;
  background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 800;
  box-shadow: 0 3px 0 #b9cdf2; transition: transform 0.12s ease;
}
.pill-links a:hover { transform: translateY(-2px); }
.search-row { display: flex; gap: 10px; max-width: 460px; }
.search-row input { background: var(--paper) !important; border-color: transparent !important; }
.search-row .btn { flex-shrink: 0; padding: 14px 22px; font-size: 1rem; }
@media (max-width: 800px) { .lost { grid-template-columns: 1fr; padding: 40px 22px 56px; } .lost-art { order: -1; } .lost-art svg { max-width: 240px; } }

/* ---------- footer ---------- */

.footer { position: relative; margin-top: 110px; background: var(--sky); }
.footer::before {
  content: "";
  position: absolute; left: 0; right: 0; top: -22px; height: 23px;
  background: radial-gradient(circle at 22px 23px, var(--sky) 21.5px, transparent 22.5px) repeat-x;
  background-size: 44px 23px;
}
.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.4fr;
  gap: 36px;
}
.footer .brand { margin-bottom: 14px; }
.footer p { color: var(--ink-soft); font-size: 0.98rem; }
.footer h4 { margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 6px; }
.footer li a { color: var(--ink); text-decoration: none; font-weight: 700; }
.footer li a:hover { color: var(--peri-deep); text-decoration: underline; }
.coffee { background: var(--paper); border-radius: 26px; padding: 22px 24px 24px; }
.coffee h4 { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.coffee h4 svg { width: 26px; height: 26px; color: var(--peri-deep); }
.coffee p { margin-bottom: 16px; }
.footer-bottom {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 18px 24px 30px;
  border-top: 2px dashed rgba(79, 102, 196, 0.28);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 0.93rem; color: var(--ink-soft); font-weight: 600;
}
.footer-bottom a { color: var(--ink-soft); }
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; } .footer-about, .coffee { grid-column: 1 / -1; } }

/* ---------- cookie notice ---------- */

.cookie {
  position: fixed; left: 16px; bottom: 16px; z-index: 60;
  width: min(390px, calc(100vw - 32px));
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 26px;
  padding: 20px 22px;
  box-shadow: 0 24px 50px -24px rgba(38, 48, 92, 0.45);
  display: none;
}
.cookie.is-visible { display: block; }
.cookie p { font-size: 0.95rem; margin: 0 0 14px; color: var(--ink-soft); }
.cookie p strong { color: var(--ink); display: block; font-family: var(--display); font-weight: 600; font-size: 1.1rem; margin-bottom: 2px; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-family: var(--display); font-weight: 600; font-size: 0.97rem;
  border: 0; border-radius: 999px; padding: 10px 18px; cursor: pointer;
  background: var(--sky-soft); color: var(--ink);
  transition: background 0.15s ease;
}
.chip:hover { background: var(--sky); }
.chip-primary { background: var(--peri-deep); color: #fff; }
.chip-primary:hover { background: var(--peri-shadow); }
.chip-ghost { background: transparent; text-decoration: underline; text-underline-offset: 3px; padding-left: 8px; padding-right: 8px; }
.chip-ghost:hover { background: transparent; color: var(--peri-deep); }
.cookie-prefs { display: none; background: var(--cream); border-radius: 18px; padding: 8px 14px; margin: 0 0 14px; }
.cookie-prefs.is-open { display: block; }
.pref-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; font-size: 0.93rem; font-weight: 700; }
.pref-row small { display: block; font-weight: 600; color: var(--ink-soft); }
.pref-row + .pref-row { border-top: 1px dashed var(--line); }

.switch {
  appearance: none; -webkit-appearance: none;
  flex-shrink: 0;
  width: 44px; height: 26px; border-radius: 999px;
  background: #d8dcee; position: relative; cursor: pointer; margin: 0;
  transition: background 0.15s ease;
}
.switch::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 2px rgba(38, 48, 92, 0.25);
  transition: transform 0.15s ease;
}
.switch:checked { background: var(--peri); }
.switch:checked::after { transform: translateX(18px); }
.switch:disabled { opacity: 0.55; cursor: default; }

/* ---------- seasonal overlay ---------- */

#season { position: fixed; inset: 0; pointer-events: none; z-index: 45; overflow: hidden; }
.drop { position: absolute; top: -30px; will-change: transform; animation: drop-fall linear infinite; }
.drop.snow { border-radius: 50%; background: #fff; box-shadow: 0 0 0 1.5px rgba(111, 134, 222, 0.28); }
.drop.heart svg, .drop.confetti { display: block; }
@keyframes drop-fall {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(var(--drift, 30px), 108vh, 0) rotate(var(--spin, 200deg)); }
}
@media (prefers-reduced-motion: reduce) { #season { display: none; } }

/* ---------- project status ---------- */

.tracker { position: relative; display: flex; justify-content: space-between; margin: 26px 0 8px; }
.tracker-line, .tracker-fill {
  position: absolute; top: 18px; left: 20px; height: 6px; border-radius: 6px;
}
.tracker-line { right: 20px; background: var(--sky-soft); }
.tracker-fill { background: var(--peri); }
.t-step {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-weight: 800; font-size: 0.9rem; color: var(--ink-soft);
  width: 70px; text-align: center;
}
.t-step:first-child { align-items: flex-start; text-align: left; }
.t-step:last-child { align-items: flex-end; text-align: right; }
.t-dot {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper); border: 3px solid var(--sky);
  font-family: var(--display); font-weight: 700; color: var(--ink-soft);
}
.t-dot svg { width: 18px; height: 18px; }
.t-step.is-done .t-dot { background: var(--peri); border-color: var(--peri); color: #fff; }
.t-step.is-now { color: var(--ink); }
.t-step.is-now .t-dot { background: var(--blush); border-color: var(--paper); color: var(--ink); box-shadow: 0 0 0 4px var(--blush); }

.status-head { max-width: 900px; margin: 0 auto; padding: 56px 28px 96px; }
.status-head .kicker { display: inline-flex; align-items: center; gap: 8px; background: var(--paper); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: 0.92rem; margin-bottom: 18px; }
.status-head h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); margin-bottom: 6px; }
.status-head .for { font-family: var(--display); font-weight: 500; font-size: 1.3rem; color: var(--ink-soft); margin-bottom: 18px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.meta-pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.7); border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: 0.93rem; }
.meta-pill svg { width: 17px; height: 17px; color: var(--peri-deep); }
.meta-pill a { font-weight: 800; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #a4abc6; }
.live-dot.is-live { background: #34a874; box-shadow: 0 0 0 4px rgba(52, 168, 116, 0.18); }
.live-dot.is-onderhoud { background: #e9a53a; box-shadow: 0 0 0 4px rgba(233, 165, 58, 0.2); }
.live-dot.is-offline { background: #d9546f; box-shadow: 0 0 0 4px rgba(217, 84, 111, 0.18); }

.status-body { max-width: 900px; margin: -64px auto 0; padding: 0 20px; position: relative; z-index: 2; }
.status-card { background: var(--paper); border-radius: 32px; padding: 32px 34px; box-shadow: 0 2px 0 var(--line), 0 28px 60px -36px rgba(38, 48, 92, 0.4); margin-bottom: 22px; }
.status-card > h2 { font-size: 1.6rem; margin-bottom: 4px; }
.status-card .sub { color: var(--ink-soft); margin-bottom: 20px; }
@media (max-width: 600px) { .status-card { padding: 24px 20px; border-radius: 26px; } .t-step { width: 58px; font-size: 0.8rem; } .t-dot { width: 36px; height: 36px; } .tracker-line, .tracker-fill { top: 15px; left: 18px; } .tracker-line { right: 18px; } }

.now-next { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.now-next > div { border-radius: 22px; padding: 20px 22px 6px; }
.now-box { background: var(--sky-soft); }
.next-box { background: var(--butter-soft); }
.now-next h3 { font-size: 1.1rem; margin-bottom: 6px; }
.now-next p { color: var(--ink-soft); font-size: 0.98rem; }
@media (max-width: 700px) { .now-next { grid-template-columns: 1fr; } }

.preview { display: none; margin-top: 16px; height: 540px; border-radius: 22px; overflow: hidden; border: 2px solid var(--line); background: var(--cream); }
.preview.is-open { display: block; }
.preview iframe { width: 100%; height: 100%; border: 0; }

.log { list-style: none; margin: 0; padding: 0; }
.log-item { position: relative; border: 2px solid var(--line); border-radius: 24px; padding: 18px 22px; margin-bottom: 12px; scroll-margin-top: 20px; }
.log-item.is-latest { border-color: var(--peri-soft); background: #fbfcff; }
.log-item:target { box-shadow: 0 0 0 4px var(--butter); }
.log-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.log-date { font-family: var(--display); font-weight: 600; color: var(--peri-deep); }
.new-tag { font-size: 0.78rem; font-weight: 800; background: var(--blush); color: var(--ink); border-radius: 999px; padding: 2px 10px; }
.log-item p { margin: 0 0 12px; }
.log-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--body); font-weight: 800; font-size: 0.9rem;
  color: var(--ink); background: var(--paper);
  border: 2px solid var(--line); border-radius: 999px;
  padding: 7px 14px; cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.pill-btn:hover { border-color: var(--peri-soft); }
.pill-btn svg { width: 17px; height: 17px; }
.pill-btn.is-on { background: var(--peri); border-color: var(--peri); color: #fff; cursor: default; }
.pill-btn.danger:hover { border-color: var(--blush); color: var(--danger); }

.share-box { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.share-box img { width: 132px; height: 132px; border-radius: 16px; background: #fff; padding: 8px; border: 2px solid var(--line); }
.share-box p { color: var(--ink-soft); }
@media (max-width: 560px) { .share-box { grid-template-columns: 1fr; } }

.demo-banner { display: flex; align-items: center; gap: 10px; max-width: 900px; margin: 0 auto 18px; padding: 12px 18px; background: var(--butter); border-radius: 18px; font-weight: 800; }

.skel { background: linear-gradient(90deg, var(--sky-soft) 25%, #f3f7ff 50%, var(--sky-soft) 75%); background-size: 200% 100%; border-radius: 14px; animation: skel 1.3s ease-in-out infinite; }
@keyframes skel { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } }

.confetti-bit { position: fixed; top: -20px; z-index: 70; pointer-events: none; animation: drop-fall linear forwards; }

/* ---------- team dashboard ---------- */

.team-bar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  width: calc(100% - 28px); max-width: 1200px; margin: 14px auto 0;
  background: var(--paper); border-radius: 999px; padding: 8px 10px 8px 12px;
  box-shadow: 0 3px 0 rgba(79, 102, 196, 0.13);
}
.team-bar .brand { font-size: 1.3rem; }
.team-bar .brand img { width: 38px; height: 38px; }
.team-tag { font-family: var(--display); font-weight: 600; font-size: 0.9rem; background: var(--sky); color: var(--peri-deep); border-radius: 999px; padding: 4px 12px; }
.team-bar .spacer { flex: 1; }
.team-user { font-size: 0.9rem; font-weight: 700; color: var(--ink-soft); }
@media (max-width: 600px) { .team-bar { border-radius: 26px; } .team-user { display: none; } }

.login { min-height: calc(100vh - 100px); display: grid; place-items: center; padding: 40px 16px; }
.login .card { width: min(420px, 100%); text-align: center; }
.login img { width: 190px; margin: -10px auto 4px; }
.login .field { text-align: left; }
.login .btn { width: 100%; margin-top: 4px; }

.dash { display: none; max-width: 1200px; margin: 0 auto; padding: 34px 20px 80px; }
.dash.is-visible { display: block; }
.dash-hello { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.dash-hello h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 0; }
.dash-hello p { margin: 4px 0 0; color: var(--ink-soft); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
.stat { border-radius: 24px; padding: 18px 22px; }
.stat:nth-child(1) { background: var(--sky); }
.stat:nth-child(2) { background: var(--blush-soft); }
.stat:nth-child(3) { background: var(--butter-soft); }
.stat:nth-child(4) { background: #e3f6ee; }
.stat b { display: block; font-family: var(--display); font-weight: 700; font-size: 2.1rem; line-height: 1.1; }
.stat span { font-weight: 700; font-size: 0.92rem; color: var(--ink-soft); }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; } }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; background: var(--paper); border-radius: 999px; padding: 6px; margin-bottom: 20px; width: fit-content; max-width: 100%; box-shadow: 0 2px 0 var(--line); }
.tab { font-family: var(--display); font-weight: 600; font-size: 1rem; border: 0; background: transparent; color: var(--ink-soft); padding: 10px 18px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.tab:hover { color: var(--ink); }
.tab.is-active { background: var(--sky); color: var(--ink); }
.tab .count { background: var(--blush); color: var(--ink); font-size: 0.78rem; border-radius: 999px; padding: 1px 8px; font-family: var(--body); font-weight: 800; }
.tab .count:empty { display: none; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

.panel { background: var(--paper); border-radius: 30px; padding: 28px 30px; box-shadow: 0 2px 0 var(--line); }
.panel + .panel { margin-top: 18px; }
.panel h2 { font-size: 1.55rem; margin-bottom: 4px; }
.panel .sub { color: var(--ink-soft); margin-bottom: 20px; }
@media (max-width: 600px) { .panel { padding: 22px 18px; border-radius: 24px; } }

.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.toolbar input, .toolbar select { max-width: 320px; }
.toolbar .grow { flex: 1; min-width: 200px; }
.seg { display: inline-flex; background: var(--sky-soft); border-radius: 999px; padding: 4px; gap: 2px; }
.seg button { border: 0; background: transparent; font-family: var(--display); font-weight: 600; font-size: 0.93rem; color: var(--ink-soft); padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.seg button.is-active { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--line); }

.projects { display: grid; gap: 14px; }
.project { border: 2px solid var(--line); border-radius: 24px; padding: 18px 20px; background: var(--paper); }
.project.is-open { border-color: var(--peri-soft); }
.project-top { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; }
.project-top img { width: 64px; height: 64px; border-radius: 12px; border: 2px solid var(--line); padding: 3px; background: #fff; }
.project-top h3 { margin: 0 0 4px; font-size: 1.15rem; }
.project-meta { display: flex; gap: 6px 12px; flex-wrap: wrap; font-size: 0.88rem; color: var(--ink-soft); font-weight: 600; }
.project-meta a { word-break: break-all; }
.project-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 760px) { .project-top { grid-template-columns: auto 1fr; } .project-actions { grid-column: 1 / -1; justify-content: flex-start; } }

.badge { display: inline-block; font-size: 0.78rem; font-weight: 800; border-radius: 999px; padding: 2px 10px; background: var(--sky); color: var(--ink); }
.badge.stage-0 { background: var(--sky); }
.badge.stage-1 { background: var(--blush); }
.badge.stage-2 { background: var(--butter); }
.badge.stage-3 { background: var(--mint); }
.badge.quiet { background: #fde2d0; color: #8a4318; }
.tag { display: inline-block; font-size: 0.8rem; font-weight: 700; border-radius: 999px; padding: 2px 10px; background: var(--cream); border: 1.5px solid var(--line); color: var(--ink-soft); }
.badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }

.project-body { display: none; margin-top: 18px; padding-top: 18px; border-top: 2px dashed var(--line); }
.project.is-open .project-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; }
@media (max-width: 900px) { .project.is-open .project-body { grid-template-columns: 1fr; } }
.project-body h4 { margin-bottom: 10px; }
.mini-log { list-style: none; margin: 0 0 16px; padding: 0; max-height: 340px; overflow: auto; }
.mini-log li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.mini-log li:last-child { border-bottom: 0; }
.mini-log p { margin: 0; font-size: 0.95rem; }
.mini-log small { display: block; color: var(--ink-soft); font-weight: 700; font-size: 0.82rem; margin-bottom: 2px; }
.add-box { background: var(--cream); border-radius: 20px; padding: 16px 16px 4px; }
.add-box .field { margin-bottom: 12px; }
.check-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-weight: 700; font-size: 0.95rem; }
.save-msg { font-weight: 700; font-size: 0.9rem; color: var(--peri-deep); min-height: 1.3em; margin: 8px 0 0; }

.inbox { list-style: none; margin: 0; padding: 0; }
.msg { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; border-bottom: 2px dashed var(--line); }
.msg:last-child { border-bottom: 0; }
.msg.is-done { opacity: 0.55; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 700; background: var(--blush); }
.msg:nth-child(3n+2) .avatar { background: var(--sky); }
.msg:nth-child(3n+3) .avatar { background: var(--butter); }
.msg-top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.msg-top h3 { font-size: 1.08rem; margin: 0; }
.msg-top time { font-size: 0.85rem; color: var(--ink-soft); font-weight: 700; }
.msg-meta { font-size: 0.9rem; color: var(--ink-soft); font-weight: 600; margin: 2px 0 8px; }
.msg-body { margin: 0 0 10px; white-space: pre-wrap; }
.empty { color: var(--ink-soft); font-weight: 600; padding: 12px 0; }

.link-result { display: none; margin-top: 20px; background: var(--sky-soft); border-radius: 22px; padding: 18px; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.link-result.is-visible { display: grid; }
.link-result img { width: 104px; height: 104px; border-radius: 12px; background: #fff; padding: 5px; }
.link-result code { display: block; word-break: break-all; font-size: 0.9rem; font-weight: 700; margin-bottom: 10px; }

.demo-banner svg, .status-head .kicker svg { width: 19px; height: 19px; color: var(--peri-deep); flex-shrink: 0; }
.status-head .kicker { color: var(--ink); }
.panel .field-pair .field, .panel .field { margin-bottom: 14px; }
.error-text { color: var(--danger); font-weight: 700; font-size: 0.93rem; min-height: 1.3em; margin: 8px 0 0; }
.sky:has(.status-head) .cloud-c { display: none; }
@media (max-width: 760px) {
  .cloud-a, .cloud-c { display: none; }
  .cloud-b { width: 80px; top: 96px; right: -14px; }
}
.sky:has(.lost) .cloud-c { display: none; }

.brand .wordmark { width: auto; height: 30px; border-radius: 0; }
.team-bar .brand .wordmark { width: auto; height: 26px; }
.form-done img { width: 150px; }
