:root {
  --bg: #e8f0ec;
  --bg-deep: #d4e0d9;
  --ink: #1f3442;
  --ink-soft: #4e6571;
  --line: rgba(44, 84, 67, 0.16);
  --brand: #2f9a59;
  --brand-strong: #277f49;
  --shadow: 0 18px 48px rgba(40, 76, 57, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 0%, rgba(56, 145, 89, 0.18), transparent 35%),
    radial-gradient(circle at 85% 12%, rgba(52, 114, 85, 0.12), transparent 28%),
    linear-gradient(140deg, var(--bg) 0%, var(--bg-deep) 100%);
  overflow-x: hidden;
  padding: 0 12px;
}

.texture {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, #000 35%, transparent 100%);
  z-index: 0;
}

.topbar,
.hero-wrap {
  width: min(1160px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  font-family: "Sora", sans-serif;
  text-decoration: none;
  color: var(--brand);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.8px;
}

.menu {
  display: flex;
  gap: 26px;
}

.menu a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.98rem;
  transition: color 0.2s ease;
}

.menu a:hover,
.menu a:focus {
  color: var(--brand);
}

.top-cta {
  text-decoration: none;
  color: #f5fffa;
  background: linear-gradient(130deg, var(--brand), var(--brand-strong));
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid rgba(31, 99, 57, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.top-cta:hover,
.top-cta:focus {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(43, 113, 68, 0.2);
  outline: none;
}

.hero-wrap {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
  padding-bottom: 44px;
}

.hero-copy {
  background: rgba(245, 250, 247, 0.7);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 34px;
  box-shadow: var(--shadow);
  animation: riseIn 700ms ease;
}

.chip {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  background: #eff7f2;
  border: 1px solid rgba(52, 109, 77, 0.2);
  color: var(--brand-strong);
  font-size: 0.9rem;
  font-weight: 700;
}

h1 {
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  margin: 16px 0 14px;
  letter-spacing: -1px;
}

p {
  margin: 0;
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 58ch;
}

.hero-list {
  margin: 20px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.hero-list li {
  font-weight: 600;
  color: #2d4c5d;
}

.hero-list li::before {
  content: "✓";
  color: var(--brand);
  margin-right: 8px;
}

.cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.primary-cta {
  text-decoration: none;
  background: linear-gradient(130deg, var(--brand), var(--brand-strong));
  color: #f6fff9;
  border-radius: 14px;
  padding: 14px 20px;
  font-weight: 800;
  letter-spacing: 0.1px;
  box-shadow: 0 14px 22px rgba(43, 113, 68, 0.24);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.primary-cta:hover,
.primary-cta:focus {
  transform: translateY(-2px);
  box-shadow: 0 18px 28px rgba(43, 113, 68, 0.3);
  outline: none;
}

.cta-row small {
  color: #5f7784;
  font-weight: 600;
}

.hero-media {
  display: grid;
  gap: 14px;
  justify-items: center;
  animation: riseIn 900ms ease;
}

.carousel {
  position: relative;
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(49, 93, 73, 0.22);
  box-shadow: var(--shadow);
  background: rgba(236, 246, 240, 0.75);
}

.slides {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f0f0f0;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 450ms cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 450ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: linear-gradient(135deg, #e8f0ec, #d4e0d9);
}

.caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  color: #1d3742;
  background: rgba(237, 246, 240, 0.9);
  border: 1px solid rgba(37, 78, 60, 0.18);
  font-weight: 700;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  color: #f7fff9;
  background: rgba(35, 87, 59, 0.72);
  font-size: 1.2rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav:hover,
.nav:focus {
  background: rgba(35, 87, 59, 0.95);
  transform: translateY(-50%) scale(1.08);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: rgba(62, 107, 84, 0.35);
  transition: all 0.2s ease;
}

.dot:hover,
.dot:focus {
  background: rgba(62, 107, 84, 0.65);
}

.dot.active {
  width: 24px;
  border-radius: 999px;
  background: var(--brand);
}

.partner-form-wrap {
  width: min(1160px, 92vw);
  margin: 10px auto 60px;
  position: relative;
  z-index: 1;
}

.partner-form-card {
  background: rgba(245, 250, 247, 0.8);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.partner-form-head h2 {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  letter-spacing: -0.4px;
  margin: 14px 0 10px;
}

.partner-form-head p {
  margin-bottom: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 14px 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field span {
  font-weight: 700;
  color: #27414c;
  font-size: 0.92rem;
}

.field input,
.field select {
  width: 100%;
  border: 1px solid rgba(40, 90, 66, 0.28);
  background: #f7fcf9;
  color: var(--ink);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.98rem;
  font-family: "Manrope", sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(47, 154, 89, 0.16);
}

.field input.field-invalid,
.field select.field-invalid {
  border-color: #ca5252;
  box-shadow: 0 0 0 3px rgba(202, 82, 82, 0.15);
}

.field-error {
  min-height: 16px;
  color: #b43c3c;
  font-size: 0.82rem;
  font-weight: 700;
}

.inline-input {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
}

.inline-status {
  min-width: 88px;
  text-align: right;
  color: #2d6d4a;
  font-size: 0.84rem;
  font-weight: 700;
}

.inline-status.loading::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 6px;
  border-radius: 50%;
  border: 2px solid rgba(47, 154, 89, 0.24);
  border-top-color: #2f9a59;
  animation: spin 0.8s linear infinite;
  vertical-align: -2px;
}

.form-actions {
  margin-top: 10px;
}

.form-actions .primary-cta {
  min-width: 220px;
}

.form-actions .primary-cta:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-feedback {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 700;
  display: none;
}

.form-feedback.show {
  display: block;
}

.form-feedback.success {
  color: #205235;
  border: 1px solid rgba(38, 134, 72, 0.35);
  background: #e5f8ec;
}

.form-feedback.error {
  color: #7a2d2d;
  border: 1px solid rgba(178, 66, 66, 0.35);
  background: #fdecec;
}

.success-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(220, 238, 228, 0.72);
  backdrop-filter: blur(8px);
  animation: riseIn 350ms ease;
}

.success-overlay[hidden] {
  display: none;
}

.success-card {
  background: #f5faf7;
  border: 1px solid rgba(44, 130, 84, 0.28);
  border-radius: 28px;
  padding: 48px 40px;
  box-shadow: 0 24px 60px rgba(40, 100, 65, 0.18);
  text-align: center;
  max-width: 420px;
  width: 90vw;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(130deg, var(--brand), var(--brand-strong));
  color: #fff;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(43, 113, 68, 0.3);
}

.success-title {
  font-family: "Sora", sans-serif;
  font-size: 1.5rem;
  margin: 0;
  color: var(--ink);
}

.success-sub {
  color: var(--ink-soft);
  margin: 0;
  font-size: 0.98rem;
}

.success-countdown {
  font-family: "Sora", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
}

.success-btn {
  margin-top: 6px;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 980px) {
  .hero-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .slides {
    aspect-ratio: 1 / 1;
  }

  .hero-copy {
    padding: 28px;
  }

  .partner-form-card {
    padding: 26px;
    border-radius: 24px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .topbar {
    flex-wrap: wrap;
    justify-content: center;
    padding: 14px 0;
    gap: 12px;
  }

  .brand {
    font-size: 1.6rem;
    order: 1;
    width: 100%;
    text-align: center;
  }

  .menu {
    order: 2;
    width: 100%;
    justify-content: center;
    gap: 12px;
    font-size: 0.92rem;
  }

  .top-cta {
    order: 3;
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .hero-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0;
  }

  .hero-copy {
    padding: 20px;
    border-radius: 20px;
  }

  h1 {
    font-size: clamp(1.5rem, 5vw, 2.4rem);
    margin: 12px 0 10px;
  }

  p {
    font-size: 1rem;
  }

  .hero-list li {
    font-size: 0.95rem;
  }

  .primary-cta {
    padding: 12px 18px;
    font-size: 0.95rem;
    width: 100%;
    text-align: center;
  }

  .cta-row {
    flex-direction: column;
    gap: 8px;
  }

  .carousel {
    border-radius: 20px;
  }

  .nav {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }

  .slides {
    aspect-ratio: 1 / 1;
  }

  .partner-form-wrap {
    margin: 20px auto 42px;
  }

  .partner-form-card {
    padding: 20px;
    border-radius: 20px;
  }

  .partner-form-head p {
    margin-bottom: 14px;
  }

  .inline-input {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .inline-status {
    text-align: left;
  }
}
