:root {
  color-scheme: light;
  --primary: #0f766e;
  --primary-strong: #075e57;
  --primary-soft: #dff7f3;
  --accent: #14b8a6;
  --text: #102027;
  --text-soft: #56666f;
  --text-muted: #718089;
  --surface: #ffffff;
  --surface-soft: #f3f8f7;
  --surface-raised: #ffffff;
  --border: #dbe7e5;
  --border-strong: #c6d8d5;
  --header: rgba(255, 255, 255, 0.86);
  --shadow-sm: 0 10px 28px rgba(15, 54, 51, 0.08);
  --shadow-lg: 0 30px 70px rgba(6, 78, 59, 0.15);
  --hero-start: #e9faf6;
  --hero-end: #f8fbfb;
  --focus: #0ea5e9;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1180px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --primary: #2dd4bf;
  --primary-strong: #5eead4;
  --primary-soft: #123b38;
  --accent: #2dd4bf;
  --text: #edf8f6;
  --text-soft: #b6c9c6;
  --text-muted: #8fa6a2;
  --surface: #0d191e;
  --surface-soft: #101f25;
  --surface-raised: #14242b;
  --border: #263b41;
  --border-strong: #345057;
  --header: rgba(9, 20, 24, 0.88);
  --shadow-sm: 0 12px 30px rgba(0, 0, 0, 0.22);
  --shadow-lg: 0 34px 80px rgba(0, 0, 0, 0.32);
  --hero-start: #0c2927;
  --hero-end: #0d191e;
  --focus: #67e8f9;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--surface);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

img,
svg {
  display: block;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.brand,
.button,
.eyebrow {
  letter-spacing: -0.025em;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 5.8vw, 5rem);
  line-height: 1.03;
  font-weight: 850;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.12;
  font-weight: 800;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 760;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-160%);
  border-radius: 10px;
  background: var(--primary-strong);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 76px;
  border-bottom: 1px solid transparent;
  background: var(--header);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: height 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled {
  height: 68px;
  border-bottom-color: var(--border);
  box-shadow: 0 8px 30px rgba(5, 45, 42, 0.05);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 820;
}

.brand img {
  width: 40px;
  height: 40px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 650;
  transition: color 160ms ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  border-radius: 999px;
  background: var(--primary);
  transition: transform 160ms ease;
}

.main-nav a:hover {
  color: var(--primary);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.icon-button,
.menu-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-raised);
  color: var(--text-soft);
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.icon-button:hover,
.menu-button:hover {
  transform: translateY(-1px);
  border-color: var(--border-strong);
  background: var(--surface-soft);
  color: var(--primary);
}

.icon-button svg {
  width: 19px;
  height: 19px;
}

.language-button {
  font-size: 0.75rem;
  font-weight: 820;
}

.sun-icon,
[data-theme="dark"] .moon-icon {
  display: none;
}

[data-theme="dark"] .sun-icon,
.moon-icon {
  display: block;
}

.menu-button {
  display: none;
  align-content: center;
  gap: 4px;
  padding: 0 11px;
}

.menu-button span {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  font-size: 0.91rem;
  font-weight: 760;
  line-height: 1.2;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #0f766e, #0b8f82);
  box-shadow: 0 13px 28px rgba(15, 118, 110, 0.24);
  color: #fff;
}

.button-primary:hover {
  box-shadow: 0 17px 34px rgba(15, 118, 110, 0.32);
}

.button-ghost {
  min-height: 42px;
  padding: 9px 16px;
  border-color: var(--border);
  background: var(--surface-raised);
  color: var(--text);
}

.button-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.button-secondary {
  border-color: var(--primary);
  background: transparent;
  color: var(--primary);
}

.button-secondary:hover {
  background: var(--primary-soft);
}

.button-light {
  background: #fff;
  color: #075e57;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.13);
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.52);
  background: transparent;
  color: #fff;
}

.button-outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.text-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 760;
}

