/* Home page (NL/FR/EN share it). Shared chrome (partner strip, header, footer, pills, links, eyebrow) lives in content.css. */
:root {
  --black: #000000;
  --white: #ffffff;
  --lavender: #f7f7fd;
  --purple: #8088dd;
  --line: #ddddea;
  --body: "Manrope", Arial, sans-serif;
  --display: "Outfit", Arial, sans-serif;
  --container: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; }

body {
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--black);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; }
::selection { background: var(--purple); color: var(--white); }
:focus-visible { outline: 3px solid var(--purple-dark); outline-offset: 5px; }

/* Plain white page: the faint 25% column lines crossed the headline and body copy (H-23), so they are gone. */
.page {
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-rows: auto auto 1fr auto;
  overflow: hidden;
  background: var(--white);
}

.container {
  width: min(var(--container), calc(100% - 72px));
  margin-inline: auto;
}

.hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(32px, 4.5vh, 58px);
}

.hero-main { display: grid; gap: 28px; min-width: 0; }

/* Brain diagram: the hero's visual, kept at the diagram's own ratio so labels never distort. */
.hero-visual { min-width: 0; justify-self: end; width: 100%; max-width: 640px; }
.hero-visual .brain-figure { background: radial-gradient(ellipse at center, #efeafd 0, transparent 66%); }
.hero-visual .brain-figure .brain-wide { max-height: calc(100svh - 300px); min-height: 280px; }
.hero-visual .brain-caption { margin-top: 2px; padding: 0 6px; color: #5f586f; font-size: 13px; }
.hero-visual .brain-toggle { padding: 8px 6px; min-height: 36px; font-size: 13px; }

.hero-title {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(52px, 5.4vw, 78px);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .88;
}

.hero-title > span { display: block; }

.hero-title .accent {
  position: relative;
  display: inline-block;
  width: max-content;
  max-width: 100%;
  color: var(--purple);
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 760px;
}

.hero-copy p {
  margin: 0;
  color: #434343;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.65;
}

.hero-copy .demo-prompt {
  margin-top: 18px;
  color: var(--black);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.hero-copy .integration-note {
  margin-top: 14px;
  color: var(--purple-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.hero-copy .cta { margin-top: 34px; }
.demo-prompt + .cta { margin-top: 14px; }

.hero-title, .hero-copy {
  animation: rise .75s cubic-bezier(.22, .75, .24, 1) both;
}

.hero-copy { animation-delay: .12s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .container { width: min(var(--container), calc(100% - 40px)); }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 36px;
    padding-block: 42px 44px;
  }
  .hero-visual { justify-self: center; max-width: 640px; }
  .hero-visual .brain-figure .brain-wide { max-height: none; min-height: 0; }

  .hero-title { font-size: clamp(52px, 9vw, 72px); }
  .hero-copy { max-width: 640px; }
}

@media (max-width: 560px) {
  body { min-height: 0; }
  .container { width: calc(100% - 32px); }
  .page {
    min-height: 0;
    grid-template-rows: auto;
  }
  .hero { gap: 30px; padding-block: 34px 40px; }
  .hero-visual { max-width: none; }
  .hero-title { font-size: clamp(39px, 10.5vw, 46px); line-height: .88; }
  .hero-copy p { max-width: 330px; font-size: 15px; }
  .hero-copy .cta { margin-top: 28px; }
}

@media (max-width: 360px) {
  .hero-title { font-size: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
/* Home sections below the hero (kiosk content in the public editorial shell). */
.hero-copy .lead-strong { color: var(--black); font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; line-height: 1.5; }
.hero-copy .dentex-note { margin-top: 10px; color: #5b5b66; font-size: 14px; }
.editorial .mail-example .message p:not(.label) { margin-bottom: 12px; font-size: 15px; line-height: 1.6; }
.editorial .mail-example .message p:last-child { margin-bottom: 0; }
.editorial .module-grid a.module-tile, .editorial .module-grid a.module-tile:hover { color: var(--ink); text-decoration: none; }
/* Fictional mailbox example: the mail state (waiting for approval) and the agenda state (DentAdmin) are two labelled blocks. */
.editorial .mail-example .agenda-state { padding: 22px 28px 24px; border-top: 1px solid var(--border); background: var(--paper); }
.editorial .mail-example .agenda-steps { margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.55; }
.editorial .mail-example .agenda-steps li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; margin: 0 0 10px; padding: 0; }
.editorial .mail-example .agenda-steps li:last-child { margin-bottom: 0; }
.editorial .mail-example .agenda-steps span { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: #e4e6f8; color: var(--accent); font-size: 12px; font-weight: 700; }
.editorial .team-reviews { font-family: var(--display); font-size: 24px; font-weight: 500; letter-spacing: -.02em; }
/* Results: two pilot figures as statistic cards; the prose statement gets its own full-width row (no invented figure). */
.editorial .home-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 8px; }
.editorial .stats-statement { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 20px; align-items: baseline; margin: 32px 0 0; padding-top: 28px; border-top: 1px solid var(--border); }
.editorial .stats-statement strong { font-family: var(--display); font-size: clamp(22px, 2vw, 26px); font-weight: 500; line-height: 1.25; letter-spacing: -.02em; }
.editorial .stats-statement p { margin: 0; font-size: 17px; line-height: 1.55; }
.editorial .results-actions { margin-top: 32px; }
.editorial .stat-card { padding: 30px 32px 28px; border: 1px solid var(--border); border-radius: 20px; background: #fff; box-shadow: 0 8px 30px rgba(23, 29, 69, .04); }
.editorial .stat-value { display: block; margin-bottom: 8px; color: var(--purple-dark); font-family: var(--display); font-size: clamp(42px, 4.4vw, 60px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.editorial .stat-card p { margin: 0; max-width: 360px; font-size: 17px; line-height: 1.5; color: var(--ink); }
.editorial .stats-source { margin: 18px 0 0; }
@media (max-width: 620px) { .editorial .home-stats, .editorial .stats-statement { grid-template-columns: 1fr; gap: 14px; } .editorial .stat-card { padding: 24px; } }
.editorial .module-intro { max-width: 760px; margin-bottom: 28px; }
.editorial .module-tile-no { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.editorial .module-secondary { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; margin-top: 24px; }
.editorial .module-secondary p { margin: 0; }
.editorial .module-secondary a { font-weight: 700; white-space: nowrap; }
.editorial .module-examples { margin-top: 52px; border-top: 1px solid var(--border); }
/* Examples accordion: full container width, 88px closed rows, title 24px after its number, open title in ink. */
.editorial .module-example { max-width: none; padding: 0; border-top: 0; border-bottom: 1px solid var(--border); scroll-margin-top: 24px; transition: background-color .25s; }
.editorial .module-example[open] { background: linear-gradient(90deg, rgba(128, 136, 221, .09), rgba(128, 136, 221, 0) 55%); box-shadow: inset 4px 0 0 var(--accent); }
.editorial .module-example[open] .module-example-trigger { padding-left: 22px; }
.editorial .module-example[open] .module-example-content { padding-left: 22px; }
.editorial .module-example-trigger strong { transition: color .2s; }
.editorial .module-example-trigger:hover strong { color: var(--accent); }
.editorial .module-example-trigger .toggle-mark { transition: background-color .2s, color .2s, transform .25s, border-color .2s; }
.editorial .module-example-trigger:hover .toggle-mark { border-color: var(--accent); }
.editorial .module-example[open] .toggle-mark { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(180deg); }
.editorial .module-example-trigger { display: grid; grid-template-columns: auto 1fr 32px; align-items: center; gap: 24px; min-height: 88px; padding: 18px 0; cursor: pointer; list-style: none; }
.editorial .module-example-trigger::-webkit-details-marker { display: none; }
.editorial .module-example-trigger:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.editorial .module-example-trigger .module-tile-no { font-size: 12px; }
.editorial .module-example-trigger strong { color: var(--ink); font-family: var(--display); font-size: clamp(22px, 2.3vw, 30px); font-weight: 500; line-height: 1.15; letter-spacing: -.025em; }
.editorial .module-example-trigger .toggle-mark { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: var(--accent); font-size: 24px; line-height: 1; }
.editorial .module-example-trigger .toggle-mark::before { content: '+'; }
.editorial .module-example[open] .toggle-mark::before { content: '−'; }
.editorial .module-example-content { padding: 8px 0 48px; }
.editorial .module-example-content h3 { font-size: clamp(30px, 3.4vw, 48px); max-width: 580px; }
.editorial .module-example-flow { align-self: start; margin: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 18px; background: #fff; box-shadow: 0 12px 36px rgba(23, 29, 69, .07); }
.editorial .module-example-flow figcaption { padding: 17px 22px; border-bottom: 1px solid var(--border); background: #f4f5fd; color: var(--muted); font-size: 13px; }
.editorial .module-example-flow ol { margin: 0; padding: 6px 22px; list-style: none; }
.editorial .module-example-flow li { display: grid; grid-template-columns: 32px 1fr; gap: 13px; align-items: start; padding: 17px 0; border-bottom: 1px solid var(--border); }
.editorial .module-example-flow li:last-child { border-bottom: 0; }
.editorial .module-example-flow .flow-number { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: #eceefb; color: var(--accent); font-size: 12px; font-weight: 700; }
.editorial .module-example-flow strong { display: block; margin: 0 0 2px; color: var(--ink); }
.editorial .module-example-flow li p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.editorial .module-example-flow .flow-status { padding: 14px 22px; border-top: 1px solid var(--border); background: #fbfbff; color: var(--accent); font-size: 13px; font-weight: 700; }
@media (max-width: 760px) { .editorial .module-example[open] .module-example-trigger, .editorial .module-example[open] .module-example-content { padding-left: 14px; } .editorial .module-examples { margin-top: 42px; } .editorial .module-example-trigger { grid-template-columns: 1fr 32px; gap: 4px 12px; min-height: 76px; padding: 16px 0; } .editorial .module-example-trigger .module-tile-no { grid-column: 1; } .editorial .module-example-trigger strong { grid-column: 1; } .editorial .module-example-trigger .toggle-mark { grid-column: 2; grid-row: 1 / span 2; } .editorial .module-example-content { padding: 12px 0 38px; } }
/* 04 Chat + 05 checklist examples reuse the kiosk copies without the .app-shell body class. */
.editorial .home-chat-demo .module-demo { margin: 0; font-size: 16px; }
.editorial .home-chat-demo .sc-chat { max-width: none; }
.editorial .home-chat-demo .sc-message p { margin: 0; font-size: 15px; line-height: 1.6; max-width: none; }
.editorial .home-chat-demo .sc-message .sc-patients-title { margin-top: 18px; font-size: 12px; font-weight: 700; color: #52665a; }
.editorial .home-chat-demo .md-disclaimer { max-width: none; }
.editorial .home-assistant-picture .assistant-picture { margin: 0; }
.editorial .home-assistant-picture h2 { font-size: 22px; margin: 7px 0 0; line-height: 1.2; max-width: none; }
.editorial .home-assistant-picture h3 { font-size: 19px; line-height: 1.2; margin: 0 0 9px; max-width: none; }
.editorial .home-assistant-picture .assistant-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; margin: 0; padding: 0; list-style: none; max-width: none; }
.editorial .home-assistant-picture .assistant-steps > li::after { display: none; }
.editorial .home-assistant-picture .assistant-mini { min-height: 0; }
.editorial .home-chat-demo .sc-patients li span { white-space: nowrap; }
.editorial .home-assistant-picture .assistant-steps > li { position: relative; min-width: 0; margin: 0; padding: 22px 16px 18px; border: 1px solid #e3dceb; border-radius: 16px; background: #fff; }
.editorial .home-assistant-picture .assistant-steps p { margin: 0 0 10px; font-size: 14px; line-height: 1.5; color: #62566e; max-width: none; }
.editorial .home-assistant-picture .assistant-picture-foot { margin: 22px 0 0; font-size: 13px; line-height: 1.5; color: #625a7a; }
.editorial .module-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; margin-top: 12px; }
.editorial .module-grid .module-tile { grid-column: span 2; }
.editorial .module-grid .module-tile:nth-child(n+4) { grid-column: span 3; }
.editorial .module-tile { position: relative; display: flex; min-height: 220px; flex-direction: column; gap: 14px; border: 1px solid var(--border); border-radius: 20px; padding: 28px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 8px 30px rgba(23, 29, 69, .04); transition: border-color .2s, transform .2s, box-shadow .2s; }
.editorial .module-tile:hover, .editorial .module-tile:focus-visible { border-color: var(--purple); color: var(--ink); transform: translateY(-3px); box-shadow: 0 18px 42px rgba(23, 29, 69, .1); }
.editorial .module-tile h3 { margin: 0; font-size: clamp(24px, 2.2vw, 30px); }
.editorial .module-tile p { margin: 0 34px 0 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.editorial .module-tile-arrow { position: absolute; right: 26px; bottom: 22px; color: var(--accent); font: 500 28px/1 var(--display); }
.editorial .module-tile-other { grid-column: 1 / -1; min-height: 0; }
.editorial .badge { align-self: flex-start; padding: 4px 12px; border: 1px solid #cfd2f2; border-radius: 999px; background: #f1f2fd; color: var(--accent); font-size: 12px; font-weight: 700; line-height: 1.5; letter-spacing: .02em; }
.home-testimonials .quote-grid { display: block; }
/* Evident quote: card spans the container; quote mark in brand periwinkle, logo in grey. */
.home-testimonials .quote-card { display: flex; flex-direction: column; min-width: 0; max-width: none; margin: 0; padding: 30px 32px 28px; border: 1px solid #ded7e9; border-radius: 20px; background: #fff; box-shadow: 0 8px 28px #34214708; }
.home-testimonials .quote-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 54px; }
.home-testimonials .quote-mark { height: 40px; color: var(--purple); font-family: Georgia, serif; font-size: 74px; line-height: 1; }
.home-testimonials .quote-logo { display: flex; align-items: center; justify-content: flex-end; max-width: 250px; min-height: 54px; }
.home-testimonials .quote-logo img { display: block; width: auto; max-width: 100%; max-height: 54px; object-fit: contain; filter: grayscale(1) brightness(.7) contrast(2.5); }
.home-testimonials .quote-logo--orthopolis { gap: 9px; padding: 5px 10px; border-radius: 8px; background: #737381; }
.home-testimonials .quote-logo--orthopolis .quote-logo-mark { width: 40px; height: 40px; flex: none; }
.home-testimonials .quote-logo--orthopolis .quote-logo-wordmark { width: 170px; max-width: calc(100% - 49px); height: auto; }
.home-testimonials .quote-logo--de-kies { gap: 8px; color: #19396e; font-family: Outfit, Arial, sans-serif; font-size: 24px; font-weight: 600; white-space: nowrap; }
.home-testimonials .quote-logo--de-kies img { width: 50px; height: 50px; flex: none; }
.home-testimonials .quote-card blockquote { max-width: 900px; margin: 16px 0 28px; color: #292536; font-family: Outfit, Arial, sans-serif; font-size: clamp(22px, 2vw, 28px); font-weight: 500; line-height: 1.35; letter-spacing: -.018em; }
.home-testimonials .quote-card figcaption { display: flex; flex-direction: column; gap: 3px; margin-top: auto; padding-top: 18px; border-top: 1px solid #eeeaf3; color: #5f5572; font-size: 14px; }
.home-testimonials .quote-card figcaption strong { color: #352b48; font-size: 16px; }
.editorial .home-testimonials .quote-note { margin: 22px 0 0; font-size: 13px; color: var(--muted); }
.editorial .home-testimonials .testimonials-more { margin: 20px 0 0; }
@media (max-width: 560px) { .home-testimonials .quote-card { padding: 26px; } .home-testimonials .quote-logo { max-width: 180px; } .home-testimonials .quote-logo--orthopolis .quote-logo-mark { width: 30px; height: 30px; } .home-testimonials .quote-logo--orthopolis .quote-logo-wordmark { width: 120px; } .home-testimonials .quote-logo--de-kies { font-size: 20px; } .home-testimonials .quote-logo--de-kies img { width: 40px; height: 40px; } }
.editorial .practice-quote { margin: 0; max-width: 860px; }
.editorial .practice-quote blockquote { margin: 0 0 20px; font-family: var(--display); font-size: clamp(24px, 2.6vw, 34px); font-weight: 500; line-height: 1.3; letter-spacing: -.02em; }
.editorial .practice-quote figcaption { color: var(--muted); font-size: 15px; }
.editorial .practice-quote figcaption strong { display: block; color: var(--ink); }
@media (max-width: 900px) { .editorial .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .editorial .module-grid .module-tile, .editorial .module-grid .module-tile:nth-child(n+4) { grid-column: auto; } .editorial .module-grid .module-tile:nth-child(5) { grid-column: 1 / -1; } }
@media (max-width: 620px) {
  .editorial .module-grid { grid-template-columns: 1fr; gap: 14px; } .editorial .module-grid .module-tile:nth-child(5) { grid-column: auto; }
  .editorial .module-tile { min-height: 0; padding: 24px; }
  .editorial .mail-example .agenda-state { padding: 18px 22px 20px; }
}
