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

:root {
  --color-text: #000000;
  --color-muted: #838388;
  --color-accent: #2563eb;
  --color-accent-hover: #1d4ed8;
  --color-highlight: #ffff00;
  --color-bg: #ffffff;
  --color-trust-bg: #f5f5f5;
  --font-family: "Poppins", ui-sans-serif, system-ui, sans-serif;
  --max-width: 768px;
  --max-width-wide: 1024px;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

/* Header */
.site-header {
  width: 100%;
  padding: 0.5rem 1rem;
  background: #ffffff;
}

/* Sections */
.section {
  width: 100%;
  padding: 1rem 1rem 2rem;
}

.section--hero {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

.container {
  width: 100%;
  max-width: var(--max-width-wide);
  margin: 0 auto;
}

.container--narrow {
  max-width: var(--max-width);
}

/* Typography */
.text-center {
  text-align: center;
}

.eyebrow {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  background: var(--color-highlight);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.headline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.headline .free {
  color: #000000;
}

.headline .accent {
  color: var(--color-accent);
}

.subheadline {
  color: var(--color-muted);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.instruction-bar {
  background: #f0f0f0;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  color: var(--color-muted);
  font-size: 1rem;
  margin: 1rem auto 1.5rem;
  max-width: 640px;
}

.body-text {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.body-text strong {
  font-weight: 700;
}

.body-text--large {
  font-size: 1.25rem;
}

.highlight {
  display: inline;
  background: var(--color-highlight);
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

/* Hero image */
.hero-image {
  width: 100%;
  max-width: 400px;
  margin: 1.5rem auto;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* CTA */
.cta-block {
  text-align: center;
  margin: 2rem auto;
}

.cta-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  background: var(--color-accent);
  color: #f5f5f5;
  border: none;
  border-radius: 8px;
  padding: 1rem 2rem;
  min-width: min(100%, 400px);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease;
  text-decoration: none;
  animation: shake-expand-bold 2.5s ease-in-out infinite;
}

.cta-button:hover {
  background: var(--color-accent-hover);
  animation-play-state: paused;
}

.cta-button__main {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.cta-button__sub {
  font-size: 0.875rem;
  font-weight: 400;
  opacity: 0.95;
}

.privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 0.75rem;
  color: var(--color-muted);
  font-size: 0.875rem;
}

.privacy-note img {
  width: 1rem;
  height: 1rem;
}

/* Trust bar */
.trust-bar {
  background: var(--color-trust-bg);
  padding: 2rem 1rem;
  text-align: center;
}

.trust-bar__title {
  color: var(--color-muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.trust-bar__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.trust-bar__logos img {
  height: 28px;
  width: auto;
  opacity: 0.85;
}

/* Letter section */
.letter-section {
  padding: 3rem 1rem;
}

.bullet-list {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}

.bullet-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  line-height: 1.5;
}

.bullet-list li::before {
  content: "•";
  position: absolute;
  left: 0.5rem;
  font-weight: 700;
}

.benefits-list {
  list-style: none;
  padding: 0;
}

.benefits-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.25rem;
  font-size: 1.125rem;
  line-height: 1.5;
}

.benefits-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

/* Form */
.lead-form {
  max-width: 480px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-field input {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #000;
  background: #fff;
}

.form-field input::placeholder {
  color: #000;
  font-weight: 600;
}

.form-field input:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 0;
  border-color: var(--color-accent);
}

.phone-field {
  display: flex;
  gap: 0.5rem;
}

.phone-field__country {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  background: #fff;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.phone-field input {
  flex: 1;
}

/* Footer */
.site-footer {
  background: #1a1a1a;
  color: #9ca3af;
  padding: 2rem 1rem;
  font-size: 0.75rem;
  line-height: 1.6;
}

.site-footer .container {
  max-width: 800px;
}

.site-footer p {
  margin-bottom: 1rem;
}

.site-footer a {
  color: #d1d5db;
  text-decoration: underline;
}

/* Spacing utilities */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
.py-6 { padding-top: 3rem; padding-bottom: 3rem; }

/* Form page */
.form-page {
  background: #fafafa;
}

.form-page__main {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1rem 3rem;
}

.form-page__container {
  width: 100%;
  max-width: 640px;
  text-align: center;
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.progress-bar__fill {
  width: 80%;
  height: 100%;
  border-radius: 999px;
  background: repeating-linear-gradient(
    -45deg,
    #2563eb,
    #2563eb 8px,
    #3b82f6 8px,
    #3b82f6 16px
  );
  background-size: 32px 32px;
  animation: progress-stripes 0.8s linear infinite;
}

@keyframes progress-stripes {
  0% { background-position: 0 0; }
  100% { background-position: 32px 0; }
}

.form-page__headline {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.form-page__form-label {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.capture-form {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  text-align: left;
}

.capture-form__field {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  background: #fff;
  padding: 0 1rem;
  overflow: hidden;
}

.capture-form__icon {
  font-size: 1.125rem;
  flex-shrink: 0;
  line-height: 1;
}

.capture-form__field input {
  flex: 1;
  border: none;
  padding: 1rem 0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #000;
  background: transparent;
  min-width: 0;
}

.capture-form__field input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

.capture-form__field input:focus {
  outline: none;
}

.capture-form__field:focus-within {
  outline: 2px solid var(--color-accent);
  border-color: var(--color-accent);
}

.capture-form__field--phone {
  padding-left: 0;
}

.capture-form__phone-prefix {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0 0.75rem;
  border-right: 1px solid #e5e7eb;
  font-size: 1rem;
  flex-shrink: 0;
  height: 100%;
  align-self: stretch;
  background: #fff;
}

.capture-form__phone-arrow {
  font-size: 0.625rem;
  color: var(--color-muted);
}

.capture-form__phone-code {
  font-weight: 600;
  font-size: 0.9375rem;
  color: #000;
}

.capture-form__submit {
  display: block;
  width: 100%;
  margin-top: 0.75rem;
  padding: 1.125rem 2rem;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
  animation: shake-expand 2.5s ease-in-out infinite;
}

@keyframes shake-expand {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  5% {
    transform: scale(1.04) rotate(-1.5deg);
  }
  10% {
    transform: scale(1.06) rotate(1.5deg);
  }
  15% {
    transform: scale(1.04) rotate(-1deg);
  }
  20% {
    transform: scale(1.06) rotate(1deg);
  }
  25%, 100% {
    transform: scale(1) rotate(0deg);
  }
}

@keyframes shake-expand-bold {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  4% {
    transform: scale(1.08) rotate(-3deg);
  }
  8% {
    transform: scale(1.1) rotate(3deg);
  }
  12% {
    transform: scale(1.08) rotate(-2.5deg);
  }
  16% {
    transform: scale(1.1) rotate(2.5deg);
  }
  20% {
    transform: scale(1.07) rotate(-1.5deg);
  }
  24% {
    transform: scale(1.09) rotate(1.5deg);
  }
  28%, 100% {
    transform: scale(1) rotate(0deg);
  }
}

.capture-form__submit:hover {
  background: var(--color-accent-hover);
  animation-play-state: paused;
}

.capture-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  text-align: center;
}

.form-status--success {
  color: #15803d;
}

.form-status--error {
  color: #b91c1c;
}

.form-page .privacy-note {
  margin-top: 1.25rem;
}

@media (min-width: 768px) {
  .section {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .letter-section {
    padding: 4rem 3rem;
  }

  .form-page__main {
    padding-top: 3rem;
  }
}
