/* docsreach.com — styles for vps/site/index.html. Palette and type follow the client's Canva
   design: navy + teal on white and a pale blue-grey, DM Sans (self-hosted, SIL OFL 1.1). */

@font-face {
  font-family: "DM Sans";
  src: url("/assets/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #1b3a5f;
  --navy-700: #142d4a;
  --navy-500: #2b4f78;
  --teal: #4fb3a0;
  --teal-600: #3e9a88;
  --teal-50: #e8f6f3;
  --teal-100: #d3eee8;
  --green: #2f9e5b;
  --ink: #1c2b3a;
  --muted: #4a5b6b;
  --line: #dde6eb;
  --tint: #f3f7f9;
  --white: #fff;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgb(16 42 67 / 4%), 0 12px 32px rgb(16 42 67 / 7%);
  --shadow-lg: 0 2px 4px rgb(16 42 67 / 5%), 0 24px 60px rgb(16 42 67 / 12%);
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 17px/1.65 "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--navy);
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 12px;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}
.container.narrow {
  max-width: 880px;
}

/* ---------------------------------------------------------------- buttons, pills */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 22px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease),
    box-shadow 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn-lg {
  min-height: 54px;
  padding: 14px 26px;
  font-size: 17px;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 6px 18px rgb(27 58 95 / 22%);
}
.btn-primary:hover {
  background: var(--navy-700);
}
.btn-outline {
  background: var(--white);
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--tint);
}
.btn-teal {
  background: var(--teal);
  color: var(--navy-700);
}
.btn-teal:hover {
  background: #63c2b0;
}

.pill {
  display: inline-block;
  padding: 7px 16px;
  border: 1px solid var(--teal-100);
  border-radius: 999px;
  background: var(--teal-50);
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.35;
}
.pill-soft {
  border-color: transparent;
}
.pill-dark {
  background: rgb(255 255 255 / 12%);
  border-color: transparent;
  color: var(--white);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 92%);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgb(16 42 67 / 6%);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark {
  width: 44px;
  height: 37px;
}
.brand-word {
  color: var(--navy);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
}
.brand-word span {
  color: var(--green);
}

.site-nav {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 24px;
}
.site-nav ul {
  display: flex;
  gap: 26px;
  margin-inline: auto;
}
.site-nav ul a {
  position: relative;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav ul a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}
