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

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  color: #18181b;
  background: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.content,
.media {
  width: 100%;
}

.content {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.text-block {
  width: 100%;
  max-width: 576px;
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  align-self: stretch;
}

.social {
  display: flex;
  gap: 12px;
}

.locale-flag {
  width: 16px;
  height: 16px;
  
}

.icon-button {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #f4f4f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s ease;
}

.icon-button:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 24px 0;
}

.hero h1 {
  font-size: 36px;
  line-height: 40px;
  margin: 0;
  font-weight: 600;
  text-wrap: balance;
}

.subtitle {
  font-size: 18px;
  line-height: 28px;
  margin: 0;
  color: #71717a;
  font-weight: 600;
  text-wrap: balance;
}

.features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #71717a;
}

.features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  line-height: 24px;
}

.features .check {
  display: inline-flex;
  flex: 0 0 auto;
  margin-top: 2px;
}

.tagline {
  color: #71717a;
  font-size: 16px;
  line-height: 24px;
  margin: 0;
  text-wrap: balance;
}

.progress {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  align-self: stretch;
}

.progress-meta {
  font-size: 16px;
  line-height: 24px;
}

.progress-track-wrapper {
  position: relative;
}

.progress-track-wrapper .progress-value {
  position: absolute;
  left: clamp(0%, var(--progress, 0%), 100%);
  bottom: calc(100% + 13px);
  transform: translateX(-50%);
}

.progress-label {
  color: #71717a;
  font-weight: 400;
}

.progress-value {
  color: #0e794e;
  font-weight: 600;
}

.progress-track {
  height: 16px;
  border-radius: 8px;
  background: repeating-linear-gradient(-45deg, #fff, #fff 1px, #e9f3ef 1px, #e9f3ef 8px);
  overflow: hidden;
}

.progress-indicator {
  height: 100%;
  background: #0e794e;
  border-radius: 8px;
  width: var(--progress, 0%);
}

.media {
  position: relative;
  padding: 8px;
  display: flex;
  align-items: flex-end;
  border-radius: 24px;
}

.locale-toggle {
  position: absolute;
  top: 32px;
  right: 32px;
  z-index: 2;
  border: 4px solid #f4f4f5;
  border-radius: 999px;
  background: #fafafa;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  min-width: 60px;
  height: 32px;
  cursor: pointer;
  
}

.locale-label {
  font-size: 12px;
  font-weight: 500;
}

.newsletter {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 1;
  padding: 0 32px;
  text-align: center;
  color: #ffffff;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.toast-host {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: auto;
  max-width: min(720px, calc(100% - 64px));
  z-index: 3;
  pointer-events: none;
}

.toast[hidden] {
  display: none !important;
}

.toast {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px;
  border-radius: 16px;
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.toast[data-type='error'] {
  background: rgba(253, 226, 234, 0.92);
  color: #e11d48;
}

.toast[data-type='success'] {
  background: rgba(220, 252, 231, 0.92);
  color: #166534;
}

.toast-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.toast-message {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  white-space: nowrap;
}

.toast-close {
  position: absolute;
  top: 3px;
  right: 5px;
  transform: translate(50%, -50%);
  width: 16px;
  height: 16px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: rgba(24, 24, 27, 0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
  padding: 0;
}

.toast-close svg {
  display: none;
}

.toast-close::before,
.toast-close::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
}

.toast-close::before {
  transform: rotate(45deg);
}

.toast-close::after {
  transform: rotate(-45deg);
}

.toast-close:hover {
  background: rgba(255, 255, 255, 1);
  color: rgba(24, 24, 27, 0.85);
}

.toast-close:active {
  transform: translate(50%, -50%) scale(0.96);
}

.toast-close:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.75);
  outline-offset: 3px;
}

.newsletter h2 {
  margin: 0;
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
}

.newsletter-form {
  width: 100%;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  box-shadow: 0 0 15px rgba(0, 23, 49, 0.04), 0 2px 30px rgba(0, 23, 49, 0.06),
    0 0 1px rgba(255, 255, 255, 0.15) inset;
  backdrop-filter: blur(62px);
}

.newsletter-form input {
  width: 100%;
  height: 48px;
  border: none;
  outline: none;
  border-radius: 999px;
  padding: 0 16px;
  line-height: 48px;
  font-size: 14px;
  color: #52525b;
}

.newsletter-form button {
  border: none;
  border-radius: 999px;
  background: #0e794e;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  height: 48px;
  padding: 0 24px;
  cursor: pointer;
  transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
  box-shadow: 0 10px 20px rgba(14, 121, 78, 0.18), 0 2px 6px rgba(14, 121, 78, 0.16);
  transform: translateY(0);
}

.newsletter-form button:hover {
  background: #0b6a44;
  box-shadow: 0 12px 24px rgba(14, 121, 78, 0.22), 0 4px 10px rgba(14, 121, 78, 0.18);
}

.newsletter-form button:active {
  background: #095a3a;
  transform: translateY(1px);
  box-shadow: 0 6px 14px rgba(14, 121, 78, 0.2), 0 2px 6px rgba(14, 121, 78, 0.16);
}

.newsletter-form button:focus-visible {
  outline: 3px solid rgba(14, 121, 78, 0.35);
  outline-offset: 3px;
}

.newsletter-form button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
  transform: none;
}

.video-frame {
  width: 100%;
  height: 556px;
  border-radius: 24px;
  overflow: hidden;
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
}

@media (min-width: 720px) and (max-width: 1023px) {
  .page {
    flex-direction: row;
  }

  .content,
  .media {
    width: 50%;
    min-height: 100vh;
  }

  .content {
    padding: 32px 28px;
  }

  .hero h1 {
    font-size: 30px;
    line-height: 36px;
  }

  .subtitle {
    font-size: 16px;
    line-height: 24px;
  }

  .features li {
    font-size: 12px;
    line-height: 18px;
  }

  .video-frame {
    height: 100%;
  }

  .newsletter-form {
    flex-direction: column;
  }
}

@media (min-width: 1024px) {
  .page {
    flex-direction: row;
  }

  .content,
  .media {
    width: 50%;
    min-height: 100vh;
  }

  .content {
    padding: 32px 28px;
  }

  .hero h1 {
    font-size: 44px;
    line-height: 44px;
  }

  .video-frame {
    height: 100%;
  }

  .newsletter-form {
    flex-direction: row;
    align-items: center;
    border-radius: 999px;
  }

  .newsletter-form input {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .media {
    border-radius: 0;
  }

  .locale-toggle {
    top: 20px;
    right: 20px;
  }

  .newsletter {
    padding: 0 20px;
  }

  .toast-host {
    bottom: 16px;
    width: auto;
    max-width: calc(100% - 32px);
  }

  .toast-message {
    font-size: 14px;
    line-height: 20px;
  }
}
