:root {
  --blue: #62a8f2;
  --green: #5fb048;
  --ink: #20243a;
  --muted: #606777;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Roboto, Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
}

/* Header */
.site-header {
  background: #fff;
  box-shadow: 0 8px 24px rgb(30 50 80 / 12%);
}

.top-bar {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 10px 16px;
  background: var(--blue);
  color: #fff;
  font:
    400 16px/1.2 Roboto,
    Arial,
    sans-serif;
}

.top-bar a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  background: #2f3245;
  padding: 8px 12px;
  border-radius: 9999px;
  font-weight: 400;
  cursor: text;
  line-height: 24px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: none;
  min-height: 108px;
  margin: 0 auto;
  padding: 20px 32px;
}

.logo {
  display: block;
  width: min(388px, 34vw);
  aspect-ratio: 6629 / 1089;
  height: auto;
  flex: 0 0 auto;
}

.nav-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.nav-links {
  width: 100%;
  display: flex;
  align-items: center;
  align-items: center;
  gap: 2.5rem;
  margin-left: 0;
  font-size: 16px;
  line-height: 1;
}

.nav-links a {
  color: #111;
  text-decoration: none;
}

.sell-button {
  border-radius: 10px;
  background: #70b957;
  color: #fff !important;
  padding: 18px 18px;
}

.moon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  margin-left: 0;
  border: 0;
  background: transparent;
  padding: 0;
}

.moon-button img {
  width: 18px;
  height: 18px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(620px, 740px) minmax(
      0,
      0.25fr
    );
  align-items: stretch;
}

/* Embedded form */
.hero [data-rf-form] {
  position: relative;
  z-index: 2;
  grid-column: 2;
  align-self: start;
  justify-self: stretch;
  width: min(740px, calc(100% - 32px));
  min-height: 865px;
  margin: 28px 32px 42px 0;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 26px 70px rgb(30 50 80 / 18%);
  overflow: hidden;
}