.site-nav ul a:hover::after,
.site-nav ul a[aria-current="true"]::after {
  transform: scaleX(1);
}
.nav-actions {
  display: flex;
  gap: 12px;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle-bar {
  position: relative;
}
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-bar::before {
  top: -6px;
}
.nav-toggle-bar::after {
  top: 6px;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 120px;
  background: radial-gradient(60% 70% at 80% 10%, #e9f6f2 0%, rgb(233 246 242 / 0%) 70%),
    radial-gradient(50% 60% at 0% 100%, #eef4f8 0%, rgb(238 244 248 / 0%) 70%), #fbfdfd;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 56px;
}
.hero h1 {
  margin: 26px 0 20px;
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.hero h1 .accent {
  display: block;
  color: var(--teal-600);
}
.lead {
  max-width: 34em;
  color: var(--muted);
  font-size: 19px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 22px;
}
.fineprint {
  color: var(--muted);
  font-size: 15px;
}

.art-card {
  padding: 28px;
  border-radius: 36px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
.art {
  width: 100%;
  height: auto;
}
.path-dots circle {
  animation: dot-pulse 3.2s ease-in-out infinite;
}
.path-dots circle:nth-child(2n) {
  animation-delay: 0.4s;
}
.path-dots circle:nth-child(3n) {
  animation-delay: 0.8s;
}
.float-a {
  animation: float 6s ease-in-out infinite;
}
.float-b {
  animation: float 7s ease-in-out 0.6s infinite;
}
.float-c {
  animation: float 6.5s ease-in-out 1.2s infinite;
}
@keyframes float {
  50% {
    transform: translateY(-6px);
  }
}
@keyframes dot-pulse {
  50% {
    opacity: 0.45;
  }
}

/* ---------------------------------------------------------------- sections */
.section {
  padding: 104px 0;
}
.section-tint {
  background: var(--tint);
}
.section-head {
  max-width: 720px;
  margin-bottom: 44px;
}
.section-head h2,
.about-grid h2 {
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
}
.section-head p:not(.eyebrow),
.about-grid p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

/* search preview */
.search-card {
  padding: 34px 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}
.search-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 26px;
}
.search-card h3 {
  font-size: 20px;
}
.search-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  align-items: end;
  gap: 18px;
}
.search-fields label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 700;
}
.search-fields select,
.search-fields input {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-fields select:focus,
.search-fields input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-50);
}
.search-fields .btn {
  min-height: 52px;
  border-radius: var(--radius-sm);
}
.search-note {
  margin-top: 26px;
  padding: 20px 24px;
  border: 1.5px dashed #b9cbd4;
  border-radius: var(--radius);
  background: #f5f9fb;
  color: var(--ink);
  transition: background-color 0.3s, border-color 0.3s;
}
.search-note.is-active {
  border-color: var(--teal);
  background: var(--teal-50);
}

/* capability cards */
.two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.cap-card,
.care-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}
.cap-card h3 {
  margin-bottom: 14px;
  font-size: 21px;
}
.cap-card > p:not(.eyebrow, .stepper-caption) {
  color: var(--muted);
}
.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 30px 0 18px;
  /* the connecting line between the three steps */
  background: linear-gradient(var(--line), var(--line)) center / calc(100% - 104px) 3px no-repeat;
}
.stepper li {
  display: grid;
  place-items: center;
  width: 52px;
  height: 50px;
  border-radius: 12px;
  background: var(--teal-50);
  color: var(--navy);
  font-weight: 700;
}
.stepper li.is-current {
  background: var(--navy);
  color: var(--white);
}
.stepper-caption {
  color: var(--ink);
}

.queue {
  margin-top: 30px;
  padding: 26px 24px 20px;
  border-radius: var(--radius);
  background: var(--tint);
}
.queue-track {
  position: relative;
  height: 4px;
  margin: 8px 12px 0;
  border-radius: 4px;
  background: #d8e3e8;
}
.queue-fill {
  position: absolute;
  inset: 0 50% 0 0;
  border-radius: inherit;
  background: var(--teal);
  transform-origin: left;
  animation: grow 1.6s var(--ease) both;
  animation-play-state: paused;
}
.reveal.is-visible .queue-fill {
  animation-play-state: running;
}
@keyframes grow {
  from {
    transform: scaleX(0);
  }
}
.queue-stops {
  display: flex;
  justify-content: space-between;
  margin-top: -12px;
}
.queue-stops li {
  display: grid;
  justify-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--navy);
}
.queue-stops li::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: #c3d2d9;
  box-shadow: 0 0 0 1px #c3d2d9;
}
.queue-stops li.done::before {
  background: var(--teal);
  box-shadow: 0 0 0 1px var(--teal);
}
.queue-stops li:first-child {
  justify-items: start;
}
.queue-stops li:last-child {
  justify-items: end;
}
.queue-note {
  margin-top: 16px;
  color: var(--ink);
}

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.step:hover {
  transform: translateY(-4px);
  border-color: var(--teal-100);
  box-shadow: var(--shadow);
}
.step-no {
  display: block;
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}
.step h3 {
  margin-bottom: 10px;
  font-size: 19px;
}
.step p {
  color: var(--muted);
}

