:root {
  --scq-blue: #1657a8;
  --scq-blue-dark: #113f7c;
  --scq-green: #148653;
  --scq-ink: #172033;
  --scq-muted: #5b6678;
  --scq-line: #dbe3ee;
  --scq-bg: #f6f8fb;
  --scq-white: #ffffff;
  --scq-radius: 8px;
  --scq-shadow: 0 16px 40px rgba(23, 32, 51, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--scq-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--scq-white);
}

a {
  color: var(--scq-blue);
  text-decoration-thickness: 1px;
}

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

h1,
h2,
h3 {
  line-height: 1.18;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(34px, 5vw, 58px);
}

h2 {
  font-size: 28px;
}

p {
  margin: 0 0 16px;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 32px));
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--scq-ink);
  color: var(--scq-white);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--scq-line);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.site-title {
  color: var(--scq-ink);
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  color: var(--scq-ink);
  font-weight: 700;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--scq-line);
  border-radius: var(--scq-radius);
  background: var(--scq-white);
  padding: 9px 12px;
  font-weight: 700;
}

.button,
button,
input[type='submit'] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--scq-radius);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button-primary,
input[type='submit'] {
  background: var(--scq-green);
  color: var(--scq-white);
}

.button-secondary {
  background: var(--scq-blue);
  color: var(--scq-white);
}

.button-ghost {
  border-color: var(--scq-line);
  color: var(--scq-ink);
  background: var(--scq-white);
}

.scq-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.scq-cta-header .button-secondary,
.scq-cta-header .button-ghost {
  display: none;
}

.hero {
  padding: 64px 0;
  background: linear-gradient(180deg, #eef5ff 0%, #ffffff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: 42px;
  align-items: center;
}

.eyebrow {
  color: var(--scq-green);
  font-weight: 900;
  text-transform: uppercase;
}

.hero-text,
.lead {
  color: var(--scq-muted);
  font-size: 19px;
}

.hero-badges,
.scq-trust-list,
.check-list {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.hero-badges li,
.scq-trust-list li,
.check-list li {
  position: relative;
  padding-left: 28px;
}

.hero-badges li::before,
.scq-trust-list li::before,
.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--scq-green);
  content: "+";
  font-weight: 900;
}

.hero-panel,
.conversion-panel,
.sidebar-box,
.post-card,
.toc,
.trust-box,
.scq-form-placeholder {
  border: 1px solid var(--scq-line);
  border-radius: var(--scq-radius);
  background: var(--scq-white);
  box-shadow: var(--scq-shadow);
}

.hero-panel,
.conversion-panel,
.sidebar-box,
.toc,
.trust-box,
.scq-form-placeholder {
  padding: 24px;
}

.section {
  padding: 56px 0;
}

.section-muted {
  background: var(--scq-bg);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-grid article {
  padding-top: 18px;
  border-top: 4px solid var(--scq-blue);
}

.two-columns,
.content-layout,
.footer-grid {
  display: grid;
  gap: 32px;
}

.two-columns {
  grid-template-columns: 1fr 1fr;
}

.content-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
}

.content-main {
  min-width: 0;
}

.content-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 20px;
}

.entry-header {
  margin-bottom: 28px;
}

.entry-meta {
  display: flex;
  gap: 14px;
  color: var(--scq-muted);
}

.entry-content > * {
  margin-bottom: 20px;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 36px;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
}

.entry-content th,
.entry-content td {
  padding: 12px;
  border: 1px solid var(--scq-line);
  text-align: left;
}

.toc {
  margin-bottom: 28px;
}

.toc ol {
  margin: 12px 0 0;
}

.post-list {
  display: grid;
  gap: 18px;
}

.post-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  overflow: hidden;
}

.post-card-thumb img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
}

.post-card-body {
  padding: 22px;
}

.read-more {
  font-weight: 800;
}

.scq-banner {
  width: min(1120px, calc(100% - 32px));
  margin: 22px auto;
  padding: 16px;
  border: 1px solid var(--scq-line);
  border-radius: var(--scq-radius);
  background: var(--scq-bg);
}

.scq-banner-sidebar {
  width: auto;
  margin: 0;
}

.scq-breadcrumb {
  width: min(1120px, calc(100% - 32px));
  margin: 18px auto 0;
  color: var(--scq-muted);
  font-size: 14px;
}

.scq-breadcrumb span,
.scq-breadcrumb a {
  margin-right: 8px;
}

.scq-faq {
  display: grid;
  gap: 12px;
}

.scq-faq details {
  border: 1px solid var(--scq-line);
  border-radius: var(--scq-radius);
  padding: 16px;
  background: var(--scq-white);
}

.scq-faq summary {
  font-weight: 800;
  cursor: pointer;
}

.scq-form-placeholder {
  display: grid;
  gap: 6px;
  color: var(--scq-muted);
}

.site-footer {
  padding: 40px 0 96px;
  color: var(--scq-white);
  background: var(--scq-ink);
}

.footer-grid {
  grid-template-columns: 1fr 1fr;
}

