/*
 * IT-4Revolution V3 design system
 * Shared visual language for the public website. The home page keeps its
 * editorial layout in front-page-v3.css; this file aligns every other route.
 */

:root {
  --it4r-v3-ink: #091821;
  --it4r-v3-panel: #102a31;
  --it4r-v3-text: #132832;
  --it4r-v3-muted: #52656f;
  --it4r-v3-line: #d7e4e1;
  --it4r-v3-soft: #f2f7f6;
  --it4r-v3-deep: #0d7a70;
  --it4r-v3-deep-hover: #075f58;
  --it4r-v3-bright: #6fe0d2;
  --it4r-v3-white: #ffffff;
  --it4r-v3-radius: 12px;
  --it4r-v3-content: 1180px;
}

html {
  scroll-behavior: smooth;
}

@media (max-width: 921px) {
  html {
    font-size: 100%;
  }
}

.it4r-skip-link {
  position: fixed;
  z-index: 100000;
  top: 10px;
  left: 10px;
  padding: 12px 18px;
  border: 2px solid var(--it4r-v3-bright);
  border-radius: 8px;
  background: var(--it4r-v3-ink);
  color: var(--it4r-v3-white) !important;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform .16s ease;
}

.it4r-skip-link:focus {
  transform: translateY(0);
}

body {
  color: var(--it4r-v3-text);
  background: var(--it4r-v3-white);
}

body,
button,
input,
select,
textarea {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(111, 224, 210, 0.72);
  outline-offset: 3px;
}

/* Header and navigation */
.site-header {
  border-bottom: 1px solid rgba(19, 40, 50, 0.08);
  background: rgba(255, 255, 255, 0.98);
}

.main-header-menu > .menu-item > a {
  color: var(--it4r-v3-text);
  font-weight: 650;
}

.main-header-menu > .menu-item > a:hover,
.main-header-menu > .menu-item > a:focus,
.main-header-menu > .menu-item.current-menu-item > a,
.main-header-menu > .menu-item.current_page_item > a {
  color: var(--it4r-v3-deep) !important;
}

.main-header-menu > .menu-item.current-menu-item > a::after,
.main-header-menu > .menu-item.current_page_item > a::after {
  background: var(--it4r-v3-bright) !important;
}

.site-header .main-header-menu .it4r-header-cta > .it4r-header-cta__link {
  border-color: var(--it4r-v3-deep);
  border-radius: 8px;
  background: var(--it4r-v3-deep);
  box-shadow: none;
}

.site-header .main-header-menu .it4r-header-cta > .it4r-header-cta__link:hover,
.site-header .main-header-menu .it4r-header-cta > .it4r-header-cta__link:focus,
.site-header .main-header-menu .it4r-header-cta.current-menu-item > .it4r-header-cta__link {
  border-color: var(--it4r-v3-deep-hover);
  background: var(--it4r-v3-deep-hover);
  color: var(--it4r-v3-white) !important;
}

.hero .it4r-hero-button {
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid var(--it4r-v3-bright);
  border-radius: 8px;
  background: var(--it4r-v3-bright);
  color: var(--it4r-v3-ink);
  font-size: 1rem;
  font-weight: 800;
  box-shadow: none;
}

.hero .it4r-hero-button:hover,
.hero .it4r-hero-button:focus {
  border-color: #9cece2;
  background: #9cece2;
  color: var(--it4r-v3-ink);
}

#ast-scroll-top {
  background: var(--it4r-v3-deep);
  color: var(--it4r-v3-white);
}

#ast-scroll-top:hover,
#ast-scroll-top:focus {
  background: var(--it4r-v3-deep-hover);
}

@media (max-width: 920px) {
  body.ast-header-break-point .main-header-menu > .menu-item.current-menu-item > a,
  body.ast-header-break-point .main-header-menu > .menu-item.current_page_item > a,
  .ast-mobile-popup-drawer .main-header-menu > .menu-item.current-menu-item > a,
  .ast-mobile-popup-drawer .main-header-menu > .menu-item.current_page_item > a {
    border-left-color: var(--it4r-v3-deep) !important;
    color: var(--it4r-v3-deep) !important;
    background: rgba(111, 224, 210, 0.14) !important;
  }
}

/* Shared launch-page shell */
.it4r-page {
  --it4r-page-dark: var(--it4r-v3-ink);
  --it4r-page-panel: var(--it4r-v3-panel);
  --it4r-page-text: var(--it4r-v3-text);
  --it4r-page-muted: var(--it4r-v3-muted);
  --it4r-page-muted-on-dark: #b7c8cd;
  --it4r-page-soft: var(--it4r-v3-soft);
  --it4r-page-line: var(--it4r-v3-line);
  --it4r-page-accent: var(--it4r-v3-bright);
  --it4r-page-teal: var(--it4r-v3-deep);
  --it4r-home-dark: var(--it4r-v3-ink);
  --it4r-home-panel: var(--it4r-v3-panel);
  --it4r-home-text: var(--it4r-v3-text);
  --it4r-home-muted: var(--it4r-v3-muted);
  --it4r-home-line: var(--it4r-v3-line);
  --it4r-home-soft: var(--it4r-v3-soft);
  --it4r-home-accent: var(--it4r-v3-deep);
  --it4r-home-accent-bright: var(--it4r-v3-bright);
  --accent: var(--it4r-v3-deep);
  --accent-text: var(--it4r-v3-deep);
  color: var(--it4r-v3-text);
  background: var(--it4r-v3-white);
}

