/* ============================================================
   Design Tokens
   ============================================================ */
:root {
  --background:        hsl(210, 33%, 98%);
  --foreground:        hsl(215, 25%, 20%);
  --card:              hsl(0, 0%, 100%);
  --primary:           hsl(193, 38%, 47%);
  --primary-10:        hsl(193, 38%, 47%, 0.10);
  --secondary:         hsl(35, 45%, 96%);
  --accent:            hsl(24, 78%, 56%);
  --muted:             hsl(210, 25%, 95%);
  --muted-fg:          hsl(215, 15%, 45%);
  --border:            hsl(210, 25%, 90%);
  --text-heading:      hsl(215, 30%, 18%);
  --text-body:         hsl(215, 20%, 35%);
  --hero-gradient:     linear-gradient(135deg, hsl(210, 33%, 98%) 0%, hsl(193, 30%, 95%) 100%);
  --shadow-elevated:   0 12px 40px -8px hsl(215 25% 20% / 0.12);
  --radius-card:       1.25rem;
  --radius-input:      0.75rem;
  --radius-btn:        9999px;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
}

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

a {
  color: var(--primary);
  text-decoration: underline;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--text-heading);
  line-height: 1.25;
}

/* ============================================================
   Layout Helpers
   ============================================================ */
.section-container {
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 640px) {
  .section-container { padding-inline: 1.5rem; }
}

@media (min-width: 1024px) {
  .section-container { padding-inline: 2rem; }
}

.bg-background { background-color: var(--background); }
.bg-secondary  { background-color: var(--secondary); }
.bg-form       { background-color: hsl(193, 38%, 47%, 0.05); }

/* ============================================================
   Components
   ============================================================ */

/* -- CTA Button -- */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: var(--radius-btn);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  background: linear-gradient(135deg, var(--accent), #da671b);
  color: #fff;
  box-shadow: 0 4px 20px -4px hsl(24 78% 56% / 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px -4px hsl(24 78% 56% / 0.5);
  color: #fff;
  opacity: 1;
}

.btn-full {
  width: 100%;
}

/* -- Trust Badge -- */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  background-color: hsl(193 38% 47% / 0.1);
  color: var(--primary);
}

/* -- Eyebrow Label -- */
.label-eyebrow {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* -- Section Title -- */
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* -- Card Elevated -- */
.card-elevated {
  background-color: var(--card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-elevated);
}

/* -- Form Input -- */
.form-input-styled {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  background-color: var(--background);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--foreground);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-input-styled:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsl(193 38% 47% / 0.2);
}

.form-input-styled::placeholder {
  color: var(--muted-fg);
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero-gradient {
  background: var(--hero-gradient);
}

.section-hero {
  padding-block: 5rem;
}

@media (min-width: 1024px) {
  .section-hero { padding-block: 7rem; }
}

.hero-inner {
  max-width: 52rem;
  margin-inline: auto;
  text-align: center;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 2rem;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-body);
  line-height: 1.75;
  max-width: 44rem;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-cta-note {
  font-size: 0.875rem;
  color: var(--muted-fg);
}

/* -- Slide-up animation -- */
@keyframes slide-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-slide-up {
  animation: slide-up 0.6s ease-out forwards;
}

/* ============================================================
   Content / Checklist Section
   ============================================================ */
.section-content {
  padding-block: 3rem 5rem;
}

@media (min-width: 1024px) {
  .section-content { padding-block: 4rem 7rem; }
}

.content-inner {
  max-width: 44rem;
  margin-inline: auto;
}

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.check-icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background-color: hsl(193 38% 47% / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.125rem;
  color: var(--accent);
}

.checklist-title {
  display: block;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--text-heading);
  margin-bottom: 0.25rem;
}

.checklist-desc {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.65;
}

