:root {
      /* Brand */
      --coral: #E85D4A;
      --coral-deep: #C6432F;
      --coral-soft: #FBE9E5;
      --coral-mist: #FFF5F2;

      /* Typography */
      --ink: #22252B;
      --ink-soft: #6B625F;

      /* Warm surfaces */
      --bg: #FFFDF9;
      --surface: #F7F1E9;
      --surface-strong: #EFE4D8;
      --line: #E8DED5;

      /* Premium */
      --gold: #D9A441;
      --gold-deep: #8A6420;
      --gold-soft: #FBF3DF;

      /* Semantic */
      --negative: #B3462C;
      --negative-soft: #F8ECE8;

      --ease: cubic-bezier(.22, .8, .22, 1);
    }


    /* =========================================================
       RESET
       ========================================================= */

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

    html,
    body {
      margin: 0;
      padding: 0;
    }
/* ============================================================
 * HEADER — menu a tendina ADMIN in versione compatta
 * Da incollare in fondo a /css/header.css (vale solo per .admin-dropdown,
 * i menu di clienti Free e PRO restano com'erano).
 * ========================================================== */
.account-dropdown.admin-dropdown {
  min-width: 230px;
  padding: 6px;
}
.admin-dropdown .dropdown-head {
  padding: 8px 10px 6px;
}
.admin-dropdown .dropdown-email {
  font-size: 12px;
}
.admin-dropdown .dropdown-plan {
  font-size: 11px;
  margin-top: 2px;
}
.admin-dropdown .dropdown-divider {
  margin: 4px 0;
}
.admin-dropdown .dropdown-item {
  min-height: 0;
  padding: 7px 10px;
  gap: 9px;
  font-size: 13px;
  line-height: 1.3;
  border-radius: 8px;
}
.admin-dropdown .dropdown-item svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}
    body {
      font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

      background: var(--bg);
      color: var(--ink);

      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }

    a {
      color: inherit;
    }

    button {
      font: inherit;
    }


    /* =========================================================
       HEADER
       ========================================================= */

    .qf-header {
      position: sticky;
      top: 0;
      z-index: 1000;

      width: 100%;

      background: rgba(255, 253, 249, .92);

      border-bottom:
        1px solid rgba(232, 222, 213, .65);

      backdrop-filter:
        blur(18px) saturate(135%);

      -webkit-backdrop-filter:
        blur(18px) saturate(135%);

      transition:
        background 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
    }

    .qf-header::before {
      content: "";

      position: absolute;
      top: 0;
      left: 0;
      right: 0;

      height: 3px;

      background:
        linear-gradient(
          90deg,
          var(--coral-deep),
          var(--coral),
          #F08978
        );
    }

    .qf-header.is-scrolled {
      background: rgba(255, 253, 249, .98);

      border-bottom-color:
        rgba(232, 222, 213, .95);

      box-shadow:
        0 1px 2px rgba(34, 37, 43, .02),
        0 12px 38px rgba(34, 37, 43, .07);
    }

    .qf-header-inner {
      width:
        min(1460px, calc(100% - 48px));

      height: 76px;

      margin: 0 auto;

      display: flex;
      align-items: center;

      gap: 18px;
    }


    /* =========================================================
       LOGO
       ========================================================= */

    .qf-logo {
      display: inline-flex;
      align-items: center;

      flex: 0 0 auto;

      border-radius: 10px;

      text-decoration: none;

      transition:
        transform 180ms var(--ease);
    }

    .qf-logo:hover {
      transform: translateY(-1px);
    }

    .qf-logo:active {
      transform: scale(.98);
    }

    /*
      Quando hai il logo vero:

      <img
        src="/assets/logo-quantofattura.svg"
        alt="QuantoFattura"
        class="qf-logo-img"
      >
    */

    .qf-logo-img {
      display: block;

      width: auto;
      height: 36px;
    }

    .logo-placeholder {
      display: flex;
      align-items: center;

      gap: 9px;

      font-size: 21px;
      font-weight: 780;

      letter-spacing: -.045em;
    }

    .logo-mark {
      width: 35px;
      height: 35px;

      display: grid;
      place-items: center;

      border-radius: 10px;

      background:
        linear-gradient(
          145deg,
          var(--coral),
          var(--coral-deep)
        );

      color: #fff;

      font-size: 15px;
      font-weight: 850;

      box-shadow:
        0 5px 14px rgba(232, 93, 74, .20);
    }

    .logo-name strong {
      color: var(--coral);
      font-weight: inherit;
    }


    /* =========================================================
       NAVIGATION
       ========================================================= */

    .qf-nav {
      margin-left: auto;

      display: flex;
      align-items: center;

      gap: 2px;
    }

    .nav-link {
      position: relative;

      min-height: 42px;

      padding: 0 11px;

      display: inline-flex;
      align-items: center;
      justify-content: center;

      border-radius: 10px;

      color: var(--ink-soft);

      font-size: 14px;
      font-weight: 590;

      letter-spacing: -.012em;

      text-decoration: none;

      white-space: nowrap;

      transition:
        color 180ms ease,
        background 180ms ease,
        transform 180ms var(--ease);
    }

    .nav-link::after {
      content: "";

      position: absolute;

      left: 12px;
      right: 12px;
      bottom: 4px;

      height: 2px;

      border-radius: 99px;

      background: var(--coral);

      transform: scaleX(0);
      transform-origin: center;

      transition:
        transform 220ms var(--ease);
    }

    .nav-link:hover {
      color: var(--ink);

      background:
        var(--coral-mist);
    }

    .nav-link:hover::after {
      transform: scaleX(1);
    }

    .nav-link:active {
      transform: scale(.97);
    }


    /* =========================================================
       DIVIDER
       ========================================================= */

    .qf-divider {
      width: 1px;
      height: 25px;

      margin: 0 5px;

      flex: 0 0 auto;

      background: var(--line);
    }


    /* =========================================================
       CERCA AZIENDA
       ========================================================= */

    .company-search {
      min-height: 44px;

      padding: 0 14px;

      display: inline-flex;
      align-items: center;

      gap: 8px;

      border:
        1px solid rgba(232, 93, 74, .22);

      border-radius: 12px;

      background:
        var(--coral-mist);

      color:
        var(--coral-deep);

      font-size: 14px;
      font-weight: 680;

      text-decoration: none;

      white-space: nowrap;

      transition:
        transform 180ms var(--ease),
        background 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
    }

    .company-search svg {
      width: 17px;
      height: 17px;

      flex: 0 0 auto;

      transition:
        transform 200ms var(--ease);
    }

    .company-search:hover {
      background:
        var(--coral-soft);

      border-color:
        rgba(232, 93, 74, .38);

      transform:
        translateY(-1px);

      box-shadow:
        0 6px 18px rgba(232, 93, 74, .10);
    }

    .company-search:hover svg {
      transform:
        scale(1.08);
    }

    .company-search:active {
      transform:
        translateY(0) scale(.98);
    }


    /* =========================================================
       RICERCA AVANZATA
       CTA PRINCIPALE UTENTE PRO
       ========================================================= */

    .advanced-search {
      position: relative;

      overflow: hidden;

      min-height: 46px;

      padding: 0 16px;

      display: inline-flex;
      align-items: center;
      justify-content: center;

      gap: 8px;

      border-radius: 12px;

      background:
        var(--coral);

      color: #fff;

      font-size: 14px;
      font-weight: 730;

      letter-spacing: -.012em;

      text-decoration: none;

      white-space: nowrap;

      box-shadow:
        0 6px 18px rgba(232, 93, 74, .18);

      transition:
        background 180ms ease,
        transform 180ms var(--ease),
        box-shadow 180ms ease;
    }

    .advanced-search::before {
      content: "";

      position: absolute;

      top: -80%;
      left: -55%;

      width: 42%;
      height: 260%;

      transform:
        rotate(17deg);

      background:
        linear-gradient(
          100deg,
          transparent,
          rgba(255, 255, 255, .25),
          transparent
        );

      transition:
        left 540ms var(--ease);
    }

    .advanced-search svg {
      width: 17px;
      height: 17px;

      flex: 0 0 auto;
    }

    .advanced-search:hover {
      background:
        var(--coral-deep);

      transform:
        translateY(-2px);

      box-shadow:
        0 11px 28px rgba(198, 67, 47, .23);
    }

    .advanced-search:hover::before {
      left: 125%;
    }

    .advanced-search:active {
      transform:
        translateY(0) scale(.985);
    }


    /* =========================================================
       ACCOUNT
       ========================================================= */

    .account-wrapper {
      position: relative;

      flex: 0 0 auto;
    }

    .account-button {
      min-height: 46px;

      padding: 0 8px 0 6px;

      display: flex;
      align-items: center;

      gap: 8px;

      border:
        1px solid transparent;

      border-radius: 12px;

      background:
        transparent;

      cursor: pointer;

      transition:
        background 180ms ease,
        border-color 180ms ease,
        transform 180ms var(--ease);
    }

    .account-button:hover {
      background:
        var(--surface);

      border-color:
        var(--line);
    }

    .account-button:active {
      transform:
        scale(.98);
    }

    .avatar-wrap {
      position: relative;
    }

    .avatar {
      width: 35px;
      height: 35px;

      display: grid;
      place-items: center;

      border-radius: 10px;

      background:
        var(--ink);

      color: #fff;

      font-size: 12px;
      font-weight: 800;

      letter-spacing: .02em;
    }

    /*
      Pallino PRO oro sull'avatar
    */

    .avatar-pro {
      position: absolute;

      right: -4px;
      bottom: -3px;

      width: 15px;
      height: 15px;

      display: grid;
      place-items: center;

      border:
        2px solid var(--bg);

      border-radius:
        50%;

      background:
        var(--gold);

      color:
        #fff;

      font-size:
        7px;

      font-weight:
        900;

      line-height:
        1;
    }

    .account-text {
      display: flex;
      flex-direction: column;

      align-items: flex-start;

      line-height: 1.15;
    }

    .account-name {
      color:
        var(--ink);

      font-size: 13px;
      font-weight: 680;
    }

    .account-plan {
      margin-top: 2px;

      display: flex;
      align-items: center;

      gap: 4px;

      color:
        var(--gold-deep);

      font-size: 10px;
      font-weight: 700;
    }

    .account-plan-dot {
      width: 5px;
      height: 5px;

      border-radius: 50%;

      background:
        var(--gold);
    }

    .account-chevron {
      width: 15px;
      height: 15px;

      color:
        var(--ink-soft);

      transition:
        transform 200ms var(--ease);
    }

    .account-button.is-open
    .account-chevron {
      transform:
        rotate(180deg);
    }


    /* =========================================================
       ACCOUNT DROPDOWN
       ========================================================= */

    .account-dropdown {
      position: absolute;

      top:
        calc(100% + 10px);

      right: 0;

      width: 280px;

      padding: 7px;

      border:
        1px solid var(--line);

      border-radius: 16px;

      background:
        rgba(255, 253, 249, .995);

      box-shadow:
        0 20px 55px rgba(34, 37, 43, .13);

      opacity: 0;
      visibility: hidden;

      transform:
        translateY(-6px) scale(.98);

      transform-origin:
        top right;

      transition:
        opacity 160ms ease,
        visibility 160ms ease,
        transform 190ms var(--ease);
    }

    .account-dropdown.is-open {
      opacity: 1;
      visibility: visible;

      transform:
        translateY(0) scale(1);
    }


    /* HEADER DROPDOWN */

    .dropdown-head {
      padding:
        11px 10px 10px;
    }

    .dropdown-user {
      display: flex;
      align-items: center;

      gap: 10px;
    }

    .dropdown-user-avatar {
      width: 38px;
      height: 38px;

      display: grid;
      place-items: center;

      flex: 0 0 auto;

      border-radius: 11px;

      background:
        var(--ink);

      color: #fff;

      font-size: 12px;
      font-weight: 800;
    }

    .dropdown-user-data {
      min-width: 0;

      display: flex;
      flex-direction: column;
    }

    .dropdown-name {
      color:
        var(--ink);

      font-size: 13px;
      font-weight: 700;
    }

    .dropdown-email {
      margin-top: 2px;

      overflow: hidden;

      color:
        var(--ink-soft);

      font-size: 11px;

      white-space: nowrap;
      text-overflow: ellipsis;
    }


    /* PRO STRIP */

    .dropdown-pro {
      margin:
        2px 5px 7px;

      padding:
        9px 10px;

      display: flex;
      align-items: center;
      justify-content: space-between;

      gap: 10px;

      border:
        1px solid rgba(217, 164, 65, .28);

      border-radius:
        10px;

      background:
        var(--gold-soft);
    }

    .dropdown-pro-label {
      display: flex;
      align-items: center;

      gap: 7px;

      color:
        var(--gold-deep);

      font-size:
        11px;

      font-weight:
        700;
    }

    .dropdown-pro-icon {
      width: 16px;
      height: 16px;
    }

    .dropdown-pro-status {
      padding:
        3px 6px;

      border-radius:
        6px;

      color:
        var(--gold-deep);

      background:
        rgba(217, 164, 65, .16);

      font-size:
        9px;

      font-weight:
        850;

      letter-spacing:
        .06em;
    }


    /* DIVIDER */

    .dropdown-divider {
      height: 1px;

      margin: 5px;

      background:
        var(--line);
    }


    /* ITEMS */

    .dropdown-item {
      position: relative;

      min-height: 44px;

      padding:
        0 10px;

      display: flex;
      align-items: center;

      gap: 10px;

      border-radius:
        10px;

      color:
        var(--ink);

      font-size:
        13px;

      font-weight:
        580;

      text-decoration:
        none;

      transition:
        color 160ms ease,
        background 160ms ease,
        transform 160ms var(--ease);
    }

    .dropdown-item:hover {
      color:
        var(--coral-deep);

      background:
        var(--coral-mist);
    }

    .dropdown-item:active {
      transform:
        scale(.985);
    }

    .dropdown-item-icon {
      width: 18px;
      height: 18px;

      flex: 0 0 auto;

      color:
        var(--ink-soft);

      transition:
        color 160ms ease,
        transform 160ms var(--ease);
    }

    .dropdown-item:hover
    .dropdown-item-icon {
      color:
        var(--coral);

      transform:
        translateX(1px);
    }

    .dropdown-item-label {
      flex: 1;
    }

    .dropdown-item-arrow {
      width: 14px;
      height: 14px;

      color:
        #A59A93;

      opacity: .65;

      transition:
        transform 160ms var(--ease);
    }

    .dropdown-item:hover
    .dropdown-item-arrow {
      transform:
        translateX(2px);

      opacity:
        1;
    }


    /* ABBONAMENTO */

    .dropdown-item.subscription {
      color:
        var(--gold-deep);
    }

    .dropdown-item.subscription:hover {
      background:
        var(--gold-soft);

      color:
        var(--gold-deep);
    }

    .dropdown-item.subscription
    .dropdown-item-icon {
      color:
        var(--gold-deep);
    }


    /* LOGOUT */

    .dropdown-item.logout {
      color:
        var(--negative);
    }

    .dropdown-item.logout:hover {
      background:
        var(--negative-soft);

      color:
        var(--negative);
    }

    .dropdown-item.logout
    .dropdown-item-icon {
      color:
        var(--negative);
    }


    /* =========================================================
       MOBILE BUTTON
       ========================================================= */

    .menu-toggle {
      display: none;

      position: relative;

      width: 44px;
      height: 44px;

      margin-left: auto;

      padding: 0;

      border: 0;

      border-radius: 11px;

      background:
        transparent;

      cursor:
        pointer;

      transition:
        background 180ms ease;
    }

    .menu-toggle:hover {
      background:
        var(--coral-mist);
    }

    .menu-toggle span {
      position: absolute;

      left: 11px;

      width: 22px;
      height: 2px;

      border-radius: 999px;

      background:
        var(--ink);

      transition:
        transform 220ms var(--ease),
        top 220ms var(--ease);
    }

    .menu-toggle span:first-child {
      top: 17px;
    }

    .menu-toggle span:last-child {
      top: 25px;
    }

    .menu-toggle.is-open
    span:first-child {
      top: 21px;

      transform:
        rotate(45deg);
    }

    .menu-toggle.is-open
    span:last-child {
      top: 21px;

      transform:
        rotate(-45deg);
    }


    /* =========================================================
       MOBILE PANEL
       ========================================================= */

    .mobile-panel {
      display: none;
    }


    /* =========================================================
       RESPONSIVE
       ========================================================= */

    @media (max-width: 1230px) {

      .qf-header-inner {
        width:
          calc(100% - 32px);

        height: 70px;
      }

      .qf-nav,
      .qf-divider,
      .company-search,
      .advanced-search,
      .account-wrapper {
        display:
          none;
      }

      .menu-toggle {
        display:
          block;
      }


      .mobile-panel {
        display:
          grid;

        grid-template-rows:
          0fr;

        width:
          min(720px, calc(100% - 24px));

        margin:
          0 auto;

        opacity:
          0;

        visibility:
          hidden;

        transition:
          grid-template-rows 280ms var(--ease),
          opacity 180ms ease,
          visibility 180ms ease,
          padding 180ms ease;
      }

      .mobile-panel.is-open {
        grid-template-rows:
          1fr;

        opacity:
          1;

        visibility:
          visible;

        padding-bottom:
          14px;
      }

      .mobile-panel-inner {
        overflow:
          hidden;
      }

      .mobile-content {
        padding:
          12px;

        border:
          1px solid var(--line);

        border-radius:
          18px;

        background:
          var(--bg);

        box-shadow:
          0 20px 50px rgba(34, 37, 43, .10);
      }


      /* MOBILE USER */

      .mobile-user {
        display:
          flex;

        align-items:
          center;

        gap:
          11px;

        padding:
          6px 7px 14px;
      }

      .mobile-user-info {
        display:
          flex;

        flex-direction:
          column;
      }

      .mobile-user-name {
        font-size:
          14px;

        font-weight:
          700;
      }

      .mobile-user-plan {
        margin-top:
          3px;

        display:
          flex;

        align-items:
          center;

        gap:
          5px;

        color:
          var(--gold-deep);

        font-size:
          11px;

        font-weight:
          700;
      }


      /* MOBILE PRIMARY ACTIONS */

      .mobile-actions {
        display:
          grid;

        grid-template-columns:
          1fr 1fr;

        gap:
          8px;

        margin-bottom:
          10px;
      }

      .mobile-search,
      .mobile-advanced {
        min-height:
          50px;

        display:
          flex;

        align-items:
          center;

        justify-content:
          center;

        gap:
          7px;

        border-radius:
          12px;

        font-size:
          14px;

        font-weight:
          720;

        text-decoration:
          none;
      }

      .mobile-search {
        color:
          var(--coral-deep);

        background:
          var(--coral-soft);
      }

      .mobile-advanced {
        color:
          #fff;

        background:
          var(--coral);
      }


      /* MOBILE NAV */

      .mobile-nav {
        display:
          flex;

        flex-direction:
          column;

        padding-top:
          8px;

        border-top:
          1px solid var(--line);
      }

      .mobile-nav a {
        min-height:
          49px;

        padding:
          0 13px;

        display:
          flex;

        align-items:
          center;

        justify-content:
          space-between;

        border-radius:
          10px;

        color:
          var(--ink);

        font-size:
          15px;

        font-weight:
          620;

        text-decoration:
          none;

        transition:
          color 170ms ease,
          background 170ms ease;
      }

      .mobile-nav a:hover {
        color:
          var(--coral-deep);

        background:
          var(--coral-mist);
      }


      /* MOBILE ACCOUNT LINKS */

      .mobile-section-title {
        margin:
          14px 12px 5px;

        color:
          var(--ink-soft);

        font-size:
          10px;

        font-weight:
          800;

        letter-spacing:
          .08em;

        text-transform:
          uppercase;
      }

      .mobile-account-links {
        display:
          flex;

        flex-direction:
          column;
      }

      .mobile-account-links a {
        min-height:
          47px;

        padding:
          0 13px;

        display:
          flex;

        align-items:
          center;

        gap:
          10px;

        border-radius:
          10px;

        color:
          var(--ink);

        font-size:
          14px;

        font-weight:
          590;

        text-decoration:
          none;
      }

      .mobile-account-links a:hover {
        background:
          var(--coral-mist);

        color:
          var(--coral-deep);
      }

      .mobile-account-links svg {
        width:
          18px;

        height:
          18px;

        color:
          var(--ink-soft);
      }

      .mobile-account-links
      .mobile-subscription {
        color:
          var(--gold-deep);
      }

      .mobile-account-links
      .mobile-subscription:hover {
        background:
          var(--gold-soft);

        color:
          var(--gold-deep);
      }

      .mobile-account-links
      .mobile-logout {
        margin-top:
          4px;

        color:
          var(--negative);
      }

      .mobile-account-links
      .mobile-logout:hover {
        background:
          var(--negative-soft);

        color:
          var(--negative);
      }
    }


    @media (max-width: 560px) {

      .qf-header-inner {
        width:
          calc(100% - 24px);

        height:
          68px;
      }

      .logo-placeholder {
        font-size:
          19px;
      }

      .logo-mark {
        width:
          33px;

        height:
          33px;
      }

      .mobile-panel {
        width:
          calc(100% - 16px);
      }

      .mobile-actions {
        grid-template-columns:
          1fr;
      }
    }


    /* =========================================================
       ACCESSIBILITY
       ========================================================= */

    a:focus-visible,
    button:focus-visible {
      outline:
        3px solid rgba(232, 93, 74, .22);

      outline-offset:
        3px;
    }

    @media
    (prefers-reduced-motion: reduce) {

      *,
      *::before,
      *::after {
        transition-duration:
          .01ms !important;

        animation-duration:
          .01ms !important;

        animation-iteration-count:
          1 !important;
      }
    }


    /* =========================================================
       DEMO ONLY
       ========================================================= */

    .demo {
      min-height:
        150vh;

      padding:
        90px 24px;

      background:
        linear-gradient(
          180deg,
          var(--coral-mist),
          var(--bg) 400px
        );
    }

    .demo-inner {
      max-width:
        1100px;

      margin:
        0 auto;
    }

    .demo h1 {
      max-width:
        800px;

      margin:
        0;

      font-size:
        clamp(42px, 6vw, 76px);

      line-height:
        1;

      letter-spacing:
        -.055em;
    }

    .demo h1 span {
      color:
        var(--coral);
    }

    .demo p {
      max-width:
        620px;

      margin-top:
        24px;

      color:
        var(--ink-soft);

      font-size:
        18px;

      line-height:
        1.65;
    }

  