.it4r-page-inner,
.it4r-page .it4r-home-inner {
  width: min(calc(100% - 48px), var(--it4r-v3-content));
  margin-inline: auto;
}

.it4r-page-hero {
  min-height: 560px;
  padding: clamp(86px, 9vw, 124px) 24px clamp(76px, 8vw, 108px);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--it4r-v3-ink);
  background-size: 64px 64px;
}

.it4r-page-hero::before {
  background:
    radial-gradient(circle at 82% 24%, rgba(111, 224, 210, 0.16), transparent 30%),
    linear-gradient(90deg, rgba(9, 24, 33, 0.16), rgba(9, 24, 33, 0.72));
}

.it4r-page-hero__mark {
  display: none;
}

.it4r-page-hero .it4r-page-eyebrow,
.it4r-page-section--dark .it4r-page-kicker,
.it4r-page-cta .it4r-page-kicker {
  color: var(--it4r-v3-bright);
}

.it4r-page-eyebrow,
.it4r-page-kicker {
  margin-bottom: 18px;
  color: var(--it4r-v3-deep);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.it4r-page h1 {
  max-width: 940px;
  margin-bottom: 26px;
  font-size: clamp(2.55rem, 5.8vw, 5.25rem);
  line-height: 0.99;
  letter-spacing: -0.055em;
}

.it4r-page h2 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(2.05rem, 4.3vw, 3.85rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.it4r-page h3 {
  font-size: clamp(1.16rem, 1.5vw, 1.38rem);
  line-height: 1.22;
  letter-spacing: -0.018em;
}

.it4r-page p,
.it4r-page li,
.it4r-page dd {
  font-size: 1rem;
}

.it4r-page p {
  line-height: 1.72;
}

.it4r-page-lead {
  max-width: 760px;
  margin-bottom: 34px;
  color: #d3dfe2 !important;
  font-size: clamp(1.08rem, 1.7vw, 1.28rem) !important;
  line-height: 1.62 !important;
}

.it4r-page-proof {
  gap: 9px;
  margin-top: 32px;
}

.it4r-page-proof li {
  padding: 8px 13px;
  border-color: rgba(111, 224, 210, 0.22);
  color: #d4e4e6;
  background: rgba(16, 42, 49, 0.58);
  font-size: 0.88rem;
}

.it4r-page-section {
  padding: clamp(72px, 8vw, 110px) 24px;
}

.it4r-page-section--soft {
  background: var(--it4r-v3-soft);
}

.it4r-page-section--dark,
.it4r-page-cta {
  background:
    radial-gradient(circle at 84% 16%, rgba(111, 224, 210, 0.12), transparent 28%),
    var(--it4r-v3-ink);
}

.it4r-page-section-head {
  max-width: 880px;
  margin-bottom: clamp(34px, 5vw, 54px);
}

.it4r-page-split {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(38px, 7vw, 82px);
}

.it4r-text-link,
.it4r-contact-card a,
.it4r-check-consent a {
  color: var(--it4r-v3-deep);
}

.it4r-text-link:hover,
.it4r-text-link:focus,
.it4r-contact-card a:hover,
.it4r-contact-card a:focus,
.it4r-check-consent a:hover,
.it4r-check-consent a:focus {
  color: var(--it4r-v3-deep-hover);
}

/* Buttons */
.it4r-page .it4r-home-button {
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 8px;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: none;
}

.it4r-page .it4r-home-button--primary,
.it4r-page .it4r-home-button:not(.it4r-home-button--secondary):not(.it4r-home-button--on-dark) {
  border-color: var(--it4r-v3-deep);
  background: var(--it4r-v3-deep);
  color: var(--it4r-v3-white);
}

.it4r-page .it4r-home-button--primary:hover,
.it4r-page .it4r-home-button--primary:focus,
.it4r-page .it4r-home-button:not(.it4r-home-button--secondary):not(.it4r-home-button--on-dark):hover,
.it4r-page .it4r-home-button:not(.it4r-home-button--secondary):not(.it4r-home-button--on-dark):focus {
  border-color: var(--it4r-v3-deep-hover);
  background: var(--it4r-v3-deep-hover);
}

.it4r-page .it4r-home-button--on-dark {
  border-color: var(--it4r-v3-bright);
  background: var(--it4r-v3-bright);
  color: var(--it4r-v3-ink) !important;
}

.it4r-page .it4r-home-button--on-dark:hover,
.it4r-page .it4r-home-button--on-dark:focus {
  border-color: #9cece2;
  background: #9cece2;
  color: var(--it4r-v3-ink) !important;
}

.it4r-page .it4r-page-hero .it4r-home-button--primary,
.it4r-page .it4r-page-section--dark .it4r-home-button--primary,
.it4r-page .it4r-page-cta .it4r-home-button--primary,
.it4r-demo-hub__hero .it4r-home-button--primary,
.it4r-demo-hub__cta .it4r-home-button--primary {
  border-color: var(--it4r-v3-bright) !important;
  background: var(--it4r-v3-bright) !important;
  color: var(--it4r-v3-ink) !important;
}

.it4r-page .it4r-page-hero .it4r-home-button--primary:hover,
.it4r-page .it4r-page-hero .it4r-home-button--primary:focus,
.it4r-page .it4r-page-section--dark .it4r-home-button--primary:hover,
.it4r-page .it4r-page-section--dark .it4r-home-button--primary:focus,
.it4r-page .it4r-page-cta .it4r-home-button--primary:hover,
.it4r-page .it4r-page-cta .it4r-home-button--primary:focus,
.it4r-demo-hub__hero .it4r-home-button--primary:hover,
.it4r-demo-hub__hero .it4r-home-button--primary:focus,
.it4r-demo-hub__cta .it4r-home-button--primary:hover,
.it4r-demo-hub__cta .it4r-home-button--primary:focus {
  border-color: #9cece2 !important;
  background: #9cece2 !important;
  color: var(--it4r-v3-ink) !important;
}

.it4r-page .it4r-home-button--secondary {
  border-color: var(--it4r-v3-deep);
  background: transparent;
  color: var(--it4r-v3-deep);
}

.it4r-page .it4r-page-hero .it4r-home-button--secondary,
.it4r-page .it4r-page-section--dark .it4r-home-button--secondary,
.it4r-page .it4r-page-cta .it4r-home-button--secondary {
  border-color: rgba(255, 255, 255, 0.48);
  background: transparent;
  color: var(--it4r-v3-white) !important;
}

.it4r-page .it4r-page-hero .it4r-home-button--secondary:hover,
.it4r-page .it4r-page-hero .it4r-home-button--secondary:focus,
.it4r-page .it4r-page-section--dark .it4r-home-button--secondary:hover,
.it4r-page .it4r-page-section--dark .it4r-home-button--secondary:focus,
.it4r-page .it4r-page-cta .it4r-home-button--secondary:hover,
.it4r-page .it4r-page-cta .it4r-home-button--secondary:focus {
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.1);
  color: var(--it4r-v3-white) !important;
}

.it4r-page-hero .it4r-text-link,
.it4r-page-section--dark .it4r-text-link,
.it4r-page-cta .it4r-text-link,
.it4r-demo-hub__hero .it4r-demo-hub__text-link,
.it4r-demo-hub__cta .it4r-demo-hub__text-link {
  color: var(--it4r-v3-white);
}

.it4r-page-hero .it4r-text-link:hover,
.it4r-page-hero .it4r-text-link:focus,
.it4r-page-section--dark .it4r-text-link:hover,
.it4r-page-section--dark .it4r-text-link:focus,
.it4r-page-cta .it4r-text-link:hover,
.it4r-page-cta .it4r-text-link:focus,
.it4r-demo-hub__hero .it4r-demo-hub__text-link:hover,
.it4r-demo-hub__hero .it4r-demo-hub__text-link:focus,
.it4r-demo-hub__cta .it4r-demo-hub__text-link:hover,
.it4r-demo-hub__cta .it4r-demo-hub__text-link:focus {
  color: var(--it4r-v3-bright);
}

/* Pricing, content and service components */
.it4r-plan-grid,
.it4r-feature-grid,
.it4r-step-grid {
  gap: 18px;
}

.it4r-plan-card,
.it4r-feature-card,
.it4r-contact-card,
.it4r-check-form-card,
.it4r-club-scope-card,
.it4r-offer-card,
.it4r-offer-card__aside,
.it4r-club-demo__grid {
  border-color: var(--it4r-v3-line);
  border-radius: var(--it4r-v3-radius);
  box-shadow: none;
}

.it4r-plan-card,
.it4r-feature-card,
.it4r-contact-card,
.it4r-check-form-card,
.it4r-club-scope-card {
  padding: clamp(24px, 3vw, 34px);
}

.it4r-plan-card--featured {
  border-color: var(--it4r-v3-deep);
  box-shadow: inset 0 4px 0 var(--it4r-v3-bright);
}

.it4r-plan-card__badge,
.it4r-path-badge {
  background: #dff8f4;
  color: #075f58;
  font-size: 0.875rem;
}

.it4r-page .it4r-home-demo-card__badge,
.it4r-faq .badge {
  font-size: 0.875rem;
}

.it4r-plan-card__price {
  font-size: clamp(1.8rem, 3vw, 2.4rem) !important;
  letter-spacing: -0.035em;
}

.it4r-plan-card li::before,
.it4r-check-list li::before,
.it4r-club-scope-card li::before,
.it4r-club-demo__list li::before {
  border-color: var(--it4r-v3-deep);
}

.it4r-pricing-note,
.it4r-check-notice {
  border-color: var(--it4r-v3-line);
  border-radius: 10px;
  background: #f7fbfa;
}

[data-it4r-form-notice]:focus {
  outline: 3px solid rgba(13, 122, 112, 0.38);
  outline-offset: 4px;
}

.it4r-form-selection {
  display: grid;
  gap: 5px;
  margin: 0 0 24px;
  padding: 18px 20px;
  border: 1px solid rgba(13, 122, 112, 0.28);
  border-radius: 10px;
  background: #eaf9f6;
}

.it4r-form-selection > span {
  color: var(--it4r-v3-deep-hover);
  font-size: .875rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.it4r-form-selection > strong {
  color: var(--it4r-v3-ink);
  font-size: 1.1rem;
}

.it4r-form-selection p {
  margin: 0;
  color: var(--it4r-v3-muted);
}

.it4r-form-selection a {
  width: fit-content;
  color: var(--it4r-v3-deep-hover);
  font-weight: 800;
  text-underline-offset: 4px;
}

.it4r-faq-entry__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.it4r-faq-entry__grid article {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--it4r-v3-line);
  border-radius: 10px;
  background: var(--it4r-v3-white);
}

.it4r-faq-entry__grid h3 {
  margin-bottom: 10px;
  color: var(--it4r-v3-ink);
}

.it4r-faq-entry__grid p {
  margin-bottom: 18px;
}

.it4r-faq-entry__grid a {
  margin-top: auto;
  color: var(--it4r-v3-deep-hover);
  font-weight: 850;
  text-underline-offset: 4px;
}

.it4r-faq-entry__grid .it4r-faq-entry__secondary {
  margin-top: 9px;
}

@media (max-width: 700px) {
  .it4r-faq-entry__grid {
    grid-template-columns: 1fr;
  }
}

.it4r-step-grid {
  position: relative;
  counter-reset: it4r-step;
}

.it4r-step-grid::before {
  position: absolute;
  top: 22px;
  right: 10%;
  left: 4%;
  height: 1px;
  content: "";
  background: var(--it4r-v3-line);
}

.it4r-step-grid li {
  position: relative;
  padding-right: 24px;
}

.it4r-step-grid span {
  position: relative;
  z-index: 1;
  border: 1px solid var(--it4r-v3-line);
  background: var(--it4r-v3-white);
  color: var(--it4r-v3-deep);
}

.it4r-page-section--dark .it4r-step-grid::before {
  background: rgba(255, 255, 255, 0.18);
}

.it4r-page-section--dark .it4r-step-grid span {
  border-color: rgba(111, 224, 210, 0.44);
  background: var(--it4r-v3-panel);
  color: var(--it4r-v3-bright);
}

.it4r-page-cta {
  padding: clamp(72px, 8vw, 104px) 24px;
}

.it4r-page-cta h2 {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
}

.it4r-offer-card {
  max-width: 1050px;
  padding: clamp(28px, 4vw, 44px);
  border-color: var(--it4r-v3-deep);
  background: var(--it4r-v3-white);
  box-shadow: inset 0 4px 0 var(--it4r-v3-bright);
}

.it4r-offer-card__aside {
  background: var(--it4r-v3-soft);
}

.it4r-hero-price {
  color: var(--it4r-v3-bright) !important;
  font-size: clamp(1.65rem, 3vw, 2.25rem) !important;
}

.it4r-club-demo__grid {
  padding: clamp(26px, 4vw, 42px);
}

.it4r-club-demo__preview {
  border-radius: var(--it4r-v3-radius);
  box-shadow: 0 24px 54px rgba(9, 24, 33, 0.14);
}

.it4r-club-demo__preview:focus-visible {
  outline-color: rgba(111, 224, 210, 0.72);
}

.it4r-club-hero__price {
  display: block;
  max-width: 980px;
  margin-top: 20px;
  color: var(--it4r-v3-bright);
  font-size: clamp(1.2rem, 2.1vw, 1.8rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.it4r-page .it4r-home-owner__portrait {
  border-color: var(--it4r-v3-line);
  border-radius: var(--it4r-v3-radius);
  box-shadow: 0 20px 44px rgba(19, 40, 50, 0.1);
}

.it4r-page .it4r-home-demo-card {
  border-radius: var(--it4r-v3-radius);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
}

.it4r-page .it4r-home-demo-card__badge {
  border-radius: 7px;
  background: var(--it4r-v3-deep);
}

/* Forms */
.it4r-contact-layout,
.it4r-check-layout {
  gap: clamp(36px, 6vw, 72px);
}

.it4r-check-form {
  gap: 24px;
}

.it4r-check-form label {
  color: var(--it4r-v3-text);
}

.it4r-check-form input[type="text"],
.it4r-check-form input[type="email"],
.it4r-check-form input[type="tel"],
.it4r-check-form input[type="number"],
.it4r-check-form input[type="url"],
.it4r-check-form select,
.it4r-check-form textarea {
  min-height: 52px;
  border-color: #bdceca;
  border-radius: 8px;
  color: var(--it4r-v3-text);
}

.it4r-check-form input:focus,
.it4r-check-form select:focus,
.it4r-check-form textarea:focus {
  border-color: var(--it4r-v3-deep);
  outline-color: rgba(111, 224, 210, 0.5);
}

.it4r-check-form input[type="checkbox"] {
  accent-color: var(--it4r-v3-deep);
}

/* FAQ */
.it4r-page details,
.it4r-home-faq details,
.it4r-check-faq details {
  border-color: var(--it4r-v3-line);
}

.it4r-page details summary,
.it4r-home-faq details summary,
.it4r-check-faq details summary {
  color: var(--it4r-v3-text);
  font-size: 1rem;
  font-weight: 800;
}

/* Demo overview: keep the filter and previews, remove the orange/glass layer. */
.it4r-demo-hub {
  --demo-ink: var(--it4r-v3-ink);
  --demo-panel: var(--it4r-v3-panel);
  --demo-copy: var(--it4r-v3-text);
  --demo-muted: var(--it4r-v3-muted);
  --demo-soft: var(--it4r-v3-soft);
  --demo-line: var(--it4r-v3-line);
  --demo-accent: var(--it4r-v3-bright);
}

.it4r-demo-hub .it4r-page-inner {
  width: min(calc(100% - 48px), var(--it4r-v3-content));
}

.it4r-demo-hub__hero {
  min-height: 600px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--it4r-v3-ink);
  background-size: 64px 64px;
}

.it4r-demo-hub__hero-glow {
  width: 660px;
  height: 660px;
  background: radial-gradient(circle, rgba(111, 224, 210, 0.17), transparent 68%);
}

.it4r-demo-hub__hero h1 {
  max-width: 900px;
  font-size: clamp(3.1rem, 7vw, 6.8rem);
}

.it4r-demo-hub__hero .it4r-page-eyebrow,
.it4r-demo-hub__cta .it4r-page-kicker {
  color: var(--it4r-v3-bright);
}

.it4r-demo-hub__metrics {
  border-radius: var(--it4r-v3-radius);
  background: rgba(16, 42, 49, 0.76);
  box-shadow: none;
  backdrop-filter: none;
}

.it4r-demo-hub__metrics div {
  min-height: 132px;
}

.it4r-demo-hub__intro h2,
.it4r-demo-hub__section-head h2,
.it4r-demo-hub__cta h2 {
  font-size: clamp(2.1rem, 4.4vw, 4rem);
}

.it4r-demo-hub__filters button {
  border-radius: 8px;
  color: var(--it4r-v3-text);
}

.it4r-demo-hub__filters button.is-active {
  border-color: var(--it4r-v3-deep);
  background: var(--it4r-v3-deep);
}

.it4r-demo-hub__filters button:focus-visible,
.it4r-demo-card a:focus-visible {
  outline-color: rgba(111, 224, 210, 0.72);
}

.it4r-demo-card {
  border-radius: var(--it4r-v3-radius);
  box-shadow: 0 14px 34px rgba(19, 40, 50, 0.06);
}

.it4r-demo-card:hover {
  box-shadow: 0 20px 44px rgba(19, 40, 50, 0.11);
  transform: translateY(-3px);
}

.it4r-demo-card__status {
  border-radius: 7px;
  background: rgba(9, 24, 33, 0.9);
  backdrop-filter: none;
}

.it4r-demo-card__meta li,
.it4r-demo-card__package {
  border-radius: 7px;
}

.it4r-demo-hub__guide-grid span {
  margin-bottom: 30px;
  color: var(--it4r-v3-deep);
}

.it4r-demo-hub__guide-grid article {
  min-height: 270px;
}

.it4r-demo-hub__cta {
  background:
    radial-gradient(circle at 82% 30%, rgba(111, 224, 210, 0.14), transparent 34%),
    var(--it4r-v3-ink);
}

/* The former global coral divider is replaced with the two petrol levels. */
.it4r-page h2::after,
.it4r-demo-hub h2::after {
  background: var(--it4r-v3-deep) !important;
}

.it4r-page .it4r-page-section--dark h2::after,
.it4r-page .it4r-page-cta h2::after,
.it4r-demo-hub__hero h2::after,
.it4r-demo-hub__cta h2::after {
  background: var(--it4r-v3-bright) !important;
}

.it4r-page h3::after,
.it4r-demo-hub h3::after {
  display: none !important;
  content: none !important;
}

/* Shared editorial presentation for legal, FAQ and information pages. */
body.it4r-editorial-page {
  background: var(--it4r-v3-white);
  overflow-x: clip;
}

body.it4r-editorial-page .site-content,
body.it4r-editorial-page .site-content > .ast-container {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.it4r-editorial-page #primary {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.it4r-editorial,
.it4r-editorial *,
.it4r-editorial *::before,
.it4r-editorial *::after {
  box-sizing: border-box;
}

.it4r-editorial__article {
  margin: 0;
}

.it4r-editorial-shell,
.it4r-editorial-layout {
  width: min(calc(100% - 48px), var(--it4r-v3-content));
  margin-inline: auto;
}

.it4r-editorial-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(250px, 29vw, 340px);
  padding: clamp(64px, 8vw, 96px) 0 clamp(58px, 7vw, 84px);
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(111, 224, 210, 0.14), transparent 28%),
    var(--it4r-v3-ink);
}

.it4r-editorial-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(111, 224, 210, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 224, 210, 0.09) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent 0, #000 58%, #000 100%);
}

