@font-face {
  font-family: "Lato";
  src: url("assets/fonts/lato-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("assets/fonts/lato-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("assets/fonts/lato-900.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --lp-white: #ffffff;
  --lp-bg: #fcfcfc;
  --lp-ink: #030303;
  --lp-black: #000000;
  --lp-muted: #4d4d4d;
  --lp-muted-2: #4e4e4e;
  --lp-muted-3: #4b4c4c;
  --lp-nav: #4c4c4c;
  --lp-accent: #066b5b;
  --lp-accent-current: #066a59;
  --lp-hero: #1a6a5d;
  --lp-backtop: #17675a;
  --lp-footer: #023f36;
  --lp-footer-line: #2d6058;
  --lp-input: #f3f7f6;
  --lp-features: #f3f7f6;
  --lp-card-border: #dae8e5;
  --lp-tab: #e2edeb;
  --lp-input-border: #066b5b33;
  --lp-button: #146659;
  --lp-button-edge: #03ac95;
  --lp-hover: #069c87;
  --lp-card-hover: #098975;
  --lp-faq-hover: #098773;
  --lp-faq-open: #079883;
  --lp-popup-border: #c4e4df;
  --lp-fail: #ffdede;
  --lp-radius: 8px;
  --lp-radius-card: 16px;
  --lp-shadow-btn: 0 0 18.4px #29a9ff52;
  --lp-shadow-submit: 0 0 18.4px #33b24a52;
  --lp-shadow-tab: 0 7px 19.7px #00000029;
  --lp-shadow-card: 0 0 28.1px #19665b1f;
  --lp-shadow-faq: 0 4px 12px #00000014;
  --lp-shadow-popup: 0 0 27.1px #00000040;
  --lp-font: "Lato", Arial, sans-serif;
  --lp-focus: 2px solid var(--lp-ink);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--lp-bg);
  color: var(--lp-muted);
  font-family: var(--lp-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  color: var(--lp-ink);
  font-weight: 400;
}

h1 {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.3;
}

h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

.accent {
  font-weight: 900;
}

.strong {
  font-weight: 700;
}

.h1-light {
  font-weight: 400;
}

.center {
  text-align: center;
}

.wrap {
  width: min(1140px, calc(100% - 32px));
  margin-inline: auto;
}

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

.is-hidden {
  display: none;
}

.skip {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--lp-bg);
  color: var(--lp-ink);
  padding: 10px 16px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--lp-radius);
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: var(--lp-focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px var(--lp-bg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 12px 20px;
  border-radius: var(--lp-radius);
  font-family: var(--lp-font);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-solid {
  background: var(--lp-button);
  color: var(--lp-white);
  box-shadow: var(--lp-shadow-btn);
}

.btn-solid:hover {
  background: var(--lp-white);
  color: var(--lp-button);
  box-shadow: inset 0 0 4px 2px var(--lp-button);
}

.btn-light {
  background: var(--lp-bg);
  color: var(--lp-black);
  border-color: var(--lp-bg);
  max-width: 160px;
  height: 52px;
}

.btn-light:hover {
  background: var(--lp-black);
  color: var(--lp-bg);
  box-shadow: inset 0 0 3px 2px var(--lp-bg);
}

.site-header {
  background: var(--lp-white);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 72px;
  padding-block: 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 44px;
  min-width: 44px;
  padding-block: 2px;
  color: var(--lp-ink);
  text-decoration: none;
  flex: 0 1 auto;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex: none;
}

.brand-tm {
  display: inline-flex;
  align-items: flex-start;
  color: var(--lp-ink);
  font-weight: 700;
  line-height: 1;
}

.brand-tm sup {
  font-size: 14px;
  line-height: 1;
  vertical-align: super;
  color: inherit;
}

.brand-name {
  margin-left: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}

.brand-name sup,
#about-heading sup {
  font-size: 0.4em;
  vertical-align: super;
  line-height: 0;
  color: inherit;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 28px;
}

.nav-desktop a:not(.btn) {
  color: var(--lp-nav);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  position: relative;
}

.nav-desktop a:not(.btn):hover,
.nav-desktop a[aria-current="page"] {
  color: var(--lp-accent);
}

.nav-desktop a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 1px;
  background: var(--lp-accent);
}

.nav-toggle,
.nav-close,
.to-top,
.dialog-close {
  min-width: 44px;
  min-height: 44px;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}

.nav-dialog {
  border: 0;
  padding: 24px 20px;
  width: min(320px, calc(100% - 32px));
  background: var(--lp-white);
  color: var(--lp-ink);
  border-radius: var(--lp-radius-card);
}

.nav-dialog::backdrop,
.popup::backdrop {
  background: #00000080;
}

.nav-dialog a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--lp-black);
  text-decoration: none;
  font-size: 18px;
}

