/* ---------- Color Palette ---------- */
:root {
  /* Gradient palette */
  --g-0: #ffffff;
  --g-50: #eaffff;
  --g-100: #cbfeff;
  --g-200: #9efaff;
  --g-300: #5bf3ff;
  --g-400: #00e1ff;
  --g-500: #00c5e5;
  --g-600: #009dc0;
  --g-700: #037c9b;
  --g-800: #0d647d;
  --g-900: #105269;
  --g-950: #033649;

  /* Status colors */
  --color-primary: #b71919;
  --color-secondary: #1f9218;
  --color-danger: #de3b40;
  --color-warning: #efb034;
  --color-success: #1dd75b;
  --color-info: #379ae6;

  /* Text */
  --text-main: #171a1f;
  --text-muted: #6f7787;
}

/* ---------- Global ---------- */
body {
  background-color: var(--g-0);
  color: var(--text-main);
  font-size: 16px;
}

h1 { font-size: 32px; font-weight: bold; }
h2 { font-size: 28px; font-weight: bold; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }

/* ---------- Top Bar ---------- */
.topbar {
  background: var(--g-950);
  color: var(--g-50);
  border-bottom: 1px solid #e4e7ea;
  padding: 0.5em 1.5em;
}

.topbar-icon {
  color: var(--g-50);
  font-size: 2em;
}

.language-selector-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(234, 255, 255, 0.25);
  border-radius: 12px;
  background: rgba(234, 255, 255, 0.07);
  color: var(--g-50);
  font-size: 0.875rem;
  font-weight: 500;
}

.language-selector-toggle:hover,
.language-selector-toggle[aria-expanded="true"] {
  background: rgba(234, 255, 255, 0.15);
  border-color: rgba(234, 255, 255, 0.5);
}

.language-selector-toggle:focus-visible {
  outline: 2px solid var(--g-300);
  outline-offset: 3px;
}

.language-selector-menu {
  min-width: 230px;
  padding: 0.4rem;
  margin-top: 0.5rem !important;
  border: 1px solid #e4e7ea;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(3, 54, 73, 0.18);
}

.language-selector-menu .dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  padding: 0.6rem 0.75rem;
  border-radius: 9px;
  color: var(--g-950);
  font-size: 0.875rem;
}

.language-selector-menu .dropdown-item:hover,
.language-selector-menu .dropdown-item:focus {
  background: var(--g-50);
}

.language-selector-menu .dropdown-item.active {
  background: var(--g-100);
  color: var(--g-950);
  font-weight: 600;
}

/* ---------- Page Header ---------- */
.page-header {
  background: var(--g-950);
  color: var(--g-0);
  padding: 0.5em;
  border-radius: 0.5em;
  display: flex;
  align-items: center;
}

.page-header-icon {
  font-size: 2.5em;
  margin-right: 0.5em;
}

/* ---------- Cards ---------- */
.card-main {
  background: var(--g-0);
  padding: 1.5em;
  border-radius: 10px;
  border: 1px solid #dee1e6;
}

.card-main-title {
  color: #323743;
  margin-bottom: 0.5em;
}

.card-main-text {
  color: var(--text-muted);
}

/* ---------- Buttons ---------- */
.btn-main {
  background-color: var(--g-950);
  color: var(--g-0);
  border-radius: 5px;
}

.btn-main:hover {
  background-color: var(--g-100);
  color: var(--g-950);
}

.btn-info {
  background-color: var(--color-info);
  color: #fff;
  border: 2px solid var(--color-info);
}

.btn-warning {
  background-color: var(--color-warning);
  color: #fff;
}

.btn-danger {
  background-color: var(--color-danger);
  color: #fff;
}

