html {
  scroll-behavior: smooth;
  background: var(--cd-color-background);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--cd-color-text);
  background:
    radial-gradient(circle at 92% 4%, color-mix(in srgb, var(--cd-color-brand-100) 74%, transparent), transparent 28rem),
    var(--cd-color-background);
  font-family: var(--cd-font-ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

.wrap {
  width: min(calc(100% - 40px), 1180px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-180%);
  padding: 10px 14px;
  border: 1px solid var(--cd-color-brand-700);
  border-radius: var(--cd-radius-control);
  background: var(--cd-color-surface);
  color: var(--cd-color-brand-800);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid color-mix(in srgb, var(--cd-color-border) 82%, transparent);
  background: color-mix(in srgb, var(--cd-color-background) 88%, transparent);
  backdrop-filter: blur(14px);
}

.header-row {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--cd-space-4);
}

.brand {
  display: inline-flex;
  min-height: var(--cd-touch-target);
  align-items: center;
  gap: 10px;
  color: var(--cd-color-brand-800);
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.brand img {
  border-radius: 10px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.desktop-nav > a:not(.button) {
  min-height: var(--cd-touch-target);
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--cd-radius-control);
  color: var(--cd-color-text-muted);
  font-weight: 650;
  text-decoration: none;
}

.desktop-nav > a:not(.button):hover {
  color: var(--cd-color-brand-800);
  background: var(--cd-color-brand-100);
}

.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu summary {
  min-height: var(--cd-touch-target);
  min-width: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cd-color-border);
  border-radius: var(--cd-radius-control);
  background: var(--cd-color-surface);
  color: var(--cd-color-brand-800);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu nav {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(290px, calc(100vw - 40px));
  padding: 8px;
  border: 1px solid var(--cd-color-border);
  border-radius: var(--cd-radius-card);
  background: var(--cd-color-surface);
  box-shadow: 0 18px 48px rgba(44, 46, 42, 0.14);
}

.mobile-menu nav a {
  min-height: var(--cd-touch-target);
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--cd-radius-control);
  color: var(--cd-color-text);
  font-weight: 650;
  text-decoration: none;
}

.mobile-menu nav a:hover {
  background: var(--cd-color-brand-100);
}

main.wrap {
  padding-bottom: var(--cd-space-10);
}

.hero,
.page-hero {
  padding: clamp(72px, 10vw, 128px) 0 clamp(56px, 8vw, 96px);
}

.hero-home {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  align-items: center;
  gap: clamp(44px, 7vw, 96px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--cd-color-brand-700);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2 {
  font-family: var(--cd-font-brand);
  color: var(--cd-color-brand-800);
  letter-spacing: -0.035em;
}

h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 0.99;
  font-weight: 650;
}

.page-hero h1 {
  font-size: clamp(42px, 6vw, 68px);
  max-width: 900px;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  font-weight: 650;
}

h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
}

.hero-lead,
.page-hero > p:last-of-type {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--cd-color-text-muted);
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--cd-radius-control);
  font-weight: 750;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: white;
  background: var(--cd-color-brand-600);
  border-color: var(--cd-color-brand-600);
}

.button.primary:hover {
  background: var(--cd-color-brand-700);
  border-color: var(--cd-color-brand-700);
}

.button.secondary {
  color: var(--cd-color-brand-800);
  background: var(--cd-color-surface);
  border-color: var(--cd-color-border);
}

.button.secondary:hover {
  border-color: color-mix(in srgb, var(--cd-color-brand-700) 35%, var(--cd-color-border));
}

.button.compact {
  min-height: var(--cd-touch-target);
  padding-inline: 15px;
}

.proof-list {
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--cd-color-text-muted);
  font-size: 14px;
  list-style: none;
}

.proof-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.proof-list li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cd-color-brand-600);
  box-shadow: 0 0 0 4px var(--cd-color-brand-100);
}

.hero-system {
  position: relative;
  padding: 28px;
  border: 1px solid var(--cd-color-border);
  border-radius: 26px;
  background: color-mix(in srgb, var(--cd-color-surface) 92%, var(--cd-color-brand-100));
  box-shadow: 0 32px 80px rgba(44, 46, 42, 0.10);
}

.hero-system::before {
  content: '';
  position: absolute;
  inset: 12px;
  z-index: -1;
  border-radius: inherit;
  background: var(--cd-color-brand-100);
  transform: rotate(3deg);
}