/* ============ STATO OSPITE: login/registrati ============ */
.login-link {
      min-height: 44px;

      padding:
        0 12px;

      display:
        inline-flex;

      align-items:
        center;

      justify-content:
        center;

      color:
        var(--ink);

      border-radius:
        11px;

      font-size:
        14px;

      font-weight:
        650;

      text-decoration:
        none;

      white-space:
        nowrap;

      transition:
        color 180ms ease,
        background 180ms ease;
    }

.login-link:hover {
      color:
        var(--coral-deep);

      background:
        var(--coral-mist);
    }

.register-cta {
      position: relative;

      overflow: hidden;

      min-height: 46px;

      padding:
        0 18px;

      display:
        inline-flex;

      align-items:
        center;

      justify-content:
        center;

      gap:
        8px;

      border-radius:
        12px;

      background:
        var(--coral);

      color:
        #fff;

      font-size:
        14px;

      font-weight:
        730;

      letter-spacing:
        -.015em;

      text-decoration:
        none;

      white-space:
        nowrap;

      box-shadow:
        0 6px 18px rgba(232, 93, 74, .18);

      transition:
        transform 180ms var(--ease),
        background 180ms ease,
        box-shadow 180ms ease;
    }

.register-cta::before {
      content: "";

      position: absolute;

      top: -80%;
      left: -55%;

      width: 42%;
      height: 260%;

      transform:
        rotate(17deg);

      background:
        linear-gradient(
          100deg,
          transparent,
          rgba(255,255,255,.26),
          transparent
        );

      transition:
        left 540ms var(--ease);
    }