.hero [data-rf-form]:empty::before {
  content: "";
  position: absolute;
  inset: 28px 36px;
  border-radius: 8px;
  background:
    linear-gradient(#74b859, #74b859) 0 0 / 58% 42px no-repeat,
    linear-gradient(#edf0f5, #edf0f5) 0 86px / 100% 1px no-repeat,
    linear-gradient(#edf0f5, #edf0f5) 0 144px / 100% 1px no-repeat,
    linear-gradient(#edf0f5, #edf0f5) 0 202px / 100% 1px no-repeat,
    linear-gradient(#edf0f5, #edf0f5) 0 260px / 48% 1px no-repeat,
    linear-gradient(#edf0f5, #edf0f5) 52% 260px / 48% 1px no-repeat,
    linear-gradient(#edf0f5, #edf0f5) 0 318px / 100% 1px no-repeat,
    linear-gradient(#edf0f5, #edf0f5) 0 376px / 100% 1px no-repeat,
    linear-gradient(#f7f8fb, #f7f8fb) 0 420px / 100% 130px no-repeat,
    linear-gradient(#74b859, #74b859) 0 590px / 230px 52px no-repeat;
  opacity: 0.72;
}

.hero [data-rf-form] form {
  max-width: none;
  padding: 28px 36px 30px;
  background: #ffffff;
  color: #20243a;
  font-family: Roboto, Arial, sans-serif;
}

/* Embedded form state helpers */
[data-rf-hidden] {
  display: none;
}

.hero [data-rf-form] h3 {
  margin: 0 0 16px;
  color: #20243a;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 700;
}

.hero [data-rf-form] .local-form-intro {
  margin: 0 0 18px;
}

.hero [data-rf-form] .local-form-intro h2 {
  margin: 0 0 10px;
  color: #74b859;
  font:
    600 clamp(30px, 3vw, 40px) / 1.08 Roboto,
    Arial,
    sans-serif;
  letter-spacing: 0;
}

.hero [data-rf-form] .local-form-intro p {
  margin: 0;
  color: #20243a;
  font:
    400 17px/1.5 Roboto,
    Arial,
    sans-serif;
}

.hero [data-rf-form] [data-rf-el="field"] {
  margin-bottom: 8px;
}

.hero [data-rf-form] [data-rf-el="label"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.hero [data-rf-form] [data-rf-el="input"] {
  min-height: 48px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #e4e6eb;
  border-radius: 0;
  background: transparent;
  color: #20243a;
  padding: 8px 0 12px;
  font: inherit;
  outline: 0;
  transition:
    border-color 160ms ease,
    color 160ms ease;
}

.hero [data-rf-form] [data-rf-el="input"]::placeholder {
  color: #9aa2af;
}

.hero [data-rf-form] [data-rf-el="phone-prefix"] {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #e4e6eb;
  border-radius: 0;
  color: #20243a;
  padding: 8px 10px 12px 0;
  font-weight: 700;
}

.hero [data-rf-form] [data-rf-el="phone-row"] {
  display: flex;
  gap: 10px;
  align-items: center;
}

.hero [data-rf-form] [data-rf-el="phone-row"] [data-rf-el="input"] {
  flex: 1 1 auto;
}

.hero [data-rf-form] [data-rf-el="field"]:has([name="first_name"]) {
  float: left;
  width: calc(50% - 6px);
}

.hero [data-rf-form] [data-rf-el="field"]:has([name="last_name"]) {
  float: right;
  width: calc(50% - 6px);
}

.hero [data-rf-form] [data-rf-el="field"]:has([name="email"]) {
  clear: both;
}

.hero [data-rf-form] [data-rf-el="input"]:focus,
.hero [data-rf-form] [data-rf-el="input"]:focus-visible {
  border-color: #20243a;
  box-shadow: none;
}

.hero [data-rf-form] [data-rf-el="submit"] {
  min-height: 48px;
  width: auto;
  margin-top: 8px;
  border: 0;
  border-radius: 9999px;
  background: #74b859;
  color: #ffffff;
  padding: 14px 70px 14px 28px;
  font:
    700 20px/1.2 Roboto,
    Arial,
    sans-serif;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease,
    opacity 160ms ease;
}

.hero [data-rf-form] [data-rf-el="submit"]::after {
  content: "";
  position: absolute;
  right: 32px;
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.hero [data-rf-form] [data-rf-el="submit"]::before {
  content: "";
  position: absolute;
  right: 32px;
  width: 14px;
  height: 2px;
  background: currentColor;
}

.hero [data-rf-form] [data-rf-el="submit"]:hover {
  background: #66aa4e;
  box-shadow: 0 10px 22px rgb(116 184 89 / 24%);
  transform: translateY(-1px);
}

.hero [data-rf-form] .local-consents {
  display: grid;
  gap: 10px;
  margin: 6px 0 16px;
}

.hero [data-rf-form] .local-sms-consent {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid #e7eaf1;
  border-radius: 8px;
  color: #4e5766;
  font:
    400 12px/1.45 Roboto,
    Arial,
    sans-serif;
}

.hero [data-rf-form] .local-sms-consent > span:not(.local-sms-consent-header) {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}

.hero [data-rf-form] .local-sms-consent-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #20243a;
  font-size: 14px;
  line-height: 1.35;
}

.hero [data-rf-form] .local-sms-consent input {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  accent-color: #74b859;
}

.hero [data-rf-form] .local-sms-consent a {
  color: #2f74ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero [data-rf-form] .local-consent {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #000000;
  font:
    400 15px/1.35 Roboto,
    Arial,
    sans-serif;
  font-weight: 400;
}

.hero [data-rf-form] .local-consent input {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  accent-color: #74b859;
  margin: -3px 0 0;
}

.hero [data-rf-form] .local-consent span {
  display: inline-flex;
  align-items: center;
  min-height: 16px;
  color: #000000;
  font-weight: 400;
  gap: 4px;
}

.hero [data-rf-form] .local-consent a {
  color: #2f74ff;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero [data-rf-form] [data-rf-el="submit"]:focus-visible {
  box-shadow: 0 0 0 3px rgb(116 184 89 / 28%);
  outline: 0;
}

.hero
  [data-rf-form]
  [data-rf-el="form"][data-rf-state="submitting"]
  [data-rf-el="submit"] {
  opacity: 0.55;
  animation: rf-pulse 1.2s infinite;
}

.hero [data-rf-form] [data-rf-el="error-message"] {
  margin-top: 10px;
  border: 1px solid #f4b7b7;
  border-radius: 6px;
  background: #fff5f5;
  color: #b42318;
  padding: 10px 12px;
}

.hero [data-rf-form] [data-rf-el="success-message"]:not(:empty) {
  border: 1px solid #ccecc3;
  border-radius: 6px;
  background: #f3fbf0;
  color: #2f7d32;
  padding: 12px;
}

@keyframes rf-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgb(116 184 89 / 34%);
  }

  70% {
    box-shadow: 0 0 0 12px rgb(116 184 89 / 0%);
  }
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
}

.hero-overlay {
  background: rgb(90 138 180 / 46%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 60px 40px 58px 60px;
  color: #fff;
  text-shadow: 0 1px 2px rgb(0 0 0 / 12%);
}

.hero-copy h1 {
  max-width: 800px;
  margin: 0 0 14px;
  font:
    400 clamp(56px, 5.4vw, 60px) / 1.08 Roboto,
    Arial,
    sans-serif;
  letter-spacing: 0;
}

.hero-copy p,
.hero-copy strong,
.hero-copy span {
  display: block;
  max-width: 1180px;
  margin: 0 0 6px;
  font:
    400 clamp(30px, 2.75vw, 32px) / 1.28 Roboto,
    Arial,
    sans-serif;
}

.hero-copy h1 strong {
  font: inherit;
  font-weight: 700;
  margin: 0;
  max-width: inherit;
}

/* Benefits */
.benefits {
  padding: 42px 32px 70px;
  background: linear-gradient(to bottom, rgb(236 242 255 / 72%), #fff 65%);
  font-family: Roboto, Arial, sans-serif;
}

.benefits h2 {
  max-width: 560px;
  margin: 0 auto 80px;
  text-align: center;
  font-size: clamp(30px, 3vw, 36px);
  line-height: 1.15;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  max-width: 1120px;
  margin: 0 auto;
}

.benefit-card {
  min-height: 300px;
  padding: 34px 34px 40px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 55px rgb(38 72 117 / 10%);
}

.benefit-card img {
  width: 96px;
  height: 96px;
  display: block;
  margin-bottom: 26px;
}

.benefit-card h3 {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 23px;
  line-height: 1.25;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

@media (max-width: 1100px) {
  .nav {
    justify-content: space-between;
  }

  .nav-links,
  .moon-button {
    position: static;
    transform: none;
  }

  .nav-links {
    margin-left: auto;
  }
}

@media (max-width: 850px) {
  .top-bar {
    flex-wrap: wrap;
  }

  .nav {
    min-height: 132px;
    gap: 18px;
    padding: 24px 20px;
  }

  .logo {
    width: min(48vw, 260px);
  }

  .nav-links {
    gap: 14px;
    font-size: 12px;
  }

  .sell-button {
    padding: 12px 10px;
    border-radius: 8px;
  }

  .moon-button {
    margin-left: 0;
  }

  .hero {
    display: block;
  }

  .hero-copy {
    padding: 42px 24px;
  }

  .hero [data-rf-form] {
    width: calc(100% - 40px);
    margin: 0 auto 32px;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .nav {
    min-height: auto;
    flex-wrap: wrap;
    padding: 22px 12px;
  }

  .logo {
    width: 170px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
  }

  .sell-button {
    padding: 11px 12px;
  }

  .moon-button {
    margin-left: auto;
  }

  .benefits {
    padding-inline: 18px;
  }
}