.system-chip {
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 10px;
  border-radius: var(--cd-radius-pill);
  color: var(--cd-color-brand-800);
  background: var(--cd-color-brand-100);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.system-stack {
  display: grid;
  gap: 10px;
}

.system-stack > div {
  min-height: 78px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--cd-color-border);
  border-radius: var(--cd-radius-card);
  background: var(--cd-color-surface);
}

.system-stack strong {
  color: var(--cd-color-brand-800);
  font-size: 17px;
}

.system-stack span {
  color: var(--cd-color-text-muted);
  font-size: 13px;
}

.section {
  padding: clamp(54px, 8vw, 92px) 0;
}

.section + .section {
  border-top: 1px solid var(--cd-color-border);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading > p:last-child,
.split p,
.callout p {
  color: var(--cd-color-text-muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--cd-color-border);
  border-radius: var(--cd-radius-panel);
  background: var(--cd-color-surface);
  box-shadow: var(--cd-shadow-soft);
}

.product-card h3 {
  color: var(--cd-color-brand-800);
  font-size: 27px;
}

.product-card p:not(.eyebrow) {
  color: var(--cd-color-text-muted);
}

.product-card .text-link {
  margin-top: auto;
}

.text-link {
  width: fit-content;
  min-height: var(--cd-touch-target);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--cd-color-brand-700);
  font-weight: 750;
}

.soft {
  margin-inline: max(-24px, calc((100vw - min(calc(100vw - 40px), 1180px)) / -2));
  padding-inline: max(24px, calc((100vw - min(calc(100vw - 40px), 1180px)) / 2));
  background: color-mix(in srgb, var(--cd-color-brand-100) 44%, transparent);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 7vw, 90px);
  align-items: start;
}

.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.callout > div:first-child {
  max-width: 720px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article {
  padding: 26px;
  border: 1px solid var(--cd-color-border);
  border-radius: var(--cd-radius-card);
  background: var(--cd-color-surface);
}

.feature-grid article p {
  margin-bottom: 0;
  color: var(--cd-color-text-muted);
}

.feature-grid .step {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--cd-color-brand-700);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.decision-list {
  display: grid;
  gap: 10px;
}

.decision-list article {
  min-height: 74px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--cd-color-border);
  border-radius: var(--cd-radius-card);
  background: var(--cd-color-surface);
}

.decision-list article a {
  flex: 0 0 auto;
  color: var(--cd-color-brand-700);
  font-weight: 750;
}

.link-stack {
  display: grid;
  gap: 6px;
}

.site-footer {
  border-top: 1px solid var(--cd-color-border);
  background: var(--cd-color-brand-800);
  color: color-mix(in srgb, white 88%, var(--cd-color-brand-100));
}