.nav-close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.hero {
  background: var(--lp-hero) url("assets/hero-bg.png") right bottom / cover no-repeat;
  color: var(--lp-bg);
  padding: 48px 0 32px;
}

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

.hero-copy {
  max-width: 36rem;
}

.hero h1,
.hero p {
  color: var(--lp-bg);
}

.hero p {
  margin: 10px 0 24px;
}

.hero-art {
  display: block;
  width: min(100%, 420px);
  margin-inline: auto;
}

.about,
.services,
.experience,
.faq {
  position: relative;
  padding: 56px 0;
}

.about-grid,
.experience-grid,
.contact-grid,
.feature-row,
.panel {
  display: grid;
  gap: 28px;
  align-items: center;
}

.about h2,
.experience h2 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.3;
}

.about p,
.experience p {
  color: var(--lp-muted-2);
  margin: 0 0 24px;
  max-width: 38rem;
}

.ornament {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.ornament-about-path,
.ornament-services-path,
.ornament-client-path {
  width: 90px;
  left: 0;
  top: 12px;
}

.ornament-flower {
  width: 90px;
  right: 0;
  bottom: 0;
}

.ornament-about-corner,
.ornament-services-corner {
  width: 72px;
  right: 0;
  top: 0;
}

.ornament-ellipse {
  width: 90px;
  left: 0;
  top: 18%;
}

.ornament-faq-path {
  width: 80px;
  left: 0;
  bottom: 0;
}

.ornament-faq-flower {
  width: 64px;
  right: 0;
  top: 8%;
}

.about .wrap,
.services .wrap,
.experience .wrap,
.faq .wrap {
  position: relative;
  z-index: 1;
}

.services h2,
.features h2,
.faq h2,
.contact h2 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.25;
}

.lede {
  max-width: 516px;
  margin: 10px auto 32px;
  text-align: center;
  color: var(--lp-muted);
}

.cards {
  display: grid;
  gap: 24px;
}