.text-link svg {
  width: 20px;
  height: 20px;
  transition: transform 160ms ease;
}

.text-link:hover svg {
  transform: translateX(4px);
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  padding: 144px 0 90px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--hero-start), var(--hero-end) 66%);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-orb-one {
  width: 560px;
  height: 560px;
  top: -220px;
  right: -170px;
  border: 90px solid rgba(20, 184, 166, 0.08);
}

.hero-orb-two {
  width: 320px;
  height: 320px;
  bottom: -220px;
  left: 18%;
  background: rgba(45, 212, 191, 0.08);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(480px, 0.92fr);
  align-items: center;
  gap: clamp(54px, 7vw, 96px);
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(20, 184, 166, 0.12);
}

.hero-intro {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--text-soft);
  font-size: clamp(1.06rem, 1.7vw, 1.24rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 34px 0 0;
  padding: 0;
  color: var(--text-soft);
  list-style: none;
  font-size: 0.88rem;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-points svg,
.check-list svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--primary);
  stroke-width: 2.4;
}

.product-preview {
  position: relative;
  padding: 36px 10px;
}

.preview-window {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  background: var(--surface-raised);
  box-shadow: var(--shadow-lg);
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}

.preview-bar {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.preview-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
}

.preview-brand img {
  width: 27px;
  height: 27px;
}

.preview-controls {
  display: flex;
  gap: 5px;
}

.preview-controls span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border-strong);
}

.preview-body {
  padding: 24px;
  background: linear-gradient(180deg, var(--surface-soft), var(--surface-raised));
}

.call-source {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface-raised);
}

.call-source strong {
  display: block;
  font-size: 0.91rem;
}

.call-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--primary-soft);
  color: var(--primary);
}

.call-icon svg {
  width: 20px;
  height: 20px;
}

.preview-label {
  display: block;
  margin-bottom: 2px;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 720;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.direction-badge,
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 760;
}

.status-badge span:first-child {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.processing-line {
  position: relative;
  width: 2px;
  height: 30px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--border);
}

.processing-line span {
  position: absolute;
  inset: -50% 0 auto;
  height: 50%;
  background: var(--accent);
  animation: flow 1.8s ease-in-out infinite;
}

@keyframes flow {
  to { transform: translateY(300%); }
}

.transcript-card {
  padding: 20px;
  border: 1px solid rgba(15, 118, 110, 0.34);
  border-radius: 17px;
  background: var(--surface-raised);
  box-shadow: var(--shadow-sm);
}

.card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--border);
}

.card-heading h2 {
  margin: 0;
  font-size: 1rem;
}

.summary-block {
  padding: 17px 0;
}

.summary-block p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.78rem;
  line-height: 1.6;
}

.detail-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 650;
}

.detail-row > span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.detail-row svg {
  width: 15px;
  height: 15px;
  color: var(--primary);
}

.floating-note {
  position: absolute;
  z-index: 2;
  min-width: 176px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-raised);
  box-shadow: var(--shadow-sm);
  animation: float 5s ease-in-out infinite;
}

.floating-note-one {
  top: 7px;
  right: -26px;
}

.floating-note-two {
  bottom: 3px;
  left: -28px;
  animation-delay: -2.5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.floating-note strong,
.floating-note small {
  display: block;
  line-height: 1.35;
}

.floating-note strong {
  font-size: 0.75rem;
}

.floating-note small {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 0.64rem;
}

.note-icon {
  width: 31px;
  height: 31px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  background: var(--primary-soft);
  color: var(--primary);
}

.note-icon svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
}