.register-cta:hover {
      background:
        var(--coral-deep);

      transform:
        translateY(-2px);

      box-shadow:
        0 11px 27px rgba(198, 67, 47, .22);
    }

.register-cta-arrow {
      width: 16px;
      height: 16px;

      transition:
        transform 220ms var(--ease);
    }

/* ============ STATO NON ABBONATO: teaser PRO ============ */
.advanced-link {
      min-height: 42px;

      padding: 0 11px;

      display: inline-flex;
      align-items: center;

      gap: 7px;

      border-radius: 10px;

      color: var(--ink-soft);

      font-size: 14px;
      font-weight: 600;

      text-decoration: none;

      white-space: nowrap;

      transition:
        background 180ms ease,
        color 180ms ease,
        transform 180ms var(--ease);
    }

.advanced-link:hover {
      color: var(--ink);

      background:
        var(--gold-soft);

      transform:
        translateY(-1px);
    }

.pro-badge {
      padding: 3px 6px;

      border:
        1px solid rgba(217, 164, 65, .28);

      border-radius: 6px;

      background:
        var(--gold-soft);

      color:
        var(--gold-deep);

      font-size: 9px;
      line-height: 1;

      font-weight: 850;

      letter-spacing: .07em;
    }

.upgrade-button {
      min-height: 44px;

      padding: 0 14px;

      display: inline-flex;
      align-items: center;
      justify-content: center;

      gap: 7px;

      border:
        1px solid rgba(217, 164, 65, .38);

      border-radius: 12px;

      background:
        var(--gold-soft);

      color:
        var(--gold-deep);

      font-size: 14px;
      font-weight: 750;

      text-decoration: none;

      white-space: nowrap;

      transition:
        transform 180ms var(--ease),
        background 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
    }

