:root {
  --page-width: 1440px;
  --footer-bg: #2d2d2d;
  --footer-text: #f5f5f5;
  --muted-text: #dbdde2;
  --modal-bg: #dce4ef;
  --accent: #1bb7ea;
  --field-border: #30343b;
  --status-success: #0b7a32;
  --status-error: #b22b2b;
}

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

html,
body {
  margin: 0;
  padding: 0;
  background: #ffffff;
}

body {
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: #202020;
}

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

.landing-page,
.page-section,
.page-frame {
  width: 100%;
}

.page-section {
  width: min(100%, var(--page-width));
  margin: 0 auto;
}

.page-frame {
  position: relative;
}

.page-frame__image,
.faq-image {
  width: 100%;
  height: auto;
}

.header-demo-button {
  position: absolute;
  top: 0.42%;
  left: 78.95%;
  width: 11.12%;
  padding: 0.74% 1.4%;
  border: 0;
  border-radius: 8px;
  background: #23afe0;
  color: #ffffff;
  font: inherit;
  font-size: clamp(11px, 1.12vw, 16px);
  line-height: 1.1;
  text-transform: none;
  cursor: pointer;
}

.faq-image {
  margin-bottom: 0;
}

.faq-section {
  padding: 92px 0 104px;
}

.faq-shell {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 0 32px;
}

.faq-section__eyebrow {
  margin: 0 0 10px;
  color: #1b67a2;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.faq-section__title {
  margin: 0 0 34px;
  color: #2b2b2b;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.05;
}

.faq-accordion {
  border-top: 1px solid rgba(45, 45, 45, 0.22);
}

.faq-item {
  border-bottom: 1px solid rgba(45, 45, 45, 0.22);
}

.faq-item__heading {
  margin: 0;
}

.faq-item__trigger {
  width: 100%;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 0;
  background: transparent;
  color: #202020;
  text-align: left;
  cursor: pointer;
}

.faq-item__question {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.35;
}

.faq-item__icon {
  position: relative;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 999px;
  border: 1px solid rgba(45, 45, 45, 0.18);
  transition: transform 180ms ease, background 180ms ease;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: #2d2d2d;
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease, transform 180ms ease;
}

.faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item__trigger[aria-expanded="true"] .faq-item__icon {
  background: rgba(27, 183, 234, 0.1);
  transform: rotate(180deg);
}

.faq-item__trigger[aria-expanded="true"] .faq-item__icon::after {
  opacity: 0;
}

.faq-item__trigger:focus-visible {
  outline: 3px solid rgba(27, 183, 234, 0.9);
  outline-offset: 4px;
  border-radius: 10px;
}

.faq-item__panel {
  max-width: 900px;
  padding: 0 44px 26px 0;
}

.faq-item__panel p,
.faq-answer-list li {
  margin: 0;
  color: #4d4d4d;
  font-size: 17px;
  line-height: 1.72;
}

.faq-item__panel p + p {
  margin-top: 14px;
}

.faq-answer-list {
  margin: 18px 0 0;
  padding: 0 0 0 20px;
  display: grid;
  gap: 14px;
}

.demo-hotspot {
  position: absolute;
  top: 12.08%;
  left: 6.88%;
  width: min(14.55%, 209px);
  min-width: 96px;
  aspect-ratio: 209 / 47;
  background: transparent;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}

.header-demo-button:focus-visible,
.demo-hotspot:focus-visible {
  outline: 3px solid rgba(27, 183, 234, 0.9);
  outline-offset: 2px;
}

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
}

.site-footer__inner {
  width: min(100%, var(--page-width));
  margin: 0 auto;
  padding: 26px 34px 28px;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.8fr) minmax(180px, 0.8fr);
  align-items: start;
}

.site-footer__logo {
  width: min(190px, 100%);
  height: auto;
  margin-bottom: 26px;
}

.site-footer__logo-link {
  display: inline-block;
  border-radius: 12px;
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-footer__logo-link:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.site-footer__logo-link:focus-visible {
  outline: 3px solid rgba(27, 183, 234, 0.9);
  outline-offset: 4px;
}

.site-footer__description {
  max-width: 460px;
  margin: 0;
  color: var(--footer-text);
  font-size: 17px;
  line-height: 1.4;
}

.site-footer__heading {
  margin: 0 0 18px;
  font-size: 20px;
  line-height: 1.2;
}

.site-footer__legal {
  display: grid;
  gap: 16px;
  align-content: start;
}

.site-footer__link {
  display: block;
  color: var(--muted-text);
  font-size: 17px;
  line-height: 1.2;
  text-decoration: none;
}

.site-footer__link:hover {
  color: #ffffff;
}

.page-banner {
  background: #2d2d2d;
  color: #ffffff;
}

.page-banner__inner {
  width: min(100%, var(--page-width));
  margin: 0 auto;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.page-banner__left {
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: 0;
}

.page-banner__brand {
  display: inline-block;
  width: min(180px, 22vw);
  flex: 0 0 auto;
  border-radius: 12px;
  transition: opacity 160ms ease, transform 160ms ease;
}

.page-banner__brand:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.page-banner__brand:focus-visible {
  outline: 3px solid rgba(27, 183, 234, 0.9);
  outline-offset: 4px;
}

.page-banner__brand-logo {
  width: 100%;
  height: auto;
}

.page-banner__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 54px;
}

.page-banner__contact-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.95);
}