.section {
  padding: 112px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 58px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading > p:last-child,
.feature-copy > p,
.exceptions-copy > p,
.faq-heading > p {
  color: var(--text-soft);
  font-size: 1.05rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step-card,
.feature-card {
  position: relative;
  border: 1px solid var(--border);
  background: var(--surface-raised);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.step-card:hover,
.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(15, 118, 110, 0.38);
  box-shadow: var(--shadow-sm);
}

.step-card {
  min-height: 310px;
  padding: 34px 30px;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.step-card::after {
  position: absolute;
  right: -35px;
  bottom: -45px;
  width: 120px;
  height: 120px;
  content: "";
  border: 25px solid var(--primary-soft);
  border-radius: 50%;
}

.step-number {
  position: absolute;
  top: 27px;
  right: 28px;
  color: var(--border-strong);
  font-size: 2rem;
  font-weight: 850;
}

.step-icon,
.feature-icon {
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--primary-soft);
  color: var(--primary);
}

.step-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 30px;
}

.step-icon svg {
  width: 25px;
  height: 25px;
}

.step-card p,
.feature-card p {
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.flow-section {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.flow-section::before {
  position: absolute;
  width: 540px;
  height: 540px;
  top: 70px;
  left: -360px;
  content: "";
  border: 80px solid rgba(20, 184, 166, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.flow-board {
  position: relative;
  max-width: 1090px;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 0%, rgba(20, 184, 166, 0.10), transparent 35%),
    var(--surface-soft);
  box-shadow: var(--shadow-sm);
}

.flow-node {
  position: relative;
  max-width: 720px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  margin-inline: auto;
  padding: 22px 25px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface-raised);
  box-shadow: 0 9px 24px rgba(15, 54, 51, 0.06);
}

.flow-node h3 {
  margin-bottom: 5px;
}

.flow-node p {
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.55;
}

.flow-node-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
}

.flow-node-icon svg {
  width: 25px;
  height: 25px;
}

.flow-node-label {
  display: block;
  margin-bottom: 3px;
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flow-step {
  position: absolute;
  top: -11px;
  left: -11px;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 3px solid var(--surface-soft);
  border-radius: 9px;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 850;
}

.flow-arrow-down {
  position: relative;
  width: 2px;
  height: 47px;
  margin-inline: auto;
  background: var(--border-strong);
}

.flow-arrow-down span {
  position: absolute;
  right: -4px;
  bottom: 1px;
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
}

.flow-decision {
  position: relative;
  height: 94px;
}

.flow-decision::before {
  position: absolute;
  width: 2px;
  height: 49px;
  top: 0;
  left: calc(50% - 1px);
  content: "";
  background: var(--border-strong);
}

.flow-decision-line {
  position: absolute;
  height: 2px;
  top: 48px;
  right: calc(16.666% - 2px);
  left: calc(16.666% - 2px);
  background: var(--border-strong);
}

.flow-decision-label {
  position: absolute;
  z-index: 1;
  top: 30px;
  left: 50%;
  padding: 7px 13px;
  transform: translateX(-50%);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-raised);
  color: var(--text-soft);
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 760;
  box-shadow: var(--shadow-sm);
}

.flow-branches {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.flow-branch {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 23px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--branch-color);
  border-radius: 17px;
  background: var(--surface-raised);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.flow-branch:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.flow-branch-success {
  --branch-color: #0f9f7f;
  --branch-soft: rgba(15, 159, 127, 0.12);
}

.flow-branch-warning {
  --branch-color: #d97706;
  --branch-soft: rgba(217, 119, 6, 0.12);
}

.flow-branch-neutral {
  --branch-color: #64748b;
  --branch-soft: rgba(100, 116, 139, 0.13);
}

.flow-branch-stem {
  position: absolute;
  width: 2px;
  height: 46px;
  top: -49px;
  left: calc(50% - 1px);
  background: var(--border-strong);
}

.flow-branch-stem::after {
  position: absolute;
  right: -4px;
  bottom: 0;
  width: 10px;
  height: 10px;
  content: "";
  transform: rotate(45deg);
  border-right: 2px solid var(--branch-color);
  border-bottom: 2px solid var(--branch-color);
}

.flow-branch-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--branch-color);
  font-size: 0.7rem;
  font-weight: 820;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.flow-result-count {
  min-width: 27px;
  height: 27px;
  display: inline-grid;
  place-items: center;
  padding: 0 6px;
  border-radius: 8px;
  background: var(--branch-soft);
  font-size: 0.72rem;
}

.flow-branch-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--branch-soft);
  color: var(--branch-color);
}

