/* ========================================================================
   Adviser CRM Website Design System
   Version: 1.1
   Scope: Add class="acr-site" to the outer wrapper of each page.
   Brand: #00ABE6 / #00375C
   ======================================================================== */

:root {
  --acr-primary: #00abe6;
  --acr-primary-dark: #008fc0;
  --acr-navy: #00375c;
  --acr-navy-soft: #164b89;
  --acr-ink: #102a3a;
  --acr-muted: #5f7481;
  --acr-line: #dce8ee;
  --acr-white: #ffffff;
  --acr-soft: #f3f9fc;
  --acr-blue-soft: #e9f8fd;
  --acr-success: #13795b;
  --acr-danger: #b42318;
  --acr-radius-sm: 12px;
  --acr-radius: 22px;
  --acr-radius-lg: 30px;
  --acr-max-width: 1180px;
  --acr-shadow-sm: 0 10px 30px rgba(0, 55, 92, 0.08);
  --acr-shadow-lg: 0 28px 80px rgba(0, 55, 92, 0.16);
  --acr-section-space: clamp(72px, 9vw, 104px);
}

.acr-site,
.acr-site *,
.acr-site *::before,
.acr-site *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.acr-site {
  width: 100%;
  margin: 0;
  color: var(--acr-ink);
  background: var(--acr-white);
  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;
}

.acr-site img,
.acr-site svg,
.acr-site video,
.acr-site iframe {
  display: block;
  max-width: 100%;
}

.acr-site img {
  height: auto;
}

.acr-site a {
  color: inherit;
  text-decoration: none;
}

/* Prevent Zoho or browser rules from splitting a word between lines. */
.acr-site,
.acr-site p,
.acr-site li,
.acr-site a,
.acr-site span,
.acr-site strong,
.acr-site em,
.acr-site h1,
.acr-site h2,
.acr-site h3,
.acr-site h4,
.acr-site h5,
.acr-site h6 {
  word-break: normal !important;
  overflow-wrap: normal !important;
  -webkit-hyphens: none !important;
  hyphens: none !important;
}

/* Apply this class to brand names and phrases that must stay together. */
.acr-nowrap,
.no-wrap,
.no-break-word {
  display: inline-block;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

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

.acr-section {
  padding-block: var(--acr-section-space);
}

.acr-section--soft {
  background: var(--acr-soft);
}

.acr-section--navy {
  color: var(--acr-white);
  background: var(--acr-navy);
}

.acr-section--compact {
  padding-block: clamp(50px, 7vw, 72px);
}

.acr-site h1,
.acr-site h2,
.acr-site h3,
.acr-site h4,
.acr-site h5,
.acr-site h6 {
  margin-top: 0;
  color: var(--acr-navy);
  letter-spacing: -0.04em;
  line-height: 1.1;
  text-wrap: balance;
}

.acr-section--navy h1,
.acr-section--navy h2,
.acr-section--navy h3,
.acr-section--navy h4 {
  color: var(--acr-white);
}

.acr-display {
  margin-bottom: 0;
  font-size: clamp(2.8rem, 6.2vw, 5.8rem);
  line-height: 0.98 !important;
}

.acr-title {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.acr-subtitle {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
}

.acr-lead {
  color: var(--acr-muted);
  font-size: clamp(1.06rem, 2vw, 1.24rem);
}

.acr-section--navy .acr-lead,
.acr-section--navy p {
  color: #c7d9e3;
}

.acr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--acr-navy-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.acr-eyebrow::before {
  content: "";
  width: 32px;
  height: 3px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--acr-primary);
}

.acr-section--navy .acr-eyebrow {
  color: #9bdff5;
}

.acr-highlight {
  color: var(--acr-primary);
}

.acr-section-head {
  max-width: 820px;
  margin: 0 auto 50px;
  text-align: center;
}

.acr-section-head p {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--acr-muted);
}

.acr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.acr-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--acr-radius-sm);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    background-color 0.2s ease, border-color 0.2s ease;
}

.acr-button:hover {
  transform: translateY(-2px);
}

.acr-button:focus-visible {
  outline: 3px solid rgba(0, 171, 230, 0.35);
  outline-offset: 3px;
}

.acr-button--primary {
  color: var(--acr-white);
  background: var(--acr-primary);
  box-shadow: 0 12px 28px rgba(0, 171, 230, 0.28);
}

.acr-button--primary:hover {
  background: var(--acr-primary-dark);
}

.acr-button--secondary {
  color: var(--acr-navy);
  border-color: var(--acr-line);
  background: var(--acr-white);
  box-shadow: var(--acr-shadow-sm);
}

.acr-button--light {
  color: var(--acr-navy);
  background: var(--acr-white);
}