.page-banner__contact-item::before {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 999px;
  background: #ffffff;
  color: #2d2d2d;
  font-size: 12px;
  font-weight: 700;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.08);
}

.page-banner__contact-item:first-child::before {
  content: "\260E";
}

.page-banner__contact-item:last-child::before {
  content: "\2709";
}

.page-banner__button {
  border: 0;
  border-radius: 8px;
  background: #23afe0;
  color: #ffffff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  min-width: 162px;
  min-height: 40px;
  padding: 10px 22px;
  cursor: pointer;
  text-transform: none;
}

.page-banner__button:hover {
  background: #1ba6d6;
}

.page-banner__button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.legal-page {
  width: min(100%, var(--page-width));
  min-height: calc(100vh - 170px);
  margin: 0 auto;
  background:
    radial-gradient(circle at top right, rgba(35, 175, 224, 0.12), transparent 24%),
    linear-gradient(180deg, #f5f8fc 0%, #ffffff 100%);
}

.legal-shell {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 64px 24px 88px;
}

.legal-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 44px 40px;
  box-shadow: 0 22px 48px rgba(26, 39, 63, 0.09);
}

.legal-card__eyebrow {
  margin: 0 0 14px;
  color: #23afe0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-card__title {
  margin: 0;
  color: #1d1d1d;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
}

.legal-card__lead {
  max-width: 720px;
  margin: 18px 0 0;
  color: #53606f;
  font-size: 19px;
  line-height: 1.55;
}

.legal-placeholder {
  margin-top: 34px;
  padding: 26px 28px;
  border: 1px dashed rgba(35, 175, 224, 0.45);
  border-radius: 22px;
  background: rgba(35, 175, 224, 0.05);
}

.legal-placeholder__title {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.3;
}

.legal-placeholder__copy {
  margin: 0;
  color: #556274;
  font-size: 16px;
  line-height: 1.7;
}

.legal-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.legal-meta__item {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(35, 175, 224, 0.06);
  border: 1px solid rgba(35, 175, 224, 0.14);
}

.legal-meta__label {
  display: block;
  margin-bottom: 8px;
  color: #23afe0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-meta__value {
  display: block;
  color: #233244;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
}

.legal-policy-section {
  margin-top: 34px;
}

.legal-policy-section--last {
  margin-bottom: 4px;
}

.legal-policy-section h2 {
  margin: 0 0 14px;
  color: #1d1d1d;
  font-size: 28px;
  line-height: 1.18;
}

.legal-policy-section h3 {
  margin: 26px 0 12px;
  color: #233244;
  font-size: 21px;
  line-height: 1.3;
}

.legal-policy-section p {
  margin: 0 0 16px;
  color: #415063;
  font-size: 17px;
  line-height: 1.75;
}

.legal-definition-list {
  display: grid;
  gap: 16px;
}

.legal-definition-item {
  padding: 22px 24px;
  border-radius: 20px;
  background: rgba(35, 175, 224, 0.05);
  border: 1px solid rgba(35, 175, 224, 0.12);
}

.legal-definition-item h3 {
  margin-top: 0;
}

.legal-definition-item p {
  margin-bottom: 0;
}

.legal-list {
  margin: 0 0 18px;
  padding-left: 22px;
  color: #415063;
}

.legal-list li {
  margin-bottom: 12px;
  font-size: 17px;
  line-height: 1.7;
}

.legal-list--compact li {
  margin-bottom: 10px;
}

.legal-contact-card {
  margin: 0 0 18px;
  padding: 20px 24px;
  border-radius: 20px;
  background: #f4f8fc;
  border: 1px solid rgba(35, 175, 224, 0.12);
}

.legal-contact-card p:last-child {
  margin-bottom: 0;
}

.legal-contact-card a {
  color: #23afe0;
  text-decoration: none;
}

.legal-contact-card a:hover {
  text-decoration: underline;
}

.legal-note-card {
  margin: 0 0 18px;
  padding: 20px 24px;
  border-radius: 20px;
  background: rgba(35, 175, 224, 0.07);
  border: 1px solid rgba(35, 175, 224, 0.18);
}