.flow-branch-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.1;
}

.flow-branch h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.flow-branch > p {
  margin-bottom: 22px;
  color: var(--text-soft);
  font-size: 0.84rem;
  line-height: 1.55;
}

.flow-outcome {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--branch-color);
  font-size: 0.72rem;
  font-weight: 760;
}

.flow-outcome > span:first-child {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px var(--branch-soft);
}

.flow-employee-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px dashed rgba(15, 118, 110, 0.42);
  border-radius: 15px;
  background: var(--primary-soft);
}

.flow-employee-icon {
  width: 43px;
  height: 43px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: var(--surface-raised);
  color: var(--primary);
}

.flow-employee-icon svg {
  width: 23px;
  height: 23px;
}

.flow-employee-note strong,
.flow-employee-note small {
  display: block;
}

.flow-employee-note strong {
  margin-bottom: 3px;
  font-size: 0.9rem;
}

.flow-employee-note small {
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.5;
}

.feature-section,
.faq-section {
  background: var(--surface-soft);
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.35fr);
  align-items: start;
  gap: clamp(54px, 8vw, 100px);
}

.feature-copy {
  position: sticky;
  top: 112px;
}

.feature-copy .text-link {
  margin-top: 8px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 230px;
  padding: 27px;
  border-radius: var(--radius-md);
}

.feature-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.crm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.crm-card {
  min-height: 104px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-raised);
  color: var(--text);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.crm-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.crm-card strong {
  font-size: 0.91rem;
  line-height: 1.35;
}

.crm-mark {
  width: 43px;
  height: 43px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  font-weight: 850;
}

