:root {
  --navy: #12385f;
  --navy-2: #0d2a49;
  --sky: #dff2ff;
  --yellow: #ffd45c;
  --green: #20a66a;
  --cream: #fff8e8;
  --text: #19202a;
  --muted: #617083;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(18, 56, 95, 0.13);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f6fbff 0%, #ffffff 48%, #fff8e8 100%);
}

.site-header {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 20px 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--navy);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--white);
  border: 3px solid var(--navy);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.brand-mark img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand strong { display: block; font-size: 1.25rem; line-height: 1.1; }
.brand small { display: block; color: var(--muted); margin-top: 3px; }

main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 20px 48px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.52fr);
  gap: 30px;
  align-items: center;
  padding: 34px;
  border-radius: 34px;
  background: radial-gradient(circle at 62% 8%, #fff0bd 0 17%, transparent 18%), linear-gradient(135deg, var(--white), var(--sky));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 0.48fr);
  gap: 24px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 11px;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 900;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 16px;
  font-size: clamp(2.6rem, 5.7vw, 5rem);
  line-height: 0.92;
  color: var(--navy-2);
  letter-spacing: -0.06em;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.45;
  color: #26364a;
  max-width: 560px;
  margin-bottom: 18px;
}

.privacy-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy-2);
  font-weight: 900;
  font-size: 0.9rem;
}

.trust-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.cover-wrap {
  display: grid;
  place-items: center;
  min-width: 0;
}

.cover-image {
  width: min(100%, 230px);
  height: auto;
  border-radius: 14px;
  box-shadow: 0 22px 38px rgba(18, 56, 95, 0.20);
  transform: rotate(1.5deg);
  background: var(--white);
}

.signup-panel {
  border-radius: 26px;
  background: rgba(255,255,255,0.96);
  border: 4px solid var(--navy);
  padding: 26px;
  box-shadow: 0 14px 35px rgba(18, 56, 95, 0.11);
}

.signup-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 1.7rem;
}

.signup-panel h2 {
  color: var(--navy-2);
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1.05;
  margin-bottom: 10px;
}

.signup-panel p {
  color: #26364a;
  line-height: 1.45;
}

.form-placeholder {
  margin-top: 16px;
  padding-top: 4px;
  color: var(--muted);
}

.form-placeholder h3 {
  color: var(--navy-2);
  margin-bottom: 5px;
  font-size: 1.05rem;
}

.placeholder-note {
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.fake-field {
  text-align: left;
  margin: 10px 0;
  padding: 13px 15px;
  border-radius: 12px;
  background: #f3f7fb;
  border: 1px solid #d9e3ec;
  color: #7c8794;
}

.fake-button {
  width: 100%;
  margin-top: 8px;
  padding: 15px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-family: inherit;
  font-weight: 900;
  font-size: 1rem;
  box-shadow: 0 12px 24px rgba(18, 56, 95, 0.22);
}

.privacy-list {
  margin-top: 18px;
}

.privacy-list li {
  position: relative;
  padding-left: 30px;
  margin: 10px 0;
  color: #26364a;
  line-height: 1.35;
  font-size: 0.94rem;
}

.privacy-list li::before {
  background: var(--green);
  color: var(--white);
  width: 20px;
  height: 20px;
  font-size: 0.78rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 22px;
}

.card, .about {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(18, 56, 95, 0.11);
  box-shadow: 0 14px 35px rgba(18, 56, 95, 0.08);
}

.card {
  padding: 24px;
  border-radius: var(--radius);
}

.icon { font-size: 2.15rem; margin-bottom: 10px; }
.card h2, .about h2 { color: var(--navy-2); line-height: 1.08; }
.card p, .about p { color: var(--muted); line-height: 1.55; }

.about {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 22px;
  align-items: start;
  margin-top: 22px;
  padding: 30px;
  border-radius: var(--radius);
}

.about h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 0; }
.about p { font-size: 1.08rem; margin-bottom: 0; }