.legal-note-card p {
  margin: 0;
}

.legal-note-card a {
  color: #23afe0;
  text-decoration: none;
  font-weight: 600;
}

.legal-note-card a:hover {
  text-decoration: underline;
}

.legal-list--ordered {
  padding-left: 26px;
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 50;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}

.modal__panel {
  position: relative;
  width: min(100%, 495px);
  padding: 34px 35px 40px;
  background: var(--modal-bg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.modal__title {
  margin: 0 0 28px;
  text-align: center;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  color: #2f2f2f;
}

.demo-form {
  display: grid;
  gap: 14px;
}

.demo-form__field {
  width: 100%;
  min-height: 52px;
  padding: 14px 20px;
  border: 1.5px solid var(--field-border);
  border-radius: 17px;
  background: #ffffff;
  color: #242424;
  font: inherit;
  font-size: 16px;
  line-height: 1.2;
}

.demo-form__field::placeholder {
  color: #c6c6c6;
  opacity: 1;
}

.demo-form__field--message {
  min-height: 96px;
  resize: vertical;
}

.demo-form__submit {
  width: min(100%, 256px);
  margin: 10px auto 0;
  padding: 14px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  text-transform: uppercase;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.demo-form__submit:disabled {
  opacity: 0.75;
  cursor: wait;
}

.demo-form__status {
  min-height: 24px;
  margin: 4px 0 0;
  text-align: center;
  font-size: 15px;
  line-height: 1.35;
}

.demo-form__status.is-success {
  color: var(--status-success);
}

.demo-form__status.is-error {
  color: var(--status-error);
}

.modal-open {
  overflow: hidden;
}

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

@media (max-width: 900px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    padding: 28px 24px 32px;
  }

  .site-footer__description {
    font-size: 16px;
  }

  .site-footer__legal {
    gap: 12px;
  }

  .legal-meta {
    grid-template-columns: 1fr;
  }

  .faq-section {
    padding: 72px 0 84px;
  }

  .faq-shell {
    padding: 0 24px;
  }

  .faq-item__trigger {
    padding: 20px 0;
    gap: 18px;
  }

  .faq-item__panel {
    padding: 0 0 22px;
  }
}

@media (max-width: 640px) {
  .header-demo-button {
    display: none;
  }

  .demo-hotspot {
    top: 12.05%;
    left: 6.6%;
    width: 27%;
    min-width: 90px;
  }

  .modal__panel {
    padding: 30px 18px 28px;
  }

  .modal__title {
    font-size: 28px;
    margin-bottom: 22px;
  }

  .demo-form__field {
    font-size: 15px;
    padding: 13px 16px;
  }

  .demo-form__submit {
    width: min(100%, 220px);
  }

  .page-banner__inner {
    padding: 14px 16px 16px;
    align-items: stretch;
    gap: 14px;
  }

  .page-banner__left {
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .page-banner__brand {
    width: min(150px, 42vw);
  }

  .page-banner__contact {
    width: 100%;
    gap: 8px;
    justify-content: flex-start;
  }

  .page-banner__contact-item {
    min-height: 36px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 13px;
    line-height: 1.1;
    white-space: nowrap;
  }

  .page-banner__contact-item::before {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
    font-size: 10px;
  }

  .page-banner__button {
    display: none;
  }

  .legal-shell {
    padding: 40px 16px 56px;
  }

  .legal-card {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .legal-card__lead {
    font-size: 17px;
  }

  .legal-policy-section h2 {
    font-size: 24px;
  }

  .legal-policy-section h3 {
    font-size: 19px;
  }

  .legal-policy-section p,
  .legal-list li {
    font-size: 16px;
  }

  .faq-section {
    padding: 58px 0 68px;
  }

  .faq-shell {
    padding: 0 18px;
  }

  .faq-section__eyebrow {
    font-size: 12px;
    letter-spacing: 0.1em;
  }

  .faq-section__title {
    margin-bottom: 24px;
    font-size: 30px;
  }

  .faq-item__question {
    font-size: 18px;
  }

  .faq-item__icon {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .faq-item__icon::before,
  .faq-item__icon::after {
    width: 10px;
  }

  .faq-item__panel p,
  .faq-answer-list li {
    font-size: 15px;
    line-height: 1.66;
  }
}

@media (max-width: 460px) {
  .page-banner__inner {
    gap: 10px;
  }

  .page-banner__left {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
  }

  .page-banner__brand {
    width: min(138px, 44vw);
  }

  .page-banner__button {
    display: none;
  }

  .page-banner__contact {
    margin-top: 2px;
    gap: 6px;
  }

  .page-banner__contact-item {
    min-height: 32px;
    padding: 6px 9px;
    font-size: 12px;
  }
}