.crm-mark.afas { background: #199447; }
.crm-mark.simplicate { background: #1597b7; }
.crm-mark.hubspot { background: #ff6b35; }
.crm-mark.dynamics { background: #286fc7; }
.crm-mark.mijnkantoor { background: #0f766e; }
.crm-mark.zoho { background: #6554c0; }
.crm-mark.salesforce { background: #159ed9; }
.crm-mark.gripp { background: #e23f2f; }

.crm-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  padding: 22px 24px;
  border: 1px dashed var(--border-strong);
  border-radius: 16px;
  background: var(--surface-soft);
}

.crm-callout > div {
  display: flex;
  align-items: center;
  gap: 13px;
}

.crm-callout strong,
.crm-callout small {
  display: block;
}

.crm-callout strong {
  font-size: 0.94rem;
}

.crm-callout small {
  margin-top: 2px;
  color: var(--text-soft);
  font-size: 0.85rem;
}

.callout-icon {
  width: 40px;
  height: 40px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  background: var(--primary-soft);
  color: var(--primary);
}

.callout-icon svg {
  width: 21px;
  height: 21px;
}

.exceptions-section {
  padding-top: 76px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-soft) 100%);
}

.exceptions-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(60px, 9vw, 120px);
}

.exceptions-visual {
  position: relative;
  padding: 50px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #075e57, #0f766e 55%, #14b8a6);
}

.exceptions-visual::before,
.exceptions-visual::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.exceptions-visual::before {
  width: 260px;
  height: 260px;
  top: -130px;
  right: -90px;
}

.exceptions-visual::after {
  width: 180px;
  height: 180px;
  bottom: -100px;
  left: -60px;
}

.mini-dashboard {
  position: relative;
  z-index: 1;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 18px;
  background: var(--surface-raised);
  box-shadow: 0 25px 55px rgba(0, 38, 34, 0.25);
}

.mini-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.mini-header span:first-child {
  width: 34%;
  height: 9px;
  border-radius: 999px;
  background: var(--border-strong);
}

.mini-header span:last-child {
  width: 17%;
  height: 9px;
  border-radius: 999px;
  background: var(--primary-soft);
}

.mini-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 9px;
  border-bottom: 1px solid var(--border);
}

.mini-row:last-child {
  border-bottom: 0;
}

.mini-row b,
.mini-row small {
  display: block;
}

.mini-row b {
  font-size: 0.8rem;
}

.mini-row small {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 0.69rem;
}

.mini-row > span:last-child {
  color: var(--text-muted);
  font-weight: 750;
}

.mini-row.success > span:last-child { color: var(--primary); }
.mini-row.attention > span:last-child { color: #d97706; }

.mini-status {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-strong);
}

.mini-row.success .mini-status { background: #14b8a6; }
.mini-row.attention .mini-status { background: #f59e0b; }

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  align-items: start;
  gap: clamp(60px, 9vw, 120px);
}

.faq-heading {
  position: sticky;
  top: 112px;
}

.faq-heading .text-link {
  margin-top: 9px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0 22px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface-raised);
}

.faq-list details[open] {
  border-color: rgba(15, 118, 110, 0.38);
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  position: relative;
  padding: 21px 38px 21px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 740;
  line-height: 1.45;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before,
.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 14px;
  height: 2px;
  content: "";
  transform: translateY(-50%);
  border-radius: 999px;
  background: var(--primary);
  transition: transform 160ms ease;
}

.faq-list summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(0deg);
}

.faq-list details p {
  margin: -2px 0 21px;
  padding-right: 34px;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.contact-section {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.contact-section::before {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -300px;
  bottom: -270px;
  content: "";
  border: 80px solid rgba(20, 184, 166, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(520px, 1.22fr);
  align-items: start;
  gap: clamp(54px, 8vw, 100px);
}

.contact-copy {
  position: sticky;
  top: 112px;
}

.contact-copy > p {
  color: var(--text-soft);
  font-size: 1.05rem;
}

.contact-reasons {
  display: grid;
  gap: 13px;
  margin-top: 31px;
}

.contact-reasons > div {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface-soft);
}

.contact-reason-icon {
  width: 39px;
  height: 39px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  background: var(--primary-soft);
  color: var(--primary);
}

.contact-reason-icon svg {
  width: 20px;
  height: 20px;
}

.contact-reasons strong,
.contact-reasons small {
  display: block;
}

.contact-reasons strong {
  margin-bottom: 3px;
  font-size: 0.87rem;
}

.contact-reasons small {
  color: var(--text-soft);
  font-size: 0.78rem;
  line-height: 1.5;
}

.contact-card {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface-raised);
  box-shadow: var(--shadow-lg);
}

.contact-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.form-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.form-heading-icon {
  width: 45px;
  height: 45px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
  background: var(--primary-soft);
  color: var(--primary);
}

.form-heading-icon svg {
  width: 23px;
  height: 23px;
}

.form-heading strong,
.form-heading small {
  display: block;
}

.form-heading strong {
  font-size: 1rem;
}

.form-heading small {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-field {
  display: grid;
  align-content: start;
  gap: 7px;
}

.form-field[hidden] {
  display: none;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 740;
}

.form-field label span {
  color: var(--text-muted);
  font-weight: 550;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 11px;
  outline: 0;
  background: var(--surface);
  color: var(--text);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.form-field input,
.form-field select {
  height: 48px;
  padding: 0 13px;
}

.form-field textarea {
  min-height: 132px;
  padding: 12px 13px;
  resize: vertical;
  line-height: 1.55;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.78;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: var(--primary);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}

.form-field input:user-invalid,
.form-field select:user-invalid,
.form-field textarea:user-invalid {
  border-color: #dc2626;
}

.field-hint {
  color: var(--text-muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
  color: var(--text-soft);
  cursor: pointer;
  font-size: 0.78rem;
  line-height: 1.5;
}

.consent-field input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin: 2px 0 0;
  accent-color: var(--primary);
}

.captcha-area {
  min-height: 72px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface-soft);
}

.captcha-challenge {
  width: min(282px, 100%);
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.captcha-challenge img {
  width: 240px;
  max-width: 100%;
  height: 72px;
  display: block;
  flex: 1 1 240px;
  min-width: 0;
  border: 1px solid var(--border-strong);
  border-radius: 11px;
  background: #eaf7f4;
  object-fit: cover;
}

.captcha-refresh {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid rgba(15, 118, 110, 0.28);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.88);
  color: #0f766e;
  cursor: pointer;
  box-shadow: 0 5px 14px rgba(15, 54, 51, 0.12);
  transition: transform 160ms ease, background 160ms ease;
}

.captcha-refresh:hover {
  transform: rotate(20deg);
  background: #fff;
}

.captcha-refresh svg {
  width: 18px;
  height: 18px;
}

.captcha-answer-field {
  min-width: 180px;
  flex: 1 1 190px;
}

.captcha-answer-field input {
  max-width: 220px;
}

.captcha-message {
  flex: 1 1 180px;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.74rem;
  line-height: 1.45;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.form-submit {
  min-width: 166px;
  flex: 0 0 auto;
}

.form-submit:disabled {
  transform: none;
  opacity: 0.62;
  cursor: not-allowed;
  box-shadow: none;
}

.submit-spinner {
  width: 17px;
  height: 17px;
  display: none;
  margin-left: 8px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: contact-spin 700ms linear infinite;
}

.contact-form.is-submitting .submit-spinner {
  display: block;
}

@keyframes contact-spin {
  to { transform: rotate(360deg); }
}

.form-status {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.45;
}

.form-status.is-success {
  color: #0f8a70;
}

.form-status.is-error {
  color: #c2410c;
}

.cta-section {
  padding: 86px 0;
  background: var(--surface);
}

.cta-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  align-items: center;
  gap: 50px;
  padding: clamp(42px, 6vw, 68px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(125deg, #064e3b, #0f766e 55%, #0d9488);
  box-shadow: var(--shadow-lg);
  color: #fff;
}

.cta-card > *:not(.cta-pattern) {
  position: relative;
  z-index: 1;
}

.cta-card .eyebrow {
  color: #99f6e4;
}

.cta-card h2 {
  max-width: 720px;
  margin-bottom: 16px;
}

.cta-card p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.cta-pattern {
  position: absolute;
  width: 480px;
  height: 480px;
  top: -275px;
  right: -75px;
  border: 70px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.cta-actions {
  min-width: 205px;
  display: grid;
  gap: 11px;
}

.site-footer {
  padding: 68px 0 24px;
  border-top: 1px solid var(--border);
  background: var(--surface-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.7fr) 0.7fr 0.7fr;
  gap: 60px;
  padding-bottom: 54px;
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 360px;
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-links strong {
  margin-bottom: 3px;
  font-size: 0.86rem;
}

.footer-links a {
  width: fit-content;
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.86rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.78rem;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 550ms ease, transform 550ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 0.84rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(410px, 0.9fr); gap: 40px; }
  .crm-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 940px) {
  .main-nav {
    position: fixed;
    inset: 76px 20px auto;
    display: grid;
    gap: 0;
    padding: 10px;
    visibility: hidden;
    transform: translateY(-10px);
    opacity: 0;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface-raised);
    box-shadow: var(--shadow-lg);
    transition: visibility 160ms ease, opacity 160ms ease, transform 160ms ease;
  }
  .main-nav.open { visibility: visible; transform: translateY(0); opacity: 1; }
  .main-nav a { padding: 13px 14px; border-radius: 10px; font-size: 0.95rem; }
  .main-nav a:hover { background: var(--primary-soft); }
  .main-nav a::after { display: none; }
  .menu-button { display: inline-grid; }
  .hero { min-height: auto; padding-top: 130px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .product-preview { width: min(100%, 660px); margin-inline: auto; }
  .feature-layout, .faq-layout, .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .feature-copy, .faq-heading, .contact-copy { position: static; max-width: 720px; }
  .exceptions-layout { gap: 55px; }
  .cta-card { grid-template-columns: 1fr; gap: 30px; }
  .cta-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 430px); }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .portal-link { display: none; }
  .hero { padding: 120px 0 72px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 17px; }
  .hero-points { display: grid; }
  .floating-note-one { right: -2px; }
  .floating-note-two { left: -2px; }
  .section { padding: 82px 0; }
  .section-heading { margin-bottom: 40px; }
  .steps-grid, .feature-grid { grid-template-columns: 1fr; }
  .step-card { min-height: auto; }
  .flow-board { padding: 28px 22px; }
  .flow-node { align-items: start; padding: 20px; }
  .flow-decision { height: 88px; }
  .flow-decision-line { right: 50%; left: auto; width: 2px; height: 40px; top: 48px; }
  .flow-branches { grid-template-columns: 1fr; gap: 18px; padding-left: 28px; }
  .flow-branches::before { position: absolute; top: 31px; bottom: 31px; left: 0; width: 2px; content: ""; background: var(--border-strong); }
  .flow-branch-stem { width: 29px; height: 2px; top: 29px; left: -29px; }
  .flow-branch-stem::after { right: 1px; bottom: -4px; }
  .flow-employee-note { align-items: flex-start; }
  .crm-grid { grid-template-columns: repeat(2, 1fr); }
  .crm-callout { align-items: flex-start; flex-direction: column; }
  .exceptions-layout { grid-template-columns: 1fr; }
  .exceptions-visual { order: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .site-header { height: 68px; }
  .brand { gap: 8px; font-size: 1rem; }
  .brand img { width: 36px; height: 36px; }
  .header-actions { gap: 6px; }
  .icon-button, .menu-button { width: 39px; height: 39px; }
  .main-nav { inset: 68px 14px auto; }
  h1 { font-size: clamp(2.35rem, 12vw, 3.25rem); }
  h2 { font-size: clamp(1.8rem, 9vw, 2.5rem); }
  .hero-intro { font-size: 1rem; }
  .hero-actions .button { width: 100%; }
  .product-preview { margin-top: 4px; padding: 24px 0 70px; }
  .preview-window { border-radius: 19px; transform: none; }
  .preview-body { padding: 15px; }
  .call-source { grid-template-columns: auto 1fr; padding: 13px; }
  .direction-badge { grid-column: 2; width: fit-content; }
  .card-heading { align-items: flex-start; flex-direction: column; }
  .detail-row { flex-direction: column; }
  .floating-note { min-width: 156px; }
  .floating-note-one { top: 0; }
  .floating-note-two { bottom: 8px; }
  .flow-board { padding: 25px 15px; border-radius: 20px; }
  .flow-node { grid-template-columns: 1fr; gap: 12px; padding: 19px 17px; }
  .flow-node-icon { width: 43px; height: 43px; }
  .flow-decision-label { max-width: calc(100% - 12px); white-space: normal; text-align: center; }
  .flow-branches { padding-left: 21px; }
  .flow-branch { padding: 20px 18px; }
  .flow-branch-stem { width: 22px; left: -22px; }
  .flow-employee-note { padding: 16px; }
  .crm-grid { grid-template-columns: 1fr; }
  .crm-card { min-height: 84px; }
  .exceptions-visual { padding: 28px 18px; }
  .faq-list details { padding: 0 17px; }
  .contact-card { padding: 24px 18px; border-radius: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field-full { grid-column: auto; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-submit { width: 100%; }
  .captcha-area { padding: 11px; }
  .captcha-challenge { width: 100%; }
  .captcha-challenge img { width: calc(100% - 42px); }
  .captcha-answer-field input { max-width: none; }
  .cta-card { padding: 35px 24px; border-radius: 22px; }
  .cta-actions { grid-template-columns: 1fr; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
