  body {
    font-size: 17px;
    line-height: 1.6;
  }

  .serif {
    font-family: 'Fraunces', Georgia, serif;
    font-variation-settings: 'opsz' 144, 'SOFT' 30;
    font-weight: 400;
    letter-spacing: -0.018em;
  }

  h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 400; letter-spacing: -0.02em; line-height: 1.05; }
  h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-variation-settings: 'opsz' 144, 'SOFT' 40; }
  h2 { font-size: clamp(2rem, 4vw, 3.4rem); font-variation-settings: 'opsz' 144, 'SOFT' 30; }
  h3 { font-size: clamp(1.4rem, 2vw, 1.85rem); line-height: 1.15; font-variation-settings: 'opsz' 60, 'SOFT' 20; }

  .eyebrow {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--bordeaux);
    display: inline-flex;
    align-items: center;
    gap: 12px;
  }
  .eyebrow::before {
    content: '';
    width: 28px; height: 1px; background: var(--bordeaux);
  }

  .lead {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 300;
    font-style: italic;
    font-size: clamp(1.15rem, 1.6vw, 1.5rem);
    line-height: 1.5;
    color: var(--ink-soft);
    font-variation-settings: 'opsz' 60, 'SOFT' 50;
  }

  section { padding: 120px 0; position: relative; }
  @media (max-width: 700px) { section { padding: 80px 0; } }
  .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
  }
  .btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
  }
  .btn-ghost:hover {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
  }
  .btn-arrow {
    display: inline-block;
    transition: transform .25s ease;
  }
  .btn:hover .btn-arrow { transform: translateX(3px); }

  .hero {
    padding: 90px 0 110px;
    position: relative;
    overflow: hidden;
    background-color: #f6f0e6;
    /*background-image: linear-gradient(145deg, rgb(246 240 230 / 83%) 0%, rgb(246 240 230 / 85%) 45%, rgb(255 255 255 / 88%) 100%), radial-gradient(circle at 12% 20%, rgb(255 255 255 / 16%) 0%, rgb(255 255 255 / 0%) 42%), url(/img/bgs/fabian-schneider-XxUjvngiWJU-unsplash.jpg);*/
    background-image: linear-gradient(145deg, rgb(246 240 230 / 83%) 0%, rgb(246 240 230 / 95%) 45%, rgb(255 255 255 / 88%) 100%), radial-gradient(circle at 12% 20%, rgb(255 255 255 / 16%) 0%, rgb(255 255 255 / 0%) 42%), url(/img/bgs/andreas-fischinger-im-ni5eN06c-unsplash.jpg);
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size: cover, cover, cover;
    background-position: center center, center center, center center;
    background-attachment: fixed, fixed, fixed;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
  }
  @media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  }
  .hero h1 {
    margin: 28px 0 28px;
  }
  .hero h1 em {
    font-style: italic;
    font-variation-settings: 'opsz' 144, 'SOFT' 100;
    color: var(--bordeaux);
  }
  .hero-lead {
    max-width: 540px;
    margin-bottom: 40px;
  }
  .hero-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
  }
  .hero-trust {
    margin-top: 28px;
    font-size: 13px;
    color: var(--ink-mute);
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .hero-trust strong { color: var(--ink); font-weight: 600; }

  .hero-art {
    position: relative;
    /*aspect-ratio: 4 / 3;*/
    max-width: 520px;
    margin-left: auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(200, 187, 160, 0.6);
  }
  .hero-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .trust-strip {
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    padding: 28px 0;
    background: rgba(237, 229, 211, 0.4);
  }
  .trust-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
  }
  .trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--ink-soft);
    font-weight: 500;
    letter-spacing: 0.02em;
  }
  .trust-item svg { width: 18px; height: 18px; color: var(--bordeaux); flex-shrink: 0; }

  .section-header {
    max-width: 720px;
    margin: 0 auto 80px;
    text-align: center;
  }
  .section-header.left { text-align: left; margin: 0 0 80px; }
  .section-header h2 { margin: 18px 0 24px; }
  .section-header .lead { max-width: 580px; margin: 0 auto; }
  .section-header.left .lead { margin: 0; }

  .features {
    /* background: linear-gradient(180deg, var(--paper) 0%, var(--paper-warm) 100%); */
    background-image: linear-gradient(145deg, rgb(246 240 230 / 83%) 0%, rgb(246 240 230 / 95%) 45%, rgb(255 255 255 / 88%) 100%), radial-gradient(circle at 12% 20%, rgb(255 255 255 / 16%) 0%, rgb(255 255 255 / 0%) 42%), url(/img/bgs/andreas-fischinger-im-ni5eN06c-unsplash.jpg);
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size: cover, cover, cover;
    background-position: center center, center center, center center;
    background-attachment: fixed, fixed, fixed;
  }
  .feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 70px;
  }
  .feature-block:last-child { margin-bottom: 0; }
  .feature-block.reverse .feature-art { order: -1; }
  @media (max-width: 980px) {
    .feature-block { grid-template-columns: 1fr; gap: 48px; }
    .feature-block.reverse .feature-art { order: 0; }
    .feature-block { margin-bottom: 100px; }
  }

  .feature-num {
    font-family: 'Fraunces', serif;
    font-variation-settings: 'opsz' 144, 'SOFT' 100;
    font-style: italic;
    font-size: 14px;
    color: var(--bordeaux);
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    display: block;
  }
  .feature-block h3 { margin-bottom: 20px; }
  .feature-desc {
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.65;
    margin-bottom: 28px;
  }
  .feature-list {
    list-style: none;
    margin-bottom: 32px;
  }
  .feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid var(--line-soft);
    font-size: 15px;
    color: var(--ink-soft);
  }
  .feature-list li:last-child { border-bottom: 1px solid var(--line-soft); }
  .feature-list li strong { color: var(--ink); font-weight: 600; display: block; margin-bottom: 2px; font-size: 15px; }
  .feature-list .tick {
    width: 18px; height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--green-seal);
  }

  .feature-art {
    /*aspect-ratio: 4 / 3.4;*/
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(200, 187, 160, 0.8);
    box-shadow: 0 20px 40px rgba(14,26,43,.08);
  }
  .feature-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
  }

  .how-it-works {
    background: var(--ink);
    color: var(--paper);
    position: relative;
    overflow: hidden;
  }
  .how-it-works::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
      radial-gradient(ellipse at 20% 0%, rgba(184,147,90,.08), transparent 50%),
      radial-gradient(ellipse at 80% 100%, rgba(122,44,44,.12), transparent 50%);
    pointer-events: none;
  }
  .how-it-works .eyebrow { color: var(--gold-soft); }
  .how-it-works .eyebrow::before { background: var(--gold-soft); }
  .how-it-works .lead { color: rgba(245, 240, 230, 0.7); }
  .justitia-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 980px;
    margin: 0 auto 80px;
    position: relative;
    z-index: 2;
  }
  .justitia-card {
    padding: 36px 32px;
    border-radius: 6px;
  }
  .justitia-card-base {
    background: rgba(245, 240, 230, 0.04);
    border: 1px solid rgba(184, 147, 90, 0.25);
  }
  .justitia-card-highlight {
    background: var(--bordeaux);
    border: 1px solid var(--bordeaux);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  }

  .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    position: relative;
  }
  .steps::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 16.66%;
    right: 16.66%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184,147,90,.4), rgba(184,147,90,.4), transparent);
  }
  @media (max-width: 880px) {
    .steps { grid-template-columns: 1fr; gap: 56px; }
    .steps::before { display: none; }
  }
  .step {
    padding: 0 24px;
    text-align: center;
    position: relative;
  }
  .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--paper);
    color: var(--ink);
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 28px;
    font-weight: 500;
    margin: 0 auto 28px;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 8px var(--ink), 0 0 0 9px rgba(184,147,90,.4);
  }
  .step h3 {
    color: var(--paper);
    margin-bottom: 16px;
    font-size: 1.5rem;
  }
  .step p {
    color: rgba(245, 240, 230, 0.7);
    font-size: 15px;
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
  }

  .security {
    position: relative;
    background-image: linear-gradient(145deg, rgb(246 240 230 / 83%) 0%, rgb(246 240 230 / 95%) 45%, rgb(255 255 255 / 88%) 100%), radial-gradient(circle at 12% 20%, rgb(255 255 255 / 16%) 0%, rgb(255 255 255 / 0%) 42%), url(/img/bgs/hansjorg-keller-GAfoU0t8tsg-unsplash.jpg);
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size: cover, cover, cover;
    background-position: center center, center center, center center;
    background-attachment: fixed, fixed, fixed;
  }
  .security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
  }
  @media (max-width: 980px) {
    .security-grid { grid-template-columns: 1fr; gap: 56px; }
  }
  .security-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  @media (max-width: 540px) { .security-cards { grid-template-columns: 1fr; } }
  .security-card {
    padding: 28px 24px;
    background: var(--paper-warm);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    transition: all .3s ease;
  }
  .security-card:hover {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }
  .security-card:hover .security-icon { color: var(--gold-soft); }
  .security-card:hover h4 { color: var(--paper); }
  .security-card:hover p { color: rgba(245, 240, 230, 0.75); }
  .security-icon {
    width: 26px; height: 26px;
    color: var(--bordeaux);
    margin-bottom: 18px;
    transition: color .3s ease;
  }
  .security-card h4 {
    font-family: 'Fraunces', serif;
    font-variation-settings: 'opsz' 60, 'SOFT' 30;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--ink);
    transition: color .3s ease;
  }
  .security-card p {
    font-size: 13.5px;
    color: var(--ink-mute);
    line-height: 1.55;
    transition: color .3s ease;
  }

  /* Decorative seal */
  .seal {
    position: relative;
    width: 140px;
    height: 140px;
    margin-top: 32px;
  }
  .seal-inner {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid var(--green-seal);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--paper);
  }
  .seal-text {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-variation-settings: 'opsz' 60, 'SOFT' 80;
    font-size: 13px;
    line-height: 1.2;
    color: var(--green-seal);
    padding: 0 12px;
  }
  .seal-text strong {
    display: block;
    font-style: normal;
    font-size: 16px;
    font-weight: 500;
    margin-top: 4px;
  }
  .seal::before {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 0.5px solid var(--green-seal);
    pointer-events: none;
  }

  .pricing {
    background: var(--paper-warm);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
  }
  .pricing-trial {
    text-align: center;
    margin-bottom: 56px;
    padding: 24px 32px;
    background: var(--paper);
    border: 1px dashed var(--gold);
    border-radius: var(--radius);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
  }
  .pricing-trial-label {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: var(--paper);
    padding: 0 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--bordeaux);
  }
  .pricing-trial-text {
    font-family: 'Fraunces', serif;
    font-variation-settings: 'opsz' 60, 'SOFT' 50;
    font-size: 1.15rem;
    color: var(--ink);
  }
  .pricing-trial-text strong { font-weight: 500; }
  .pricing-trial-sub {
    font-size: 13px;
    color: var(--ink-mute);
    margin-top: 6px;
  }

  .pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 880px;
    margin: 0 auto;
  }
  @media (max-width: 760px) { .pricing-grid { grid-template-columns: 1fr; } }

  .price-card {
    background: var(--paper);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 40px 36px;
    position: relative;
    transition: all .3s ease;
  }
  .price-card.featured {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--paper);
    box-shadow: var(--shadow-lg);
  }
  .price-card.featured::before {
    content: 'EMPFOHLEN';
    position: absolute;
    top: -12px; left: 32px;
    background: var(--bordeaux);
    color: var(--paper);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    padding: 5px 12px;
    border-radius: 3px;
  }
  .price-card .plan-name {
    font-family: 'Fraunces', serif;
    font-variation-settings: 'opsz' 60, 'SOFT' 30;
    font-size: 1.25rem;
    margin-bottom: 8px;
  }
  .price-card.featured .plan-name { color: var(--gold-soft); }
  .price-card .plan-tagline {
    font-size: 14px;
    color: var(--ink-mute);
    margin-bottom: 28px;
  }
  .price-card.featured .plan-tagline { color: rgba(245, 240, 230, 0.65); }
  .price {
    font-family: 'Fraunces', serif;
    font-variation-settings: 'opsz' 144, 'SOFT' 30;
    font-size: 4.5rem;
    line-height: 1;
    margin-bottom: 4px;
    display: flex;
    align-items: flex-start;
  }
  .price-currency {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--ink-mute);
    margin-right: 6px;
    margin-top: 18px;
  }
  .price-card.featured .price-currency { color: rgba(245, 240, 230, 0.6); }
  .price-period {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: var(--ink-mute);
    margin-bottom: 28px;
  }
  .price-card.featured .price-period { color: rgba(245, 240, 230, 0.7); }
  .price-savings {
    display: inline-block;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--bordeaux);
    background: rgba(122, 44, 44, 0.08);
    padding: 4px 10px;
    border-radius: 3px;
    margin-bottom: 24px;
  }
  .price-card.featured .price-savings {
    color: var(--gold-soft);
    background: rgba(184, 147, 90, 0.15);
  }
  .price-features {
    list-style: none;
    margin-bottom: 32px;
  }
  .price-features li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--ink-soft);
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }
  .price-card.featured .price-features li { color: rgba(245, 240, 230, 0.85); }
  .price-features li::before {
    content: '';
    width: 14px; height: 14px;
    border: 1px solid var(--green-seal);
    border-radius: 50%;
    background: radial-gradient(circle, var(--green-seal) 30%, transparent 32%);
    flex-shrink: 0;
    margin-top: 3px;
  }
  .price-card.featured .price-features li::before { border-color: var(--gold-soft); background: radial-gradient(circle, var(--gold-soft) 30%, transparent 32%); }
  .price-card .btn { width: 100%; justify-content: center; }
  .price-card.featured .btn-primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
  .price-card.featured .btn-primary:hover { background: var(--bordeaux); color: var(--paper); border-color: var(--bordeaux); }

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

  /* ======= Pricing v2 — Hosted (with toggle) + onPrem ======= */

  .pricing-grid-duo {
    align-items: stretch;
  }
  .pricing-grid-duo .price-card {
    display: flex;
    flex-direction: column;
  }

  /* Plan badge (small chip above the plan name) */
  .plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-soft);
    background: rgba(184, 147, 90, 0.14);
    border: 1px solid rgba(184, 147, 90, 0.32);
    border-radius: 999px;
    padding: 6px 12px 6px 10px;
    margin-bottom: 18px;
    align-self: flex-start;
  }
  .plan-badge svg {
    width: 14px; height: 14px;
    flex-shrink: 0;
  }
  .price-card:not(.featured) .plan-badge {
    color: var(--bordeaux);
    background: rgba(122, 44, 44, 0.06);
    border-color: rgba(122, 44, 44, 0.22);
  }
  .plan-badge-onprem {
    color: var(--bordeaux) !important;
    background: rgba(122, 44, 44, 0.06) !important;
    border-color: rgba(122, 44, 44, 0.22) !important;
  }

  /* Hosted card overrides the existing .featured ::before label */
  .price-card-hosted.featured::before {
    content: 'EMPFOHLEN';
  }

  /* Billing toggle (segmented control inside Hosted card) */
  .billing-toggle {
    display: inline-flex;
    background: rgba(245, 240, 230, 0.08);
    border: 1px solid rgba(245, 240, 230, 0.14);
    border-radius: 999px;
    padding: 4px;
    margin: 0 0 24px;
    gap: 2px;
    align-self: stretch;
    width: 100%;
    max-width: 320px;
  }
  .billing-toggle-option {
    flex: 1 1 50%;
    appearance: none;
    border: 0;
    background: transparent;
    color: rgba(245, 240, 230, 0.6);
    font-family: 'Manrope', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 10px 14px;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
  }
  .billing-toggle-option:hover { color: var(--paper); }
  .billing-toggle-option:focus-visible {
    outline: 2px solid var(--gold-soft);
    outline-offset: 2px;
  }
  .billing-toggle-option.is-active {
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 1px 2px rgba(0,0,0,0.18);
  }
  .billing-toggle-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--bordeaux);
    background: rgba(122, 44, 44, 0.12);
    padding: 2px 6px;
    border-radius: 3px;
  }
  .billing-toggle-option:not(.is-active) .billing-toggle-badge {
    color: var(--gold-soft);
    background: rgba(184, 147, 90, 0.18);
  }

  /* Stacked prices (one shown at a time) */
  .price-stack {
    position: relative;
    min-height: 0;
  }
  .price-stack .price {
    display: none;
  }
  .price-stack .price.is-active {
    display: flex;
  }

  /* Period: stacked text, only active variant rendered */
  .price-period .price-period-monthly,
  .price-period .price-period-yearly {
    display: none;
  }
  .price-period .price-period-monthly.is-active,
  .price-period .price-period-yearly.is-active {
    display: inline;
  }
  .price-period small {
    font-size: 12px;
    opacity: 0.85;
    margin-left: 4px;
  }

  /* Inline conditional feature line */
  .price-features li .price-feature-monthly,
  .price-features li .price-feature-yearly {
    display: none;
  }
  .price-features li .price-feature-monthly.is-active,
  .price-features li .price-feature-yearly.is-active {
    display: inline;
  }

  /* Price decimal helper (replaces inline style we used to have) */
  .price-decimal {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--ink-mute);
    margin-left: 2px;
  }
  .price-card.featured .price-decimal { color: rgba(245, 240, 230, 0.6); }

  /* Hosted CTAs: only active one shown */
  .price-card-hosted .cta-monthly,
  .price-card-hosted .cta-yearly {
    display: none;
  }
  .price-card-hosted .cta-monthly.is-active,
  .price-card-hosted .cta-yearly.is-active {
    display: inline-flex;
  }

  /* Push CTA to the bottom so cards align nicely when paired */
  .price-card .price-features { flex: 1 1 auto; }

  /* "Auf Anfrage" – textbasierter Preis ohne CHF-Zahl */
  .price.price-onrequest {
    font-family: 'Fraunces', serif;
    font-variation-settings: 'opsz' 144, 'SOFT' 30;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin-bottom: 4px;
    display: block;
  }
  .price.price-onrequest em {
    font-style: italic;
    font-variation-settings: 'opsz' 144, 'SOFT' 100;
    color: var(--bordeaux);
  }

  /* onPrem-specific accents */
  .price-card-onprem {
    border-color: rgba(184, 147, 90, 0.45);
    background:
      linear-gradient(180deg, rgba(184, 147, 90, 0.04) 0%, transparent 60%),
      var(--paper);
    position: relative;
  }
  .price-card-onprem::before {
    content: 'SELF-HOSTED';
    position: absolute;
    top: -12px; left: 32px;
    background: var(--gold-soft);
    color: var(--ink);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    padding: 5px 12px;
    border-radius: 3px;
  }
  .price-card-onprem .plan-name { color: var(--ink); }
  .price-card-onprem .price-savings-onprem {
    color: #5a4318;
    background: rgba(184, 147, 90, 0.18);
    text-transform: none;
    letter-spacing: 0.04em;
    font-weight: 600;
  }
  .price-features-onprem li::before {
    border-color: var(--gold);
    background: radial-gradient(circle, var(--gold) 30%, transparent 32%);
  }

  /* Prerequisites block */
  .price-prereq {
    margin: 4px 0 28px;
    padding: 16px 18px;
    border: 1px dashed rgba(184, 147, 90, 0.5);
    border-radius: var(--radius);
    background: rgba(184, 147, 90, 0.06);
  }
  .price-prereq-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #5a4318;
    margin-bottom: 10px;
  }
  .price-prereq-title svg {
    width: 14px; height: 14px;
    color: var(--gold);
  }
  .price-prereq-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .price-prereq-list li {
    font-size: 13.5px;
    color: var(--ink-soft);
    padding: 4px 0 4px 16px;
    position: relative;
    line-height: 1.5;
  }
  .price-prereq-list li::before {
    content: '·';
    position: absolute;
    left: 4px;
    top: 2px;
    color: var(--gold);
    font-weight: 700;
  }

  /* Mobile tweaks for the new layout */
  @media (max-width: 760px) {
    .billing-toggle {
      max-width: 100%;
    }
    .price-card-onprem::before {
      left: 24px;
    }
  }
  @media (max-width: 480px) {
    .billing-toggle-option {
      font-size: 12px;
      padding: 9px 10px;
      gap: 6px;
    }
    .billing-toggle-badge {
      font-size: 9px;
      padding: 2px 5px;
    }
    .plan-badge {
      font-size: 9.5px;
      letter-spacing: 0.14em;
      padding: 5px 10px 5px 8px;
    }
    .price-prereq {
      padding: 14px 14px;
    }
  }


  #faq {
  background-image: linear-gradient(145deg, rgb(246 240 230 / 83%) 0%, rgb(246 240 230 / 95%) 45%, rgb(255 255 255 / 88%) 100%), radial-gradient(circle at 12% 20%, rgb(255 255 255 / 16%) 0%, rgb(255 255 255 / 0%) 42%), url(/img/bgs/nadine-marfurt-V5XWBdjVWKA-unsplash.jpg);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: cover, cover, cover;
  background-position: center center, center center, center center;
  background-attachment: fixed, fixed, fixed;
  }

  .faq-list {
    max-width: 820px;
    margin: 0 auto;
  }
  .faq-item {
    border-top: 1px solid var(--line-soft);
    padding: 28px 0;
  }
  .faq-item:last-child { border-bottom: 1px solid var(--line-soft); }
  .faq-q {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    cursor: pointer;
    list-style: none;
    gap: 24px;
  }
  .faq-q::-webkit-details-marker { display: none; }
  .faq-q-text {
    font-family: 'Fraunces', serif;
    font-variation-settings: 'opsz' 60, 'SOFT' 30;
    font-size: 1.2rem;
    color: var(--ink);
    line-height: 1.3;
    flex: 1;
  }
  .faq-toggle {
    flex-shrink: 0;
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
    margin-top: 4px;
  }
  .faq-toggle::before, .faq-toggle::after {
    content: '';
    position: absolute;
    width: 11px; height: 1px;
    background: var(--ink);
    transition: transform .25s ease;
  }
  .faq-toggle::after { transform: rotate(90deg); }
  details[open] .faq-toggle {
    background: var(--ink);
    border-color: var(--ink);
  }
  details[open] .faq-toggle::before, details[open] .faq-toggle::after { background: var(--paper); }
  details[open] .faq-toggle::after { transform: rotate(0deg); }
  .faq-a {
    margin-top: 16px;
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.65;
    max-width: 720px;
  }
  details[open] .faq-q-text { color: var(--bordeaux); }

  .final-cta {
    text-align: center;
    background: var(--paper);
    position: relative;
  }
  .final-cta::before, .final-cta::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 80px; height: 1px;
    background: var(--line);
  }
  .final-cta h2 {
    max-width: 760px;
    margin: 24px auto 32px;
  }
  .final-cta h2 em { font-style: italic; color: var(--bordeaux); font-variation-settings: 'opsz' 144, 'SOFT' 100; }
  .final-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
  }
  .final-cta-note {
    margin-top: 24px;
    font-size: 13px;
    color: var(--ink-mute);
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .reveal {
    animation: fadeUp .8s cubic-bezier(.2,.8,.2,1) both;
  }
  .reveal-1 { animation-delay: .1s; }
  .reveal-2 { animation-delay: .25s; }
  .reveal-3 { animation-delay: .4s; }
  .reveal-4 { animation-delay: .55s; }

  @keyframes drawLine {
    from { stroke-dashoffset: var(--len, 200); }
    to { stroke-dashoffset: 0; }
  }
  @keyframes pulseSeal {
    0%, 100% { opacity: 1; }
    50% { opacity: .85; }
  }

  /* Decorative ornament */
  .ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0;
    color: var(--bordeaux);
    opacity: .6;
  }
  .ornament-line {
    width: 80px;
    height: 1px;
    background: currentColor;
  }
  .ornament svg { margin: 0 16px; width: 18px; height: 18px; }

  @media (max-width: 1024px) {
    .hero {
      background-attachment: scroll, scroll, scroll;
      padding: 78px 0 96px;
    }
    .features,
    .security,
    #faq {
      background-attachment: scroll, scroll, scroll;
    }
    .hero-grid {
      gap: 56px;
    }
    .feature-block {
      gap: 56px;
      margin-bottom: 90px;
    }
    .security-grid {
      gap: 48px;
    }
  }

  @media (max-width: 768px) {
    body {
      font-size: 16px;
    }
    .container,
    .container-narrow {
      padding: 0 20px;
    }
    section {
      padding: 72px 0;
    }
    .hero {
      padding: 62px 0 76px;
    }
    .hero-grid {
      grid-template-columns: 1fr;
      gap: 36px;
      text-align: center;
    }
    .hero-lead {
      margin: 0 auto 30px;
    }
    .hero-cta {
      justify-content: center;
    }
    .hero-trust {
      justify-content: center;
      flex-wrap: wrap;
      text-align: center;
    }
    .hero-art {
      margin: 0 auto;
      width: min(100%, 620px);
    }
    .trust-strip {
      padding: 20px 0;
    }
    .trust-strip-inner {
      justify-content: center;
      gap: 14px;
    }
    .trust-item {
      width: calc(50% - 8px);
      justify-content: center;
      text-align: center;
      font-size: 12px;
    }
    .section-header {
      margin: 0 auto 48px;
    }
    .feature-block,
    .feature-block.reverse {
      grid-template-columns: 1fr;
      gap: 28px;
      margin-bottom: 68px;
    }
    .feature-block.reverse .feature-art {
      order: 2;
    }
    .feature-art {
      margin: 0 auto;
      width: 100%;
      max-width: 680px;
    }
    .justitia-compare {
      grid-template-columns: 1fr;
      gap: 18px;
      margin: 0 auto 56px;
    }
    .justitia-card {
      padding: 26px 22px;
    }
    .security-grid {
      grid-template-columns: 1fr;
      gap: 34px;
    }
    .security-grid > div:first-child {
      text-align: center;
    }
    .security-grid > div:first-child .lead,
    .security-grid > div:first-child p {
      margin-left: auto !important;
      margin-right: auto !important;
      text-align: center !important;
    }
    .seal {
      margin: 28px auto 0;
    }
    .pricing-trial {
      padding: 20px 18px;
      margin-bottom: 42px;
    }
    .price-card {
      padding: 30px 24px;
    }
    .faq-item {
      padding: 22px 0;
    }
    .faq-q {
      gap: 14px;
    }
    .faq-q-text {
      font-size: 1.05rem;
    }
    .faq-a {
      font-size: 15px;
    }
    .final-cta-buttons .btn {
      width: 100%;
      justify-content: center;
    }
    .final-cta-note {
      font-size: 12.5px;
    }
    .footer-grid {
      grid-template-columns: 1fr;
      gap: 28px;
    }
  }

  @media (max-width: 480px) {
    .container,
    .container-narrow {
      padding: 0 16px;
    }
    .eyebrow {
      font-size: 10px;
      letter-spacing: 0.16em;
    }
    .hero h1 {
      margin: 18px 0 20px;
    }
    .lead {
      font-size: 1.05rem;
      line-height: 1.45;
    }
    .btn {
      width: 100%;
      justify-content: center;
      padding: 13px 16px;
      font-size: 13px;
    }
    .hero-cta {
      gap: 10px;
    }
    .trust-item {
      width: 100%;
      justify-content: flex-start;
      text-align: left;
    }
    .feature-desc {
      font-size: 15px;
      line-height: 1.55;
    }
    .feature-list li {
      font-size: 14px;
    }
    .feature-list li strong {
      font-size: 14px;
    }
    .justitia-card {
      padding: 22px 18px;
    }
    .security-card {
      padding: 22px 18px;
    }
    .price {
      font-size: 3.5rem;
    }
    .price-currency {
      font-size: 1.2rem;
      margin-top: 14px;
    }
    .final-cta::before,
    .final-cta::after {
      display: none;
    }
  }
