/* ======================================
   VERATIAM — Conversion Landing Page
   Premium, focused, no distractions.
====================================== */

:root {
  --ink: #0f1f4a;
  --ink-soft: #3c4560;
  --ink-faint: #7a82a0;
  --paper: #ffffff;
  --paper-alt: #f5f6f8;
  --line: #e1e3ea;

  --green: #00a86b;
  --green-strong: #00875a;
  --green-bright: #14c08a;
  --green-soft: #e8fbf3;

  --teal: #0fbfa6;
  --teal-strong: #0b9a85;
  --teal-soft: #e6fbf8;

  --white: #ffffff;
  --radius: 8px;
  --radius-lg: 20px;
  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 36px 74px -30px rgba(15, 31, 74, 0.22), 0 6px 16px rgba(15, 31, 74, 0.06);
  --shadow-card-hover: 0 42px 84px -28px rgba(15, 31, 74, 0.26), 0 8px 18px rgba(15, 31, 74, 0.07);
  --shadow-illustration: 0 24px 50px -28px rgba(15, 31, 74, 0.22);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-form-wrap {
    animation: fadeInUp 0.6s var(--ease) both;
  }

  .hero-form-wrap { animation-delay: 0.08s; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

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

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

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

/* ---------- Header ---------- */

.site-header {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}

/* ---------- Hero ---------- */

.hero {
  padding: 56px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-areas: "copy form";
  column-gap: 64px;
  align-items: start;
}

.hero-copy {
  grid-area: copy;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-form-wrap {
  grid-area: form;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.hero-form-wrap .lead-form {
  width: 100%;
}

.badge {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  background: var(--ink);
  padding: 7px 15px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero-intro h1 {
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1.16;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 20px;
}

.headline-soft {
  display: block;
  color: var(--green-strong);
  font-size: 0.82em;
  font-weight: 500;
  margin-top: 4px;
}

.subhead {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 26px;
}

/* free / independent / no-obligation strip */

.reassurance-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 18px;
  background: var(--white);
  border: 1.5px solid var(--green);
  border-radius: 12px;
  max-width: 480px;
}

.reassurance-strip li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

/* ---------- Benefits list + trust + illustration ---------- */

.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: transform 0.15s var(--ease);
}

.benefits-list li:hover {
  transform: translateX(3px);
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
}

.check svg {
  display: block;
}

.trust-line {
  font-size: 14px;
  color: var(--ink-faint);
  font-style: italic;
}

.hero-illustration {
  width: 100%;
  max-width: 425px;
  margin-top: 14px;
}

.hero-illustration img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 38px rgba(15, 31, 74, 0.2));
}

@media (prefers-reduced-motion: no-preference) {
  .hero-illustration img {
    animation: heroFloat 5.5s ease-in-out 0.85s infinite;
  }
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-strong) 100%);
  color: var(--white);
  box-shadow: 0 10px 24px -8px rgba(14, 159, 110, 0.5);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--green-strong) 0%, var(--green) 100%);
  box-shadow: 0 16px 34px -10px rgba(14, 159, 110, 0.58);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px -6px rgba(14, 159, 110, 0.45);
}

.btn-block {
  width: 100%;
  padding: 16px 30px;
  font-size: 16px;
  margin-top: 6px;
}

/* ---------- Lead form card ---------- */

.card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 40px;
  transition: box-shadow 0.3s var(--ease);
}

.card:hover {
  box-shadow: var(--shadow-card-hover);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--green));
}

.completion-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--white);
  background: var(--teal-strong);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.completion-time strong {
  font-weight: 700;
}

.form-header {
  margin-bottom: 24px;
}

.form-header h2 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-header p {
  font-size: 13.5px;
  color: var(--ink-faint);
}

.field {
  margin-bottom: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}

.req {
  color: var(--ink-faint);
  font-weight: 400;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--ink);
  background: var(--paper-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

textarea {
  resize: vertical;
  min-height: 64px;
}

input::placeholder,
textarea::placeholder {
  color: var(--ink-faint);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--teal-soft);
}

select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%238b8d95' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--ink-soft);
  margin-bottom: 6px;
  cursor: pointer;
}

.checkbox-field input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--green);
  flex-shrink: 0;
}

.form-trust {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-faint);
  text-align: center;
}

.form-note {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green-strong);
  text-align: center;
  min-height: 20px;
}

.form-note.form-note-error {
  color: #c0392b;
}

/* honeypot spam field: hidden from users, still present for bots */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ---------- How it works ---------- */

.how-it-works {
  padding: 64px 0 80px;
  border-top: 1px solid var(--line);
}

.how-it-works-inner {
  max-width: 480px;
  text-align: center;
}

.how-it-works h2 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 36px;
}

.steps {
  list-style: none;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-strong) 100%);
  color: var(--white);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 6px 14px -6px rgba(14, 159, 110, 0.5);
}

.step p {
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 320px;
  line-height: 1.55;
}

.step-connector {
  display: flex;
  justify-content: center;
  color: var(--ink-faint);
  padding: 8px 0;
}

.step-connector svg {
  display: block;
}

/* ---------- Newsletter (secondary CTA) ---------- */

.newsletter {
  padding: 36px 0;
  background: var(--paper-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.newsletter-inner {
  max-width: 820px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.newsletter-text h2 {
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.newsletter-text p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-faint);
  max-width: 420px;
}

.newsletter-form {
  position: relative;
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.newsletter-form input[type="email"] {
  width: 210px;
  padding: 10px 12px;
  font-size: 13px;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 9px 20px;
  font-size: 13px;
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline:active {
  transform: translateY(0);
}

.newsletter-note {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--teal-strong);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 13.5px;
  color: var(--ink-faint);
}

.footer-brand {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink-soft);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  transition: color 0.15s var(--ease);
}

.footer-links a:hover {
  color: var(--ink);
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "form";
    row-gap: 32px;
  }

  .subhead {
    max-width: 100%;
  }

  .hero-illustration {
    max-width: 355px;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 20px;
  }

  .hero {
    padding: 36px 0 56px;
  }

  .hero-intro h1 {
    font-size: 30px;
  }

  .subhead {
    font-size: 15.5px;
  }

  .card {
    padding: 26px;
  }

  .hero-illustration {
    max-width: 270px;
    margin-top: 8px;
  }

  .hero-form-wrap {
    gap: 22px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .newsletter-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .newsletter-text p {
    max-width: 100%;
  }

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

  .newsletter-form input[type="email"] {
    width: 100%;
  }

  .newsletter-note {
    position: static;
    margin-top: 8px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