.site-footer a {
  color: var(--scq-white);
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scq-sticky-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  display: none;
  padding: 10px 14px;
  background: var(--scq-white);
  border-top: 1px solid var(--scq-line);
  box-shadow: 0 -12px 30px rgba(23, 32, 51, 0.12);
}

.scq-sticky-cta .scq-cta {
  justify-content: center;
}

.scq-sticky-cta .button {
  flex: 1 1 auto;
}

.scq-urgency {
  background: #083f2a;
  color: #ffffff;
  font-weight: 800;
}

.scq-urgency .container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
}

.scq-urgency span {
  color: #b7f7d4;
}

.scq-builder-hero {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--scq-builder-primary, #006d3b), #1aad64);
  color: #ffffff;
}

.scq-builder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: 42px;
  align-items: center;
}

.scq-builder-copy h1,
.scq-builder-copy .hero-text {
  color: #ffffff;
}

.scq-builder-copy .eyebrow,
.scq-builder-copy .hero-badges li::before {
  color: #b7f7d4;
}

.scq-landing-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.scq-landing-stats div,
.scq-mini-review,
.scq-seo-block,
.scq-rate-example,
.scq-comparison,
.scq-lead-magnet,
.scq-context-cta,
.scq-compliance-box {
  border: 1px solid var(--scq-line);
  border-radius: var(--scq-radius);
  background: var(--scq-white);
}

.scq-landing-stats div {
  padding: 16px;
  color: var(--scq-ink);
}

.scq-landing-stats strong {
  display: block;
  color: var(--scq-green);
  font-size: 28px;
  line-height: 1;
}

.scq-landing-stats span {
  color: var(--scq-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.scq-landing-reviews {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.scq-mini-review {
  display: flex;
  gap: 12px;
  padding: 14px;
  color: var(--scq-ink);
}

.scq-mini-review > span {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 999px;
  background: var(--scq-green);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.scq-mini-review small {
  margin-left: 8px;
  color: var(--scq-green);
  font-weight: 900;
}

.scq-mini-review p {
  margin: 4px 0 0;
  color: var(--scq-muted);
  font-size: 14px;
}

.scq-seo-block,
.scq-rate-example,
.scq-comparison,
.scq-lead-magnet,
.scq-context-cta,
.scq-compliance-box,
.scq-related {
  margin: 28px 0;
  padding: 24px;
}

.scq-seo-block ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scq-seo-block li {
  position: relative;
  padding-left: 26px;
}

.scq-seo-block li::before {
  position: absolute;
  left: 0;
  color: var(--scq-green);
  content: "+";
  font-weight: 900;
}

.scq-rate-grid,
.scq-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.scq-rate-grid div,
.scq-related article {
  padding: 16px;
  border: 1px solid var(--scq-line);
  border-radius: var(--scq-radius);
  background: var(--scq-bg);
}

.scq-rate-grid span {
  display: block;
  color: var(--scq-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.scq-rate-grid strong {
  color: var(--scq-ink);
  font-size: 22px;
}

.scq-table-wrap {
  overflow-x: auto;
}

.scq-comparison table {
  width: 100%;
  border-collapse: collapse;
}

.scq-comparison th,
.scq-comparison td {
  padding: 12px;
  border: 1px solid var(--scq-line);
  text-align: left;
}

.scq-comparison th {
  background: var(--scq-bg);
}

.scq-lead-magnet {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  background: #eefaf4;
}

.scq-context-cta {
  background: var(--scq-bg);
}

.scq-related h3 {
  font-size: 18px;
}

.scq-thankyou .conversion-panel {
  margin-bottom: 28px;
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    display: none;
    width: 100%;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    display: grid;
    gap: 10px;
    padding: 0 0 16px;
  }

  .scq-cta-header {
    display: none;
  }

  .hero-grid,
  .feature-grid,
  .two-columns,
  .content-layout,
  .footer-grid,
  .post-card,
  .scq-builder-grid,
  .scq-rate-grid,
  .scq-related-grid {
    grid-template-columns: 1fr;
  }

  .content-sidebar {
    position: static;
  }

  .scq-sticky-cta {
    display: block;
  }

  .scq-lead-magnet {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .container,
  .narrow,
  .scq-banner,
  .scq-breadcrumb {
    width: min(100% - 24px, 1120px);
  }

  .hero,
  .section {
    padding: 38px 0;
  }

  .hero-panel,
  .conversion-panel,
  .sidebar-box,
  .toc,
  .trust-box {
    padding: 18px;
  }
}

.scq-sos-landing {
  --sos-primary: #006d3b;
  --sos-primary-light: #1aad64;
  --sos-mint: #6ee7b7;
  --sos-slate: #0f172a;
  --sos-muted: #64748b;
  --sos-line: #e2e8f0;
  --sos-soft: #f8fafc;
  min-height: 100vh;
  background: var(--sos-soft);
  color: var(--sos-slate);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

.scq-sos-landing h1,
.scq-sos-landing h2,
.scq-sos-landing h3 {
  font-family: "Plus Jakarta Sans", Inter, Arial, Helvetica, sans-serif;
}

.sos-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.sos-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid #dff7ea;
  backdrop-filter: blur(14px);
}

.sos-nav-inner {
  display: flex;
  align-items: center;
  min-height: 72px;
}

.sos-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #065f46;
  font-size: 24px;
  font-weight: 900;
  text-decoration: none;
}

.sos-brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--sos-primary-light);
  font-size: 17px;
}

.sos-hero {
  display: flex;
  min-height: 90vh;
  align-items: center;
  padding: 48px 0;
  background:
    radial-gradient(circle at top left, rgba(110, 231, 183, 0.32), transparent 34%),
    linear-gradient(135deg, #006d3b 0%, #1aad64 100%);
}

.sos-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 520px);
  gap: 64px;
  align-items: start;
}

.sos-copy {
  display: grid;
  gap: 30px;
  color: #ffffff;
}

.sos-kicker {
  display: inline-flex;
  width: max-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #d1fae5;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.sos-copy h1 {
  max-width: 640px;
  margin: 0 0 20px;
  color: #ffffff;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.02;
}

.sos-copy h1 span {
  display: block;
  color: var(--sos-mint);
}

.sos-subtitle {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.65;
}

.sos-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 520px;
}

.sos-stat,
.sos-reviews {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.sos-stat {
  padding: 18px;
  border-radius: 24px;
  text-align: center;
}

.sos-stat strong {
  display: block;
  color: var(--sos-mint);
  font-size: 34px;
  line-height: 1;
}

.sos-stat span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.sos-trust {
  display: grid;
  gap: 18px;
}

.sos-trust-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sos-trust-row p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 800;
}

.sos-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--sos-mint);
  font-size: 11px;
  font-weight: 900;
}