.it4r-editorial-eyebrow {
  margin: 0 0 18px;
  color: var(--it4r-v3-bright);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.it4r-editorial-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--it4r-v3-white);
  font-size: clamp(2.55rem, 5vw, 4.8rem);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.it4r-editorial-lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: #c4d2d5;
  font-size: clamp(1.03rem, 1.8vw, 1.2rem);
  line-height: 1.65;
}

.it4r-editorial-section {
  padding: clamp(64px, 8vw, 96px) 0 clamp(82px, 10vw, 126px);
  background:
    linear-gradient(180deg, var(--it4r-v3-soft) 0, var(--it4r-v3-white) 190px),
    var(--it4r-v3-white);
}

.it4r-editorial-layout {
  display: grid;
  grid-template-columns: minmax(190px, 240px) minmax(0, 760px);
  gap: clamp(54px, 7vw, 90px);
  justify-content: center;
  align-items: start;
}

.it4r-editorial-index {
  position: sticky;
  top: 118px;
}

.it4r-editorial-index__details {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.it4r-editorial-index__details summary {
  padding: 0 0 15px;
  border-bottom: 1px solid var(--it4r-v3-line);
  color: var(--it4r-v3-text);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.35;
  list-style: none;
  text-transform: uppercase;
}

.it4r-editorial-index__details summary::-webkit-details-marker {
  display: none;
}

.it4r-editorial-index__list {
  display: grid;
  max-height: calc(100vh - 205px);
  margin: 18px 0 0;
  padding: 0 10px 0 0;
  overflow-y: auto;
  list-style: none;
  scrollbar-width: thin;
}

.it4r-editorial-index__list li {
  margin: 0;
  padding: 0;
}

.it4r-editorial-index__list a {
  display: block;
  padding: 9px 0 9px 14px;
  border-left: 2px solid var(--it4r-v3-line);
  color: var(--it4r-v3-muted);
  font-size: 0.91rem;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
  transition: border-color .16s ease, color .16s ease;
}

.it4r-editorial-index__list a:hover,
.it4r-editorial-index__list a:focus,
.it4r-editorial-index__list a[aria-current="location"] {
  border-left-color: var(--it4r-v3-deep);
  color: var(--it4r-v3-deep);
}

.it4r-editorial-content {
  min-width: 0;
  color: var(--it4r-v3-text);
  font-size: 1.0625rem;
  line-height: 1.76;
}

body.it4r-editorial-page .it4r-editorial-content > .hero,
body.it4r-editorial-page .it4r-editorial-content h1 {
  display: none !important;
}

body.it4r-editorial-page .it4r-editorial-content :is(
  .impressum-content,
  .privacy-policy,
  .agb-content,
  .it4r-legal,
  .it4r-faq
) {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit !important;
  box-shadow: none !important;
}

.it4r-editorial-content p,
.it4r-editorial-content li,
.it4r-editorial-content dd {
  color: var(--it4r-v3-muted);
  font-size: inherit;
  line-height: inherit;
}

.it4r-editorial-content p {
  margin: 0 0 1.25em;
}

.it4r-editorial-content h2,
.it4r-editorial-content h3,
.it4r-editorial-content h4,
.it4r-editorial-content dt,
.it4r-editorial-content strong {
  color: var(--it4r-v3-text);
}

.it4r-editorial-content h2,
.it4r-editorial-content h3,
.it4r-editorial-content h4 {
  scroll-margin-top: 124px;
}

.it4r-editorial-content h2 {
  margin: 3.2rem 0 1rem;
  padding-top: 2.55rem;
  border-top: 1px solid var(--it4r-v3-line);
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  font-weight: 820;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.it4r-editorial-content h2:first-child,
.it4r-editorial-content :is(.impressum-content, .privacy-policy, .agb-content, .it4r-legal, .it4r-faq) > h2:first-child,
.it4r-editorial-content .faq-section:first-child > h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.it4r-editorial-content h3 {
  margin: 2.15rem 0 0.7rem;
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  font-weight: 780;
  line-height: 1.3;
}

.it4r-editorial-content h4,
.it4r-editorial-content dt {
  margin: 1.7rem 0 0.55rem;
  font-size: 1rem;
  font-weight: 780;
  line-height: 1.4;
}

.it4r-editorial-content h2::before,
.it4r-editorial-content h2::after,
.it4r-editorial-content h3::before,
.it4r-editorial-content h3::after,
.it4r-editorial-content h4::before,
.it4r-editorial-content h4::after {
  display: none !important;
  content: none !important;
  border: 0 !important;
  background: transparent !important;
}

.it4r-editorial-content ul,
.it4r-editorial-content ol,
.it4r-editorial-content dl {
  margin: 1rem 0 1.6rem;
}

.it4r-editorial-content ul,
.it4r-editorial-content ol {
  padding-left: 1.3rem;
}

.it4r-editorial-content li {
  margin: 0.55rem 0;
  padding-left: 0.15rem;
}

.it4r-editorial-content li::marker {
  color: var(--it4r-v3-deep);
}

.it4r-editorial-content a {
  color: var(--it4r-v3-deep);
  font-weight: 700;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.it4r-editorial-content a:hover,
.it4r-editorial-content a:focus {
  color: var(--it4r-v3-deep-hover);
}

.it4r-editorial-content hr {
  height: 1px;
  margin: 2.5rem 0;
  border: 0;
  background: var(--it4r-v3-line);
}

.it4r-editorial-content button,
.it4r-editorial-content .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--it4r-v3-deep);
  border-radius: 8px;
  background: var(--it4r-v3-deep);
  color: var(--it4r-v3-white);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.it4r-editorial-content button:hover,
.it4r-editorial-content button:focus,
.it4r-editorial-content .button:hover,
.it4r-editorial-content .button:focus {
  border-color: var(--it4r-v3-deep-hover);
  background: var(--it4r-v3-deep-hover);
  color: var(--it4r-v3-white);
}

.it4r-editorial-content .it4r-legal-kicker {
  color: var(--it4r-v3-deep);
  font-size: 0.92rem;
  font-weight: 750;
}

.it4r-editorial-content .faq-section {
  margin: 0;
  padding: 2.8rem 0 0;
  border: 0;
}

.it4r-editorial-content .faq-section:first-child {
  padding-top: 0;
}

.it4r-editorial-content .faq-note {
  margin: 1.3rem 0 1.7rem;
  padding: 18px 20px;
  border: 1px solid rgba(13, 122, 112, 0.2);
  border-left: 4px solid var(--it4r-v3-deep);
  border-radius: 8px;
  background: var(--it4r-v3-soft);
}

.it4r-editorial-content details.faq-item {
  margin: 0 0 12px;
  overflow: clip;
  border: 1px solid var(--it4r-v3-line);
  border-radius: 10px;
  background: var(--it4r-v3-white);
}

.it4r-editorial-content summary.faq-question {
  position: relative;
  display: flex;
  min-height: 58px;
  align-items: center;
  padding: 17px 54px 17px 18px;
  color: var(--it4r-v3-text);
  font-size: 1rem;
  font-weight: 760;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

.it4r-editorial-content summary.faq-question::-webkit-details-marker {
  display: none;
}

.it4r-editorial-content summary.faq-question::after {
  position: absolute;
  top: 50%;
  right: 21px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--it4r-v3-deep);
  border-bottom: 2px solid var(--it4r-v3-deep);
  content: "";
  transform: translateY(-65%) rotate(45deg);
  transition: transform .16s ease;
}

.it4r-editorial-content details[open] > summary.faq-question::after {
  transform: translateY(-30%) rotate(225deg);
}

.it4r-editorial-content .faq-answer {
  padding: 18px;
  border-top: 1px solid var(--it4r-v3-line);
  background: #fbfdfc;
}

.it4r-editorial-content .faq-answer > :last-child,
.it4r-editorial-content .faq-note > :last-child {
  margin-bottom: 0;
}

.it4r-editorial-content .badge {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  margin-left: 6px;
  padding: 2px 9px;
  border: 1px solid var(--it4r-v3-line);
  border-radius: 999px;
  background: var(--it4r-v3-soft);
  color: var(--it4r-v3-muted);
  font-size: 0.76rem;
  font-weight: 800;
  vertical-align: middle;
}

.it4r-editorial-content .badge-care {
  border-color: rgba(13, 122, 112, 0.22);
  color: var(--it4r-v3-deep);
}

@media (max-width: 899px) {
  .it4r-editorial-layout {
    grid-template-columns: minmax(0, 760px);
    gap: 34px;
  }

  .it4r-editorial-index {
    position: static;
  }

  .it4r-editorial-index__details {
    border: 1px solid var(--it4r-v3-line);
    border-radius: 10px;
    background: var(--it4r-v3-white);
  }

  .it4r-editorial-index__details summary {
    position: relative;
    min-height: 52px;
    padding: 17px 52px 15px 18px;
    border: 0;
    cursor: pointer;
  }

  .it4r-editorial-index__details summary::after {
    position: absolute;
    top: 50%;
    right: 20px;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--it4r-v3-deep);
    border-bottom: 2px solid var(--it4r-v3-deep);
    content: "";
    transform: translateY(-65%) rotate(45deg);
  }

  .it4r-editorial-index__details[open] summary::after {
    transform: translateY(-30%) rotate(225deg);
  }

  .it4r-editorial-index__list {
    max-height: 320px;
    margin: 0;
    padding: 0 18px 16px;
  }
}

@media (max-width: 620px) {
  .it4r-editorial-shell,
  .it4r-editorial-layout {
    width: min(calc(100% - 32px), var(--it4r-v3-content));
  }

  .it4r-editorial-hero {
    min-height: 0;
    padding: 58px 0 54px;
  }

  .it4r-editorial-hero::before {
    background-size: 32px 32px;
    mask-image: linear-gradient(90deg, transparent 0, #000 35%, #000 100%);
  }

  .it4r-editorial-hero h1 {
    font-size: clamp(2.3rem, 12vw, 3.25rem);
    hyphens: auto;
    overflow-wrap: normal;
    word-break: normal;
  }

  .it4r-editorial-lead {
    margin-top: 19px;
  }

  .it4r-editorial-section {
    padding: 44px 0 76px;
  }

  .it4r-editorial-content {
    font-size: 1rem;
    line-height: 1.72;
  }

  .it4r-editorial-content h2 {
    margin-top: 2.7rem;
    padding-top: 2.15rem;
    font-size: 1.55rem;
    overflow-wrap: anywhere;
  }

  .it4r-editorial-content h3,
  .it4r-editorial-content h4,
  .it4r-editorial-content p,
  .it4r-editorial-content li,
  .it4r-editorial-content dd,
  .it4r-editorial-content a,
  .it4r-editorial-content summary {
    overflow-wrap: anywhere;
  }
}

@media print {
  body.it4r-editorial-page .site-header,
  body.it4r-editorial-page .site-footer,
  body.it4r-editorial-page .it4r-editorial-index,
  body.it4r-editorial-page .it4r-skip-link {
    display: none !important;
  }

  .it4r-editorial-hero {
    min-height: 0;
    padding: 0 0 24px;
    background: transparent !important;
  }

  .it4r-editorial-hero h1,
  .it4r-editorial-eyebrow,
  .it4r-editorial-lead {
    color: #000 !important;
  }

  .it4r-editorial-section {
    padding: 0;
    background: transparent;
  }

  .it4r-editorial-layout {
    display: block;
    width: 100%;
  }

  .it4r-editorial-content {
    max-width: none;
    color: #000;
    font-size: 10.5pt;
  }

  .it4r-editorial-content a {
    color: #000;
  }
}

/* Footer */
.site-footer a:hover,
.site-footer a:focus,
.footer-menu .footer-nav a:hover,
.footer-menu .footer-nav a:focus {
  color: var(--it4r-v3-bright) !important;
}

/* Branded not-found page */
.it4r-page--error .it4r-page-hero {
  min-height: 600px;
}

.it4r-error-code {
  margin: 0 0 14px;
  color: var(--it4r-v3-bright) !important;
  font-size: clamp(4rem, 12vw, 9rem) !important;
  font-weight: 900;
  line-height: 0.82 !important;
  letter-spacing: -0.07em;
}

.it4r-page--error .it4r-page-lead {
  max-width: 680px;
}

@media (max-width: 1080px) {
  .it4r-step-grid::before {
    display: none;
  }
}

@media (max-width: 840px) {
  .it4r-page-inner,
  .it4r-page .it4r-home-inner,
  .it4r-demo-hub .it4r-page-inner {
    width: min(calc(100% - 40px), var(--it4r-v3-content));
  }

  .it4r-page-hero {
    min-height: auto;
    padding: 78px 20px 70px;
  }

  .it4r-page h1 {
    font-size: clamp(2.35rem, 10vw, 3.65rem);
  }

  .it4r-page h2 {
    font-size: clamp(1.9rem, 8vw, 2.85rem);
  }

  .it4r-page-section,
  .it4r-page-cta {
    padding: 64px 20px;
  }

  .it4r-page-split,
  .it4r-contact-layout,
  .it4r-check-layout,
  .it4r-club-demo__grid,
  .it4r-offer-card {
    gap: 30px;
  }
}

@media (max-width: 620px) {
  .it4r-page-inner,
  .it4r-page .it4r-home-inner,
  .it4r-demo-hub .it4r-page-inner {
    width: min(calc(100% - 32px), var(--it4r-v3-content));
  }

  .it4r-page-hero,
  .it4r-page-section,
  .it4r-page-cta {
    padding-right: 16px;
    padding-left: 16px;
  }

  .it4r-page h1,
  .it4r-page--business-offer h1 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .it4r-page--business-offer h1 {
    overflow-wrap: anywhere;
    hyphens: auto;
    word-break: normal;
  }

  .it4r-page-proof {
    display: grid;
  }

  .it4r-page .it4r-home-actions,
  .it4r-page .it4r-home-actions .it4r-home-button,
  .it4r-demo-hub__hero-actions,
  .it4r-demo-hub__hero-actions .it4r-home-button {
    width: 100%;
  }

  .it4r-plan-card,
  .it4r-feature-card,
  .it4r-contact-card,
  .it4r-check-form-card,
  .it4r-club-scope-card,
  .it4r-offer-card,
  .it4r-offer-card__aside {
    padding: 22px;
  }

  .it4r-demo-card {
    border-radius: var(--it4r-v3-radius);
  }

}
