:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --bg-surface: #ffffff;
  --bg-page: #f4f5f7;
  --text-main: #111827;
  --text-secondary: #4b5563;
  --accent: #ff6b35;
  --shadow-soft: 0 12px 40px rgba(15, 23, 42, 0.08);
  --radius-large: 28px;
  --radius-pill: 999px;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--text-main);
  background: linear-gradient(180deg, #f4f5f7 0%, #f7f8fb 100%);
  display: flex;
  flex-direction: column;
}

.page {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 72px 20px 100px;
  gap: 72px;
}

.hero {
  width: 100%;
  display: flex;
  justify-content: center;
  text-align: center;
}

.hero__inner {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.hero__title {
  margin: 0;
  display: flex;
  justify-content: center;
}

.hero__logo {
  width: clamp(300px, 48vw, 410px);
  height: auto;
}

.hero__subtitle {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.6;
  color: #1f2937;
  font-weight: 500;
  max-width: 540px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 14px;
  background: rgba(248, 250, 252, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: var(--radius-pill);
  color: #475569;
  font-weight: 500;
  font-size: 0.86rem;
  letter-spacing: 0.002em;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
  margin-top: 14px;
}

.hero__badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 232, 217, 0.9), rgba(255, 243, 234, 0.7));
  border: 1px solid rgba(255, 120, 60, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.hero__badge-icon svg {
  width: 18px;
  height: 18px;
}

.hero__badge-label {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.hero__badge-label .hero__counter {
  font-size: 0.96rem;
  font-weight: 600;
  color: #fb7f3d;
}

.process {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.process__title {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
}

.process__grid {
  width: 100%;
  display: grid;
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
  padding-inline: 12px;
}

.process-card {
  background: var(--bg-surface);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-soft);
  padding: 36px 28px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process-card__art {
  width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-card__icon {
  max-width: 100%;
  height: auto;
  display: block;
}

.process-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.14);
}

.process-card__heading {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
}

.process-card__body {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 280px;
}

.faq {
  width: 100%;
  display: flex;
  justify-content: center;
}

.faq__inner {
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.faq__title {
  margin: 0;
  text-align: center;
  font-size: clamp(1.4rem, 3.2vw, 1.75rem);
  font-weight: 600;
  color: var(--text-main);
}

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

.faq-item {
  width: 100%;
  border-radius: 18px;
  background: var(--bg-surface);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.faq-item:hover,
.faq-item:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.12);
}

.faq-item--active {
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
}

.faq-item__button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  border: none;
  background: transparent;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
}

.faq-item__button:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.32);
  outline-offset: 3px;
}

.faq-item__label {
  flex: 1;
}

.faq-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #1e293b;
  font-size: 1.2rem;
  font-weight: 600;
}

.faq-item__content {
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  height: 0;
  opacity: 0;
  font-style: italic;
  overflow: hidden;
  transition: height 0.26s ease, opacity 0.26s ease, padding 0.26s ease;
  will-change: height;
}

.faq-item--active .faq-item__content {
  padding: 14px 24px 22px;
  opacity: 1;
}

.faq-item--active .faq-item__icon {
  background: #1e293b;
  color: #f8fafc;
}

.footer {
  background: var(--accent);
  color: #fff3ed;
  padding: 24px 20px;
  display: flex;
  justify-content: center;
}

.footer__inner {
  font-weight: 400;
  letter-spacing: 0.01em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 243, 237, 0.9);
}

.footer__inner span {
  font-weight: 400;
}

.footer__nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  letter-spacing: 0;
  font-size: 0.82rem;
}

.footer__link {
  color: rgba(255, 243, 237, 0.85);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 400;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer__link:hover,
.footer__link:focus-visible {
  color: #fff3ed;
}

.footer__divider {
  color: rgba(255, 243, 237, 0.45);
}

.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;
}

.legal {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  padding: 96px 20px 120px;
}

.legal__inner {
  width: 100%;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.legal__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.legal__home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal__home::before {
  content: '←';
  font-size: 1rem;
  line-height: 1;
}

.legal__home:hover,
.legal__home:focus-visible {
  color: var(--text-main);
}

.legal__title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.legal__meta {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.legal__content {
  background: var(--bg-surface);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  padding: clamp(28px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.legal__content section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.legal__content h2 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-main);
}

.legal__content h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
}

.legal__content p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.legal__content ul {
  margin: 0;
  padding-left: 1.3rem;
  display: grid;
  gap: 10px;
}

.legal__content li {
  color: var(--text-secondary);
  line-height: 1.7;
}

.legal__content strong {
  color: var(--text-main);
}

@media (min-width: 640px) {
  .page {
    padding-top: 96px;
    gap: 88px;
  }

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

@media (min-width: 920px) {
  .process__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-inline: 0;
  }
}

@media (max-width: 639px) {
  .hero__badge {
    font-size: 0.9rem;
    padding-inline: 20px;
  }

  .process-card {
    padding: 32px 24px 40px;
  }

  .faq-item__button {
    padding: 18px 20px;
  }

  .footer__inner {
    gap: 6px;
    font-size: 0.78rem;
  }

  .footer__nav {
    gap: 6px;
    font-size: 0.74rem;
  }

  .legal {
    padding: 80px 16px 100px;
  }

  .legal__content {
    border-radius: 22px;
  }
}