.sos-reviews {
  display: grid;
  max-width: 560px;
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
}

.sos-review {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.sos-avatar {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.sos-avatar-green {
  background: #34d399;
}

.sos-avatar-blue {
  background: #60a5fa;
}

.sos-review-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.sos-review-head strong,
.sos-review-head span,
.sos-review p {
  font-size: 12px;
}

.sos-review-head span {
  color: #facc15;
}

.sos-review p {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.8);
}

.sos-form-card {
  position: relative;
  overflow: hidden;
  padding: 42px;
  border-radius: 40px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.26);
}

.sos-progress {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 6px;
  background: #f1f5f9;
}

.sos-progress span {
  display: block;
  width: 25%;
  height: 100%;
  background: #10b981;
}

.sos-form-copy {
  margin-bottom: 24px;
}

.sos-form-copy h2 {
  margin-bottom: 8px;
  color: #1e293b;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.12;
}

.sos-form-copy p {
  color: var(--sos-muted);
}

.scq-lead-form-sos-prestiti form,
.scq-lead-form-sos-prestiti .sl-form-instance,
.scq-lead-form-sos-prestiti .wpcf7-form {
  display: grid;
  gap: 16px;
}

.scq-lead-form-sos-prestiti input:not([type='checkbox']):not([type='radio']):not([type='range']),
.scq-lead-form-sos-prestiti select,
.scq-lead-form-sos-prestiti textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--sos-line);
  border-radius: 14px;
  background: #f8fafc;
  color: var(--sos-slate);
  font: inherit;
}

.scq-lead-form-sos-prestiti input:focus,
.scq-lead-form-sos-prestiti select:focus,
.scq-lead-form-sos-prestiti textarea:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.14);
  outline: 0;
}

.scq-lead-form-sos-prestiti button,
.scq-lead-form-sos-prestiti input[type='submit'],
.scq-lead-form-sos-prestiti .button {
  width: 100%;
  min-height: 56px;
  border-radius: 18px;
  background: #059669;
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(16, 185, 129, 0.18);
  font-weight: 900;
  text-transform: uppercase;
}

.scq-lead-form-sos-prestiti input[type='range'] {
  accent-color: #059669;
}

.sos-footer {
  padding: 44px 0;
  border-top: 1px solid #f1f5f9;
  background: #ffffff;
  color: #94a3b8;
  text-align: center;
}

.sos-footer-badges,
.sos-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.sos-footer-badges {
  margin-bottom: 14px;
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 800;
}

.sos-footer p,
.sos-footer a {
  color: #94a3b8;
  font-size: 12px;
}

.sos-footer a {
  font-weight: 800;
  text-decoration: none;
}

.sos-footer a:hover {
  color: #059669;
}

@media (max-width: 960px) {
  .sos-hero {
    min-height: auto;
  }

  .sos-hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .sos-form-card {
    order: 2;
  }
}

@media (max-width: 620px) {
  .sos-shell {
    width: min(100% - 28px, 1180px);
  }

  .sos-nav-inner {
    min-height: 64px;
  }

  .sos-brand {
    font-size: 21px;
  }

  .sos-hero {
    padding: 32px 0;
  }

  .sos-copy h1 {
    font-size: 42px;
  }

  .sos-subtitle {
    font-size: 18px;
  }

  .sos-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .sos-stat {
    padding: 15px 10px;
    border-radius: 20px;
  }

  .sos-stat strong {
    font-size: 28px;
  }

  .sos-form-card {
    padding: 34px 22px 24px;
    border-radius: 30px;
  }
}