/* ---------- Rounded Buttons ---------- */
.btn-round {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.btn-round.main { background: #bf171a; }
.btn-round.info { background: var(--color-info); }
.btn-round.ok { background: #2e7d32; }
.btn-round.warning { background: var(--color-warning); }
.btn-round.danger { background: var(--color-danger); }

/* ---------- Inputs ---------- */
.input-field {
  background: #eeeeee;
}

.input-error label {
  color: var(--color-danger);
  font-weight: bold;
}

.input-error input,
.input-error select {
  border: 2px solid var(--color-danger);
}

/* ---------- Tables ---------- */
.table-list {
  border-bottom: 1px solid #e4e7ea;
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
}

.table-row {
  border-top: 1px solid #7b7b7b;
  border-bottom: 1px solid #7b7b7b;
}

/* ---------- Footer ---------- */
.footer {
  background-color: var(--g-950);
  color: var(--g-0);
  padding: 0.3em;
}

/* ---------- Utility ---------- */
.text-muted {
  color: var(--text-muted) !important;
}

/* ---------- Blog ---------- */
.blog-page {
  margin: -1.5rem calc(var(--bs-gutter-x) * -0.5) 0;
}

.blog-shell {
  width: min(100% - 2rem, 1060px);
  margin-inline: auto;
}

.blog-hero,
.blog-article-header {
  padding: clamp(3rem, 7vw, 6rem) 0;
  background: linear-gradient(145deg, var(--g-950), var(--g-800));
  color: var(--g-0);
}

.blog-hero h1,
.blog-article-header h1 {
  max-width: 850px;
  margin: 0.65rem 0 1rem;
  font-size: clamp(2.15rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.blog-hero p,
.blog-article-excerpt {
  max-width: 720px;
  margin: 0;
  color: var(--g-100);
  font-size: 1.15rem;
  line-height: 1.7;
}

.blog-kicker {
  color: var(--g-300);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  padding-block: 3rem 5rem;
}

.blog-browser {
  padding-top: 2.5rem;
}

.blog-search {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 760px;
}

.blog-search input {
  min-width: 0;
  flex: 1;
  padding: 0.85rem 1rem;
  border: 1px solid #cbd5dc;
  border-radius: 0.7rem;
  background: var(--g-0);
  color: var(--text-main);
}

.blog-search input:focus {
  border-color: var(--g-600);
  outline: 3px solid rgba(0, 157, 192, 0.15);
}

.blog-search button {
  padding: 0.85rem 1.25rem;
  border: 0;
  border-radius: 0.7rem;
  background: var(--g-950);
  color: var(--g-0);
  font-weight: 700;
}

.blog-search a {
  color: var(--g-700);
}

.blog-results-count {
  margin: 0.9rem 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.blog-card {
  padding: clamp(1.4rem, 4vw, 2.25rem);
  border: 1px solid var(--g-100);
  border-radius: 1rem;
  background: var(--g-0);
  box-shadow: 0 18px 45px rgba(3, 54, 73, 0.08);
}

.blog-card time,
.blog-byline {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.blog-card h2 {
  margin: 0.7rem 0;
  font-size: 1.55rem;
  line-height: 1.25;
}

.blog-card h2 a,
.blog-read-more,
.blog-back {
  color: var(--g-950);
  text-decoration: none;
}

.blog-card h2 a:hover,
.blog-read-more:hover,
.blog-back:hover {
  color: var(--g-600);
}

.blog-read-more {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 750;
}

.blog-empty {
  grid-column: 1 / -1;
  padding: 2rem;
  text-align: center;
}

.blog-article-shell {
  max-width: 760px;
}

.blog-back {
  display: block;
  margin-bottom: 2rem;
  color: var(--g-100);
}

.blog-byline {
  margin: 1.5rem 0 0;
  color: var(--g-200);
}

.blog-article-body {
  padding-block: clamp(2.5rem, 6vw, 5rem);
  font-size: 1.08rem;
  line-height: 1.8;
}

.blog-article-body h2,
.blog-article-body h3 {
  margin: 2.25rem 0 0.8rem;
  color: var(--g-950);
  line-height: 1.2;
}

.blog-article-body a {
  color: var(--g-700);
}

.blog-article-body blockquote {
  margin: 2rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--g-500);
  background: var(--g-50);
}

.blog-sources {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--g-100);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.blog-cta {
  padding: 3rem 0;
  background: var(--g-50);
  text-align: center;
}

.blog-cta .btn-main {
  padding: 0.7rem 1.25rem;
}

.blog-pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding-bottom: 5rem;
}

.blog-pagination a {
  color: var(--g-800);
  font-weight: 700;
  text-decoration: none;
}

.blog-pagination a:last-child {
  text-align: right;
}

.blog-pagination span {
  color: var(--text-muted);
}

.blog-pagination a:hover {
  color: var(--g-600);
}

@media (max-width: 767px) {
  .blog-list {
    grid-template-columns: 1fr;
  }

  .blog-search {
    align-items: stretch;
    flex-direction: column;
  }

  .blog-search button {
    width: 100%;
  }

  .blog-pagination {
    grid-template-columns: 1fr 1fr;
  }

  .blog-pagination span {
    grid-column: 1 / -1;
    grid-row: 1;
    text-align: center;
  }
}



/* ============================
   Footer (replica Home React)
   ============================ */

.site-footer {
  background: var(--g-950);
  color: var(--g-0);
  padding: 48px 0 28px 0;
}

.site-footer-top {
  padding: 0 4px;
}

.site-footer-brand {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.site-footer-brand-sub {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.95;
}

.site-footer-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.site-footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-footer-links a {
  color: var(--g-0);
  text-decoration: none;
  font-weight: 600;
}

.site-footer-links a:hover {
  text-decoration: underline;
}

.site-footer-divider {
  margin: 36px 0 22px 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.site-footer-social {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 18px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary); /* rosso #b71919 */
  color: #fff;
  text-decoration: none;
  border: 0;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.social-btn:hover {
  transform: scale(1.05);
  opacity: 0.95;
  color: #fff;
}

.social-btn i {
  font-size: 20px;
}

.site-footer-copy {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  opacity: 0.95;
}

/* ============================
   Services page
   ============================ */

.services-subtitle {
  max-width: 820px;
}

.services-card {
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.services-card:hover {
  box-shadow: 0 0 10px var(--hover-color, rgba(0,0,0,0.25));
}

/* Avatar tondo tipo MUI */
.services-avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px auto;
  background: var(--avatar-color, var(--g-950));
  color: #fff;
}

.services-avatar i {
  font-size: 22px;
}

.services-card-title {
  font-weight: 700;
  text-align: center;
  margin-top: 4px;
  margin-bottom: 8px;
  color: #171a1f;
}

.services-card-text {
  margin-top: 12px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}


/* ============================
   Prices page
   ============================ */

.prices-subtitle {
  max-width: 820px;
}

.prices-card {
  background: var(--g-0);
  border: 1px solid #dee1e6;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.prices-card-body {
  padding: 18px 18px 8px 18px;
  flex-grow: 1;
}

.prices-card-title {
  font-weight: 800;
  font-size: 18px;
  color: #171a1f;
  margin-bottom: 4px;
}

.prices-card-price {
  font-size: 28px;
  font-weight: 800;
  color: #171a1f;
  margin-bottom: 4px;
}

.prices-card-duration {
  font-size: 13px;
  color: #6f7787;
  font-weight: 600;
  margin-bottom: 10px;
}

.prices-card-desc {
  font-size: 14px;
  color: #323743;
  margin-bottom: 10px;
}

.prices-divider {
  height: 1px;
  background: #e4e7ea;
  margin: 12px 0;
}

.prices-included {
  font-weight: 700;
  color: #171a1f;
  font-size: 14px;
  margin-bottom: 8px;
}

.prices-features {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.prices-features li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13.5px;
  color: #323743;
  margin-bottom: 8px;
}

.prices-features i {
  color: var(--color-success);
  margin-top: 2px;
}

.prices-card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px 16px 16px;
  gap: 10px;
}

.prices-price {
  font-weight: 800;
  color: #171a1f;
  white-space: nowrap;
}

/* Bottone main coerente col tema */
.btn-main {
  background: var(--g-950);
  color: var(--g-0);
  border-radius: 5px;
  border: 2px solid var(--g-950);
  padding: 8px 14px;
  font-weight: 700;
  text-decoration: none;
}

.btn-main:hover {
  background: var(--g-100);
  border-color: var(--g-100);
  color: #171a1f;
}

.prices-card-basic {
  border: 1px solid rgba(52, 199, 89, 0.35);
  box-shadow: 0 0 10px rgba(52, 199, 89, 0.18);
}

/* ============================
   Prices - infographic
   ============================ */

.prices-infographic {
  background: var(--g-0);
  border: 1px solid #dee1e6;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  max-width: 900px;
}

@media (max-width: 992px) {
  .prices-infographic {
    grid-template-columns: 1fr;
  }
}

.prices-infographic-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--g-950);
}

.prices-infographic-text {
  font-size: 1rem;
  color: #6f7787;
}

.prices-infographic-steps {
  display: grid;
  gap: 10px;
}

.prices-step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid #e4e7ea;
  border-radius: 10px;
  background: #ffffff;
}

.prices-step-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--g-950);
  color: var(--g-0);
  flex: 0 0 auto;
}

.prices-step-icon i {
  font-size: 18px;
}

.prices-step-title {
  font-weight: 800;
  color: #171a1f;
  margin-bottom: 2px;
}

.prices-step-sub {
  color: #6f7787;
  font-size: 13.5px;
}

.prices-infographic-cta {
  height: 100%;
  border: 1px solid #e4e7ea;
  border-radius: 10px;
  background: #ffffff;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.prices-infographic-cta-title {
  font-weight: 600;
  color: var(--g-950);
}

/* ============================
   About Us
   ============================ */

.about-hero{
  height: calc(75vh - 64px);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 12px;
}

.about-hero-overlay{
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.about-hero-card{
  background: rgba(216, 216, 216, 0.85);
  border-radius: 12px;
  padding: 18px;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  text-align: center;
}

.about-hero-title{
  font-weight: 800;
  color: #171a1f;
  margin: 0 0 8px 0;
  font-size: clamp(2rem, 3.2vw, 3rem);
}

.about-hero-subtitle{
  color: #171a1f;
  opacity: .9;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
}

.about-section{
  padding: 64px 0;
}

.about-section-light{
  background: transparent;
}

.about-section-grey{
  background: #f3f4f6;
  border-radius: 12px;
  padding-left: 18px;
  padding-right: 18px;
}

.about-text-wrap{
  padding: 0 6px;
}

.about-section-title{
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 10px;
}

.about-section-title-dark{
  color: #171a1f;
  font-weight: 700;
  margin: 0;
}

.about-section-text{
  color: #6f7787;
  font-size: 1.05rem;
  margin: 0;
}

.about-img-wrap{
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-mission-img{
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e4e7ea;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.about-founder-card{
  max-width: 900px;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e4e7ea;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);
}

.about-founder-body{
  padding: 28px 22px;
  text-align: center;
}

.about-founder-avatar{
  width: 120px;
  height: 120px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(0,0,0,0.18);
  margin-bottom: 12px;
}

.about-founder-name{
  font-size: 20px;
  font-weight: 800;
  color: #171a1f;
}

.about-founder-roles{
  color: #6f7787;
  margin-top: 4px;
}

.about-founder-story{
  margin-top: 14px;
  color: #171a1f;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.about-value-card{
  background: #ffffff;
  border: 1px solid #e4e7ea;
  border-radius: 12px;
  height: 100%;
}

.about-value-card-body{
  padding: 18px;
}

.about-value-title{
  color: var(--color-primary);
  font-weight: 800;
  margin-bottom: 6px;
}

.about-value-desc{
  color: #6f7787;
}

.about-section-cta{
  padding: 64px 0 80px 0;
}

.about-cta-title{
  font-weight: 800;
  color: #171a1f;
}

/* ============================
   FAQ
   ============================ */

.faq-wrap{
  max-width: 1100px;
  margin: 0 auto;
}

.faq-header{
  padding: 28px 0 10px 0;
}

.faq-title{
  font-weight: 800;
  color: #171a1f;
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 0;
}

.faq-subtitle{
  max-width: 820px;
  margin: 10px auto 0 auto;
}

.faq-divider{
  border-top: 1px solid #e4e7ea;
  opacity: 1;
  margin: 22px 0 26px 0;
}

.faq-section{
  margin-top: 34px;
}

.faq-h2{
  font-size: 1.25rem;
  font-weight: 800;
  color: #171a1f;
  margin-bottom: 6px;
}

.faq-p{
  margin: 0;
  color: #6f7787;
}

.faq-list{
  list-style: none;
  padding-left: 0;
  margin-top: 12px;
  margin-bottom: 0;
}

.faq-list-item{
  color: #6f7787;
  padding: 4px 0;
}

/* features */
.faq-feature-list{
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.faq-feature{
  display: flex;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #e4e7ea;
  border-radius: 12px;
  padding: 12px;
}

.faq-feature-icon{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--g-950);
  color: var(--g-0);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.faq-feature-icon i{
  font-size: 18px;
}

.faq-feature-title{
  font-weight: 800;
  color: #171a1f;
  margin-bottom: 2px;
}

.faq-feature-sub{
  color: #6f7787;
}

/* pdf */
.faq-pdf{
  margin-top: 14px;
  text-align: center;
}

.faq-pdf-btn{
  border: 0;
  background: transparent;
  padding: 0;
  cursor: zoom-in;
}

.faq-pdf-img{
  max-height: 500px;
  width: auto;
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid #e4e7ea;
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.faq-pdf-hint{
  margin-top: 8px;
  font-size: 13px;
}

/* ============================
   Privacy Policy
   ============================ */

.policy-wrap{
  max-width: 980px;
  margin: 0 auto;
  padding: 8px 0;
}

.policy-section{
  margin-bottom: 22px;
}

.policy-h1{
  font-weight: 900;
  color: #171a1f;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  margin: 14px 0 12px 0;
}

.policy-h2{
  font-weight: 800;
  color: #171a1f;
  font-size: 1.1rem;
  margin: 14px 0 10px 0;
}

.policy-p{
  color: #6f7787;
  margin: 0 0 12px 0;
  line-height: 1.6;
  padding-left: 12px; /* replica del ml:2 React */
}

.policy-divider{
  border-top: 1px solid #e4e7ea;
  opacity: 1;
  margin: 18px 0 0 0;
}

/* ---------- Shared SEO and service landing system ---------- */
.landing-page {
  max-width: 1200px;
  margin: 0 auto;
  color: var(--text-main);
}

.landing-page h1,
.landing-page h2,
.landing-page h3,
.landing-page p {
  margin-top: 0;
}

.landing-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 24px;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.landing-breadcrumb a {
  color: var(--g-800);
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.75fr);
  gap: 64px;
  padding: clamp(40px, 6vw, 72px);
  overflow: hidden;
  border-radius: 10px;
  background: var(--g-950);
  color: var(--g-0);
}

.landing-hero-copy {
  max-width: 760px;
}

.landing-kicker {
  margin-bottom: 10px;
  color: var(--g-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.landing-hero .landing-kicker,
.landing-cta .landing-kicker {
  color: var(--g-300);
}

.landing-hero h1 {
  max-width: 800px;
  margin-bottom: 20px;
  color: var(--g-0);
  font-size: clamp(2.35rem, 5vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.landing-hero-lead {
  max-width: 710px;
  margin-bottom: 28px;
  color: var(--g-100);
  font-size: clamp(1rem, 1.8vw, 1.24rem);
  line-height: 1.65;
}

.landing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.landing-hero-link {
  color: var(--g-0);
  font-weight: 700;
  text-decoration: none;
}

.landing-hero-link:hover {
  color: var(--g-200);
}

.landing-trust {
  margin: 20px 0 0;
  color: var(--g-100);
  font-size: 0.82rem;
}

.landing-document {
  align-self: center;
  min-width: 0;
  margin: 0;
  padding: 28px;
  border-top: 4px solid var(--g-400);
  background: var(--g-0);
  color: var(--text-main);
}

.landing-document-brand {
  display: flex;
  justify-content: space-between;
  margin-bottom: 26px;
  color: var(--g-950);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.landing-document figcaption,
.landing-document h2 {
  margin-bottom: 8px;
  color: var(--text-main);
  font-size: 1.25rem;
  font-weight: 800;
}

.landing-document > p {
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.landing-document ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.landing-document li,
.landing-document-total {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid #e5e9ec;
  font-size: 0.82rem;
}

.landing-document li strong {
  text-align: right;
}

.landing-document-total {
  padding-top: 18px;
  border-bottom: 0;
  color: var(--g-950);
}

.landing-conversation {
  transform: rotate(1deg);
}

.landing-conversation-thread {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.landing-message {
  max-width: 88%;
  padding: 12px 14px;
  border: 1px solid #dfe4e8;
  background: #f5f8f9;
}

.landing-message--poki {
  margin-left: auto;
  border-color: var(--g-300);
  background: var(--g-100);
}

.landing-message strong {
  display: block;
  margin-bottom: 4px;
  color: var(--g-900);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.landing-message p {
  margin-bottom: 0;
  color: var(--text-main);
  font-size: 0.82rem;
  line-height: 1.45;
}

.landing-categories ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}

.landing-categories li {
  justify-content: flex-start;
}

.comparison-stats {
  display: grid;
  align-content: center;
  gap: 0;
  margin: 0;
}

.comparison-stats div {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.comparison-stats div:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.comparison-stats dt {
  float: left;
  min-width: 52px;
  color: var(--g-0);
  font-size: 1.85rem;
  line-height: 1;
}

.comparison-stats dd {
  margin: 4px 0 0 60px;
  color: var(--g-100);
  font-size: 0.9rem;
}

.landing-section {
  padding: 68px 0 0;
}

.landing-section-heading {
  max-width: 680px;
  margin: 0 auto 28px;
  text-align: center;
}

.landing-section-heading--left {
  max-width: 760px;
  margin-left: 0;
  text-align: left;
}

.landing-section-heading h2,
.landing-note h2,
.comparison-sources h2 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.025em;
}

.landing-section-heading > p:last-child,
.landing-note > p,
.comparison-sources p {
  color: var(--text-muted);
  line-height: 1.65;
}

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

.landing-feature-card {
  position: relative;
  min-height: 250px;
  padding: 30px;
  border: 1px solid #dfe4e8;
  border-top: 4px solid var(--g-700);
  border-radius: 10px;
  background: var(--g-0);
}

.landing-feature-card--featured {
  background: var(--g-50);
  border-color: var(--g-700);
}

.landing-card-number {
  position: absolute;
  top: 22px;
  right: 26px;
  color: #c8d4d9;
  font-size: 1.5rem;
  font-weight: 800;
}

.comparison-label {
  margin-bottom: 12px;
  color: var(--g-800);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-feature-card h3 {
  margin-bottom: 36px;
  font-size: 1.55rem;
  font-weight: 800;
}

.landing-feature-card > p:last-child {
  margin-bottom: 0;
  color: var(--text-muted);
  line-height: 1.65;
}

.landing-note {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
  gap: 56px;
  align-items: center;
  margin-top: 68px;
  padding: 30px 34px;
  border-left: 5px solid var(--g-700);
  background: #f5f8f9;
}

.landing-note h2,
.landing-note p {
  margin-bottom: 0;
}

.landing-workflow {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 64px;
  align-items: start;
}

.landing-workflow > div > h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.025em;
}

.landing-workflow > div > p:last-child {
  color: var(--text-muted);
  line-height: 1.65;
}

.landing-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.landing-steps li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid #dfe4e8;
}

.landing-steps li:first-child {
  padding-top: 0;
}

.landing-steps span {
  color: var(--g-700);
  font-weight: 800;
}

.landing-steps h3 {
  margin-bottom: 7px;
  font-size: 1.05rem;
  font-weight: 800;
}

.landing-steps p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.91rem;
  line-height: 1.6;
}

.landing-copy {
  max-width: 920px;
}

.landing-copy-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 32px;
  padding-left: 20px;
}

.landing-details {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  gap: 48px;
}

.landing-details > div > h2 {
  font-size: 1.55rem;
  font-weight: 800;
}

.landing-details > div > p,
.landing-details li {
  color: var(--text-muted);
  line-height: 1.6;
}

.landing-details .landing-table {
  min-width: 560px;
}

.landing-details .landing-table caption {
  padding: 14px 0;
  color: var(--g-950);
  font-weight: 700;
  caption-side: top;
}

.landing-table-shell {
  border: 1px solid #dfe4e8;
  border-radius: 10px;
}

.landing-table {
  width: 100%;
  min-width: 1040px;
  border-collapse: collapse;
  background: var(--g-0);
  font-size: 0.89rem;
}

.landing-table th,
.landing-table td {
  padding: 17px 16px;
  border-bottom: 1px solid #e5e9ec;
  text-align: left;
  vertical-align: top;
}

.landing-table thead th {
  background: var(--g-950);
  color: var(--g-0);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.landing-table thead th:first-child {
  border-top-left-radius: 9px;
}

.landing-table thead th:last-child {
  border-top-right-radius: 9px;
}

.landing-table tbody th {
  width: 150px;
  font-size: 0.95rem;
}

.landing-table tbody tr:last-child > * {
  border-bottom: 0;
}

.landing-table--compact {
  min-width: 680px;
}

.comparison-featured-row > * {
  background: var(--g-50);
}

.comparison-own-product {
  display: block;
  margin-top: 5px;
  color: var(--g-800);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.landing-table-note {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.comparison-pricing-table {
  min-width: 900px;
}

.comparison-pricing-table th:first-child {
  width: 150px;
}

.comparison-pricing-table td:nth-child(2) {
  color: var(--g-900);
}

.comparison-price-link {
  color: var(--g-800);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.comparison-price-link:hover {
  color: var(--g-950);
  text-decoration: underline;
}

.comparison-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.comparison-product-card {
  display: flex;
  flex-direction: column;
  min-height: 410px;
  padding: 30px;
  border: 1px solid #dfe4e8;
  border-radius: 10px;
  background: var(--g-0);
}

.comparison-product-card--featured {
  border: 2px solid var(--g-700);
  background: var(--g-50);
}

.comparison-product-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.comparison-product-head h3 {
  margin-bottom: 0;
  font-size: 1.65rem;
  font-weight: 800;
}

.comparison-product-index {
  color: #cad5da;
  font-size: 1.4rem;
  font-weight: 800;
}

.comparison-best-for {
  min-height: 48px;
  margin: 18px 0;
  color: var(--g-950);
  font-weight: 700;
}

.comparison-product-card ul {
  display: grid;
  gap: 7px;
  margin-bottom: 24px;
  padding-left: 20px;
  color: var(--text-muted);
}

.comparison-consideration {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #dfe4e8;
}

.comparison-consideration strong {
  color: var(--text-main);
  font-size: 0.8rem;
}

.comparison-consideration p {
  margin: 5px 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.comparison-source-link {
  margin-top: 18px;
  color: var(--g-800);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.comparison-source-link:hover {
  color: var(--g-950);
  text-decoration: underline;
}

.landing-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.75fr);
  gap: 54px;
  align-items: center;
  margin-top: 68px;
  padding: clamp(34px, 5vw, 58px);
  border-radius: 10px;
  background: var(--g-950);
  color: var(--g-0);
}

.landing-cta h2 {
  max-width: 680px;
  margin-bottom: 16px;
  color: var(--g-0);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  letter-spacing: -0.035em;
}

.landing-cta > div:first-child > p:not(.landing-kicker) {
  max-width: 650px;
  margin-bottom: 24px;
  color: var(--g-100);
  line-height: 1.65;
}

.landing-store-buttons {
  padding-left: 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  text-align: center;
}

.landing-store-buttons > span {
  display: block;
  margin-bottom: 14px;
  color: var(--g-100);
  font-size: 0.84rem;
}

.landing-store-buttons img {
  max-width: 150px;
}

.comparison-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #dfe4e8;
}

.comparison-faq-grid article {
  padding: 26px 30px 26px 0;
  border-bottom: 1px solid #dfe4e8;
}

.comparison-faq-grid article:nth-child(even) {
  padding-right: 0;
  padding-left: 30px;
  border-left: 1px solid #dfe4e8;
}

.comparison-faq-grid h3 {
  margin-bottom: 9px;
  font-size: 1.05rem;
  font-weight: 800;
}

.comparison-faq-grid p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.comparison-sources {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.6fr);
  gap: 56px;
  margin-top: 68px;
  padding: 32px 34px;
  border: 1px solid #dfe4e8;
  border-radius: 10px;
}

.comparison-sources h2 {
  font-size: 1.5rem;
}

.comparison-sources p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.comparison-sources ol {
  columns: 2;
  margin: 0;
  padding-left: 22px;
}

.comparison-sources li {
  margin-bottom: 7px;
}

.comparison-sources a,
.landing-related a {
  color: var(--g-800);
}

.landing-related {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 24px 0 56px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.landing-related span {
  color: var(--text-main);
  font-weight: 700;
}

.landing-faq-list {
  max-width: 900px;
  border-top: 1px solid #dfe4e8;
}

.landing-faq-list details {
  padding: 20px 0;
  border-bottom: 1px solid #dfe4e8;
}

.landing-faq-list summary {
  cursor: pointer;
  color: var(--g-950);
  font-weight: 750;
}

.landing-faq-list details p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

@media (max-width: 991px) {
  .landing-hero,
  .landing-cta {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .comparison-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .comparison-stats div,
  .comparison-stats div:first-child {
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-bottom: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
  }

  .comparison-stats div:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.22);
  }

  .comparison-stats dt {
    float: none;
  }

  .comparison-stats dd {
    margin: 8px 0 0;
  }

  .landing-feature-grid {
    grid-template-columns: 1fr;
  }

  .landing-feature-card {
    min-height: auto;
  }

  .landing-note {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .landing-workflow,
  .landing-details {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .landing-store-buttons {
    padding: 28px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-left: 0;
  }
}

@media (max-width: 767px) {
  .landing-hero {
    margin: 0 -4px;
    padding: 34px 24px;
  }

  .landing-hero h1 {
    font-size: clamp(2.15rem, 11vw, 3.2rem);
  }

  .landing-section {
    padding-top: 52px;
  }

  .landing-note,
  .landing-cta,
  .comparison-sources {
    margin-top: 52px;
  }

  .comparison-product-grid,
  .comparison-faq-grid,
  .comparison-sources {
    grid-template-columns: 1fr;
  }

  .landing-copy-list {
    grid-template-columns: 1fr;
  }

  .comparison-product-card {
    min-height: 0;
    padding: 24px;
  }

  .comparison-best-for {
    min-height: 0;
  }

  .comparison-faq-grid article,
  .comparison-faq-grid article:nth-child(even) {
    padding: 22px 0;
    border-left: 0;
  }

  .comparison-sources {
    gap: 22px;
    padding: 26px 24px;
  }
}

@media (max-width: 575px) {
  .comparison-stats {
    grid-template-columns: 1fr;
  }

  .comparison-stats div,
  .comparison-stats div:first-child,
  .comparison-stats div:last-child {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .comparison-stats div:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  .comparison-stats dd {
    margin: 0;
  }

  .landing-note {
    padding: 25px 22px;
  }

  .landing-cta {
    padding: 34px 24px;
  }

  .landing-store-buttons .d-flex {
    flex-wrap: wrap;
  }

  .comparison-sources ol {
    columns: 1;
  }
}