.footer {
  padding: 28px 20px 42px;
  text-align: center;
  color: var(--muted);
}
.footer p { margin: 0 0 6px; }
.footer strong { color: var(--navy); }
.small { font-size: 0.9rem; }

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-main {
    grid-template-columns: minmax(0, 1fr) minmax(160px, 0.42fr);
  }
  .signup-panel {
    max-width: 560px;
    width: 100%;
  }
}

@media (max-width: 820px) {
  .hero, .about, .hero-main { grid-template-columns: 1fr; }
  .hero { padding: 28px 22px; }
  .cover-image { width: min(100%, 260px); transform: none; }
  .cards { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .site-header { padding-top: 16px; }
  .brand small { font-size: 0.78rem; }
  .brand-mark { width: 50px; height: 50px; border-radius: 16px; }
  .brand-mark img { width: 42px; height: 42px; }
  main { padding-inline: 14px; }
  .hero { border-radius: 26px; }
  .card, .about, .signup-panel { padding: 22px; }
}

/* Brevo form integration */
.brevo-form-wrapper {
  margin-top: 16px;
}

.brevo-form-wrapper .sib-form-container,
.brevo-form-wrapper .sib-form,
.brevo-form-wrapper #sib-container {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: left !important;
  font-family: inherit !important;
}

.brevo-form-wrapper .sib-form-block,
.brevo-form-wrapper .sib-input {
  padding: 0 !important;
  margin: 0 0 10px !important;
}

.brevo-form-wrapper .entry__field {
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

.brevo-form-wrapper input.input {
  width: 100% !important;
  min-height: 50px !important;
  padding: 13px 15px !important;
  border-radius: 12px !important;
  border: 1px solid #d9e3ec !important;
  background: #f3f7fb !important;
  color: #26364a !important;
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  outline: none !important;
}

.brevo-form-wrapper input.input::placeholder {
  color: #7c8794 !important;
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 700 !important;
  text-transform: none !important;
}

.brevo-form-wrapper input.input:focus {
  border-color: var(--navy) !important;
  box-shadow: 0 0 0 4px rgba(18, 56, 95, 0.10) !important;
}

.brevo-form-wrapper .button-block {
  margin-top: 8px !important;
}

.brevo-form-wrapper .sib-form-block__button {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 54px !important;
  padding: 15px 18px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--navy) !important;
  color: var(--white) !important;
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 900 !important;
  font-size: 1rem !important;
  text-align: center !important;
  box-shadow: 0 12px 24px rgba(18, 56, 95, 0.22) !important;
  cursor: pointer !important;
}

.brevo-form-wrapper .sib-form-block__button:hover {
  background: var(--navy-2) !important;
}

.brevo-form-wrapper .entry__error {
  display: block !important;
  margin: 6px 0 0 !important;
  padding: 8px 10px !important;
  border-radius: 8px !important;
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 0.9rem !important;
  text-align: left !important;
}

.brevo-form-wrapper .sib-form-message-panel {
  max-width: none !important;
  margin: 0 0 12px !important;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 0.95rem !important;
  text-align: left !important;
}

.input--hidden {
  display: none !important;
}

.progress-indicator__icon {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

/* Thank-you page */
.thank-you-page {
  min-height: 100vh;
}

.thanks-main {
  max-width: 980px;
  padding-top: 34px;
}

.thanks-card {
  background: radial-gradient(circle at 88% 12%, #fff0bd 0 18%, transparent 19%), linear-gradient(135deg, var(--white), var(--sky));
  border-radius: 34px;
  padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(18, 56, 95, 0.08);
}

.thanks-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 18px;
}

.thanks-card h1 {
  font-size: clamp(3rem, 7vw, 5.2rem);
  margin-bottom: 14px;
}

.thanks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 28px 0 18px;
}

.thanks-grid > div {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(18, 56, 95, 0.10);
  border-radius: 20px;
  padding: 22px;
}

.thanks-grid h2 {
  color: var(--navy-2);
  margin-bottom: 8px;
}

.home-link {
  display: inline-flex;
  margin-top: 20px;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  font-weight: 900;
}

.home-link:hover {
  background: var(--navy-2);
}

@media (max-width: 720px) {
  .thanks-grid { grid-template-columns: 1fr; }
}