/* benefits */
.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.benefit {
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.benefit::before {
  content: "";
  display: block;
  width: 40px;
  height: 5px;
  margin-bottom: 26px;
  border-radius: 4px;
  background: var(--teal);
}
.benefit h3 {
  margin-bottom: 10px;
  font-size: 19px;
}
.benefit p {
  color: var(--muted);
}

/* partner */
.partner {
  position: relative;
  overflow: hidden;
  padding: 64px 60px;
  border-radius: 32px;
  background: var(--navy);
  color: #e4edf4;
}
.partner h2 {
  max-width: 24em;
  margin: 22px 0 16px;
  color: var(--white);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 800;
}
.partner p:not(.pill) {
  max-width: 44em;
  margin-bottom: 34px;
  font-size: 18px;
}
.partner .btn {
  position: relative;
  z-index: 1;
}
.partner-ring {
  position: absolute;
  top: -110px;
  right: -90px;
  width: 340px;
  height: 340px;
  border: 46px solid rgb(79 179 160 / 22%);
  border-radius: 50%;
}

/* about */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 64px;
}
.care-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 30px;
  border-radius: 14px;
  background: var(--teal-50);
}
.care-icon svg {
  width: 28px;
  height: 28px;
}
.care-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
}
.care-card p {
  color: var(--muted);
}

/* FAQ */
.faq {
  display: grid;
  gap: 14px;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq details[open] {
  border-color: var(--teal-100);
  box-shadow: var(--shadow);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px;
  color: var(--navy);
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background: linear-gradient(var(--teal-600), var(--teal-600)) center / 100% 2.5px no-repeat,
    linear-gradient(var(--teal-600), var(--teal-600)) center / 2.5px 100% no-repeat;
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 26px 24px;
  color: var(--muted);
}

/* contact */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.contact-cards li {
  display: grid;
  gap: 8px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.contact-cards span:first-child {
  color: var(--navy);
  font-weight: 600;
}
.contact-cards a {
  color: var(--navy);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-cards a:hover {
  text-decoration: underline;
}

/* footer */
.site-footer {
  padding: 64px 0 36px;
  background: var(--navy);
  color: #dbe5ee;
}
.site-footer a {
  color: #fff;
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgb(255 255 255 / 14%);
}
.footer-grid p,
.footer-grid address {
  margin-bottom: 8px;
  font-style: normal;
}
.footer-company,
.footer-title {
  color: var(--white);
  font-weight: 700;
}
.footer-grid ul {
  display: grid;
  gap: 8px;
}
.footer-note {
  max-width: 60em;
  margin-top: 30px;
}
.footer-copy {
  margin-top: 18px;
  color: #a9bccd;
  font-size: 14px;
}

/* ---------------------------------------------------------------- reveal on scroll */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .site-nav ul {
    gap: 18px;
  }
  .steps,
  .benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 68px;
  }
  .nav-toggle {
    display: block;
  }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: grid;
    gap: 22px;
    padding: 24px 16px 28px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgb(16 42 67 / 10%);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
  }
  .site-nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .site-nav ul {
    display: grid;
    gap: 4px;
    margin: 0;
  }
  .site-nav ul a {
    display: block;
    padding: 10px 4px;
    font-size: 18px;
  }
  .site-nav ul a::after {
    display: none;
  }
  .nav-actions {
    display: grid;
  }
  .hero {
    padding: 64px 0 80px;
  }
  .hero-grid,
  .about-grid,
  .two-up {
    grid-template-columns: 1fr;
  }
  .hero-art {
    max-width: 520px;
  }
  .search-fields {
    grid-template-columns: 1fr 1fr;
  }
  .search-fields .btn {
    grid-column: 1 / -1;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .section {
    padding: 72px 0;
  }
  .hero-actions .btn {
    width: 100%;
    white-space: normal;
  }
  .search-card,
  .cap-card,
  .care-card {
    padding: 26px 22px;
  }
  .search-fields,
  .steps,
  .benefits,
  .contact-cards {
    grid-template-columns: 1fr;
  }
  .partner {
    padding: 40px 24px;
  }
  .partner .btn {
    width: 100%;
  }
  .partner-ring {
    width: 220px;
    height: 220px;
    border-width: 32px;
    top: -90px;
    right: -100px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .faq summary {
    padding: 20px;
    font-size: 17px;
  }
  .faq details p {
    padding: 0 20px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