.content-cta {
  text-align: center;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.content-cta-title {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 600;
}

/* ============================================================
   Extra / Testimonial Section
   ============================================================ */
.section-extra {
  padding-block: 5rem;
}

@media (min-width: 1024px) {
  .section-extra { padding-block: 7rem; }
}

.extra-inner {
  max-width: 44rem;
  margin-inline: auto;
}

.extra-header {
  text-align: center;
  margin-bottom: 3rem;
}

.extra-intro {
  font-size: 1.0625rem;
  color: var(--text-body);
  line-height: 1.75;
}

.quote-card {
  padding: 2rem;
}

@media (min-width: 1024px) {
  .quote-card { padding: 2.5rem; }
}

.quote-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .quote-card-inner {
    flex-direction: row;
    align-items: flex-start;
  }
}

.quote-avatar {
  flex-shrink: 0;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  overflow: hidden;
}

.quote-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.quote-text {
  font-size: 1.0625rem;
  color: var(--text-body);
  font-style: italic;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.quote-attribution {
  font-weight: 500;
  color: var(--primary);
}

.extra-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ============================================================
   Author Section
   ============================================================ */
.section-author {
  padding-block: 5rem;
}

@media (min-width: 1024px) {
  .section-author { padding-block: 7rem; }
}

.author-header {
  text-align: center;
  margin-bottom: 3rem;
}

.author-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--primary);
  margin-top: 0.5rem;
}

.author-card {
  overflow: hidden;
}

.author-card-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .author-card-grid {
    grid-template-columns: 2fr 3fr;
  }
}

.author-photo-wrap {
  position: relative;
  min-height: 400px;
}

@media (min-width: 1024px) {
  .author-photo-wrap { min-height: 500px; }
}

.author-photo-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.author-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(193 38% 47% / 0.3), transparent);
}

@media (min-width: 1024px) {
  .author-photo-overlay {
    background: linear-gradient(to right, transparent, transparent);
  }
}

.author-details {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 1024px) {
  .author-details { padding: 3rem; }
}

.author-bio {
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.credential-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-body);
}

.credential-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: hsl(193 38% 47% / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

/* ============================================================
   Form Section
   ============================================================ */
.section-form {
  padding-block: 5rem;
}

@media (min-width: 1024px) {
  .section-form { padding-block: 7rem; }
}

.form-outer {
  max-width: 36rem;
  margin-inline: auto;
}

.form-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.form-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 1rem;
}

.form-intro {
  color: var(--text-body);
  font-size: 1.0625rem;
}

.form-card {
  padding: 2rem;
}

@media (min-width: 1024px) {
  .form-card { padding: 2.5rem; }
}

.form-card form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}

.consent-box {
  background-color: hsl(210 25% 95% / 0.5);
  border-radius: var(--radius-input);
  padding: 1.25rem;
  margin-top: 0.5rem;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.consent-checkbox {
  flex-shrink: 0;
  margin-top: 0.125rem;
  width: 1.125rem;
  height: 1.125rem;
  accent-color: var(--primary);
  cursor: pointer;
}

.consent-text {
  font-size: 0.8125rem;
  color: var(--text-body);
  line-height: 1.65;
}

.consent-text a {
  color: var(--primary);
}

.form-note {
  font-size: 0.75rem;
  color: var(--muted-fg);
  text-align: center;
}

/* -- Success State -- */
.form-success {
  text-align: center;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.form-success svg {
  color: var(--primary);
}

.form-success h3 {
  font-size: 1.5rem;
}

.form-success p {
  color: var(--text-body);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background-color: var(--card);
  border-top: 1px solid var(--border);
  padding-block: 3rem;
}

.footer-disclaimer {
  background-color: hsl(210 25% 95% / 0.5);
  border-radius: var(--radius-input);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.footer-disclaimer p {
  font-size: 0.875rem;
  color: var(--muted-fg);
  text-align: center;
  line-height: 1.65;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
}

.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-heading);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--muted-fg);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
  opacity: 1;
}

.footer-copy {
  font-size: 0.875rem;
  color: var(--muted-fg);
}
