:root {
  --color-black:        #202733;
  --color-grey-text:    #5D6A80;
  --color-grey-border:  #E5E9EC;
  --color-grey-bg:      #EFF3F6;
  --color-white:        #FFFFFF;
  --color-accent:       #2E6BE6;
  --color-accent-hover: #1F55C7;
  --color-t2:           #1F2A44;
  --color-bee:          #FFCC00;
  --color-wave:         #2E6BE6;
}

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

body {
  background-color: var(--color-grey-bg);
  font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--color-black);
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 16px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section-title {
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.4px;
  color: var(--color-black);
  margin-bottom: 12px;
}

/* ── Hero ── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: center;
}

.hero__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.hero__brand-logo {
  display: block;
  width: 160px;
  height: 56px;
}

.hero__brand-tagline {
  font-weight: 500;
  font-size: 13px;
  line-height: 16px;
  color: var(--color-grey-text);
  letter-spacing: 0.1px;
}

.sim-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 4px 0;
}

.sim-illustration__wave {
  flex-shrink: 0;
  display: block;
}

.sim-illustration__card {
  flex-shrink: 0;
  display: block;
}

.hero__title {
  font-weight: 700;
  font-size: 28px;
  line-height: 32px;
  letter-spacing: -1.12px;
  color: var(--color-black);
}

.hero__subtitle {
  font-weight: 400;
  font-size: 15px;
  line-height: 22px;
  color: var(--color-grey-text);
  max-width: 460px;
}

/* ── Operators ── */
.operators {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.operator {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 20px;
  background: var(--color-white);
  border: 1px solid var(--color-grey-border);
  border-radius: 16px;
  text-decoration: none;
  color: var(--color-black);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.operator:hover {
  border-color: var(--color-accent);
  text-decoration: none;
}

.operator:active {
  transform: scale(0.995);
}

.operator__logo {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-grey-bg);
}

.operator__logo img {
  display: block;
  max-width: 80%;
  max-height: 60%;
  width: auto;
  height: auto;
}

.operator__logo--t2 {
  background: #FFFFFF;
  border: 1px solid var(--color-grey-border);
}

.operator__logo--bee {
  background: var(--color-bee);
}

.operator__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
}

.operator__name {
  font-weight: 600;
  font-size: 17px;
  line-height: 20px;
  letter-spacing: -0.3px;
  color: var(--color-black);
}

.operator__desc {
  font-weight: 400;
  font-size: 13px;
  line-height: 18px;
  color: var(--color-grey-text);
}

.operator__arrow {
  flex-shrink: 0;
  font-size: 20px;
  color: var(--color-grey-text);
  transition: transform 0.15s ease, color 0.15s ease;
}

.operator:hover .operator__arrow {
  color: var(--color-accent);
  transform: translateX(2px);
}

/* ── How it works ── */
.how {
  width: 100%;
}

.steps {
  list-style: none;
  background: var(--color-white);
  border: 1px solid var(--color-grey-border);
  border-radius: 16px;
  padding: 8px 4px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
}

.step + .step {
  border-top: 1px solid var(--color-grey-border);
}

.step__num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--color-grey-bg);
  color: var(--color-black);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.step__text {
  font-weight: 400;
  font-size: 15px;
  line-height: 22px;
  color: var(--color-grey-text);
}

.step__text b {
  font-weight: 600;
  color: var(--color-black);
}

/* ── About ── */
.about {
  width: 100%;
}

.about__text {
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: var(--color-grey-text);
}

.about__text + .about__text {
  margin-top: 12px;
}

/* ── FAQ ── */
.faq {
  width: 100%;
}

.faq__item {
  background: var(--color-white);
  border: 1px solid var(--color-grey-border);
  border-radius: 12px;
  padding: 4px 16px;
}

.faq__item + .faq__item {
  margin-top: 8px;
}

.faq__q {
  font-weight: 600;
  font-size: 15px;
  line-height: 22px;
  color: var(--color-black);
  cursor: pointer;
  padding: 12px 0;
  list-style: none;
  position: relative;
  padding-right: 28px;
}

.faq__q::-webkit-details-marker { display: none; }

.faq__q::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 400;
  font-size: 20px;
  color: var(--color-grey-text);
  transition: transform 0.2s ease;
}

.faq__item[open] .faq__q::after {
  content: "−";
}

.faq__a {
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: var(--color-grey-text);
  padding: 0 0 14px;
}

/* ── Contacts ── */
.contacts {
  width: 100%;
}

.contacts__list {
  list-style: none;
  background: var(--color-white);
  border: 1px solid var(--color-grey-border);
  border-radius: 16px;
  padding: 4px 16px;
}

.contacts__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
}

.contacts__item + .contacts__item {
  border-top: 1px solid var(--color-grey-border);
}

.contacts__label {
  font-weight: 400;
  font-size: 14px;
  color: var(--color-grey-text);
}

.contacts__value {
  font-weight: 600;
  font-size: 14px;
  color: var(--color-accent);
}

/* ── Footer ── */
.footer {
  width: 100%;
  padding-top: 16px;
  border-top: 1px solid var(--color-grey-border);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__legal,
.footer__copy {
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
  color: var(--color-grey-text);
}

.footer__links {
  font-size: 13px;
  line-height: 18px;
}

.footer__links a {
  color: var(--color-grey-text);
}

.footer__links a:hover {
  color: var(--color-accent);
}

.footer__links span {
  color: var(--color-grey-border);
  margin: 0 6px;
}

/* ── Modal ── */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
}

.modal[aria-hidden="false"] {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(32, 39, 51, 0.5);
}

.modal__dialog {
  position: relative;
  background-color: var(--color-white);
  border-radius: 16px;
  padding: 32px 24px;
  max-width: 560px;
  width: 100%;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--color-grey-text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.modal__close:hover {
  color: var(--color-black);
}

.modal__title {
  font-weight: 700;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -1.28px;
  color: var(--color-black);
  text-align: center;
  margin-bottom: 24px;
}

.modal__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal__row {
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: var(--color-black);
}

.modal__body a {
  color: inherit;
  text-decoration: underline;
}

/* ── Wave animation ── */
@keyframes signal-pulse {
  0%   { opacity: 0.15; }
  40%  { opacity: 1; }
  60%  { opacity: 1; }
  100% { opacity: 0.15; }
}

.wave-arc {
  fill: var(--color-wave);
  animation: signal-pulse 1.8s ease-in-out infinite;
  opacity: 0.15;
}

.wave-arc--3 { animation-delay: 0s; }
.wave-arc--2 { animation-delay: 0.3s; }
.wave-arc--1 { animation-delay: 0.6s; }

/* ── Small screens polish ── */
@media (max-width: 420px) {
  .hero__title {
    font-size: 24px;
    line-height: 28px;
  }

  .operator {
    padding: 16px;
  }

  .operator__name {
    font-size: 16px;
  }
}