.footer-grid {
  padding-block: 54px 42px;
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-grid h2 {
  margin: 3px 0 8px;
  color: white;
  font-family: var(--cd-font-ui);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.footer-grid a:not(.brand) {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  color: color-mix(in srgb, white 78%, var(--cd-color-brand-100));
}

.footer-grid a:hover {
  color: white;
}

.footer-brand {
  color: white;
}

.footer-grid p {
  margin: 5px 0 0;
  max-width: 370px;
}

.fine-print {
  color: color-mix(in srgb, white 58%, var(--cd-color-brand-100));
  font-size: 12px;
}

.footer-bottom {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: color-mix(in srgb, white 62%, var(--cd-color-brand-100));
  font-size: 13px;
}

.not-found {
  width: min(calc(100% - 40px), 680px);
  min-height: 100vh;
  margin-inline: auto;
  display: grid;
  align-content: center;
}

.not-found h1 {
  font-size: clamp(42px, 7vw, 68px);
}

.not-found p:not(.eyebrow) {
  color: var(--cd-color-text-muted);
  font-size: 18px;
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero-home,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-system {
    max-width: 620px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 0;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .wrap {
    width: min(calc(100% - 32px), 1180px);
  }

  .hero,
  .page-hero {
    padding-top: 62px;
  }

  h1,
  .page-hero h1 {
    font-size: clamp(40px, 13vw, 56px);
  }

  .actions {
    display: grid;
  }

  .actions .button {
    width: 100%;
  }

  .proof-list {
    display: grid;
  }

  .hero-system {
    padding: 18px;
  }

  .system-stack > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .feature-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .callout,
  .decision-list article,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .decision-list article {
    padding-block: 18px;
  }

  .footer-bottom {
    justify-content: center;
    padding-block: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


.contact-hero {
  padding-bottom: clamp(40px, 6vw, 64px);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  padding-top: 0;
  border-top: 0 !important;
}

.contact-card,
.contact-aside article {
  border: 1px solid var(--cd-color-border);
  border-radius: var(--cd-radius-panel);
  background: var(--cd-color-surface);
  box-shadow: var(--cd-shadow-soft);
}

.contact-card {
  padding: clamp(22px, 4vw, 36px);
}

.compact-heading {
  margin-bottom: 24px;
}

.compact-heading h2,
.contact-aside h2 {
  font-family: var(--cd-font-brand);
  color: var(--cd-color-brand-800);
  font-weight: 650;
}

.compact-heading h2 {
  font-size: clamp(30px, 4vw, 40px);
}

.contact-form {
  position: relative;
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label,
.choice {
  color: var(--cd-color-text);
  font-weight: 700;
}

.field label > span,
.field-help {
  color: var(--cd-color-text-muted);
  font-size: 13px;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: var(--cd-control-height);
  padding: 10px 12px;
  border: 1px solid var(--cd-color-border);
  border-radius: var(--cd-radius-control);
  background: var(--cd-color-surface);
  color: var(--cd-color-text);
  font: inherit;
}

.field textarea {
  min-height: 138px;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: color-mix(in srgb, var(--cd-color-brand-700) 28%, var(--cd-color-border));
}

.field-help {
  margin: 0;
}

.choice {
  min-height: var(--cd-touch-target);
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 10px;
  line-height: 1.45;
  font-weight: 550;
}

.choice input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--cd-color-brand-600);
}

.choice a {
  color: var(--cd-color-brand-700);
  font-weight: 700;
}

.form-submit {
  width: fit-content;
  min-width: 158px;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--cd-color-text-muted);
  font-weight: 650;
}

.form-status[data-kind="success"] {
  color: var(--cd-color-success-600);
}

.form-status[data-kind="error"] {
  color: var(--cd-color-danger-600);
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-aside {
  display: grid;
  gap: 16px;
}

.contact-aside article {
  padding: 24px;
}

.contact-aside h2 {
  margin: 0 0 10px;
  font-size: 27px;
  line-height: 1.12;
}

.contact-aside p:not(.eyebrow) {
  color: var(--cd-color-text-muted);
}

.contact-aside .text-link {
  max-width: 100%;
  overflow-wrap: anywhere;
}

@media (max-width: 820px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-card,
  .contact-aside article {
    padding: 20px;
  }

  .form-submit {
    width: 100%;
  }
}


:root {
  /* Public Web uses the established ClickDialog Platform navy/blue palette. */
  --cd-color-brand-100: #eff6ff;
  --cd-color-brand-600: #1d4ed8;
  --cd-color-brand-700: #1e3a8a;
  --cd-color-brand-800: #172554;
  --cd-color-background: #f8fafc;
  --cd-color-surface: #ffffff;
  --cd-color-text: #172033;
  --cd-color-text-muted: #64748b;
  --cd-color-border: #e2e8f0;
  --cd-focus-ring: #dbeafe;
  --cd-focus-outline: #1d4ed8;
}

/* Keep large editorial typography navy; reserve the brighter blue for actions,
   links and small accents so the page feels calmer and more premium. */
.brand,
h1,
h2,
.system-stack strong,
.product-card h3 {
  color: var(--cd-color-brand-800);
}

.eyebrow,
.text-link,
.feature-grid .step,
.decision-list article a {
  color: var(--cd-color-brand-600);
}

.site-footer {
  background: var(--cd-color-brand-800);
}

.site-footer .footer-brand {
  color: white;
}

body {
  background:
    radial-gradient(circle at 92% 4%, rgba(29, 78, 216, 0.075), transparent 30rem),
    radial-gradient(circle at 8% 12%, rgba(30, 58, 138, 0.035), transparent 24rem),
    var(--cd-color-background);
}

.hero-system {
  box-shadow: 0 32px 80px rgba(23, 37, 84, 0.10);
}

.button.primary {
  box-shadow: 0 10px 28px rgba(29, 78, 216, 0.16);
}