.acr-grid {
  display: grid;
  gap: 24px;
}

.acr-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.acr-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.acr-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.acr-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--acr-line);
  border-radius: var(--acr-radius);
  background: var(--acr-white);
  box-shadow: 0 8px 24px rgba(0, 55, 92, 0.045);
  transition: transform 0.22s ease, box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.acr-card:hover {
  transform: translateY(-4px);
  border-color: #bddae7;
  box-shadow: var(--acr-shadow-sm);
}

.acr-card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.acr-card p {
  margin-bottom: 0;
  color: var(--acr-muted);
}

.acr-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 15px;
  color: var(--acr-navy);
  background: var(--acr-blue-soft);
  font-size: 1.25rem;
  font-weight: 900;
}

.acr-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(72px, 8vw, 96px);
  background:
    radial-gradient(circle at 82% 20%, rgba(0, 171, 230, 0.18), transparent 30%),
    radial-gradient(circle at 10% 86%, rgba(22, 75, 137, 0.1), transparent 30%),
    linear-gradient(180deg, #fbfeff, #f1f9fc);
}

.acr-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: 62px;
  align-items: center;
}

.acr-placeholder-visual {
  min-height: 430px;
  display: grid;
  place-items: center;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--acr-shadow-lg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.acr-placeholder-visual__inner {
  width: 100%;
  min-height: 350px;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1px dashed #a9c8d7;
  border-radius: 18px;
  color: var(--acr-muted);
  background: linear-gradient(135deg, #f8fcfe, #eaf8fd);
  text-align: center;
}

.acr-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: clamp(34px, 5vw, 56px);
  border-radius: var(--acr-radius-lg);
  color: var(--acr-white);
  background: linear-gradient(135deg, var(--acr-navy), var(--acr-navy-soft));
  box-shadow: var(--acr-shadow-lg);
}

.acr-cta h2,
.acr-cta h3,
.acr-cta .acr-title {
  color: var(--acr-white) !important;
}

.acr-cta h2,
.acr-cta h3 {
  margin-bottom: 12px;
}

.acr-cta p {
  margin: 0;
  color: #d8e8ef !important;
}

/* Calendly, Zoho Forms, videos and other third-party embeds. */
.acr-embed-section {
  padding-block: var(--acr-section-space);
  background: var(--acr-soft);
}

.acr-embed-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 48px;
  align-items: start;
}

.acr-embed-copy {
  position: sticky;
  top: 28px;
}

.acr-embed-shell {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--acr-line);
  border-radius: var(--acr-radius);
  background: var(--acr-white);
  box-shadow: var(--acr-shadow-sm);
}

.acr-embed-shell__header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--acr-line);
  color: var(--acr-navy);
  background: #f9fcfd;
  font-weight: 800;
}

.acr-embed-shell__body {
  position: relative;
  min-height: 620px;
}

.acr-embed-shell iframe {
  width: 100%;
  min-height: 620px;
  border: 0;
}

.acr-form-shell .acr-embed-shell__body,
.acr-form-shell iframe {
  min-height: 760px;
}

.acr-embed-placeholder {
  min-height: 620px;
  display: grid;
  place-items: center;
  padding: 32px;
  color: var(--acr-muted);
  background: repeating-linear-gradient(
    135deg,
    #fbfdfe 0 18px,
    #f4f9fb 18px 36px
  );
  text-align: center;
}

.acr-notice {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 4px solid var(--acr-primary);
  border-radius: 8px;
  color: var(--acr-muted);
  background: var(--acr-blue-soft);
  font-size: 0.94rem;
}

.acr-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Optional entrance animation. */
[data-acr-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-acr-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .acr-site *,
  .acr-site *::before,
  .acr-site *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-acr-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 960px) {
  .acr-hero-grid,
  .acr-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .acr-embed-grid {
    grid-template-columns: 1fr;
  }

  .acr-embed-copy {
    position: static;
  }

  .acr-cta {
    grid-template-columns: 1fr;
  }
}

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

  .acr-hero-grid,
  .acr-grid--2,
  .acr-grid--3,
  .acr-grid--4 {
    grid-template-columns: 1fr;
  }

  .acr-display {
    font-size: clamp(2.35rem, 11.5vw, 4.25rem);
  }

  .acr-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .acr-button {
    width: 100%;
  }

  .acr-placeholder-visual {
    min-height: 330px;
    padding: 16px;
  }

  .acr-placeholder-visual__inner {
    min-height: 290px;
  }

  .acr-card {
    padding: 24px;
  }

  .acr-embed-shell__body,
  .acr-embed-shell iframe {
    min-height: 680px;
  }

  .acr-form-shell .acr-embed-shell__body,
  .acr-form-shell iframe {
    min-height: 840px;
  }
}