.upgrade-button svg {
      width: 16px;
      height: 16px;

      transition:
        transform 220ms var(--ease);
    }

.upgrade-button:hover {
      background:
        #F8E8BC;

      border-color:
        rgba(217, 164, 65, .62);

      transform:
        translateY(-2px);

      box-shadow:
        0 10px 24px rgba(138, 100, 32, .12);
    }

.upgrade-button:hover svg {
      transform:
        translateY(-1px) rotate(-5deg);
    }

.upgrade-button:active {
      transform:
        translateY(0) scale(.98);
    }



/* ============ MOBILE OSPITE ============ */
.mobile-guest-actions {
        display:
          grid;

        grid-template-columns:
          1fr 1fr;

        gap:
          8px;

        margin-top:
          8px;
      }

.mobile-register {
        min-height:
          50px;

        display:
          flex;

        align-items:
          center;

        justify-content:
          center;

        border-radius:
          12px;

        font-size:
          14px;

        font-weight:
          720;

        text-decoration:
          none;
      }

.mobile-login {
        border:
          1px solid var(--line);

        color:
          var(--ink);

        background:
          #fff;
      }

/* ============ MOBILE NON ABBONATO ============ */
.mobile-pro-link {
        color:
          var(--gold-deep);

        background:
          var(--gold-soft);
      }

.mobile-upgrade {
        min-height:
          50px;

        display:
          flex;

        align-items:
          center;

        justify-content:
          center;

        gap:
          7px;

        border-radius:
          12px;

        font-size:
          14px;

        font-weight:
          720;

        text-decoration:
          none;
      }