/* =========================================
   SCUDO — Brand Stylesheet
   Warm Italian craft, approachable expert
   ========================================= */

:root {
  --sage: #4A7C59;
  --sage-dark: #3D6A4A;
  --sage-light: rgba(74, 124, 89, 0.12);
  --terracotta: #C4673A;
  --terracotta-light: rgba(196, 103, 58, 0.12);
  --red-alert: #B03A1A;
  --amber: #C4673A;
  --cream: #F7F3EE;
  --cream-dark: #EDE6DB;
  --ink: #1C1C1C;
  --ink-mid: #4A4A4A;
  --ink-light: #8A8A8A;
  --white: #FFFFFF;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --max-w: 1100px;
  --pad-x: clamp(20px, 5vw, 64px);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- TYPOGRAPHY HELPERS ---- */
.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  background: var(--sage);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}
.btn-primary:hover { background: var(--sage-dark); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--ink-mid);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 24px;
  border-radius: 8px;
  border: 1.5px solid var(--cream-dark);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.btn-ghost:hover { border-color: var(--sage); color: var(--sage); }

.btn-large { font-size: 16px; padding: 16px 36px; }

.btn-price-primary {
  display: block;
  text-align: center;
  background: var(--sage);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 20px;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.btn-price-primary:hover { background: var(--sage-dark); }

.btn-price-outline {
  display: block;
  text-align: center;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 13px 20px;
  border-radius: 8px;
  border: 1.5px solid var(--cream-dark);
  transition: border-color 0.2s ease;
}
.btn-price-outline:hover { border-color: var(--sage); color: var(--sage); }

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 238, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cream-dark);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.site-nav {
  display: flex;
  gap: 32px;
}
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-mid);
  transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--sage); }

/* ---- HERO ---- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px var(--pad-x) 0;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--cream-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--cream-dark) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-bottom: 80px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 24px;
}
.eyebrow-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--terracotta);
  border-radius: 2px;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.hero-headline em {
  font-style: italic;
  color: var(--sage);
}
.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 300;
  color: var(--ink-mid);
  margin-bottom: 28px;
}
.hero-body {
  font-size: 17px;
  color: var(--ink-mid);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 440px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* HERO VISUAL */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.shield-wrap {
  position: relative;
  width: 320px;
  height: 360px;
}
.shield-main {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(74,124,89,0.25));
}
.badge {
  position: absolute;
  background: var(--white);
  border-radius: 10px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  white-space: nowrap;
}
.badge-post { top: 20px; right: -20px; }
.badge-tls { bottom: 100px; left: -24px; }
.badge-cred { bottom: 48px; right: -16px; }

/* HERO BOTTOM BAR */
.hero-bottom-bar {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px var(--pad-x);
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-light);
  border-top: 1px solid var(--cream-dark);
  flex-wrap: wrap;
}
.dot-sep {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cream-dark);
}

/* ---- SCORE BREAKDOWN ---- */
.score-breakdown {
  background: var(--white);
  padding: 80px var(--pad-x);
  border-top: 1px solid var(--cream-dark);
  border-bottom: 1px solid var(--cream-dark);
}
.score-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.score-header {
  margin-bottom: 48px;
}
.score-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.score-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.score-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid var(--cream-dark);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-icon { display: flex; }
.card-score {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}
.score-green { color: var(--sage); }
.score-amber { color: var(--amber); }
.score-red { color: var(--red-alert); }
.card-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.card-desc {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.5;
}
.card-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  margin-top: auto;
}
.card-green .card-status { color: var(--sage); }
.card-amber .card-status { color: var(--amber); }
.card-red .card-status { color: var(--red-alert); }

.score-note {
  margin-top: 24px;
  font-size: 12px;
  color: var(--ink-light);
  text-align: center;
}

/* ---- FEATURES ---- */
.features {
  padding: 80px var(--pad-x);
  background: var(--cream);
}
.features-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.features h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 16px;
}
.features-intro {
  font-size: 17px;
  color: var(--ink-mid);
  max-width: 560px;
  margin-bottom: 56px;
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.feature-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: start;
}
.feature-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--sage-light);
  line-height: 1;
  padding-top: 4px;
}
.feature-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.feature-body p {
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.65;
  margin-bottom: 14px;
}
.feature-risk {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-light);
}

.aside-box {
  background: var(--sage-light);
  border: 1px solid rgba(74, 124, 89, 0.2);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.aside-box p {
  font-size: 14px;
  color: var(--sage-dark);
  line-height: 1.6;
}

/* ---- HOW IT WORKS ---- */
.how-it-works {
  background: var(--white);
  padding: 80px var(--pad-x);
  border-top: 1px solid var(--cream-dark);
}
.how-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.how-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 56px;
}
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: center;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-content h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.step-content p {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.55;
}
.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
}

/* ---- PRICING ---- */
.pricing {
  padding: 80px var(--pad-x);
  background: var(--cream);
  border-top: 1px solid var(--cream-dark);
}
.pricing-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.pricing h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 48px;
}
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.price-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 24px;
  border: 1.5px solid var(--cream-dark);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.price-card-featured {
  border-color: var(--sage);
  box-shadow: 0 8px 32px rgba(74,124,89,0.12);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sage);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.price-tier {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.price-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.price-period {
  font-size: 15px;
  color: var(--ink-light);
}
.price-desc {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.55;
}
.price-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
}
.price-feature-muted {
  color: var(--ink-light) !important;
}

.pricing-note {
  font-size: 13px;
  color: var(--ink-light);
  text-align: center;
}

/* ---- CLOSING ---- */
.closing {
  background: var(--ink);
  padding: 100px var(--pad-x);
}
.closing-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.closing-quote blockquote p {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 400;
  font-style: italic;
  color: rgba(247, 243, 238, 0.8);
  line-height: 1.5;
}
.closing-quote blockquote p strong {
  color: var(--cream);
  font-style: normal;
}
.closing-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.closing-cta p {
  font-size: 16px;
  color: rgba(247, 243, 238, 0.65);
  line-height: 1.7;
  margin-bottom: 32px;
}
.btn-large {
  display: inline-block;
  background: var(--sage);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: 10px;
  transition: background 0.2s ease;
}
.btn-large:hover { background: var(--sage-dark); }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px var(--pad-x);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--cream);
}
.footer-desc {
  font-size: 14px;
  color: rgba(247, 243, 238, 0.45);
  max-width: 400px;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 13px;
  color: rgba(247, 243, 238, 0.5);
  transition: color 0.15s ease;
}
.footer-links a:hover { color: var(--cream); }
.footer-copy {
  font-size: 12px;
  color: rgba(247, 243, 238, 0.3);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .site-nav { display: none; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual { order: -1; }
  .shield-wrap { width: 220px; height: 260px; }
  .badge-post { top: 10px; right: -10px; }
  .badge-tls { bottom: 60px; left: -14px; }
  .badge-cred { bottom: 24px; right: -8px; }

  .score-cards {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .step-arrow { display: none; }
  .pricing-cards {
    grid-template-columns: 1fr;
  }
  .closing-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 480px) {
  .hero { padding-top: 48px; }
  .hero-actions { flex-direction: column; }
  .hero-bottom-bar { gap: 12px; }
}