.card {
  background: var(--lp-white);
  border: 1px solid var(--lp-card-border);
  border-radius: var(--lp-radius-card);
  padding: 0 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.card:hover {
  border-color: var(--lp-card-hover);
  box-shadow: var(--lp-shadow-card);
}

.card img:first-child {
  width: 102px;
  margin-left: -8px;
}

.card h3 {
  font-size: 22px;
  line-height: 1.35;
}

.card p {
  color: var(--lp-muted);
  padding: 14px 0 16px;
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  color: var(--lp-accent);
  font-weight: 700;
  text-decoration: none;
}

.popup {
  width: min(751px, calc(100% - 32px));
  border: 5px solid var(--lp-popup-border);
  border-radius: var(--lp-radius-card);
  padding: 88px 28px 32px;
  background: var(--lp-white);
  color: var(--lp-muted-2);
  box-shadow: var(--lp-shadow-popup);
}

.popup h3 {
  font-size: 28px;
  line-height: 1.4;
  margin-bottom: 16px;
  font-weight: 400;
}

.popup p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.popup-art {
  position: absolute;
  left: -4px;
  top: -4px;
  width: 92px;
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  background: var(--lp-white);
  color: var(--lp-ink);
  font: inherit;
  font-weight: 700;
  border-radius: var(--lp-radius);
  cursor: pointer;
  padding: 8px 12px;
}

.features {
  background: var(--lp-features);
  padding: 56px 0;
}

.tablist {
  display: flex;
  gap: 10px;
  width: min(318px, 100%);
  margin: 20px auto 0;
  padding: 8px;
  background: var(--lp-bg);
  border: 1px solid var(--lp-card-border);
  border-radius: 50px;
  box-shadow: var(--lp-shadow-tab);
}

.tab {
  flex: 1;
  min-height: 44px;
  border: 0;
  border-radius: 50px;
  background: var(--lp-tab);
  color: var(--lp-ink);
  font-family: var(--lp-font);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.tab[aria-selected="true"] {
  background: var(--lp-button);
  color: var(--lp-white);
}

.panel {
  margin-top: 36px;
}

.panel[hidden] {
  display: none;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 70px;
  padding: 12px 20px;
  background: var(--lp-bg);
  border: 1px solid var(--lp-card-border);
  border-radius: 12px;
  color: var(--lp-muted);
  font-size: 18px;
}

.feature-list img {
  width: 29px;
  flex: none;
}

.feature-art,
.experience-art,
.contact-art,
.about-art {
  width: 100%;
  border-radius: var(--lp-radius-card);
}

.client-experience {
  overflow: clip;
}

.client-screens {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  max-width: 638px;
  width: 100%;
}

.client-screens img {
  width: 100%;
  aspect-ratio: 390 / 760;
  object-fit: cover;
  object-position: top center;
  border-radius: 18px;
  border: 3px solid var(--lp-ink);
  background: var(--lp-white);
}

.client-screens img:nth-child(2) {
  margin-bottom: 18px;
}

.faq-title {
  text-transform: capitalize;
  margin-bottom: 32px;
}

.faq-list {
  max-width: 829px;
  margin-inline: auto;
}

.faq-list details {
  border: 1px solid var(--lp-card-border);
  border-radius: var(--lp-radius);
  margin-bottom: 19px;
  padding: 12px 20px;
  background: transparent;
}

.faq-list details[open] {
  background: var(--lp-bg);
  border-color: var(--lp-faq-open);
  box-shadow: var(--lp-shadow-faq);
}

.faq-list details:hover {
  border-color: var(--lp-faq-hover);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  width: 24px;
  height: 24px;
  flex: none;
  background: url("assets/chevron.svg") center / contain no-repeat;
}

.faq-list details[open] summary::after {
  transform: rotate(180deg);
}

.faq-list h3 {
  font-size: 18px;
  line-height: 1.4;
}

.faq-list p {
  color: var(--lp-muted);
  padding: 8px 0 8px;
  max-width: 50rem;
}

.contact {
  background: var(--lp-features);
  padding: 56px 0;
}

.contact h2 {
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.4;
}

.contact > .wrap > div > p,
.contact-grid > div > p {
  color: var(--lp-muted-3);
  margin-top: 10px;
  max-width: 515px;
}

.contact-form {
  margin-top: 28px;
}

.field-row {
  display: grid;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.field label {
  color: var(--lp-ink);
  font-weight: 700;
}

.req {
  font-weight: 400;
  color: var(--lp-muted-3);
}

.field input,
.field textarea {
  width: 100%;
  color: var(--lp-ink);
  background: var(--lp-input);
  border: 1px solid var(--lp-input-border);
  border-radius: var(--lp-radius);
  min-height: 52px;
  padding: 13px;
  font-family: var(--lp-font);
  font-size: 16px;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--lp-muted-3);
}

.contact-form .btn {
  margin-top: 8px;
  box-shadow: var(--lp-shadow-submit);
  border-color: var(--lp-button-edge);
}

.form-status {
  margin-top: 16px;
  border-radius: var(--lp-radius);
  min-height: 0;
}

.form-status:empty {
  display: none;
}

.form-status.is-success {
  background: var(--lp-footer);
  color: var(--lp-white);
  font-weight: 700;
  padding: 16px;
}

.form-status.is-error {
  background: var(--lp-fail);
  color: var(--lp-ink);
  padding: 12px;
}

.site-footer {
  background: var(--lp-footer);
  color: var(--lp-bg);
  padding: 56px 0 0;
}

.footer-grid,
.footer-links {
  display: grid;
  gap: 32px;
}

.site-footer h2 {
  color: var(--lp-bg);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 12px;
}

.site-footer a {
  color: var(--lp-bg);
  text-decoration: none;
}

.site-footer a:hover {
  color: #cccccc;
}

.footer-links a,
.footer-logo {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.hipaa {
  max-width: 276px;
  margin-top: 16px;
}

.socials {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.socials a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}

.footer-logo img {
  width: min(230px, 70vw);
}

.legal {
  border-top: 1px solid var(--lp-footer-line);
  margin: 40px 0 0;
  padding: 20px 16px;
  text-align: center;
}

.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--lp-white);
  background: var(--lp-backtop);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
}

@media (max-width: 359px) {
  .brand-name {
    font-size: 1.2rem;
    margin-left: 8px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }
}

@media (min-width: 700px) {
  .hero-grid,
  .about-grid,
  .experience-grid,
  .contact-grid,
  .panel,
  .field-row,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .hero-art {
    display: none;
  }

  .hero {
    min-height: 560px;
    display: flex;
    align-items: center;
  }

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

  h1 {
    font-size: 50px;
    line-height: 1.25;
  }
}

@media (min-width: 992px) {
  .nav-desktop {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  h1 {
    font-size: 64px;
    line-height: 1.35;
  }

  .hero {
    min-height: 710px;
  }
}

@media (max-width: 699px) {
  .hero {
    background-image: none;
  }

  .ornament {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
